m5fire.h: shrink features due to IRAM shortage
This commit is contained in:
parent
bed593ff0b
commit
df25a9de1a
@ -1,7 +1,6 @@
|
|||||||
// clang-format off
|
// clang-format off
|
||||||
// upload_speed 921600
|
// upload_speed 921600
|
||||||
// board m5stack-core-esp32
|
// board m5stack-fire
|
||||||
// b0ard m5stack-fire -> does not compile due to IRAM0 shortage, because 64KB of 192KB used for caching external SPIRAM
|
|
||||||
|
|
||||||
// note use of GPIO16/17
|
// note use of GPIO16/17
|
||||||
// https://www.bjoerns-techblog.de/2019/03/m5stack-fire-eine-uebersicht/
|
// https://www.bjoerns-techblog.de/2019/03/m5stack-fire-eine-uebersicht/
|
||||||
@ -22,18 +21,18 @@
|
|||||||
#define LORA_IO2 LMIC_UNUSED_PIN
|
#define LORA_IO2 LMIC_UNUSED_PIN
|
||||||
|
|
||||||
// enable only if you want to store a local paxcount table on the device
|
// enable only if you want to store a local paxcount table on the device
|
||||||
#define HAS_SDCARD 1 // this board has an SD-card-reader/writer
|
//#define HAS_SDCARD 1 // this board has an SD-card-reader/writer
|
||||||
#define SDCARD_CS GPIO_NUM_4
|
//#define SDCARD_CS GPIO_NUM_4
|
||||||
#define SDCARD_MOSI MOSI
|
//#define SDCARD_MOSI MOSI
|
||||||
#define SDCARD_MISO MISO
|
//#define SDCARD_MISO MISO
|
||||||
#define SDCARD_SCLK SCK
|
//#define SDCARD_SCLK SCK
|
||||||
|
|
||||||
#define CFG_sx1276_radio 1 // select LoRa chip
|
#define CFG_sx1276_radio 1 // select LoRa chip
|
||||||
#define DISABLE_BROWNOUT 1 // comment out if you want to keep brownout feature
|
#define DISABLE_BROWNOUT 1 // comment out if you want to keep brownout feature
|
||||||
|
|
||||||
#define HAS_LED NOT_A_PIN // no on board LED (?)
|
#define HAS_LED NOT_A_PIN // no on board LED (?)
|
||||||
#define RGB_LED_COUNT 10 // M5fire has a stripe of 10 RGB Pixels
|
//#define RGB_LED_COUNT 10 // M5fire has a stripe of 10 RGB Pixels
|
||||||
#define HAS_RGB_LED FastLED.addLeds<SK6812, GPIO_NUM_15, GRB>(leds, RGB_LED_COUNT);
|
//#define HAS_RGB_LED FastLED.addLeds<SK6812, GPIO_NUM_15, GRB>(leds, RGB_LED_COUNT);
|
||||||
#define HAS_BUTTON (39) // on board button A
|
#define HAS_BUTTON (39) // on board button A
|
||||||
|
|
||||||
// power management settings
|
// power management settings
|
||||||
|
Loading…
Reference in New Issue
Block a user