Skip to content

Commit

Permalink
Use new Espressif Lib 6.8.1 and new pin definitions for OBP60 borad
Browse files Browse the repository at this point in the history
  • Loading branch information
norbert-walter committed Aug 14, 2024
1 parent 2bb410f commit ff02bfe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion lib/obp60task/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
#by uncommenting the next line
default_envs = obp60_s3
[env:obp60_s3]
platform = [email protected]
;platform = [email protected]
platform = [email protected]
-D board_build.f_cpu = 160000000L
board_build.variants_dir = variants
#board = obp60_s3_n8 #ESP32-S3 N8, 8MB flash, no PSRAM
Expand Down
4 changes: 2 additions & 2 deletions variants/obp60s3/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,22 @@
#define USB_VID 0x303a
#define USB_PID 0x1001

/*
#define EXTERNAL_NUM_INTERRUPTS 46
#define NUM_DIGITAL_PINS 48
#define NUM_ANALOG_INPUTS 20
// Multi Function Display OBP60 V2.0
/*
static const uint8_t LED_BUILTIN = SOC_GPIO_PIN_COUNT+48;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN
#define RGB_BUILTIN LED_BUILTIN
#define RGB_BRIGHTNESS 64
*/
#define analogInputToDigitalPin(p) (((p)<20)?(analogChannelToDigitalPin(p)):-1)
#define digitalPinToInterrupt(p) (((p)<48)?(p):-1)
#define digitalPinHasPWM(p) (p < 46)
*/

static const uint8_t TX = 43;
static const uint8_t RX = 44;
Expand Down

0 comments on commit ff02bfe

Please sign in to comment.