add TimerCAM and CoreInk board (#4498)
This commit is contained in:
parent
bcb7012a32
commit
dd1a15478f
155
boards.txt
155
boards.txt
@ -2826,6 +2826,161 @@ m5stack-core2.menu.DebugLevel.verbose.build.code_debug=5
|
|||||||
|
|
||||||
##############################################################
|
##############################################################
|
||||||
|
|
||||||
|
m5stack-timer-cam.name=M5Stack-Timer-CAM
|
||||||
|
|
||||||
|
m5stack-timer-cam.upload.tool=esptool_py
|
||||||
|
m5stack-timer-cam.upload.maximum_size=1310720
|
||||||
|
m5stack-timer-cam.upload.maximum_data_size=327680
|
||||||
|
m5stack-timer-cam.upload.wait_for_upload_port=true
|
||||||
|
|
||||||
|
m5stack-timer-cam.serial.disableDTR=true
|
||||||
|
m5stack-timer-cam.serial.disableRTS=true
|
||||||
|
|
||||||
|
m5stack-timer-cam.build.mcu=esp32
|
||||||
|
m5stack-timer-cam.build.core=esp32
|
||||||
|
m5stack-timer-cam.build.variant=m5stack_timer_cam
|
||||||
|
m5stack-timer-cam.build.board=M5Stack-Timer-CAM
|
||||||
|
|
||||||
|
m5stack-timer-cam.build.f_cpu=240000000L
|
||||||
|
m5stack-timer-cam.build.flash_size=4MB
|
||||||
|
m5stack-timer-cam.build.flash_freq=80m
|
||||||
|
m5stack-timer-cam.build.flash_mode=dio
|
||||||
|
m5stack-timer-cam.build.boot=dio
|
||||||
|
m5stack-timer-cam.build.partitions=default
|
||||||
|
m5stack-timer-cam.build.defines=
|
||||||
|
|
||||||
|
m5stack-timer-cam.menu.PSRAM.enabled=Enabled
|
||||||
|
m5stack-timer-cam.menu.PSRAM.enabled.build.defines=-DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue
|
||||||
|
m5stack-timer-cam.menu.PSRAM.disabled=Disabled
|
||||||
|
m5stack-timer-cam.menu.PSRAM.disabled.build.defines=
|
||||||
|
|
||||||
|
m5stack-timer-cam.menu.PartitionScheme.default=Default(3MB No OTA/1MB SPIFFS)
|
||||||
|
m5stack-timer-cam.menu.PartitionScheme.default.build.partitions=huge_app
|
||||||
|
m5stack-timer-cam.menu.PartitionScheme.default.upload.maximum_size=3145728
|
||||||
|
|
||||||
|
m5stack-timer-cam.menu.PartitionScheme.no_ota=No OTA (Large APP)
|
||||||
|
m5stack-timer-cam.menu.PartitionScheme.no_ota.build.partitions=no_ota
|
||||||
|
m5stack-timer-cam.menu.PartitionScheme.no_ota.upload.maximum_size=2097152
|
||||||
|
|
||||||
|
m5stack-timer-cam.menu.PartitionScheme.min_spiffs=Minimal SPIFFS (Large APPS with OTA)
|
||||||
|
m5stack-timer-cam.menu.PartitionScheme.min_spiffs.build.partitions=min_spiffs
|
||||||
|
m5stack-timer-cam.menu.PartitionScheme.min_spiffs.upload.maximum_size=1966080
|
||||||
|
|
||||||
|
m5stack-timer-cam.menu.PartitionScheme.no_ota=No OTA (2MB APP/2MB SPIFFS)
|
||||||
|
m5stack-timer-cam.menu.PartitionScheme.no_ota.build.partitions=no_ota
|
||||||
|
m5stack-timer-cam.menu.PartitionScheme.no_ota.upload.maximum_size=2097152
|
||||||
|
|
||||||
|
m5stack-timer-cam.menu.PartitionScheme.min_spiffs=Minimal SPIFFS (1.9MB APP with OTA/190KB SPIFFS)
|
||||||
|
m5stack-timer-cam.menu.PartitionScheme.min_spiffs.build.partitions=min_spiffs
|
||||||
|
m5stack-timer-cam.menu.PartitionScheme.min_spiffs.upload.maximum_size=1966080
|
||||||
|
|
||||||
|
m5stack-timer-cam.menu.CPUFreq.240=240MHz (WiFi/BT)
|
||||||
|
m5stack-timer-cam.menu.CPUFreq.240.build.f_cpu=240000000L
|
||||||
|
m5stack-timer-cam.menu.CPUFreq.160=160MHz (WiFi/BT)
|
||||||
|
m5stack-timer-cam.menu.CPUFreq.160.build.f_cpu=160000000L
|
||||||
|
m5stack-timer-cam.menu.CPUFreq.80=80MHz (WiFi/BT)
|
||||||
|
m5stack-timer-cam.menu.CPUFreq.80.build.f_cpu=80000000L
|
||||||
|
m5stack-timer-cam.menu.CPUFreq.40=40MHz (40MHz XTAL)
|
||||||
|
m5stack-timer-cam.menu.CPUFreq.40.build.f_cpu=40000000L
|
||||||
|
m5stack-timer-cam.menu.CPUFreq.26=26MHz (26MHz XTAL)
|
||||||
|
m5stack-timer-cam.menu.CPUFreq.26.build.f_cpu=26000000L
|
||||||
|
m5stack-timer-cam.menu.CPUFreq.20=20MHz (40MHz XTAL)
|
||||||
|
m5stack-timer-cam.menu.CPUFreq.20.build.f_cpu=20000000L
|
||||||
|
m5stack-timer-cam.menu.CPUFreq.13=13MHz (26MHz XTAL)
|
||||||
|
m5stack-timer-cam.menu.CPUFreq.13.build.f_cpu=13000000L
|
||||||
|
m5stack-timer-cam.menu.CPUFreq.10=10MHz (40MHz XTAL)
|
||||||
|
m5stack-timer-cam.menu.CPUFreq.10.build.f_cpu=10000000L
|
||||||
|
|
||||||
|
m5stack-timer-cam.menu.UploadSpeed.1500000=1500000
|
||||||
|
m5stack-timer-cam.menu.UploadSpeed.1500000.upload.speed=1500000
|
||||||
|
m5stack-timer-cam.menu.UploadSpeed.750000=750000
|
||||||
|
m5stack-timer-cam.menu.UploadSpeed.750000.upload.speed=750000
|
||||||
|
m5stack-timer-cam.menu.UploadSpeed.500000=500000
|
||||||
|
m5stack-timer-cam.menu.UploadSpeed.500000.upload.speed=500000
|
||||||
|
m5stack-timer-cam.menu.UploadSpeed.250000=250000
|
||||||
|
m5stack-timer-cam.menu.UploadSpeed.250000.upload.speed=250000
|
||||||
|
m5stack-timer-cam.menu.UploadSpeed.115200=115200
|
||||||
|
m5stack-timer-cam.menu.UploadSpeed.115200.upload.speed=115200
|
||||||
|
|
||||||
|
m5stack-timer-cam.menu.DebugLevel.none=None
|
||||||
|
m5stack-timer-cam.menu.DebugLevel.none.build.code_debug=0
|
||||||
|
m5stack-timer-cam.menu.DebugLevel.error=Error
|
||||||
|
m5stack-timer-cam.menu.DebugLevel.error.build.code_debug=1
|
||||||
|
m5stack-timer-cam.menu.DebugLevel.warn=Warn
|
||||||
|
m5stack-timer-cam.menu.DebugLevel.warn.build.code_debug=2
|
||||||
|
m5stack-timer-cam.menu.DebugLevel.info=Info
|
||||||
|
m5stack-timer-cam.menu.DebugLevel.info.build.code_debug=3
|
||||||
|
m5stack-timer-cam.menu.DebugLevel.debug=Debug
|
||||||
|
m5stack-timer-cam.menu.DebugLevel.debug.build.code_debug=4
|
||||||
|
m5stack-timer-cam.menu.DebugLevel.verbose=Verbose
|
||||||
|
m5stack-timer-cam.menu.DebugLevel.verbose.build.code_debug=5
|
||||||
|
|
||||||
|
##############################################################
|
||||||
|
|
||||||
|
m5stack-coreink.name=M5Stack-CoreInk
|
||||||
|
|
||||||
|
m5stack-coreink.upload.tool=esptool_py
|
||||||
|
m5stack-coreink.upload.maximum_size=1310720
|
||||||
|
m5stack-coreink.upload.maximum_data_size=327680
|
||||||
|
m5stack-coreink.upload.wait_for_upload_port=true
|
||||||
|
|
||||||
|
m5stack-coreink.serial.disableDTR=true
|
||||||
|
m5stack-coreink.serial.disableRTS=true
|
||||||
|
|
||||||
|
m5stack-coreink.build.mcu=esp32
|
||||||
|
m5stack-coreink.build.core=esp32
|
||||||
|
m5stack-coreink.build.variant=m5stack_coreink
|
||||||
|
m5stack-coreink.build.board=M5Stack_CoreInk
|
||||||
|
|
||||||
|
m5stack-coreink.build.f_cpu=240000000L
|
||||||
|
m5stack-coreink.build.flash_size=4MB
|
||||||
|
m5stack-coreink.build.flash_freq=80m
|
||||||
|
m5stack-coreink.build.flash_mode=dio
|
||||||
|
m5stack-coreink.build.boot=dio
|
||||||
|
m5stack-coreink.build.partitions=default
|
||||||
|
m5stack-coreink.build.defines=
|
||||||
|
|
||||||
|
m5stack-coreink.menu.PartitionScheme.default=Default
|
||||||
|
m5stack-coreink.menu.PartitionScheme.default.build.partitions=default
|
||||||
|
m5stack-coreink.menu.PartitionScheme.no_ota=No OTA (Large APP)
|
||||||
|
m5stack-coreink.menu.PartitionScheme.no_ota.build.partitions=no_ota
|
||||||
|
m5stack-coreink.menu.PartitionScheme.no_ota.upload.maximum_size=2097152
|
||||||
|
m5stack-coreink.menu.PartitionScheme.min_spiffs=Minimal SPIFFS (Large APPS with OTA)
|
||||||
|
m5stack-coreink.menu.PartitionScheme.min_spiffs.build.partitions=min_spiffs
|
||||||
|
m5stack-coreink.menu.PartitionScheme.min_spiffs.upload.maximum_size=1966080
|
||||||
|
|
||||||
|
m5stack-coreink.menu.UploadSpeed.921600=921600
|
||||||
|
m5stack-coreink.menu.UploadSpeed.921600.upload.speed=921600
|
||||||
|
m5stack-coreink.menu.UploadSpeed.115200=115200
|
||||||
|
m5stack-coreink.menu.UploadSpeed.115200.upload.speed=115200
|
||||||
|
m5stack-coreink.menu.UploadSpeed.256000.windows=256000
|
||||||
|
m5stack-coreink.menu.UploadSpeed.256000.upload.speed=256000
|
||||||
|
m5stack-coreink.menu.UploadSpeed.230400.windows.upload.speed=256000
|
||||||
|
m5stack-coreink.menu.UploadSpeed.230400=230400
|
||||||
|
m5stack-coreink.menu.UploadSpeed.230400.upload.speed=230400
|
||||||
|
m5stack-coreink.menu.UploadSpeed.460800.linux=460800
|
||||||
|
m5stack-coreink.menu.UploadSpeed.460800.macosx=460800
|
||||||
|
m5stack-coreink.menu.UploadSpeed.460800.upload.speed=460800
|
||||||
|
m5stack-coreink.menu.UploadSpeed.512000.windows=512000
|
||||||
|
m5stack-coreink.menu.UploadSpeed.512000.upload.speed=512000
|
||||||
|
m5stack-coreink.menu.UploadSpeed.1500000=1500000
|
||||||
|
m5stack-coreink.menu.UploadSpeed.1500000.upload.speed=1500000
|
||||||
|
|
||||||
|
m5stack-coreink.menu.DebugLevel.none=None
|
||||||
|
m5stack-coreink.menu.DebugLevel.none.build.code_debug=0
|
||||||
|
m5stack-coreink.menu.DebugLevel.error=Error
|
||||||
|
m5stack-coreink.menu.DebugLevel.error.build.code_debug=1
|
||||||
|
m5stack-coreink.menu.DebugLevel.warn=Warn
|
||||||
|
m5stack-coreink.menu.DebugLevel.warn.build.code_debug=2
|
||||||
|
m5stack-coreink.menu.DebugLevel.info=Info
|
||||||
|
m5stack-coreink.menu.DebugLevel.info.build.code_debug=3
|
||||||
|
m5stack-coreink.menu.DebugLevel.debug=Debug
|
||||||
|
m5stack-coreink.menu.DebugLevel.debug.build.code_debug=4
|
||||||
|
m5stack-coreink.menu.DebugLevel.verbose=Verbose
|
||||||
|
m5stack-coreink.menu.DebugLevel.verbose.build.code_debug=5
|
||||||
|
|
||||||
|
##############################################################
|
||||||
|
|
||||||
odroid_esp32.name=ODROID ESP32
|
odroid_esp32.name=ODROID ESP32
|
||||||
|
|
||||||
odroid_esp32.upload.tool=esptool_py
|
odroid_esp32.upload.tool=esptool_py
|
||||||
|
@ -11,12 +11,12 @@
|
|||||||
#define digitalPinToInterrupt(p) (((p)<40)?(p):-1)
|
#define digitalPinToInterrupt(p) (((p)<40)?(p):-1)
|
||||||
#define digitalPinHasPWM(p) (p < 34)
|
#define digitalPinHasPWM(p) (p < 34)
|
||||||
|
|
||||||
|
#define TX2 14
|
||||||
|
#define RX2 13
|
||||||
|
|
||||||
static const uint8_t TX = 1;
|
static const uint8_t TX = 1;
|
||||||
static const uint8_t RX = 3;
|
static const uint8_t RX = 3;
|
||||||
|
|
||||||
static const uint8_t TXD2 = 14;
|
|
||||||
static const uint8_t RXD2 = 13;
|
|
||||||
|
|
||||||
static const uint8_t SDA = 32;
|
static const uint8_t SDA = 32;
|
||||||
static const uint8_t SCL = 33;
|
static const uint8_t SCL = 33;
|
||||||
|
|
||||||
|
57
variants/m5stack_coreink/pins_arduino.h
Normal file
57
variants/m5stack_coreink/pins_arduino.h
Normal file
@ -0,0 +1,57 @@
|
|||||||
|
#ifndef Pins_Arduino_h
|
||||||
|
#define Pins_Arduino_h
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
|
#define EXTERNAL_NUM_INTERRUPTS 16
|
||||||
|
#define NUM_DIGITAL_PINS 40
|
||||||
|
#define NUM_ANALOG_INPUTS 16
|
||||||
|
|
||||||
|
#define analogInputToDigitalPin(p) (((p)<20)?(esp32_adc2gpio[(p)]):-1)
|
||||||
|
#define digitalPinToInterrupt(p) (((p)<40)?(p):-1)
|
||||||
|
#define digitalPinHasPWM(p) (p < 34)
|
||||||
|
|
||||||
|
#define TX2 14
|
||||||
|
#define RX2 13
|
||||||
|
|
||||||
|
static const uint8_t TX = 1;
|
||||||
|
static const uint8_t RX = 3;
|
||||||
|
|
||||||
|
static const uint8_t SDA = 32;
|
||||||
|
static const uint8_t SCL = 33;
|
||||||
|
|
||||||
|
static const uint8_t SS = 9;
|
||||||
|
static const uint8_t MOSI = 23;
|
||||||
|
static const uint8_t MISO = 34;
|
||||||
|
static const uint8_t SCK = 18;
|
||||||
|
|
||||||
|
static const uint8_t G26 = 26;
|
||||||
|
static const uint8_t G36 = 36;
|
||||||
|
static const uint8_t G25 = 25;
|
||||||
|
|
||||||
|
static const uint8_t G32 = 32;
|
||||||
|
static const uint8_t G33 = 33;
|
||||||
|
|
||||||
|
static const uint8_t G21 = 21;
|
||||||
|
static const uint8_t G22 = 22;
|
||||||
|
|
||||||
|
static const uint8_t G13 = 13;
|
||||||
|
static const uint8_t G14 = 14;
|
||||||
|
|
||||||
|
static const uint8_t G12 = 12;
|
||||||
|
static const uint8_t G19 = 19;
|
||||||
|
|
||||||
|
static const uint8_t G5 = 5;
|
||||||
|
static const uint8_t G10 = 10;
|
||||||
|
static const uint8_t G2 = 2;
|
||||||
|
static const uint8_t G37 = 37;
|
||||||
|
static const uint8_t G38 = 38;
|
||||||
|
static const uint8_t G39 = 39;
|
||||||
|
|
||||||
|
static const uint8_t DAC1 = 25;
|
||||||
|
static const uint8_t DAC2 = 26;
|
||||||
|
|
||||||
|
static const uint8_t ADC1 = 35;
|
||||||
|
static const uint8_t ADC2 = 36;
|
||||||
|
|
||||||
|
#endif /* Pins_Arduino_h */
|
50
variants/m5stack_timer_cam/pins_arduino.h
Normal file
50
variants/m5stack_timer_cam/pins_arduino.h
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
#ifndef Pins_Arduino_h
|
||||||
|
#define Pins_Arduino_h
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
|
#define EXTERNAL_NUM_INTERRUPTS 16
|
||||||
|
#define NUM_DIGITAL_PINS 40
|
||||||
|
#define NUM_ANALOG_INPUTS 16
|
||||||
|
|
||||||
|
#define analogInputToDigitalPin(p) (((p)<20)?(esp32_adc2gpio[(p)]):-1)
|
||||||
|
#define digitalPinToInterrupt(p) (((p)<40)?(p):-1)
|
||||||
|
#define digitalPinHasPWM(p) (p < 34)
|
||||||
|
|
||||||
|
static const uint8_t TX = 1;
|
||||||
|
static const uint8_t RX = 3;
|
||||||
|
|
||||||
|
static const uint8_t SDA = 4;
|
||||||
|
static const uint8_t SCL = 13;
|
||||||
|
|
||||||
|
static const uint8_t G23 = 23;
|
||||||
|
static const uint8_t G25 = 25;
|
||||||
|
static const uint8_t G27 = 27;
|
||||||
|
static const uint8_t G22 = 22;
|
||||||
|
static const uint8_t G26 = 26;
|
||||||
|
static const uint8_t G21 = 21;
|
||||||
|
static const uint8_t G32 = 32;
|
||||||
|
static const uint8_t G35 = 35;
|
||||||
|
static const uint8_t G34 = 34;
|
||||||
|
static const uint8_t G5 = 5;
|
||||||
|
static const uint8_t G39 = 39;
|
||||||
|
static const uint8_t G18 = 18;
|
||||||
|
static const uint8_t G36 = 36;
|
||||||
|
static const uint8_t G19 = 19;
|
||||||
|
static const uint8_t G15 = 15;
|
||||||
|
|
||||||
|
static const uint8_t G2 = 2;
|
||||||
|
static const uint8_t G33 = 33;
|
||||||
|
|
||||||
|
static const uint8_t G13 = 13;
|
||||||
|
static const uint8_t G4 = 4;
|
||||||
|
|
||||||
|
static const uint8_t G0 = 0;
|
||||||
|
|
||||||
|
static const uint8_t DAC1 = 25;
|
||||||
|
static const uint8_t DAC2 = 26;
|
||||||
|
|
||||||
|
static const uint8_t ADC1 = 35;
|
||||||
|
static const uint8_t ADC2 = 36;
|
||||||
|
|
||||||
|
#endif /* Pins_Arduino_h */
|
Loading…
Reference in New Issue
Block a user