Unverified Commit 384dbc20 authored by Simone's avatar Simone Committed by GitHub

Added support for Trueverit ESP32 Universal IoT Driver MK III (#6640)

Add support for the Trueverit Universal IoT Driver MK III (https://www.trueverit.com/)

The board will be released on market using electronic distributors soon, as the other one board added via #5269

This new board (referred as MK III) has onboard Texas Instruments RTL8201 Eth PHY chip.
parent f2cfe787
......@@ -14492,3 +14492,64 @@ AirM2M_CORE_ESP32C3.menu.DebugLevel.verbose=Verbose
AirM2M_CORE_ESP32C3.menu.DebugLevel.verbose.build.code_debug=5
#############################################################
esp32-trueverit-iot-driver-mkiii.name=Trueverit ESP32 Universal IoT Driver MK III
esp32-trueverit-iot-driver-mkiii.bootloader.tool=esptool_py
esp32-trueverit-iot-driver-mkiii.bootloader.tool.default=esptool_py
esp32-trueverit-iot-driver-mkiii.upload.tool=esptool_py
esp32-trueverit-iot-driver-mkiii.upload.tool.default=esptool_py
esp32-trueverit-iot-driver-mkiii.upload.tool.network=esp_ota
esp32-trueverit-iot-driver-mkiii.upload.maximum_size=1310720
esp32-trueverit-iot-driver-mkiii.upload.maximum_data_size=327680
esp32-trueverit-iot-driver-mkiii.upload.flags=
esp32-trueverit-iot-driver-mkiii.upload.extra_flags=
esp32-trueverit-iot-driver-mkiii.serial.disableDTR=true
esp32-trueverit-iot-driver-mkiii.serial.disableRTS=true
esp32-trueverit-iot-driver-mkiii.build.tarch=xtensa
esp32-trueverit-iot-driver-mkiii.build.bootloader_addr=0x1000
esp32-trueverit-iot-driver-mkiii.build.target=esp32
esp32-trueverit-iot-driver-mkiii.build.mcu=esp32
esp32-trueverit-iot-driver-mkiii.build.core=esp32
esp32-trueverit-iot-driver-mkiii.build.variant=esp32-trueverit-iot-driver-mkiii
esp32-trueverit-iot-driver-mkiii.build.board=Trueverit_ESP32_Universal_IoT_Driver_MK_III
esp32-trueverit-iot-driver-mkiii.build.f_cpu=240000000L
esp32-trueverit-iot-driver-mkiii.build.flash_mode=dio
esp32-trueverit-iot-driver-mkiii.build.flash_size=4MB
esp32-trueverit-iot-driver-mkiii.build.boot=dio
esp32-trueverit-iot-driver-mkiii.build.partitions=default
esp32-trueverit-iot-driver-mkiii.build.defines=
esp32-trueverit-iot-driver-mkiii.menu.FlashFreq.80=80MHz
esp32-trueverit-iot-driver-mkiii.menu.FlashFreq.80.build.flash_freq=80m
esp32-trueverit-iot-driver-mkiii.menu.FlashFreq.40=40MHz
esp32-trueverit-iot-driver-mkiii.menu.FlashFreq.40.build.flash_freq=40m
esp32-trueverit-iot-driver-mkiii.menu.UploadSpeed.115200=115200
esp32-trueverit-iot-driver-mkiii.menu.UploadSpeed.115200.upload.speed=115200
esp32-trueverit-iot-driver-mkiii.menu.UploadSpeed.256000.windows=256000
esp32-trueverit-iot-driver-mkiii.menu.UploadSpeed.256000.upload.speed=256000
esp32-trueverit-iot-driver-mkiii.menu.UploadSpeed.230400.windows.upload.speed=256000
esp32-trueverit-iot-driver-mkiii.menu.UploadSpeed.230400=230400
esp32-trueverit-iot-driver-mkiii.menu.UploadSpeed.230400.upload.speed=230400
esp32-trueverit-iot-driver-mkiii.menu.DebugLevel.none=None
esp32-trueverit-iot-driver-mkiii.menu.DebugLevel.none.build.code_debug=0
esp32-trueverit-iot-driver-mkiii.menu.DebugLevel.error=Error
esp32-trueverit-iot-driver-mkiii.menu.DebugLevel.error.build.code_debug=1
esp32-trueverit-iot-driver-mkiii.menu.DebugLevel.warn=Warn
esp32-trueverit-iot-driver-mkiii.menu.DebugLevel.warn.build.code_debug=2
esp32-trueverit-iot-driver-mkiii.menu.DebugLevel.info=Info
esp32-trueverit-iot-driver-mkiii.menu.DebugLevel.info.build.code_debug=3
esp32-trueverit-iot-driver-mkiii.menu.DebugLevel.debug=Debug
esp32-trueverit-iot-driver-mkiii.menu.DebugLevel.debug.build.code_debug=4
esp32-trueverit-iot-driver-mkiii.menu.DebugLevel.verbose=Verbose
esp32-trueverit-iot-driver-mkiii.menu.DebugLevel.verbose.build.code_debug=5
##############################################################
#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) ? (analogChannelToDigitalPin(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 0
#define ETH_PHY_POWER 2
#define ETH_PHY_MDC 16
#define ETH_PHY_MDIO 14
#define ETH_PHY_TYPE ETH_PHY_RTL8201
#define ETH_CLK_MODE ETH_CLOCK_GPIO17_OUT
#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