fixed issue with bootloader not correctly reading application version word from program flash memory
This commit is contained in:
@@ -168,7 +168,7 @@
|
||||
<property key="use-iar" value="false"/>
|
||||
<property key="verbose" value="false"/>
|
||||
<property key="warning-level" value="-3"/>
|
||||
<property key="what-to-do" value="ignore"/>
|
||||
<property key="what-to-do" value="require"/>
|
||||
</HI-TECH-COMP>
|
||||
<HI-TECH-LINK>
|
||||
<property key="additional-options-checksum" value=""/>
|
||||
|
||||
@@ -30,8 +30,8 @@
|
||||
#include "memory.h"
|
||||
|
||||
#ifdef LINK_FOR_BOOTLOADER
|
||||
// only define this if building fw to be used with the bootloader
|
||||
const uint16_t VersionWord __at(APP_FW_VERSION_ADDRESS) = 0x0100;
|
||||
// the version word of this application - will be read and displayed by the firmware flash utility
|
||||
const unsigned int VersionWord __at(APP_FW_VERSION_ADDRESS) = 0x0100;
|
||||
#endif
|
||||
|
||||
void main(void)
|
||||
|
||||
Reference in New Issue
Block a user