Add new board (Deneyap Kart) (#5236)

New board addition request for an ESP32 Wrover based Developer Board
This commit is contained in:
Ozgur BOSTAN 2021-06-09 12:51:45 +03:00 committed by GitHub
parent 483a424d0a
commit 4f8e5b54b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 223 additions and 1 deletions

View File

@ -8622,6 +8622,123 @@ kb32.menu.DebugLevel.verbose.build.code_debug=5
##############################################################
deneyapkart.name=Deneyap Kart
deneyapkart.upload.tool=esptool_py
deneyapkart.upload.maximum_size=1310720
deneyapkart.upload.maximum_data_size=327680
deneyapkart.upload.wait_for_upload_port=true
deneyapkart.serial.disableDTR=true
deneyapkart.serial.disableRTS=true
deneyapkart.build.tarch=xtensa
deneyapkart.build.bootloader_addr=0x1000
deneyapkart.build.target=esp32
deneyapkart.build.mcu=esp32
deneyapkart.build.core=esp32
deneyapkart.build.variant=deneyapkart
deneyapkart.build.board=DYDK
deneyapkart.build.f_cpu=240000000L
deneyapkart.build.flash_size=4MB
deneyapkart.build.flash_freq=40m
deneyapkart.build.flash_mode=dio
deneyapkart.build.boot=dio
deneyapkart.build.partitions=default
deneyapkart.build.defines=-DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue -mfix-esp32-psram-cache-strategy=memw
deneyapkart.build.extra_libs=
deneyapkart.menu.PartitionScheme.default=Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)
deneyapkart.menu.PartitionScheme.default.build.partitions=default
deneyapkart.menu.PartitionScheme.defaultffat=Default 4MB with ffat (1.2MB APP/1.5MB FATFS)
deneyapkart.menu.PartitionScheme.defaultffat.build.partitions=default_ffat
deneyapkart.menu.PartitionScheme.default_8MB=8M Flash (3MB APP/1.5MB FAT)
deneyapkart.menu.PartitionScheme.default_8MB.build.partitions=default_8MB
deneyapkart.menu.PartitionScheme.minimal=Minimal (1.3MB APP/700KB SPIFFS)
deneyapkart.menu.PartitionScheme.minimal.build.partitions=minimal
deneyapkart.menu.PartitionScheme.no_ota=No OTA (2MB APP/2MB SPIFFS)
deneyapkart.menu.PartitionScheme.no_ota.build.partitions=no_ota
deneyapkart.menu.PartitionScheme.no_ota.upload.maximum_size=2097152
deneyapkart.menu.PartitionScheme.noota_3g=No OTA (1MB APP/3MB SPIFFS)
deneyapkart.menu.PartitionScheme.noota_3g.build.partitions=noota_3g
deneyapkart.menu.PartitionScheme.noota_3g.upload.maximum_size=1048576
deneyapkart.menu.PartitionScheme.noota_ffat=No OTA (2MB APP/2MB FATFS)
deneyapkart.menu.PartitionScheme.noota_ffat.build.partitions=noota_ffat
deneyapkart.menu.PartitionScheme.noota_ffat.upload.maximum_size=2097152
deneyapkart.menu.PartitionScheme.noota_3gffat=No OTA (1MB APP/3MB FATFS)
deneyapkart.menu.PartitionScheme.noota_3gffat.build.partitions=noota_3gffat
deneyapkart.menu.PartitionScheme.noota_3gffat.upload.maximum_size=1048576
deneyapkart.menu.PartitionScheme.huge_app=Huge APP (3MB No OTA/1MB SPIFFS)
deneyapkart.menu.PartitionScheme.huge_app.build.partitions=huge_app
deneyapkart.menu.PartitionScheme.huge_app.upload.maximum_size=3145728
deneyapkart.menu.PartitionScheme.min_spiffs=Minimal SPIFFS (1.9MB APP with OTA/190KB SPIFFS)
deneyapkart.menu.PartitionScheme.min_spiffs.build.partitions=min_spiffs
deneyapkart.menu.PartitionScheme.min_spiffs.upload.maximum_size=1966080
deneyapkart.menu.PartitionScheme.fatflash=16M Flash (2MB APP/12.5MB FAT)
deneyapkart.menu.PartitionScheme.fatflash.build.partitions=ffat
deneyapkart.menu.CPUFreq.240=240MHz (WiFi/BT)
deneyapkart.menu.CPUFreq.240.build.f_cpu=240000000L
deneyapkart.menu.CPUFreq.160=160MHz (WiFi/BT)
deneyapkart.menu.CPUFreq.160.build.f_cpu=160000000L
deneyapkart.menu.CPUFreq.80=80MHz (WiFi/BT)
deneyapkart.menu.CPUFreq.80.build.f_cpu=80000000L
deneyapkart.menu.CPUFreq.40=40MHz
deneyapkart.menu.CPUFreq.40.build.f_cpu=40000000L
deneyapkart.menu.CPUFreq.20=20MHz
deneyapkart.menu.CPUFreq.20.build.f_cpu=20000000L
deneyapkart.menu.CPUFreq.10=10MHz
deneyapkart.menu.CPUFreq.10.build.f_cpu=10000000L
deneyapkart.menu.FlashMode.qio=QIO
deneyapkart.menu.FlashMode.qio.build.flash_mode=dio
deneyapkart.menu.FlashMode.qio.build.boot=qio
deneyapkart.menu.FlashMode.dio=DIO
deneyapkart.menu.FlashMode.dio.build.flash_mode=dio
deneyapkart.menu.FlashMode.dio.build.boot=dio
deneyapkart.menu.FlashMode.qout=QOUT
deneyapkart.menu.FlashMode.qout.build.flash_mode=dout
deneyapkart.menu.FlashMode.qout.build.boot=qout
deneyapkart.menu.FlashMode.dout=DOUT
deneyapkart.menu.FlashMode.dout.build.flash_mode=dout
deneyapkart.menu.FlashMode.dout.build.boot=dout
deneyapkart.menu.FlashFreq.80=80MHz
deneyapkart.menu.FlashFreq.80.build.flash_freq=80m
deneyapkart.menu.FlashFreq.40=40MHz
deneyapkart.menu.FlashFreq.40.build.flash_freq=40m
deneyapkart.menu.UploadSpeed.921600=921600
deneyapkart.menu.UploadSpeed.921600.upload.speed=921600
deneyapkart.menu.UploadSpeed.115200=115200
deneyapkart.menu.UploadSpeed.115200.upload.speed=115200
deneyapkart.menu.UploadSpeed.256000.windows=256000
deneyapkart.menu.UploadSpeed.256000.upload.speed=256000
deneyapkart.menu.UploadSpeed.230400.windows.upload.speed=256000
deneyapkart.menu.UploadSpeed.230400=230400
deneyapkart.menu.UploadSpeed.230400.upload.speed=230400
deneyapkart.menu.UploadSpeed.460800.linux=460800
deneyapkart.menu.UploadSpeed.460800.macosx=460800
deneyapkart.menu.UploadSpeed.460800.upload.speed=460800
deneyapkart.menu.UploadSpeed.512000.windows=512000
deneyapkart.menu.UploadSpeed.512000.upload.speed=512000
deneyapkart.menu.DebugLevel.none=None
deneyapkart.menu.DebugLevel.none.build.code_debug=0
deneyapkart.menu.DebugLevel.error=Error
deneyapkart.menu.DebugLevel.error.build.code_debug=1
deneyapkart.menu.DebugLevel.warn=Warn
deneyapkart.menu.DebugLevel.warn.build.code_debug=2
deneyapkart.menu.DebugLevel.info=Info
deneyapkart.menu.DebugLevel.info.build.code_debug=3
deneyapkart.menu.DebugLevel.debug=Debug
deneyapkart.menu.DebugLevel.debug.build.code_debug=4
deneyapkart.menu.DebugLevel.verbose=Verbose
deneyapkart.menu.DebugLevel.verbose.build.code_debug=5
##############################################################
esp32-trueverit-iot-driver.name=Trueverit ESP32 Universal IoT Driver
esp32-trueverit-iot-driver.upload.tool=esptool_py
@ -8677,4 +8794,4 @@ esp32-trueverit-iot-driver.menu.DebugLevel.debug.build.code_debug=4
esp32-trueverit-iot-driver.menu.DebugLevel.verbose=Verbose
esp32-trueverit-iot-driver.menu.DebugLevel.verbose.build.code_debug=5
##############################################################
##############################################################

