Added support for Trueverit ESP32 Universal IoT Driver MK II (#5269)
Add support for the Trueverit Universal IoT Driver MK II (https://www.trueverit.com) The board will be released on market using electronic distributors soon, as the other one board added via #5219 This new board (referred as MK II) has onboard Texas Instruments DP83848 Eth PHY chip.
This commit is contained in:
parent
23820874ec
commit
10602939cc
57
boards.txt
57
boards.txt
@ -8795,3 +8795,60 @@ esp32-trueverit-iot-driver.menu.DebugLevel.verbose=Verbose
|
|||||||
esp32-trueverit-iot-driver.menu.DebugLevel.verbose.build.code_debug=5
|
esp32-trueverit-iot-driver.menu.DebugLevel.verbose.build.code_debug=5
|
||||||
|
|
||||||
##############################################################
|
##############################################################
|
||||||
|
|
||||||
|
esp32-trueverit-iot-driver-mkii.name=Trueverit ESP32 Universal IoT Driver MK II
|
||||||
|
|
||||||
|
esp32-trueverit-iot-driver-mkii.upload.tool=esptool_py
|
||||||
|
esp32-trueverit-iot-driver-mkii.upload.maximum_size=1310720
|
||||||
|
esp32-trueverit-iot-driver-mkii.upload.maximum_data_size=327680
|
||||||
|
esp32-trueverit-iot-driver-mkii.upload.flags=
|
||||||
|
esp32-trueverit-iot-driver-mkii.upload.extra_flags=
|
||||||
|
|
||||||
|
esp32-trueverit-iot-driver-mkii.serial.disableDTR=true
|
||||||
|
esp32-trueverit-iot-driver-mkii.serial.disableRTS=true
|
||||||
|
|
||||||
|
esp32-trueverit-iot-driver-mkii.build.tarch=xtensa
|
||||||
|
esp32-trueverit-iot-driver-mkii.build.bootloader_addr=0x1000
|
||||||
|
esp32-trueverit-iot-driver-mkii.build.target=esp32
|
||||||
|
esp32-trueverit-iot-driver-mkii.build.mcu=esp32
|
||||||
|
esp32-trueverit-iot-driver-mkii.build.core=esp32
|
||||||
|
esp32-trueverit-iot-driver-mkii.build.variant=esp32-trueverit-iot-driver-mkii
|
||||||
|
esp32-trueverit-iot-driver-mkii.build.board=Trueverit_ESP32_Universal_IoT_Driver_MK_II
|
||||||
|
|
||||||
|
esp32-trueverit-iot-driver-mkii.build.f_cpu=240000000L
|
||||||
|
esp32-trueverit-iot-driver-mkii.build.flash_mode=dio
|
||||||
|
esp32-trueverit-iot-driver-mkii.build.flash_size=4MB
|
||||||
|
esp32-trueverit-iot-driver-mkii.build.boot=dio
|
||||||
|
esp32-trueverit-iot-driver-mkii.build.partitions=default
|
||||||
|
esp32-trueverit-iot-driver-mkii.build.defines=
|
||||||
|
|
||||||
|
esp32-trueverit-iot-driver-mkii.menu.FlashFreq.80=80MHz
|
||||||
|
esp32-trueverit-iot-driver-mkii.menu.FlashFreq.80.build.flash_freq=80m
|
||||||
|
esp32-trueverit-iot-driver-mkii.menu.FlashFreq.40=40MHz
|
||||||
|
esp32-trueverit-iot-driver-mkii.menu.FlashFreq.40.build.flash_freq=40m
|
||||||
|
|
||||||
|
esp32-trueverit-iot-driver-mkii.menu.UploadSpeed.115200=115200
|
||||||
|
esp32-trueverit-iot-driver-mkii.menu.UploadSpeed.115200.upload.speed=115200
|
||||||
|
esp32-trueverit-iot-driver-mkii.menu.UploadSpeed.256000.windows=256000
|
||||||
|
esp32-trueverit-iot-driver-mkii.menu.UploadSpeed.256000.upload.speed=256000
|
||||||
|
esp32-trueverit-iot-driver-mkii.menu.UploadSpeed.230400.windows.upload.speed=256000
|
||||||
|
esp32-trueverit-iot-driver-mkii.menu.UploadSpeed.230400=230400
|
||||||
|
esp32-trueverit-iot-driver-mkii.menu.UploadSpeed.230400.upload.speed=230400
|
||||||
|
esp32-trueverit-iot-driver-mkii.menu.UploadSpeed.460800.linux=460800
|
||||||
|
esp32-trueverit-iot-driver-mkii.menu.UploadSpeed.460800.macosx=460800
|
||||||
|
esp32-trueverit-iot-driver-mkii.menu.UploadSpeed.460800.upload.speed=460800
|
||||||
|
|
||||||
|
esp32-trueverit-iot-driver-mkii.menu.DebugLevel.none=None
|
||||||
|
esp32-trueverit-iot-driver-mkii.menu.DebugLevel.none.build.code_debug=0
|
||||||
|
esp32-trueverit-iot-driver-mkii.menu.DebugLevel.error=Error
|
||||||
|
esp32-trueverit-iot-driver-mkii.menu.DebugLevel.error.build.code_debug=1
|
||||||
|
esp32-trueverit-iot-driver-mkii.menu.DebugLevel.warn=Warn
|
||||||
|
esp32-trueverit-iot-driver-mkii.menu.DebugLevel.warn.build.code_debug=2
|
||||||
|
esp32-trueverit-iot-driver-mkii.menu.DebugLevel.info=Info
|
||||||
|
esp32-trueverit-iot-driver-mkii.menu.DebugLevel.info.build.code_debug=3
|
||||||
|
esp32-trueverit-iot-driver-mkii.menu.DebugLevel.debug=Debug
|
||||||
|
esp32-trueverit-iot-driver-mkii.menu.DebugLevel.debug.build.code_debug=4
|
||||||
|
esp32-trueverit-iot-driver-mkii.menu.DebugLevel.verbose=Verbose
|
||||||
|
esp32-trueverit-iot-driver-mkii.menu.DebugLevel.verbose.build.code_debug=5
|
||||||
|
|
||||||
|
##############################################################
|
52
variants/esp32-trueverit-iot-driver-mkii/pins_arduino.h
Normal file
52
variants/esp32-trueverit-iot-driver-mkii/pins_arduino.h
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
#ifndef Pins_Arduino_h
|
||||||
|
#define Pins_Arduino_h
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
|
static const uint8_t LED_BUILTIN = 18;
|
||||||
|
#define BUILTIN_LED LED_BUILTIN // backward compatibility
|
||||||
|
|
||||||
|
#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 TX1 12
|
||||||
|
#define RX1 13
|
||||||
|
#define TX2 33
|
||||||
|
#define RX2 39
|
||||||
|
|
||||||
|
static const uint8_t TX = 1;
|
||||||
|
static const uint8_t RX = 3;
|
||||||
|
|
||||||
|
static const uint8_t SCL = 4;
|
||||||
|
static const uint8_t SDA = 15;
|
||||||
|
|
||||||
|
static const uint8_t SS = 5;
|
||||||
|
static const uint8_t MOSI = 23;
|
||||||
|
static const uint8_t MISO = 32;
|
||||||
|
static const uint8_t SCK = 18;
|
||||||
|
|
||||||
|
static const uint8_t A0 = 36;
|
||||||
|
static const uint8_t A3 = 39;
|
||||||
|
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 T0 = 4;
|
||||||
|
static const uint8_t T2 = 2;
|
||||||
|
static const uint8_t T8 = 33;
|
||||||
|
static const uint8_t T9 = 32;
|
||||||
|
|
||||||
|
#define ETH_PHY_ADDR 1
|
||||||
|
#define ETH_PHY_POWER 2
|
||||||
|
#define ETH_PHY_MDC 16
|
||||||
|
#define ETH_PHY_MDIO 14
|
||||||
|
#define ETH_PHY_TYPE ETH_PHY_DP83848
|
||||||
|
#define ETH_CLK_MODE ETH_CLOCK_GPIO17_OUT
|
||||||
|
|
||||||
|
#endif /* Pins_Arduino_h */
|
Loading…
Reference in New Issue
Block a user