mirror of
https://github.com/platformio/platformio-core.git
synced 2025-10-12 13:55:21 +02:00
Upload firmware using external programmer via "platformio run –target program" // Resolve #311
This commit is contained in:
@@ -504,7 +504,9 @@ Examples
|
||||
platform = atmelavr
|
||||
framework = arduino
|
||||
board = pro8MHzatmega328
|
||||
upload_protocol = usbasp - B5
|
||||
upload_protocol = usbasp -B5
|
||||
|
||||
Then upload firmware using :option:`platformio run --target program`
|
||||
|
||||
|
||||
4. :ref:`platform_ststm32`: Upload firmware using GDB script ``upload.gdb``,
|
||||
|
@@ -38,8 +38,9 @@ Process specified targets.
|
||||
Pre-built targets:
|
||||
|
||||
* ``clean`` delete compiled object files, libraries and firmware/program binaries
|
||||
* ``upload`` enable "auto-uploading" for embedded platforms after building
|
||||
operation
|
||||
* ``upload`` firmware "auto-uploading" for embedded platforms
|
||||
* ``program`` firmware "auto-uploading" for embedded platforms using external
|
||||
programmer (available only for :ref:`platform_atmelavr`)
|
||||
* ``uploadlazy`` upload existing firmware without project rebuilding
|
||||
* ``envdump`` dump current build environment
|
||||
* ``size`` print the size of the sections in a firmware/program
|
||||
|
Reference in New Issue
Block a user