View File

@ -0,0 +1,105 @@
#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 = 15;
static const uint8_t SS = 21;
static const uint8_t MOSI = 5;
static const uint8_t MISO = 18;
static const uint8_t SCK = 19;
static const uint8_t D0 = 23;
static const uint8_t D1 = 22;
static const uint8_t D2 = 1;
static const uint8_t D3 = 3;
static const uint8_t D4 = 21;
static const uint8_t D5 = 19;
static const uint8_t D6 = 18;
static const uint8_t D7 = 5;
static const uint8_t D8 = 0;
static const uint8_t D9 = 2;
static const uint8_t D10 = 4;
static const uint8_t D11 = 15;
static const uint8_t D12 = 13;
static const uint8_t D13 = 12;
static const uint8_t D14 = 14;
static const uint8_t D15 = 27;
static const uint8_t A0 = 36;
static const uint8_t A1 = 39;
static const uint8_t A2 = 34;
static const uint8_t A3 = 35;
static const uint8_t A4 = 32;
static const uint8_t A5 = 33;
// static const uint8_t A6 = 34;
// static const uint8_t A7 = 35;
// static const uint8_t A10 = 4;
// static const uint8_t A11 = 0;
// static const uint8_t A12 = 2;
// static const uint8_t A13 = 15;
// static const uint8_t A14 = 13;
// static const uint8_t A15 = 12;
// static const uint8_t A16 = 14;
// static const uint8_t A17 = 27;
// static const uint8_t A18 = 25;
// static const uint8_t A19 = 26;
static const uint8_t T0 = 32;
static const uint8_t T1 = 33;
static const uint8_t T2 = 27;
static const uint8_t T3 = 14;
static const uint8_t T4 = 12;
static const uint8_t T5 = 13;
// static const uint8_t T6 = 14;
// static const uint8_t T7 = 27;
// static const uint8_t T8 = 33;
// static const uint8_t T9 = 32;
static const uint8_t DAC1 = 25;
static const uint8_t DAC2 = 26;
static const uint8_t CAMSD = 33;
static const uint8_t CAMSC = 25;
static const uint8_t CAMD2 = 19;
static const uint8_t CAMD3 = 22;
static const uint8_t CAMD4 = 23;
static const uint8_t CAMD5 = 21;
static const uint8_t CAMD6 = 18;
static const uint8_t CAMD7 = 26;
static const uint8_t CAMD8 = 35;
static const uint8_t CAMD9 = 34;
static const uint8_t CAMPC = 5;
static const uint8_t CAMXC = 32;
static const uint8_t CAMH = 39;
static const uint8_t CAMV = 36;
static const uint8_t LEDR = 3;
static const uint8_t LEDG = 1;
static const uint8_t LEDB = 4;
static const uint8_t BUILTIN_KEY = 0;
static const uint8_t GPKEY = 0;
static const uint8_t PWM0 = 23;
static const uint8_t PWM1 = 22;
static const uint8_t MICD = 12;
static const uint8_t MICC = 13;
static const uint8_t IMUSD = 4;
static const uint8_t IMUSC = 15;
#endif /* Pins_Arduino_h */