Rev 253 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 253 | Rev 254 | ||
|---|---|---|---|
| Line 4... | Line 4... | ||
| 4 | #define BOOTLOADER __attribute__ ((section (".bootloader"))) |
4 | #define BOOTLOADER __attribute__ ((section (".bootloader"))) |
| - | 5 | ||
| - | 6 | //#define FLASH_LOAD_BUFFER |
|
| - | 7 | //#define FLASH_COPY_DATA |
|
| 5 | 8 | ||
| 6 | //--------------------------------------------------------------------------- |
9 | //--------------------------------------------------------------------------- |
| 7 | // Function prototypes for flash modifying functions |
10 | // Function prototypes for flash modifying functions |
| 8 | 11 | ||
| 9 | void flash_init(void); |
12 | void flash_init(void); |
| 10 | void flash_write_word(uint16_t addr, uint16_t word) BOOTLOADER; |
13 | void flash_write_word(uint16_t addr, uint16_t word) BOOTLOADER; |
| 11 | void flash_flush_buffer(void) BOOTLOADER; |
14 | void flash_flush_buffer(void) BOOTLOADER; |
| - | 15 | #ifdef FLASH_COPY_DATA |
|
| - | 16 | void flash_copy_data(uint16_t src, uint16_t dst, uint16_t len) BOOTLOADER; |
|
| - | 17 | #endif |
|
| 12 | 18 | ||
| 13 | #endif /*FLASH_H_*/ |
19 | #endif /*FLASH_H_*/ |