Merge pull request #954 from opentx/bsongis/Bootloader_FIRMWARE_exported_in_masstorage

Bsongis/bootloader firmware exported in masstorage
This commit is contained in:
Andre Bernet
2014-04-08 16:50:11 +02:00
6 changed files with 276 additions and 200 deletions
+4
View File
@@ -43,6 +43,10 @@
extern uint16_t ResetReason;
#define BOOTLOADER_SIZE 0x8000
#define FIRMWARE_SIZE (256*1024)
#define FIRMWARE_ADDRESS 0x00400000
#if defined(REVA)
#define GPIO_BUTTON_MENU PIOB->PIO_PDSR
#define GPIO_BUTTON_EXIT PIOA->PIO_PDSR