Rev 228 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 228 | Rev 253 | ||
|---|---|---|---|
| Line 3... | Line 3... | ||
| 3 | 3 | ||
| 4 | #define BOOTLOADER __attribute__ ((section (".bootloader"))) |
4 | #define BOOTLOADER __attribute__ ((section (".bootloader"))) |
| 5 | 5 | ||
| 6 | //--------------------------------------------------------------------------- |
6 | //--------------------------------------------------------------------------- |
| 7 | // Function prototypes for flash modifying functions |
7 | // Function prototypes for flash modifying functions |
| 8 | // TODO: These must be located above boot loader section limit even if bios |
- | |
| 9 | // size grows larger than that. |
- | |
| 10 | 8 | ||
| 11 | void flash_init(void); |
9 | void flash_init(void); |
| 12 | void flash_write_word(uint16_t addr, uint16_t word) BOOTLOADER; |
10 | void flash_write_word(uint16_t addr, uint16_t word) BOOTLOADER; |
| 13 | void flash_flush_buffer(void) |
11 | void flash_flush_buffer(void) BOOTLOADER; |
| 14 | 12 | ||
| 15 | #endif /*FLASH_H_*/ |
13 | #endif /*FLASH_H_*/ |