diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 02fcccaa..7551c2fd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,6 +27,7 @@ jobs: # platformio-path: ~\AppData\Local\platformio\Cache board: [ + generic.h, ebox.h, eboxtube.h, ecopower.h, diff --git a/src/hal/generic.h b/src/hal/generic.h index ef691330..c753ba8d 100644 --- a/src/hal/generic.h +++ b/src/hal/generic.h @@ -62,7 +62,7 @@ #define CFG_sx1276_radio 1 // select LoRa chip //#define CFG_sx1272_radio 1 // select LoRa chip -#define BOARD_HAS_PSRAM // use if board has external PSRAM +//#define BOARD_HAS_PSRAM // use if board has external SPIRAM, note: this will reduce IRAM0 by 64KB for SPIRAM cache #define DISABLE_BROWNOUT 1 // comment out if you want to keep brownout feature #define HAS_DISPLAY 1 diff --git a/src/hal/m5fire.h b/src/hal/m5fire.h index 81f35454..c4e25e1d 100644 --- a/src/hal/m5fire.h +++ b/src/hal/m5fire.h @@ -1,6 +1,7 @@ // clang-format off // upload_speed 921600 -// board m5stack-fire +// board m5stack-core-esp32 +// b0ard m5stack-fire -> does not compile due to IRAM0 shortage, because 64KB of 192KB used for caching external SPIRAM // note use of GPIO16/17 // https://www.bjoerns-techblog.de/2019/03/m5stack-fire-eine-uebersicht/ @@ -31,9 +32,7 @@ #define DISABLE_BROWNOUT 1 // comment out if you want to keep brownout feature #define HAS_LED NOT_A_PIN // no on board LED (?) -#define RGB_LED_COUNT 10 - -#define RGB_LED_COUNT 1 // we have 1 LED +#define RGB_LED_COUNT 10 // M5fire has a stripe of 10 RGB Pixels #define HAS_RGB_LED FastLED.addLeds(leds, RGB_LED_COUNT); #define HAS_BUTTON (39) // on board button A