because of the logic selecting elf or firm (bin), we need to default to no offset on normal firmware upload because we already defaulted to elf a few lines below if upload.offset_address is not user set so when no offset is needed. programming fails otherwise Unfortunately, my way of modifying the code probably sucks because I've never written anything in python but I assumed the second arg is the default n case the first is missing. Haven't had time to dig too much into it.
Raspberry Pi RP2040: development platform for PlatformIO
RP2040 is a low-cost, high-performance microcontroller device with a large on-chip memory, symmetric dual-core processor complex, deterministic bus fabric, and rich peripheral set augmented with a unique Programmable I/O (PIO) subsystem, it provides professional users with unrivalled power and flexibility.
- Home (home page in the PlatformIO Registry)
- Documentation (advanced usage, packages, boards, frameworks, etc.)
Usage
- Install PlatformIO
- Create PlatformIO project and configure a platform option in platformio.ini file:
Stable version
[env:stable]
platform = raspberrypi
board = ...
...
Development version
[env:development]
platform = https://github.com/platformio/platform-raspberrypi.git
board = ...
...
Configuration
Please navigate to documentation.
Description
Languages
Python
100%