Implement GC for data pool in flash memory.

This commit is contained in:
NIIBE Yutaka
2010-11-08 13:17:30 +09:00
parent bb16bc47bb
commit 749a7a1d35
6 changed files with 248 additions and 72 deletions

View File

@@ -176,14 +176,15 @@ main (int argc, char **argv)
eventmask_t m;
uint8_t led_state = 0;
int count = 0;
const uint8_t *flash_data_start;
(void)argc;
(void)argv;
blinker_thread = chThdSelf ();
flash_init ();
gpg_do_table_init ();
flash_data_start = flash_init ();
gpg_data_scan (flash_data_start);
usb_lld_init ();
USB_Init();