-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem about auto detection of port #5
Comments
I have a similar problem I'm using Manjaro Linux (Arch based). Either I don't set a upload protocol/port, then the upload protocol "knocks" on the If I manually copy the firmware file with a simple Or I set the Unfortunately, I can only get one of those behaviors, but not both. What I'm looking for, is a process that first knocks on the port, waits until the Pico restarts, the fs is (auto-)mounted and then starts the upload/copy part. * This is my current platformio.ini: ; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[env:pico]
;platform = raspberrypi
platform = https://github.com/maxgerhardt/platform-raspberrypi.git
board = pico
framework = arduino
board_build.core = earlephilhower
;upload_protocol = mbed
;upload_port = /run/media/username/RPI-RP2
monitor_speed = 115200
lib_deps = https://github.com/bolderflight/sbus
platform_packages =
framework-arduinopico@https://github.com/earlephilhower/arduino-pico.git
;toolchain-pico@https://github.com/earlephilhower/pico-quick-toolchain/releases/download/1.3.1-a/x86_64-linux-gnu.arm-none-eabi-7855b0c.210706.tar.gz
toolchain-pico@https://github.com/earlephilhower/pico-quick-toolchain/releases/download/1.3.3-a/x86_64-linux-gnu.arm-none-eabi-ed6d983.220212.tar.gz |
You introduced auto detection on an issue thread platformio#2
It works if
/media/${USER}/RPI-RP2
presence with the following setting.However, does not work if
/dev/ttyACM0
is mounted.Thank you.
The text was updated successfully, but these errors were encountered: