Add new board (Deneyap Mini) (#5531)

* The board.txt has been updated. Added variant folder.

Necessary additions for deneyapMiniKart were made in board.txt. Added pins_arduino to variant folder. deneyapMiniKart information has been added.

* Added variant files and added text in board.txt

Co-authored-by: Me No Dev <me-no-dev@users.noreply.github.com>
This commit is contained in:
Zeynep Dicle 2021-08-23 17:20:21 +03:00 committed by GitHub
parent 94809ce38b
commit e265bd0d7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 224 additions and 0 deletions

View File

@ -9068,6 +9068,164 @@ esp32-trueverit-iot-driver-mkii.menu.DebugLevel.verbose.build.code_debug=5
##############################################################
deneyapmini.name=Deneyap Mini
deneyapmini.vid.0=0x303a
deneyapmini.pid.0=0x0002
deneyapmini.upload.tool=esptool_py
deneyapmini.upload.maximum_size=1310720
deneyapmini.upload.maximum_data_size=327680
deneyapmini.upload.flags=
deneyapmini.upload.extra_flags=
deneyapmini.upload.use_1200bps_touch=false
deneyapmini.upload.wait_for_upload_port=false
deneyapmini.serial.disableDTR=false
deneyapmini.serial.disableRTS=false
deneyapmini.build.tarch=xtensa
deneyapmini.build.bootloader_addr=0x1000
deneyapmini.build.target=esp32s2
deneyapmini.build.mcu=esp32s2
deneyapmini.build.core=esp32
deneyapmini.build.variant=deneyapmini
deneyapmini.build.board=DYM
deneyapmini.build.serial=0
deneyapmini.build.f_cpu=240000000L
deneyapmini.build.flash_size=4MB
deneyapmini.build.flash_freq=80m
deneyapmini.build.flash_mode=qio
deneyapmini.build.boot=qio
deneyapmini.build.partitions=default
deneyapmini.build.defines=
deneyapmini.menu.SerialMode.default=USB_CDC
deneyapmini.menu.SerialMode.default.build.serial=1
deneyapmini.menu.SerialMode.uart=UART0
deneyapmini.menu.SerialMode.uart.build.serial=0
deneyapmini.menu.PSRAM.disabled=Disabled
deneyapmini.menu.PSRAM.disabled.build.defines=
deneyapmini.menu.PSRAM.enabled=Enabled
deneyapmini.menu.PSRAM.enabled.build.defines=-DBOARD_HAS_PSRAM
deneyapmini.menu.PartitionScheme.default=Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)
deneyapmini.menu.PartitionScheme.default.build.partitions=default
deneyapmini.menu.PartitionScheme.defaultffat=Default 4MB with ffat (1.2MB APP/1.5MB FATFS)
deneyapmini.menu.PartitionScheme.defaultffat.build.partitions=default_ffat
deneyapmini.menu.PartitionScheme.default_8MB=8M Flash (3MB APP/1.5MB FAT)
deneyapmini.menu.PartitionScheme.default_8MB.build.partitions=default_8MB
deneyapmini.menu.PartitionScheme.default_8MB.upload.maximum_size=3342336
deneyapmini.menu.PartitionScheme.minimal=Minimal (1.3MB APP/700KB SPIFFS)
deneyapmini.menu.PartitionScheme.minimal.build.partitions=minimal
deneyapmini.menu.PartitionScheme.no_ota=No OTA (2MB APP/2MB SPIFFS)
deneyapmini.menu.PartitionScheme.no_ota.build.partitions=no_ota
deneyapmini.menu.PartitionScheme.no_ota.upload.maximum_size=2097152
deneyapmini.menu.PartitionScheme.noota_3g=No OTA (1MB APP/3MB SPIFFS)
deneyapmini.menu.PartitionScheme.noota_3g.build.partitions=noota_3g
deneyapmini.menu.PartitionScheme.noota_3g.upload.maximum_size=1048576
deneyapmini.menu.PartitionScheme.noota_ffat=No OTA (2MB APP/2MB FATFS)
deneyapmini.menu.PartitionScheme.noota_ffat.build.partitions=noota_ffat
deneyapmini.menu.PartitionScheme.noota_ffat.upload.maximum_size=2097152
deneyapmini.menu.PartitionScheme.noota_3gffat=No OTA (1MB APP/3MB FATFS)
deneyapmini.menu.PartitionScheme.noota_3gffat.build.partitions=noota_3gffat
deneyapmini.menu.PartitionScheme.noota_3gffat.upload.maximum_size=1048576
deneyapmini.menu.PartitionScheme.huge_app=Huge APP (3MB No OTA/1MB SPIFFS)
deneyapmini.menu.PartitionScheme.huge_app.build.partitions=huge_app
deneyapmini.menu.PartitionScheme.huge_app.upload.maximum_size=3145728
deneyapmini.menu.PartitionScheme.min_spiffs=Minimal SPIFFS (1.9MB APP with OTA/190KB SPIFFS)
deneyapmini.menu.PartitionScheme.min_spiffs.build.partitions=min_spiffs
deneyapmini.menu.PartitionScheme.min_spiffs.upload.maximum_size=1966080
deneyapmini.menu.PartitionScheme.fatflash=16M Flash (2MB APP/12.5MB FAT)
deneyapmini.menu.PartitionScheme.fatflash.build.partitions=ffat
deneyapmini.menu.PartitionScheme.fatflash.upload.maximum_size=2097152
deneyapmini.menu.PartitionScheme.app3M_fat9M_16MB=16M Flash (3MB APP/9MB FATFS)
deneyapmini.menu.PartitionScheme.app3M_fat9M_16MB.build.partitions=app3M_fat9M_16MB
deneyapmini.menu.PartitionScheme.app3M_fat9M_16MB.upload.maximum_size=3145728
deneyapmini.menu.CPUFreq.240=240MHz (WiFi)
deneyapmini.menu.CPUFreq.240.build.f_cpu=240000000L
deneyapmini.menu.CPUFreq.160=160MHz (WiFi)
deneyapmini.menu.CPUFreq.160.build.f_cpu=160000000L
deneyapmini.menu.CPUFreq.80=80MHz (WiFi)
deneyapmini.menu.CPUFreq.80.build.f_cpu=80000000L
deneyapmini.menu.CPUFreq.40=40MHz
deneyapmini.menu.CPUFreq.40.build.f_cpu=40000000L
deneyapmini.menu.CPUFreq.20=20MHz
deneyapmini.menu.CPUFreq.20.build.f_cpu=20000000L
deneyapmini.menu.CPUFreq.10=10MHz
deneyapmini.menu.CPUFreq.10.build.f_cpu=10000000L
deneyapmini.menu.FlashMode.qio=QIO
deneyapmini.menu.FlashMode.qio.build.flash_mode=dio
deneyapmini.menu.FlashMode.qio.build.boot=qio
deneyapmini.menu.FlashMode.dio=DIO
deneyapmini.menu.FlashMode.dio.build.flash_mode=dio
deneyapmini.menu.FlashMode.dio.build.boot=dio
deneyapmini.menu.FlashMode.qout=QOUT
deneyapmini.menu.FlashMode.qout.build.flash_mode=dout
deneyapmini.menu.FlashMode.qout.build.boot=qout
deneyapmini.menu.FlashMode.dout=DOUT
deneyapmini.menu.FlashMode.dout.build.flash_mode=dout
deneyapmini.menu.FlashMode.dout.build.boot=dout
deneyapmini.menu.FlashFreq.80=80MHz
deneyapmini.menu.FlashFreq.80.build.flash_freq=80m
deneyapmini.menu.FlashFreq.40=40MHz
deneyapmini.menu.FlashFreq.40.build.flash_freq=40m
deneyapmini.menu.FlashSize.4M=4MB (32Mb)
deneyapmini.menu.FlashSize.4M.build.flash_size=4MB
deneyapmini.menu.FlashSize.8M=8MB (64Mb)
deneyapmini.menu.FlashSize.8M.build.flash_size=8MB
deneyapmini.menu.FlashSize.8M.build.partitions=default_8MB
deneyapmini.menu.FlashSize.2M=2MB (16Mb)
deneyapmini.menu.FlashSize.2M.build.flash_size=2MB
deneyapmini.menu.FlashSize.2M.build.partitions=minimal
deneyapmini.menu.FlashSize.16M=16MB (128Mb)
deneyapmini.menu.FlashSize.16M.build.flash_size=16MB
deneyapmini.menu.UploadMode.default=Internal USB
deneyapmini.menu.UploadMode.default.upload.use_1200bps_touch=true
deneyapmini.menu.UploadMode.default.upload.wait_for_upload_port=true
deneyapmini.menu.UploadMode.default.upload.mode=default_reset
deneyapmini.menu.UploadMode.cdc=UART0
deneyapmini.menu.UploadMode.cdc.upload.use_1200bps_touch=false
deneyapmini.menu.UploadMode.cdc.upload.wait_for_upload_port=false
deneyapmini.menu.UploadMode.cdc.upload.mode=default_reset
deneyapmini.menu.UploadSpeed.921600=921600
deneyapmini.menu.UploadSpeed.921600.upload.speed=921600
deneyapmini.menu.UploadSpeed.115200=115200
deneyapmini.menu.UploadSpeed.115200.upload.speed=115200
deneyapmini.menu.UploadSpeed.256000.windows=256000
deneyapmini.menu.UploadSpeed.256000.upload.speed=256000
deneyapmini.menu.UploadSpeed.230400.windows.upload.speed=256000
deneyapmini.menu.UploadSpeed.230400=230400
deneyapmini.menu.UploadSpeed.230400.upload.speed=230400
deneyapmini.menu.UploadSpeed.460800.linux=460800
deneyapmini.menu.UploadSpeed.460800.macosx=460800
deneyapmini.menu.UploadSpeed.460800.upload.speed=460800
deneyapmini.menu.UploadSpeed.512000.windows=512000
deneyapmini.menu.UploadSpeed.512000.upload.speed=512000
deneyapmini.menu.DebugLevel.none=None
deneyapmini.menu.DebugLevel.none.build.code_debug=0
deneyapmini.menu.DebugLevel.error=Error
deneyapmini.menu.DebugLevel.error.build.code_debug=1
deneyapmini.menu.DebugLevel.warn=Warn
deneyapmini.menu.DebugLevel.warn.build.code_debug=2
deneyapmini.menu.DebugLevel.info=Info
deneyapmini.menu.DebugLevel.info.build.code_debug=3
deneyapmini.menu.DebugLevel.debug=Debug
deneyapmini.menu.DebugLevel.debug.build.code_debug=4
deneyapmini.menu.DebugLevel.verbose=Verbose
deneyapmini.menu.DebugLevel.verbose.build.code_debug=5
##############################################################
franzininho_wifi_esp32s2.name=Franzininho WiFi
franzininho_wifi_esp32s2.vid.0=0x303A
franzininho_wifi_esp32s2.pid.0=0x80A9

