mbed-os/targets/TARGET_Realtek/TARGET_AMEBA/TARGET_RTL8195A
Tony Wu 38088716aa rtl8195am - refactor bootloader and ota support
1. move ota region 1 from 0x00b000 to 0x040000
2. move ota region 2 from 0x0c0000 to 0x120000
3. refactor bootloader header as follows:

   uint32_t tag;
   uint32_t ver;
   uint64_t timestamp;
   uint32_t size;
   uint8_t hash[32];
   uint8_t campaign[16];
   uint32_t crc32;

   where,
   a. hash is the sha256 checksum of the payload.
   b. crc32 is the crc32 checksum of headers from tag to campaign.

4. Call NVIC_SystemReset for soft reset.

Signed-off-by: Tony Wu <tung7970@gmail.com>
2017-12-01 17:01:46 +00:00
..
device rtl8195am - refactor bootloader and ota support 2017-12-01 17:01:46 +00:00
PeripheralNames.h change proprietary headers (APACHE2.0) 2017-06-03 20:14:46 +01:00
PinNames.h Realtek RTL8195AM - define A3-A5 as NC 2017-12-01 17:01:45 +00:00
PortNames.h add support for REALTEK_RTL8195AM 2017-06-03 20:14:45 +01:00
device.h remove useless definitions in device.h 2017-06-03 20:14:49 +01:00
objects.h Fold ADC0 into trng; delete comment code 2017-06-03 20:14:58 +01:00