147257efa4
ota_basic example can receive new image via TCP. However - writing to flash with interrupts disabled causes data loss, and the TCP flow is very slow to recover. Linux sender quickly ramps up RTT timer to very long retry intervals, crippling performance & throughput. Running the update without the flash writes causes the data to be received quickly, so this is definitely an issue with the time taken for the erase cycle. Progress towards #10
14 lines
432 B
C
14 lines
432 B
C
#ifndef _RBOOT_CONFIG_H
|
|
/* rboot configuration parameters.
|
|
|
|
Must match the config in the compiler bootloader rboot.h. Values below are the rboot.h defaults.
|
|
|
|
Override rboot parameters by editing this file, or (much better
|
|
alternative) copy rboot-config.h to your program directory or
|
|
program/include/ directory, then edit it to override these values.
|
|
*/
|
|
|
|
#define RBOOT_MAX_ROMS 4
|
|
//#define RBOOT_CONFIG_CHECKSUM
|
|
|
|
#endif
|