Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Upload settings in boards.txt not being honored #1084

Open
@naigonakoii

Description

@naigonakoii

I'm using an Adafruit Feather 32u4. Upload fails through VS Code for this board (build is fine). It works perfectly in the Arduino IDE.

I believe this issue is that there are custom upload settings specified in the boards.txt for this board (taken from boards.txt installed in the adafruit AVR official package):

feather32u4.upload.protocol=avr109
feather32u4.upload.maximum_size=28672
feather32u4.upload.speed=57600
feather32u4.upload.disable_flushing=true
feather32u4.upload.use_1200bps_touch=true
feather32u4.upload.wait_for_upload_port=true
feather32u4.upload.tool=arduino:avrdude

However, from my debugging the Arduino plugin for VS code does nothing with these settings, and as such the upload fails. Specifically, I believe the speed and the wait_for_upload_port are the two critical ones that prevent the Feather from resetting properly before the upload begins which causes the failure.

If there is a manual workaround for this issue (ie something I could put in the arduino.json file in the "configruation" entry) please let me know as that would be okay as well.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions