Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3af6baf

Browse filesBrowse files
authored
Merge pull request #1 from fluffy/cj1
added ESP32S3 Hacktar EV2 board
2 parents 0d84018 + 0642105 commit 3af6baf
Copy full SHA for 3af6baf

File tree

2 files changed

+156
-0
lines changed
Filter options

2 files changed

+156
-0
lines changed

‎boards.txt

Copy file name to clipboardExpand all lines: boards.txt
+92Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1259,6 +1259,98 @@ esp32s3box.menu.EraseFlash.all.upload.erase_cmd=-e
12591259

12601260
##############################################################
12611261

1262+
esp32s3hactar2.name=ESP32-S3-Hactar-EV2
1263+
esp32s3hactar2.vid.0=0x303a
1264+
esp32s3hactar2.pid.0=0x1001
1265+
1266+
esp32s3hactar2.bootloader.tool=esptool_py
1267+
esp32s3hactar2.bootloader.tool.default=esptool_py
1268+
1269+
esp32s3hactar2.upload.tool=esptool_py
1270+
esp32s3hactar2.upload.tool.default=esptool_py
1271+
esp32s3hactar2.upload.tool.network=esp_ota
1272+
1273+
esp32s3hactar2.upload.maximum_size=1310720
1274+
esp32s3hactar2.upload.maximum_data_size=327680
1275+
esp32s3hactar2.upload.speed=460800
1276+
esp32s3hactar2.upload.flags=
1277+
esp32s3hactar2.upload.extra_flags=
1278+
esp32s3hactar2.upload.use_1200bps_touch=false
1279+
esp32s3hactar2.upload.wait_for_upload_port=false
1280+
1281+
esp32s3hactar2.serial.disableDTR=false
1282+
esp32s3hactar2.serial.disableRTS=false
1283+
1284+
esp32s3hactar2.build.tarch=xtensa
1285+
esp32s3hactar2.build.bootloader_addr=0x0
1286+
esp32s3hactar2.build.target=esp32s3
1287+
esp32s3hactar2.build.mcu=esp32s3
1288+
esp32s3hactar2.build.core=esp32
1289+
esp32s3hactar2.build.variant=esp32s3hactar2
1290+
esp32s3hactar2.build.board=ESP32_S3_HACTAR_EV2
1291+
1292+
esp32s3hactar2.build.usb_mode=0
1293+
esp32s3hactar2.build.cdc_on_boot=1
1294+
esp32s3hactar2.build.msc_on_boot=0
1295+
esp32s3hactar2.build.dfu_on_boot=0
1296+
esp32s3hactar2.build.f_cpu=240000000L
1297+
esp32s3hactar2.build.flash_size=8MB
1298+
esp32s3hactar2.build.flash_freq=80m
1299+
esp32s3hactar2.build.flash_mode=dio
1300+
esp32s3hactar2.build.boot=qio
1301+
esp32s3hactar2.build.partitions=default
1302+
esp32s3hactar2.build.memory_type=qio_opi
1303+
esp32s3hactar2.build.loop_core=-DARDUINO_RUNNING_CORE=1
1304+
esp32s3hactar2.build.event_core=-DARDUINO_EVENT_RUNNING_CORE=1
1305+
esp32s3hactar2.build.defines=-DBOARD_HAS_PSRAM
1306+
esp32s3hactar2.build.psram_type=qspi
1307+
esp32s3hactar2.build.memory_type={build.boot}_{build.psram_type}
1308+
1309+
1310+
1311+
esp32s3hactar2.menu.PartitionScheme.default_8MB=8M with spiffs (3MB APP/1.5MB SPIFFS)
1312+
esp32s3hactar2.menu.PartitionScheme.default_8MB.build.partitions=default_8MB
1313+
esp32s3hactar2.menu.PartitionScheme.default_8MB.upload.maximum_size=3342336
1314+
esp32s3hactar2.menu.PartitionScheme.no_ota=No OTA (2MB APP/2MB SPIFFS)
1315+
esp32s3hactar2.menu.PartitionScheme.no_ota.build.partitions=no_ota
1316+
esp32s3hactar2.menu.PartitionScheme.no_ota.upload.maximum_size=2097152
1317+
esp32s3hactar2.menu.PartitionScheme.noota_3g=No OTA (1MB APP/3MB SPIFFS)
1318+
esp32s3hactar2.menu.PartitionScheme.noota_3g.build.partitions=noota_3g
1319+
esp32s3hactar2.menu.PartitionScheme.noota_3g.upload.maximum_size=1048576
1320+
esp32s3hactar2.menu.PartitionScheme.noota_ffat=No OTA (2MB APP/2MB FATFS)
1321+
esp32s3hactar2.menu.PartitionScheme.noota_ffat.build.partitions=noota_ffat
1322+
esp32s3hactar2.menu.PartitionScheme.noota_ffat.upload.maximum_size=2097152
1323+
esp32s3hactar2.menu.PartitionScheme.noota_3gffat=No OTA (1MB APP/3MB FATFS)
1324+
esp32s3hactar2.menu.PartitionScheme.noota_3gffat.build.partitions=noota_3gffat
1325+
esp32s3hactar2.menu.PartitionScheme.noota_3gffat.upload.maximum_size=1048576
1326+
esp32s3hactar2.menu.PartitionScheme.huge_app=Huge APP (3MB No OTA/1MB SPIFFS)
1327+
esp32s3hactar2.menu.PartitionScheme.huge_app.build.partitions=huge_app
1328+
esp32s3hactar2.menu.PartitionScheme.huge_app.upload.maximum_size=3145728
1329+
esp32s3hactar2.menu.PartitionScheme.min_spiffs=Minimal SPIFFS (1.9MB APP with OTA/190KB SPIFFS)
1330+
esp32s3hactar2.menu.PartitionScheme.min_spiffs.build.partitions=min_spiffs
1331+
esp32s3hactar2.menu.PartitionScheme.min_spiffs.upload.maximum_size=1966080
1332+
1333+
1334+
esp32s3hactar2.menu.DebugLevel.none=None
1335+
esp32s3hactar2.menu.DebugLevel.none.build.code_debug=0
1336+
esp32s3hactar2.menu.DebugLevel.error=Error
1337+
esp32s3hactar2.menu.DebugLevel.error.build.code_debug=1
1338+
esp32s3hactar2.menu.DebugLevel.warn=Warn
1339+
esp32s3hactar2.menu.DebugLevel.warn.build.code_debug=2
1340+
esp32s3hactar2.menu.DebugLevel.info=Info
1341+
esp32s3hactar2.menu.DebugLevel.info.build.code_debug=3
1342+
esp32s3hactar2.menu.DebugLevel.debug=Debug
1343+
esp32s3hactar2.menu.DebugLevel.debug.build.code_debug=4
1344+
esp32s3hactar2.menu.DebugLevel.verbose=Verbose
1345+
esp32s3hactar2.menu.DebugLevel.verbose.build.code_debug=5
1346+
1347+
esp32s3hactar2.menu.EraseFlash.none=Disabled
1348+
esp32s3hactar2.menu.EraseFlash.none.upload.erase_cmd=
1349+
esp32s3hactar2.menu.EraseFlash.all=Enabled
1350+
esp32s3hactar2.menu.EraseFlash.all.upload.erase_cmd=-e
1351+
1352+
##############################################################
1353+
12621354
esp32s3usbotg.name=ESP32-S3-USB-OTG
12631355
esp32s3usbotg.vid.0=0x303a
12641356
esp32s3usbotg.pid.0=0x1001
+64Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
#ifndef Pins_Arduino_h
2+
#define Pins_Arduino_h
3+
4+
#include <stdint.h>
5+
#include "soc/soc_caps.h"
6+
7+
#define USB_VID 0x303a
8+
#define USB_PID 0x1001
9+
10+
#define EXTERNAL_NUM_INTERRUPTS 46
11+
#define NUM_DIGITAL_PINS 48
12+
#define NUM_ANALOG_INPUTS 20
13+
14+
static const uint8_t LED_BUILTIN = SOC_GPIO_PIN_COUNT+6;
15+
#define BUILTIN_LED LED_BUILTIN // backward compatibility
16+
#define LED_BUILTIN LED_BUILTIN
17+
#define RGB_BUILTIN LED_BUILTIN
18+
#define RGB_BRIGHTNESS 64
19+
20+
#define analogInputToDigitalPin(p) (((p)<20)?(analogChannelToDigitalPin(p)):-1)
21+
#define digitalPinToInterrupt(p) (((p)<48)?(p):-1)
22+
#define digitalPinHasPWM(p) (p < 46)
23+
24+
static const uint8_t TX = 43;
25+
static const uint8_t RX = 44;
26+
27+
static const uint8_t SDA = 41;
28+
static const uint8_t SCL = 40;
29+
30+
static const uint8_t SS = 35;
31+
static const uint8_t MOSI = 34;
32+
static const uint8_t MISO = 33;
33+
static const uint8_t SCK = 32;
34+
35+
static const uint8_t A8 = 9;
36+
static const uint8_t A9 = 10;
37+
static const uint8_t A10 = 11;
38+
static const uint8_t A11 = 12;
39+
static const uint8_t A12 = 13;
40+
static const uint8_t A13 = 14;
41+
42+
static const uint8_t T1 = 1;
43+
static const uint8_t T2 = 2;
44+
static const uint8_t T3 = 3;
45+
static const uint8_t T4 = 4;
46+
static const uint8_t T5 = 5;
47+
static const uint8_t T6 = 6;
48+
static const uint8_t T7 = 7;
49+
static const uint8_t T8 = 8;
50+
static const uint8_t T9 = 9;
51+
static const uint8_t T10 = 10;
52+
static const uint8_t T11 = 11;
53+
static const uint8_t T12 = 12;
54+
static const uint8_t T13 = 13;
55+
static const uint8_t T14 = 14;
56+
57+
// Wire1 for ES7210 MIC ADC, ES8311 I2S DAC, ICM-42607-P IMU and TT21100 Touch Panel
58+
#define I2C_SDA 24
59+
#define I2C_SCL 25
60+
61+
62+
63+
64+
#endif /* Pins_Arduino_h */

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.