Unverified Commit f3f6dad1 authored by thambirm's avatar thambirm Committed by GitHub

TTGO T-OI PLUS RISC-V ESP32-C3 Development Board Added (#5576)

parent 317be68c
......@@ -2064,6 +2064,122 @@ ttgo-t7-v14-mini32.menu.DebugLevel.verbose.build.code_debug=5
##############################################################
ttgo-t-oi-plus.name=TTGO T-OI PLUS RISC-V ESP32-C3
ttgo-t-oi-plus.upload.tool=esptool_py
ttgo-t-oi-plus.upload.maximum_size=1310720
ttgo-t-oi-plus.upload.maximum_data_size=327680
ttgo-t-oi-plus.upload.flags=
ttgo-t-oi-plus.upload.extra_flags=
ttgo-t-oi-plus.serial.disableDTR=false
ttgo-t-oi-plus.serial.disableRTS=false
ttgo-t-oi-plus.build.tarch=riscv32
ttgo-t-oi-plus.build.target=esp
ttgo-t-oi-plus.build.mcu=esp32c3
ttgo-t-oi-plus.build.core=esp32
ttgo-t-oi-plus.build.variant=ttgo-t-oi-plus
ttgo-t-oi-plus.build.board=TTGO-T-OI-PLUS_DEV
ttgo-t-oi-plus.build.bootloader_addr=0x0
ttgo-t-oi-plus.build.cdc_on_boot=0
ttgo-t-oi-plus.build.f_cpu=160000000L
ttgo-t-oi-plus.build.flash_size=4MB
ttgo-t-oi-plus.build.flash_freq=80m
ttgo-t-oi-plus.build.flash_mode=qio
ttgo-t-oi-plus.build.boot=qio
ttgo-t-oi-plus.build.partitions=default
ttgo-t-oi-plus.build.defines=
ttgo-t-oi-plus.menu.PartitionScheme.default=Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)
ttgo-t-oi-plus.menu.PartitionScheme.default.build.partitions=default
ttgo-t-oi-plus.menu.PartitionScheme.defaultffat=Default 4MB with ffat (1.2MB APP/1.5MB FATFS)
ttgo-t-oi-plus.menu.PartitionScheme.defaultffat.build.partitions=default_ffat
ttgo-t-oi-plus.menu.PartitionScheme.minimal=Minimal (1.3MB APP/700KB SPIFFS)
ttgo-t-oi-plus.menu.PartitionScheme.minimal.build.partitions=minimal
ttgo-t-oi-plus.menu.PartitionScheme.no_ota=No OTA (2MB APP/2MB SPIFFS)
ttgo-t-oi-plus.menu.PartitionScheme.no_ota.build.partitions=no_ota
ttgo-t-oi-plus.menu.PartitionScheme.no_ota.upload.maximum_size=2097152
ttgo-t-oi-plus.menu.PartitionScheme.noota_3g=No OTA (1MB APP/3MB SPIFFS)
ttgo-t-oi-plus.menu.PartitionScheme.noota_3g.build.partitions=noota_3g
ttgo-t-oi-plus.menu.PartitionScheme.noota_3g.upload.maximum_size=1048576
ttgo-t-oi-plus.menu.PartitionScheme.noota_ffat=No OTA (2MB APP/2MB FATFS)
ttgo-t-oi-plus.menu.PartitionScheme.noota_ffat.build.partitions=noota_ffat
ttgo-t-oi-plus.menu.PartitionScheme.noota_ffat.upload.maximum_size=2097152
ttgo-t-oi-plus.menu.PartitionScheme.noota_3gffat=No OTA (1MB APP/3MB FATFS)
ttgo-t-oi-plus.menu.PartitionScheme.noota_3gffat.build.partitions=noota_3gffat
ttgo-t-oi-plus.menu.PartitionScheme.noota_3gffat.upload.maximum_size=1048576
ttgo-t-oi-plus.menu.PartitionScheme.huge_app=Huge APP (3MB No OTA/1MB SPIFFS)
ttgo-t-oi-plus.menu.PartitionScheme.huge_app.build.partitions=huge_app
ttgo-t-oi-plus.menu.PartitionScheme.huge_app.upload.maximum_size=3145728
ttgo-t-oi-plus.menu.PartitionScheme.min_spiffs=Minimal SPIFFS (1.9MB APP with OTA/190KB SPIFFS)
ttgo-t-oi-plus.menu.PartitionScheme.min_spiffs.build.partitions=min_spiffs
ttgo-t-oi-plus.menu.PartitionScheme.min_spiffs.upload.maximum_size=1966080
ttgo-t-oi-plus.menu.CPUFreq.160=160MHz (WiFi)
ttgo-t-oi-plus.menu.CPUFreq.160.build.f_cpu=160000000L
ttgo-t-oi-plus.menu.CPUFreq.80=80MHz (WiFi)
ttgo-t-oi-plus.menu.CPUFreq.80.build.f_cpu=80000000L
ttgo-t-oi-plus.menu.CPUFreq.40=40MHz
ttgo-t-oi-plus.menu.CPUFreq.40.build.f_cpu=40000000L
ttgo-t-oi-plus.menu.CPUFreq.20=20MHz
ttgo-t-oi-plus.menu.CPUFreq.20.build.f_cpu=20000000L
ttgo-t-oi-plus.menu.CPUFreq.10=10MHz
ttgo-t-oi-plus.menu.CPUFreq.10.build.f_cpu=10000000L
ttgo-t-oi-plus.menu.FlashMode.qio=QIO
ttgo-t-oi-plus.menu.FlashMode.qio.build.flash_mode=dio
ttgo-t-oi-plus.menu.FlashMode.qio.build.boot=qio
ttgo-t-oi-plus.menu.FlashMode.dio=DIO
ttgo-t-oi-plus.menu.FlashMode.dio.build.flash_mode=dio
ttgo-t-oi-plus.menu.FlashMode.dio.build.boot=dio
ttgo-t-oi-plus.menu.FlashMode.qout=QOUT
ttgo-t-oi-plus.menu.FlashMode.qout.build.flash_mode=dout
ttgo-t-oi-plus.menu.FlashMode.qout.build.boot=qout
ttgo-t-oi-plus.menu.FlashMode.dout=DOUT
ttgo-t-oi-plus.menu.FlashMode.dout.build.flash_mode=dout
ttgo-t-oi-plus.menu.FlashMode.dout.build.boot=dout
ttgo-t-oi-plus.menu.FlashFreq.80=80MHz
ttgo-t-oi-plus.menu.FlashFreq.80.build.flash_freq=80m
ttgo-t-oi-plus.menu.FlashFreq.40=40MHz
ttgo-t-oi-plus.menu.FlashFreq.40.build.flash_freq=40m
ttgo-t-oi-plus.menu.FlashSize.4M=4MB (32Mb)
ttgo-t-oi-plus.menu.FlashSize.4M.build.flash_size=4MB
ttgo-t-oi-plus.menu.UploadSpeed.921600=921600
ttgo-t-oi-plus.menu.UploadSpeed.921600.upload.speed=921600
ttgo-t-oi-plus.menu.UploadSpeed.115200=115200
ttgo-t-oi-plus.menu.UploadSpeed.115200.upload.speed=115200
ttgo-t-oi-plus.menu.UploadSpeed.256000.windows=256000
ttgo-t-oi-plus.menu.UploadSpeed.256000.upload.speed=256000
ttgo-t-oi-plus.menu.UploadSpeed.230400.windows.upload.speed=256000
ttgo-t-oi-plus.menu.UploadSpeed.230400=230400
ttgo-t-oi-plus.menu.UploadSpeed.230400.upload.speed=230400
ttgo-t-oi-plus.menu.UploadSpeed.460800.linux=460800
ttgo-t-oi-plus.menu.UploadSpeed.460800.macosx=460800
ttgo-t-oi-plus.menu.UploadSpeed.460800.upload.speed=460800
ttgo-t-oi-plus.menu.UploadSpeed.512000.windows=512000
ttgo-t-oi-plus.menu.UploadSpeed.512000.upload.speed=512000
ttgo-t-oi-plus.menu.DebugLevel.none=None
ttgo-t-oi-plus.menu.DebugLevel.none.build.code_debug=0
ttgo-t-oi-plus.menu.DebugLevel.error=Error
ttgo-t-oi-plus.menu.DebugLevel.error.build.code_debug=1
ttgo-t-oi-plus.menu.DebugLevel.warn=Warn
ttgo-t-oi-plus.menu.DebugLevel.warn.build.code_debug=2
ttgo-t-oi-plus.menu.DebugLevel.info=Info
ttgo-t-oi-plus.menu.DebugLevel.info.build.code_debug=3
ttgo-t-oi-plus.menu.DebugLevel.debug=Debug
ttgo-t-oi-plus.menu.DebugLevel.debug.build.code_debug=4
ttgo-t-oi-plus.menu.DebugLevel.verbose=Verbose
ttgo-t-oi-plus.menu.DebugLevel.verbose.build.code_debug=5
##############################################################
cw02.name=XinaBox CW02
cw02.upload.tool=esptool_py
......
#ifndef Pins_Arduino_h
#define Pins_Arduino_h
#include <stdint.h>
#define EXTERNAL_NUM_INTERRUPTS 12
#define NUM_DIGITAL_PINS 12
#define NUM_ANALOG_INPUTS 3
#define analogInputToDigitalPin(p) (((p)<NUM_ANALOG_INPUTS)?(esp32_adc2gpio[(p)]):-1)
#define digitalPinToInterrupt(p) (((p)<NUM_DIGITAL_PINS)?(p):-1)
#define digitalPinHasPWM(p) (p < EXTERNAL_NUM_INTERRUPTS)
static const uint8_t TX = 21;
static const uint8_t RX = 20;
static const uint8_t SDA = 19;
static const uint8_t SCL = 18;
static const uint8_t SS = 7;
static const uint8_t MOSI = 6;
static const uint8_t MISO = 5;
static const uint8_t SCK = 4;
static const uint8_t A1 = 2;
static const uint8_t A2 = 4;
static const uint8_t A3 = 5;
#endif /* Pins_Arduino_h */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment