add bootloader version retrieval

This commit is contained in:
hathach committed 2016-12-09 14:51:21 +07:00
1 parent 9f0ba29d46
commit 558aa7c717
4 files changed
+1347 -1279

No files matched your search

+8
View File
@@ -107,6 +107,14 @@ static const uint8_t SCK = PIN_SPI_SCK ;
#define PIN_WIRE_SDA (25u)
#define PIN_WIRE_SCL (26u)
/* Bootloader version, may move to other file. Assigned by
* initVariant() upon running.
* - value of 0x000500 is version 0.5.0
*/
extern uint32_t bootloaderVersion;
//extern void initVariant();
#ifdef __cplusplus
}
#endif