Skip to content

Commit

Permalink
Added note #95
Browse files Browse the repository at this point in the history
  • Loading branch information
lewisxhe committed Dec 21, 2024
1 parent 9e4a815 commit b00265e
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
10 changes: 9 additions & 1 deletion examples/ETHOTA/ETHOTA.ino
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,15 @@
* @license MIT
* @copyright Copyright (c) 2023 Shenzhen Xin Yuan Electronic Technology Co., Ltd
* @date 2023-07-31
*
* @note Select the partition table correctly to use OTA update
* @note T-ETH-POE: Arduino IDE -> Tools -> Partition Scheme: Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)
* @note T-ETH-LITE-ESP32: Arduino IDE -> Tools -> Partition Scheme: 16M Flash (2MB APP/12.5MB FATFS)
* @note T-ETH-LITE-ESP32S3: Arduino IDE -> Tools -> Partition Scheme: 16M Flash (2MB APP/12.5MB FATFS)
* @note T-ETH-ELITE: Arduino IDE -> Tools -> Partition Scheme: 16M Flash (2MB APP/12.5MB FATFS)
* @note T-INTER-COM: Arduino IDE -> Tools -> Partition Scheme: 16M Flash (2MB APP/12.5MB FATFS)
*
* Different flash sizes use different partition tables. For details, please refer to https://docs.espressif.com/projects/esp-idf/en/stable/esp32/api-guides/partition-tables.html
*
*/

#include <WiFi.h>
Expand Down
10 changes: 9 additions & 1 deletion platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,16 @@ monitor_filters =
build_flags =
-DCORE_DEBUG_LEVEL=1



; Different flash sizes use different partition tables. For details, please refer to https://docs.espressif.com/projects/esp-idf/en/stable/esp32/api-guides/partition-tables.html

; When using the CameraShield example it is necessary to change the partition table to huge_app
board_build.partitions = huge_app.csv
; board_build.partitions = huge_app.csv

; To use OTA update, you need to select the partition that carries the OTA partition.
; board_build.partitions = default.csv ; 4MB partition
; board_build.partitions = default_16MB.csv ; 16MB partition


;Use OTA update firmware
Expand Down

0 comments on commit b00265e

Please sign in to comment.