arduino-esp32/tools
tobozo 674cf812e7
[FEATURE] add -D ARDUINO_PARTITION_xxx build flag to platform.txt (#5804)
* [FEATURE]  ARDUINO_PARTITION_xxx build flag

Proposition: adding `-DARDUINO_PARTITION_{build.partitions}` flag to make the build partition information available at compile time.

Use cas example:

```C
#if defined ARDUINO_PARTITION_default
  // prevent compilation
  #error "This sketch needs 'Minimal SPIFFS' partition scheme to compile" 
  // or disable sketch features that need flash space
  #define USE_HUGE_BITMAP_IMAGES false
#endif
```

* Adding -DARDUINO_PARTITION_{build.partitions} (see #5804)
2021-11-06 13:58:48 +02:00
..
partitions v2.0.0 Add support for ESP32S2 and update ESP-IDF to 4.4 (#4996) 2021-04-05 14:23:58 +03:00
sdk IDF release/v4.4 6a7d83af19 2021-11-04 14:22:34 +02:00
espota.exe Update espota.exe 2018-05-31 15:36:09 +02:00
espota.py ESP8266 => ESP32 tidyup, set correct default port (#2948) 2019-07-09 19:24:10 +03:00
esptool.py IDF master 3e370c4296 2021-10-01 17:52:29 +03:00
gen_esp32part.exe v2.0.0 Add support for ESP32S2 and update ESP-IDF to 4.4 (#4996) 2021-04-05 14:23:58 +03:00
gen_esp32part.py IDF master 3e370c4296 2021-10-01 17:52:29 +03:00
get.exe Import SSL in Windows (get.exe) 2017-11-28 11:20:50 +01:00
get.py Fix CI Builds for Linux (#3313) 2019-10-01 23:13:08 +03:00
platformio-build-esp32.py [FEATURE] add -D ARDUINO_PARTITION_xxx build flag to platform.txt (#5804) 2021-11-06 13:58:48 +02:00
platformio-build-esp32c3.py [FEATURE] add -D ARDUINO_PARTITION_xxx build flag to platform.txt (#5804) 2021-11-06 13:58:48 +02:00
platformio-build-esp32s2.py [FEATURE] add -D ARDUINO_PARTITION_xxx build flag to platform.txt (#5804) 2021-11-06 13:58:48 +02:00
platformio-build.py v2.0.0 Add support for ESP32S2 and update ESP-IDF to 4.4 (#4996) 2021-04-05 14:23:58 +03:00