Skip to content

Commit

Permalink
Never gonna say goodbye
Browse files Browse the repository at this point in the history
  • Loading branch information
bmorcelli committed Jan 5, 2025
1 parent 1482706 commit 71e7d02
Show file tree
Hide file tree
Showing 25 changed files with 105 additions and 125 deletions.
1 change: 0 additions & 1 deletion boards/CYD-2432S028/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ build_flags =
-Os

-DCYD=1
-DREDRAW_DELAY=200

-DPART_04MB=1
;-DPART_08MB =0
Expand Down
1 change: 0 additions & 1 deletion boards/_New-Device-Model/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ build_flags =
-mfix-esp32-psram-cache-strategy=memw

-DSTICK_C_PLUS2=1
-DREDRAW_DELAY=200

;-DPART_04MB=1
-DPART_08MB=1
Expand Down
1 change: 0 additions & 1 deletion boards/lilygo-t-deck/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ build_flags =

-DT_DECK=1
-DPIN_POWER_ON=10
-DREDRAW_DELAY=250
-DBK_BTN=6

;-DPART_04MB =0
Expand Down
1 change: 0 additions & 1 deletion boards/lilygo-t-display-s3-pro/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ build_flags =

-DT_DISPLAY_S3=1
-DT_DISPLAY_S3_PRO=1
-DREDRAW_DELAY=200

;-DPART_04MB =0
;-DPART_08MB =0
Expand Down
1 change: 0 additions & 1 deletion boards/lilygo-t-display-s3-touch/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ build_flags =

-DT_DISPLAY_S3=1
-DT_DISPLAY_S3_TOUCH=1
-DREDRAW_DELAY=200

;-DPART_04MB =0
;-DPART_08MB =0
Expand Down
2 changes: 0 additions & 2 deletions boards/lilygo-t-embed-cc1101/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ build_flags =

-DT_EMBED=1
-DPIN_POWER_ON=46
-DREDRAW_DELAY=1
-DBK_BTN=6

;-DPART_04MB =0
Expand Down Expand Up @@ -110,7 +109,6 @@ build_flags =
-DT_EMBED=1
-DT_EMBED_1101=1
-DPIN_POWER_ON=15
-DREDRAW_DELAY=0
-DBK_BTN=6

;-DPART_04MB =0
Expand Down
1 change: 0 additions & 1 deletion boards/m5stack-cardputer/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ build_flags =
-DCORE_DEBUG_LEVEL=5
-DARDUINO_USB_CDC_ON_BOOT=1
-DCARDPUTER=1
-DREDRAW_DELAY=200

;-DPART_04MB =0
-DPART_08MB=1
Expand Down
1 change: 0 additions & 1 deletion boards/m5stack-core/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ build_flags =
-mfix-esp32-psram-cache-strategy=memw

-DCORE=1
-DREDRAW_DELAY=200

;-DPART_04MB =0
;-DPART_08MB =0
Expand Down
1 change: 0 additions & 1 deletion boards/m5stack-core2/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ build_flags =
-mfix-esp32-psram-cache-strategy=memw

-DCORE2=1
-DREDRAW_DELAY=200

;-DPART_04MB =0
;-DPART_08MB =0
Expand Down
3 changes: 0 additions & 3 deletions boards/m5stack-cores3/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,8 @@ build_flags =
${env.build_flags}
-Iboards/m5stack-cores3
;-DCORE_DEBUG_LEVEL=5
-DBOARD_HAS_PSRAM
-DARDUINO_USB_CDC_ON_BOOT=1

-DCORE3=1
-DREDRAW_DELAY=200

;-DPART_04MB =0
;-DPART_08MB =0
Expand Down
2 changes: 0 additions & 2 deletions boards/m5stack-cplus1_1/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ build_flags =
-DCONFIG_ESP32_JTAG_SUPPORT_DISABLE=1
-Wl,--gc-sections
-DSTICK_C_PLUS=1
-DREDRAW_DELAY=200

-DPART_04MB=1
;-DPART_08MB =0
Expand Down Expand Up @@ -84,7 +83,6 @@ build_flags =
-Os
-DSTICK_C=1
-DSTICK_C_PLUS=1
-DREDRAW_DELAY=200

-DPART_04MB=1
;-DPART_08MB =0
Expand Down
4 changes: 2 additions & 2 deletions boards/m5stack-cplus2.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@
],
"name": "M5Stick CPlus2",
"upload": {
"flash_size": "4MB",
"flash_size": "8MB",
"maximum_ram_size": 327680,
"maximum_size": 4194304,
"maximum_size": 8388608,
"require_upload_port": true,
"speed": 1500000
},
Expand Down
4 changes: 0 additions & 4 deletions boards/m5stack-cplus2/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,8 @@ build_flags =
${env.build_flags}
-Iboards/m5stack-cplus2
;-DCORE_DEBUG_LEVEL=5
-DBOARD_HAS_PSRAM
-mfix-esp32-psram-cache-issue
-mfix-esp32-psram-cache-strategy=memw

-DSTICK_C_PLUS2=1
-DREDRAW_DELAY=200

;-DPART_04MB=1
-DPART_08MB=1
Expand Down
1 change: 0 additions & 1 deletion boards/marauder-mini/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ build_flags =
-Os

-DMARAUDERMINI=1
-DREDRAW_DELAY=200

-DPART_04MB=1
;-DPART_08MB =0
Expand Down
1 change: 0 additions & 1 deletion boards/marauder-v4og/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ build_flags =
-Os

-DMARAUDERV4=1
-DREDRAW_DELAY=200

-DPART_04MB=1
;-DPART_08MB =0
Expand Down
19 changes: 9 additions & 10 deletions boards/pinouts/m5stack-cores3.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ static const uint8_t G46 = 46;

static const uint8_t ADC = 10;


#define HAS_RTC
#define USB_as_HID

Expand Down Expand Up @@ -89,11 +88,11 @@ static const uint8_t ADC = 10;
#define M5STACK
#define TFT_HEIGHT 320
#define TFT_WIDTH 240
#define TFT_MOSI MOSI
#define TFT_MISO MISO
#define TFT_SCLK SCK
#define TFT_CS G3
#define TFT_DC G35
#define TFT_MOSI 37
#define TFT_MISO 35
#define TFT_SCLK 36
#define TFT_CS 3
#define TFT_DC 35
#define TFT_RST -1
#define TFT_BL -1
#define TOUCH_CS -1
Expand All @@ -108,10 +107,10 @@ static const uint8_t ADC = 10;
#define BTN_ACT LOW

// SD Card Setup pins
#define SDCARD_CS G4
#define SDCARD_SCK SCK
#define SDCARD_MISO MISO
#define SDCARD_MOSI MOSI
#define SDCARD_CS 4
#define SDCARD_SCK 36
#define SDCARD_MISO 35
#define SDCARD_MOSI 37

// Default I2C port
#define GROVE_SDA 32
Expand Down
4 changes: 0 additions & 4 deletions include/pre_compiler.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#ifndef REDRAW_DELAY
#define REDRAW_DELAY 250
#endif

#if !defined(PART_04MB) && !defined(PART_08MB) && !defined(PART_16MB) && !defined(HEADLESS)
#define PART_04MB 1
#endif
Expand Down
Loading

0 comments on commit 71e7d02

Please sign in to comment.