fix(rainmaker): Add new partition tables that fits the binary size (#10046)

* fix(rainmaker): Add new partition tables

* fix(rainmaker): Update readme file for RM examples

* fix(rainmaker): Hide RM partitions for esp32h2
This commit is contained in:
Jan Procházka 2024-07-29 11:48:40 +02:00 committed by GitHub
parent 0fa4aa632c
commit 0670e20421
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 674 additions and 185 deletions

File diff suppressed because it is too large Load diff

View file

@ -2,11 +2,13 @@
While building any examples for ESP RainMaker, take care of the following: While building any examples for ESP RainMaker, take care of the following:
1. Change partition scheme in Arduino IDE to RainMaker (Tools -> Partition Scheme -> RainMaker). 1. Change the partition scheme that fits your flash size in Arduino IDE to "RainMaker 4MB", "RainMaker 4MB no OTA" or "RainMaker 8MB" (Tools -> Partition Scheme -> RainMaker).
2. Once ESP RainMaker gets started, compulsorily call `WiFi.beginProvision()` which is responsible for user-node mapping. 2. Once ESP RainMaker gets started, compulsorily call `WiFi.beginProvision()` which is responsible for user-node mapping.
3. Use the appropriate provisioning scheme as per the board. 3. Use the appropriate provisioning scheme as per the board.
- ESP32 Board: BLE Provisioning - ESP32 Board: BLE Provisioning
- ESP32-C3 Board: BLE Provisioning - ESP32-C3 Board: BLE Provisioning
- ESP32-S3 Board: BLE Provisioning - ESP32-S3 Board: BLE Provisioning
- ESP32-S2 Board: SoftAP Provisioning - ESP32-S2 Board: SoftAP Provisioning
4. Set debug level to Info (Tools -> Core Debug Level -> Info). This is recommended debug level but not mandatory to run RainMaker. - ESP32-C6 Board: BLE Provisioning
- ESP32-H2 Board: BLE Provisioning
4. Set debug level to Info (Tools -> Core Debug Level -> Info). This is the recommended debug level but not mandatory to run RainMaker.

View file

@ -4,4 +4,4 @@ otadata, data, ota, 0xe000, 0x2000,
ota_0, app, ota_0, 0x10000, 0x1E0000, ota_0, app, ota_0, 0x10000, 0x1E0000,
ota_1, app, ota_1, 0x1F0000, 0x1E0000, ota_1, app, ota_1, 0x1F0000, 0x1E0000,
fctry, data, nvs, 0x3D0000, 0x6000, fctry, data, nvs, 0x3D0000, 0x6000,
coredump, data, coredump, 0x3F0000, 0x10000, coredump, data, coredump,0x3F0000, 0x10000,

1 # Name Type SubType Offset Size Flags
4 ota_0 app ota_0 0x10000 0x1E0000
5 ota_1 app ota_1 0x1F0000 0x1E0000
6 fctry data nvs 0x3D0000 0x6000
7 coredump data coredump 0x3F0000 0x10000

View file

@ -0,0 +1,6 @@
# Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x5000,
otadata, data, ota, 0xe000, 0x2000,
ota_0, app, ota_0, 0x10000, 0x3DA000,
fctry, data, nvs, 0x3EA000, 0x6000,
coredump, data, coredump,0x3F0000, 0x10000,
1 # Name Type SubType Offset Size Flags
2 nvs data nvs 0x9000 0x5000
3 otadata data ota 0xe000 0x2000
4 ota_0 app ota_0 0x10000 0x3DA000
5 fctry data nvs 0x3EA000 0x6000
6 coredump data coredump 0x3F0000 0x10000

View file

@ -0,0 +1,7 @@
# Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x5000,
otadata, data, ota, 0xe000, 0x2000,
ota_0, app, ota_0, 0x10000, 0x3ED000,
ota_1, app, ota_1, 0x3FD000, 0x3ED000,
fctry, data, nvs, 0x7EA000, 0x6000,
coredump, data, coredump,0x7F0000, 0x10000,
1 # Name Type SubType Offset Size Flags
2 nvs data nvs 0x9000 0x5000
3 otadata data ota 0xe000 0x2000
4 ota_0 app ota_0 0x10000 0x3ED000
5 ota_1 app ota_1 0x3FD000 0x3ED000
6 fctry data nvs 0x7EA000 0x6000
7 coredump data coredump 0x7F0000 0x10000