Closed jerabaul29 closed 1 year ago
Hi @jerabaul29,
I am glad you are finding this project useful!
This warning will now only show up in verbose mode.
Thanks :) .
A small note: wonder if a more descriptive error message could be useful? Something like:
sys.stderr.write("No baud rate specified; please specify parameter, example "upload_speed = 921600", in your platformio.ini file.\n")
maybe? This makes it a bit clearer what the missing parameter name is, and where it could be added?
Hi @jerabaul29,
The message now reads:
No baud rate specified.
Using default svl baud rate of 921600
To set, add "upload_speed=921600" to your platformio.ini file
Valid baud rates are: [57600, 115200, 230400, 460800, 921600]
More information available at: https://docs.platformio.org/en/stable/projectconf/section_env_upload.html#upload-speed
Amazing, many thanks :) .
I updated the present platformio core (many thanks for your awesome continued work on this :) ) and I recompiled an old project, now getting the warning:
This is not a big issue, everything compiles fine etc, and I am happy with using this svl baudrate but wonder if there is a way to get it to go away, just "for the sake of purity"? :) . I guess this is the sparkfun variable loader that uploads the code to the board complaining its baudrate to use is not set. Not sure why it was not here before / I had not noticed it before.