Ivan Grokhotkov
fa09c8af61
spi_flash: fix partitions order
...
Pointer to the tail of linked list was never set, so partitions were
added to the head, instead of adding them to the tail.
2017-03-04 15:34:03 +08:00
Angus Gratton
4170b8c32e
partition iterator: Free iterator when reaching end of linked list
2017-02-22 10:26:04 +11:00
Angus Gratton
902382f622
ota ops: Verify partition argument passed to esp_ota_begin()
2017-02-22 10:26:04 +11:00
Angus Gratton
eea2788f5a
OTA: Fix issues with encrypted OTA
...
- OTA source can write non-16-byte multiples of data
- Assumption that empty ota_data is 0xFFFFFFFF untrue when encrypted
2017-01-26 18:52:35 +11:00
Deomid Ryabkov
71ab455c87
Allow writes to encrypted partitions
...
There is a size alignment requirement but it is checked by
spi_flash_write_encrypted. However, this check flat-out bans encrypted
writes.
2017-01-17 12:32:01 +08:00
Angus Gratton
9eb135fd73
Flash encryption: Support enabling flash encryption in bootloader, app support
...
* App access functions are all flash encryption-aware
* Documentation for flash encryption
* Partition read/write is flash aware
* New encrypted write function
2016-12-01 23:49:12 -08:00
Tian Zhong Xing
72422b32dc
feature/fota_ops_api: add ota core api implement
2016-11-28 17:12:57 +08:00
Ivan Grokhotkov
c581229e1d
partition API: separate type and subtype into two enums
2016-10-27 17:58:42 +08:00
Ivan Grokhotkov
b6693225c1
spi_flash: implement partition API, drop trivial wrappers
...
This implements esp_partition_read, esp_partition_write, esp_partition_erase_range, esp_partition_mmap.
Also removed getters which didn't add much sugar after all.
2016-10-27 17:58:42 +08:00
Ivan Grokhotkov
079d9ea018
spi_flash: implement partition API
2016-10-27 17:58:42 +08:00