m5fire.h: workaround for IRAM0 shortage
This commit is contained in:
parent
1d7753feac
commit
977d482676
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
#define HAS_LORA 1 // comment out if device shall not send data via LoRa or has no M5 RA01 LoRa module
|
//#define HAS_LORA 1 // comment out if device shall not send data via LoRa or has no M5 RA01 LoRa module
|
||||||
#define LORA_SCK SCK
|
#define LORA_SCK SCK
|
||||||
#define LORA_CS SS
|
#define LORA_CS SS
|
||||||
#define LORA_MISO MISO
|
#define LORA_MISO MISO
|
||||||
@ -21,7 +21,7 @@
|
|||||||
#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
|
||||||
@ -32,8 +32,8 @@
|
|||||||
|
|
||||||
#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
|
||||||
#define HAS_IP5306 1 // has IP5306 chip
|
#define HAS_IP5306 1 // has IP5306 chip
|
||||||
@ -48,7 +48,7 @@
|
|||||||
//#define GPS_INT GPIO_NUM_36 // 30ns accurary timepulse, to be external wired on pcb: shorten R12!
|
//#define GPS_INT GPIO_NUM_36 // 30ns accurary timepulse, to be external wired on pcb: shorten R12!
|
||||||
|
|
||||||
// Display Settings
|
// Display Settings
|
||||||
#define HAS_DISPLAY 2 // TFT-LCD
|
//#define HAS_DISPLAY 2 // TFT-LCD
|
||||||
//#define MY_DISPLAY_FLIP 1 // use if display is rotated
|
//#define MY_DISPLAY_FLIP 1 // use if display is rotated
|
||||||
#define MY_DISPLAY_WIDTH 320
|
#define MY_DISPLAY_WIDTH 320
|
||||||
#define MY_DISPLAY_HEIGHT 240
|
#define MY_DISPLAY_HEIGHT 240
|
||||||
|
Loading…
Reference in New Issue
Block a user