Added note on send function requirement

This commit is contained in:
Thomas Wilkie 2023-12-05 13:34:32 +09:00
parent 5cb9db0103
commit 7ef39b7cb9
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ Although I don't use Linux at all it seems like it is very popular for embedded
At this point everything seems to be working largely as intended. Unfortunately I am not able to test it with hardware as I am travelling. However, testing with a Serial port emulator has been successful.
__You need to implement your own device side function for sending the single byte over serial, the name of this function should be passed into the preprocessor with the argument `-R`.__ You probably want to put a line at the top of your source files along the lines of `#define [Debug token]` to keep your IDE happy. but that will be ignored by the preprocessor.
__You need to implement your own device side function of the form `send(uint8_t data)` or similar, for sending the single byte over serial, the name of this function, i.e. `send` should be passed into the preprocessor with the argument `-R`.__ You probably want to put a line at the top of your source files along the lines of `#define [Debug token]` to keep your IDE happy. but that will be ignored by the preprocessor.
If you have any comments or find any issues then please feel free to create an account and open an issue, pull request etc. Admittedly they are at the limit of my Git knowledge but I will figure out how to work it.