Files
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
..
2021-11-04 14:22:34 +02:00
2018-05-31 15:36:09 +02:00
2021-10-01 17:52:29 +03:00
2021-10-01 17:52:29 +03:00
2017-11-28 11:20:50 +01:00
2019-10-01 23:13:08 +03:00