Skip to content

Commit ec7aeb4

Browse files
Removed ProS2 and added TinyS2 to boards.txt (espressif#5037)
1 parent 9a518cd commit ec7aeb4

File tree

3 files changed

+13
-11
lines changed

3 files changed

+13
-11
lines changed

Diff for: boards.txt

+1
Original file line numberDiff line numberDiff line change
@@ -961,6 +961,7 @@ feathers2.menu.DebugLevel.verbose=Verbose
961961
feathers2.menu.DebugLevel.verbose.build.code_debug=5
962962

963963
##############################################################
964+
964965
pros2.name=UM ProS2
965966
pros2.vid.0=0x239A
966967
pros2.pid.0=0x80A9

Diff for: cores/esp32/esp32-hal-gpio.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ extern "C" {
2828
#include "soc/soc_caps.h"
2929

3030
#if (CONFIG_IDF_TARGET_ESP32S2 || CONFIG_IDF_TARGET_ESP32S3)
31-
#define NUM_OUPUT_PINS 45
31+
#define NUM_OUPUT_PINS 46
3232
#define PIN_DAC1 17
3333
#define PIN_DAC2 18
3434
#else

Diff for: variants/um_pros2/pins_arduino.h renamed to variants/um_tinys2/pins_arduino.h

+11-10
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33

44
#include <stdint.h>
55

6-
#define USB_VID 0x239A
7-
#define USB_PID 0x80A9
6+
#define USB_VID 0x303A
7+
#define USB_PID 0x8001
88
#define USB_MANUFACTURER "Unexpected Maker"
9-
#define USB_PRODUCT "ProS2"
9+
#define USB_PRODUCT "TinyS2"
1010
#define USB_SERIAL ""
1111

1212
#define EXTERNAL_NUM_INTERRUPTS 46
@@ -23,12 +23,12 @@ static const uint8_t RX = 44;
2323
static const uint8_t SDA = 8;
2424
static const uint8_t SCL = 9;
2525

26-
static const uint8_t SS = 34;
26+
static const uint8_t SS = 14;
2727
static const uint8_t MOSI = 35;
28-
static const uint8_t MISO = 37;
28+
static const uint8_t MISO = 36;
2929
static const uint8_t SDO = 35;
30-
static const uint8_t SDI = 37;
31-
static const uint8_t SCK = 36;
30+
static const uint8_t SDI = 36;
31+
static const uint8_t SCK = 37;
3232

3333
static const uint8_t A0 = 1;
3434
static const uint8_t A1 = 2;
@@ -69,9 +69,10 @@ static const uint8_t T14 = 14;
6969
static const uint8_t DAC1 = 17;
7070
static const uint8_t DAC2 = 18;
7171

72-
static const uint8_t LDO_2_POWER = 21;
72+
static const uint8_t VBAT_SENSE = 3;
73+
static const uint8_t VBUS_SENSE = 21;
7374

74-
static const uint8_t APA_DATA = 40;
75-
static const uint8_t APA_CLK = 45;
75+
static const uint8_t RGB_DATA = 1;
76+
static const uint8_t RGB_PWR = 2;
7677

7778
#endif /* Pins_Arduino_h */

0 commit comments

Comments
 (0)