Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: MODSERIAL USBDevice_for_Rev_C_HW mbed
Fork of mbed_sv_firmware_with_init by
Diff: main.cpp
- Revision:
- 1:bd988d267998
- Parent:
- 0:8604e9cc07f2
- Child:
- 2:efaf8aee55df
--- a/main.cpp Mon Jan 19 23:16:50 2015 +0000 +++ b/main.cpp Mon Jan 19 23:27:45 2015 +0000 @@ -12,10 +12,10 @@ // Error return values #define ERR_NONE 0 // Success -#define ERR_CDC_BAD_CMD 1 -#define ERR_CDC_NO_TX_ENDMARK 2 +#define ERR_CDC_BAD_CMD 1 // First byte of PC to USB board needs to be 0xBB, 0xCC, 0xDD or 0xEE; +#define ERR_CDC_NO_TX_ENDMARK 2 // message for no endmark on message to PC #define ERR_UART_NOT_WRITEABLE 3 // UART has no buffer space -#define ERR_UART_NO_TX_ENDMARK 4 // message for UART has no 0x7E end-mark +#define ERR_UART_NO_TX_ENDMARK 4 // message for UART has no 0x7E end-mark #define ERR_UART_NO_RX_ENDMARK 5 // message received from UART has no end-mark @@ -131,7 +131,7 @@ return ERR_NONE; } -int eeprom_msg() // eeprom to be implemented along with next hardware prototype +int eeprom_msg() // eeprom to be implemented along with next hardware prototype { return ERR_NONE; }