mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-23 17:13:38 +00:00
This commit is contained in:
parent
63b20e358f
commit
43a6e711da
@ -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}
|
||||||
|
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user