Initial untested OTA feature

This commit is contained in:
Henrik Ekblad
2015-03-30 10:28:57 +02:00
parent c1a9a53ab9
commit 3a59929b8e
4 changed files with 136 additions and 33 deletions
+2 -8
View File
@@ -21,14 +21,8 @@
#define MY_OTA_FIRMWARE_FEATURE
// Slave select pin for external flash
#define MY_OTA_FLASH_SS 8
// Number of times to request a fw block before giving up
#define MY_OTA_RETRY 5
// Number of millisecons before re-request a fw block
#define MY_OTA_RETRY_DELAY 500
// Bootloader version
#define MY_OTA_BOOTLOADER_MAJOR_VERSION 2
#define MY_OTA_BOOTLOADER_MINOR_VERSION 0
#define MY_OTA_BOOTLOADER_VERSION (MY_OTA_BOOTLOADER_MINOR_VERSION * 256 + MY_OTA_BOOTLOADER_MAJOR_VERSION)
// Flash jdecid
#define MY_OTA_FLASH_JDECID 0x1F65
/**********************************