diff --git a/examples/atmelavr-native-blink/README.rst b/examples/atmelavr-native-blink/README.rst new file mode 100644 index 00000000..690a3fcc --- /dev/null +++ b/examples/atmelavr-native-blink/README.rst @@ -0,0 +1,20 @@ +Atmel AVR: Native Blink Example +=============================== + +1. Download ``platformio`` +`sources `_. +2. Extract ZIP archive +3. Then run these commands: + +.. code-block:: bash + + # Change directory to example + $ cd platformio-develop/examples/atmelavr-native-blink/ + + # Install Atmel AVR development platform + $ platformio install atmelavr + + # Process example project + $ platformio run + +.. image:: console-result.png diff --git a/examples/atmelavr-native-blink/console-result.png b/examples/atmelavr-native-blink/console-result.png new file mode 100644 index 00000000..63253d86 Binary files /dev/null and b/examples/atmelavr-native-blink/console-result.png differ diff --git a/examples/atmelavr-native-blink/platformio.ini b/examples/atmelavr-native-blink/platformio.ini index 76d075a5..6c73192c 100644 --- a/examples/atmelavr-native-blink/platformio.ini +++ b/examples/atmelavr-native-blink/platformio.ini @@ -1,10 +1,13 @@ +# Copyright (C) Ivan Kravets +# See LICENSE for details. + [env:arduino_pro5v] platform = atmelavr board_mcu = atmega168 board_f_cpu = 16000000L upload_port = /dev/tty.SLAB_USBtoUART -; upload_port = COM3 +# upload_port = COM3 upload_protocol = arduino upload_speed = 19200