RAK11310: Update to last building platform package and possibly fix for #5361 (#6202)

This commit is contained in:
Mictronics 2025-03-02 13:15:30 +01:00 committed by GitHub
parent 63b20e358f
commit 43a6e711da
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 1 deletions

View File

@ -4,7 +4,7 @@ board = wiscore_rak11300
upload_protocol = picotool upload_protocol = picotool
# keep an old SDK to use less memory. # keep an old SDK to use less memory.
platform = https://github.com/maxgerhardt/platform-raspberrypi.git#v1.2.0-gcc12 platform = https://github.com/maxgerhardt/platform-raspberrypi.git#v1.2.0-gcc12
platform_packages = framework-arduinopico@https://github.com/earlephilhower/arduino-pico.git#3.7.2 platform_packages = framework-arduinopico@https://github.com/earlephilhower/arduino-pico.git#4.0.1
# add our variants files to the include and src paths # add our variants files to the include and src paths
build_flags = ${rp2040_base.build_flags} build_flags = ${rp2040_base.build_flags}

View File

@ -4,6 +4,12 @@
#define ARDUINO_ARCH_AVR #define ARDUINO_ARCH_AVR
// Define I2C pins to ensure correct usage of both ports
#define I2C_SDA 20
#define I2C_SCL 21
#define I2C_SDA1 2
#define I2C_SCL1 3
#define LED_CONN PIN_LED2 #define LED_CONN PIN_LED2
#define LED_PIN LED_BUILTIN #define LED_PIN LED_BUILTIN
#define ledOff(pin) pinMode(pin, INPUT) #define ledOff(pin) pinMode(pin, INPUT)