Skip to content

Commit 64d834d

Browse files
fix(3rd_party_board): applied PR suggestions for fri3d board fixes
Co-authored-by: Jan Procházka <[email protected]>
1 parent c5cd4e5 commit 64d834d

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

boards.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -26524,7 +26524,7 @@ fri3d_2024_esp32s3.build.target=esp32s3
2652426524
fri3d_2024_esp32s3.build.mcu=esp32s3
2652526525
fri3d_2024_esp32s3.build.core=esp32
2652626526
fri3d_2024_esp32s3.build.variant=fri3d_2024_esp32s3
26527-
fri3d_2024_esp32s3.build.board=FRI3D-BADGE-2024_ESP32S3-WROOM-1
26527+
fri3d_2024_esp32s3.build.board=FRI3D_2024_ESP32S3
2652826528

2652926529
fri3d_2024_esp32s3.build.usb_mode=1
2653026530
fri3d_2024_esp32s3.build.cdc_on_boot=0

variants/fri3d_2024_esp32s3/pins_arduino.h

-6
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,13 @@
77
#define USB_VID 0x303a
88
#define USB_PID 0x1001
99

10-
#define EXTERNAL_NUM_INTERRUPTS 46
11-
#define NUM_DIGITAL_PINS 48
12-
#define NUM_ANALOG_INPUTS 20
1310

1411
static const uint8_t LED_BUILTIN = 21;
1512
#define BUILTIN_LED LED_BUILTIN // backward compatibility
1613
#define LED_BUILTIN LED_BUILTIN
1714
#define RGB_BUILTIN LED_BUILTIN
1815
#define RGB_BRIGHTNESS 64
1916

20-
#define analogInputToDigitalPin(p) (((p)<20)?(analogChannelToDigitalPin(p)):-1)
21-
#define digitalPinToInterrupt(p) (((p)<49)?(p):-1)
22-
#define digitalPinHasPWM(p) (p < 46)
2317

2418
static const uint8_t TX = 43;
2519
static const uint8_t RX = 44;

0 commit comments

Comments
 (0)