Revision b99ee462
Changed strt_pgrm() to be a function instead of macro
The linker flags now define its location, so it's an rcall instead of icall.
Also, the BOM code is built as C now, not C++.
scout_avr/bom/bootloader.h | ||
---|---|---|
5 | 5 |
#define BOM_I2C_STRT 31 |
6 | 6 |
#define START_ADDR 0xA00 |
7 | 7 |
|
8 |
#define strt_pgrm ((void (*)(void)) _VECTORS_SIZE)
|
|
8 |
void strt_pgrm(void);
|
|
9 | 9 |
|
10 | 10 |
void boot_program_page (uint32_t page, uint8_t *buf); |
11 | 11 |
|
12 |
#endif |
|
12 |
#endif |
Also available in: Unified diff