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:
parent
0fa4aa632c
commit
0670e20421
5 changed files with 674 additions and 185 deletions
838
boards.txt
838
boards.txt
File diff suppressed because it is too large
Load diff
|
|
@ -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.
|
||||||
|
|
|
||||||
6
tools/partitions/rainmaker_4MB_no_ota.csv
Normal file
6
tools/partitions/rainmaker_4MB_no_ota.csv
Normal 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,
|
||||||
|
7
tools/partitions/rainmaker_8MB.csv
Normal file
7
tools/partitions/rainmaker_8MB.csv
Normal 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,
|
||||||
|
Loading…
Reference in a new issue