View File

@ -0,0 +1,66 @@
#ifndef Pins_Arduino_h
#define Pins_Arduino_h
#include <stdint.h>
#define EXTERNAL_NUM_INTERRUPTS 46
#define NUM_DIGITAL_PINS 48
#define NUM_ANALOG_INPUTS 20
#define analogInputToDigitalPin(p) (((p)<20)?(esp32_adc2gpio[(p)]):-1)
#define digitalPinToInterrupt(p) (((p)<48)?(p):-1)
#define digitalPinHasPWM(p) (p < 46)
static const uint8_t KEY_BUILTIN = 0;
static const uint8_t TX = 43;
static const uint8_t RX = 44;
static const uint8_t SDA = 36;
static const uint8_t SCL = 37;
static const uint8_t SS = 21;
static const uint8_t MOSI = 40;
static const uint8_t MISO = 39;
static const uint8_t SCK = 38;
static const uint8_t A0 = 1;
static const uint8_t A1 = 2;
static const uint8_t A2 = 3;
static const uint8_t A3 = 4;
static const uint8_t A4 = 5;
static const uint8_t A5 = 6;
static const uint8_t A6 = 7;
static const uint8_t A7 = 8;
static const uint8_t A8 = 9;
static const uint8_t A9 = 10;
static const uint8_t A10 = 11;
static const uint8_t A11 = 12;
static const uint8_t A12 = 13;
static const uint8_t A13 = 14;
static const uint8_t A14 = 15;
static const uint8_t A15 = 16;
static const uint8_t A16 = 17;
static const uint8_t A17 = 18;
static const uint8_t A18 = 19;
static const uint8_t A19 = 20;
static const uint8_t T1 = 1;
static const uint8_t T2 = 2;
static const uint8_t T3 = 3;
static const uint8_t T4 = 4;
static const uint8_t T5 = 5;
static const uint8_t T6 = 6;
static const uint8_t T7 = 7;
static const uint8_t T8 = 8;
static const uint8_t T9 = 9;
static const uint8_t T10 = 10;
static const uint8_t T11 = 11;
static const uint8_t T12 = 12;
static const uint8_t T13 = 13;
static const uint8_t T14 = 14;
static const uint8_t DAC1 = 17;
static const uint8_t DAC2 = 18;
#endif /* Pins_Arduino_h */