Skip to content

Instantly share code, notes, and snippets.

@ksahnine
Created July 7, 2016 18:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ksahnine/c97c5a29a74249f3fc00d389d3dc7248 to your computer and use it in GitHub Desktop.
Save ksahnine/c97c5a29a74249f3fc00d389d3dc7248 to your computer and use it in GitHub Desktop.
#
# Project Configuration File
#
# A detailed documentation with the EXAMPLES is located here:
# http://docs.platformio.org/en/latest/projectconf.html
#
# A sign `#` at the beginning of the line indicates a comment
# Comment lines are ignored.
# Simple and base environment
# [env:mybaseenv]
# platform = %INSTALLED_PLATFORM_NAME_HERE%
# framework =
# board =
#
# Automatic targets - enable auto-uploading
# targets = upload
[env:led]
platform = atmelavr
framework = arduino
upload_protocol = stk500v1
upload_flags = -P$UPLOAD_PORT -b$UPLOAD_SPEED -F
upload_port = /dev/cu.usbmodem411
upload_speed = 19200
board = pro8MHzatmega328
[env:boot]
platform = atmelavr
framework = arduino
upload_protocol = stk500v1
#upload_flags = -P$UPLOAD_PORT -b$UPLOAD_SPEED
upload_port = /dev/cu.usbmodem411
upload_speed = 19200
board = pro8MHzatmega328
extra_script = extra_script.py
upload_flags = -P$UPLOAD_PORT -b$UPLOAD_SPEED -e -Uflash:w:/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/bootloaders/optiboot/optiboot_atmega328.hex:i -Ulock:w:0x0f:m
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment