Merge branch 'develop' of https://github.com/ivankravets/platformio into develop

This commit is contained in:
Valeriy Koval
2015-02-25 09:55:33 +02:00
7 changed files with 80 additions and 68 deletions

View File

@ -54,7 +54,7 @@ Frameworks
- Name - Name
- Reference - Reference
* - ``arduino`` * - ``arduino``
- Arduino Wiring-based Framework (AVR Core, 1.6 branch) - Arduino Wiring-based Framework (AVR Core, 1.6)
- `Documentation <http://arduino.cc/en/Reference/HomePage>`_ - `Documentation <http://arduino.cc/en/Reference/HomePage>`_
@ -299,7 +299,7 @@ Adafruit
* - ``flora8`` * - ``flora8``
- `Adafruit Flora - `Adafruit Flora
<http://www.adafruit.com/product/659>`_ <http://www.adafruit.com/product/659>`_
- ATmega32 ``atmega32u4`` - ATmega32u4 ``atmega32u4``
- 8 MHz ``8000000L`` - 8 MHz ``8000000L``
- 32 Kb - 32 Kb
- 2.5 Kb - 2.5 Kb
@ -307,7 +307,7 @@ Adafruit
- `Adafruit Trinket 8MHz 3.3V LOGIC - `Adafruit Trinket 8MHz 3.3V LOGIC
<http://www.adafruit.com/products/1500>`_ <http://www.adafruit.com/products/1500>`_
- ATtiny85 ``attiny85`` - ATtiny85 ``attiny85``
- 8 MHz ``16000000L`` - 8 MHz ``8000000L``
- 8 Kb - 8 Kb
- 0.5 Kb - 0.5 Kb
* - ``trinket5`` * - ``trinket5``
@ -318,33 +318,33 @@ Adafruit
- 8 Kb - 8 Kb
- 0.5 Kb - 0.5 Kb
* - ``protrinket3`` * - ``protrinket3``
- `Pro Trinket 3V/12MHz (USB) - `Adafruit Pro Trinket 3V/12MHz (USB)
<http://www.adafruit.com/products/2010>`_ <http://www.adafruit.com/products/2010>`_
- ATmega328 ``atmega328p`` - ATmega328P ``atmega328p``
- 12 MHz ``12000000L`` - 12 MHz ``12000000L``
- 32 Kb - 32 Kb
- 2 Kb - 2 Kb
* - ``protrinket3ftdi`` * - ``protrinket3ftdi``
- `Pro Trinket 3V/12MHz (FTDI) - `Adafruit Pro Trinket 3V/12MHz (FTDI)
<http://www.adafruit.com/products/2010>`_ <http://www.adafruit.com/products/2010>`_
- ATmega328 ``atmega328p`` - ATmega328P ``atmega328p``
- 12 MHz ``12000000L`` - 12 MHz ``12000000L``
- 32 Kb - 32 Kb
- 2 Kb - 2 Kb
* - ``protrinket5`` * - ``protrinket5``
- `Pro Trinket 5V/16MHz (USB) - `Adafruit Pro Trinket 5V/16MHz (USB)
<http://www.adafruit.com/products/2000>`_ <http://www.adafruit.com/products/2000>`_
- ATmega328 ``atmega328p`` - ATmega328P ``atmega328p``
- 16 MHz ``16000000L`` - 16 MHz ``16000000L``
- 32 Kb - 32 Kb
- 2 Kb - 2 Kb
* - ``protrinket5ftdi`` * - ``protrinket5ftdi``
- `Pro Trinket 5V/16MHz (FTDI) - `Adafruit Pro Trinket 5V/16MHz (FTDI)
<http://www.adafruit.com/products/2000>`_ <http://www.adafruit.com/products/2000>`_
- ATmega328 ``atmega328p`` - ATmega328P ``atmega328p``
- 16 MHz ``16000000L`` - 16 MHz ``16000000L``
- 32 Kb - 32 Kb
- 2 Kb - 2 Kb
More detailed information you can find here More detailed information you can find here
`Adafruits boards <https://learn.adafruit.com/category/trinket>`_. `Adafruits boards <https://learn.adafruit.com/category/trinket>`_.
@ -379,7 +379,7 @@ Digispark
- ATtiny167 ``attiny167`` - ATtiny167 ``attiny167``
- 16 Mhz ``16000000L`` - 16 Mhz ``16000000L``
- 16 kb - 16 kb
- 0.5 Kb - 0.5 Kb
More detailed information you can find here More detailed information you can find here
`Digistump Development Boards <http://digistump.com/wiki/start>`_. `Digistump Development Boards <http://digistump.com/wiki/start>`_.

View File

@ -25,7 +25,7 @@ Packages
`GDB <http://www.gnu.org/software/gdb/>`_ `GDB <http://www.gnu.org/software/gdb/>`_
* - ``tool-bossac`` * - ``tool-bossac``
- uploader - uploader
- `Bossac <https://sourceforge.net/projects/b-o-s-s-a/>`_ - `BOSSA CLI <https://sourceforge.net/projects/b-o-s-s-a/>`_
* - ``framework-arduino`` * - ``framework-arduino``
- -
- See below in :ref:`atmelsam_frameworks` - See below in :ref:`atmelsam_frameworks`
@ -48,7 +48,7 @@ Frameworks
- Name - Name
- Reference - Reference
* - ``arduino`` * - ``arduino``
- Arduino Wiring-based Framework - Arduino Wiring-based Framework (SAM Core, 1.6)
- `Documentation <http://arduino.cc/en/Reference/HomePage>`_ - `Documentation <http://arduino.cc/en/Reference/HomePage>`_

View File

@ -59,21 +59,48 @@ Packages
* - ``tool-avrdude`` * - ``tool-avrdude``
- uploader - uploader
- `AVRDUDE <http://www.nongnu.org/avrdude/>`_ - `AVRDUDE <http://www.nongnu.org/avrdude/>`_
* - ``tool-bossac``
- uploader
- `BOSSA CLI <https://sourceforge.net/projects/b-o-s-s-a/>`_
* - ``tool-micronucleus``
- uploader
- `Micronucleus <https://github.com/micronucleus/micronucleus>`_
* - ``tool-mspdebug`` * - ``tool-mspdebug``
- uploader - uploader
- `MSPDebug <http://mspdebug.sourceforge.net>`_ - `MSPDebug <http://mspdebug.sourceforge.net>`_
* - ``tool-lm4flash`` * - ``tool-lm4flash``
- uploader - uploader
- `Flash Programmer <http://www.ti.com/tool/lmflashprogrammer>`_ - `Flash Programmer <http://www.ti.com/tool/lmflashprogrammer>`_
* - ``tool-stlink``
- uploader
- `STLink <https://github.com/texane/stlink>`_
* - ``tool-teensy``
- uploader
- `Teensy Loader <https://www.pjrc.com/teensy/loader.html>`_
* - ``framework-arduinoavr`` * - ``framework-arduinoavr``
- -
- `Arduino Wiring-based Framework (AVR Core, 1.6 branch) <http://arduino.cc/en/Reference/HomePage>`_ - `Arduino Wiring-based Framework (AVR Core, 1.6 branch) <http://arduino.cc/en/Reference/HomePage>`_
* - ``framework-arduinosam``
-
- `Arduino Wiring-based Framework (SAM Core, 1.6 branch) <http://arduino.cc/en/Reference/HomePage>`_
* - ``framework-arduinoteensy``
-
- `Arduino Wiring-based Framework <http://arduino.cc/en/Reference/HomePage>`_
* - ``framework-energiamsp430`` * - ``framework-energiamsp430``
- -
- `Energia Wiring-based Framework (MSP430 Core) <http://energia.nu/reference/>`_ - `Energia Wiring-based Framework (MSP430 Core) <http://energia.nu/reference/>`_
* - ``framework-energiativa`` * - ``framework-energiativa``
- -
- `Energia Wiring-based Framework (LM4F Core) <http://energia.nu/reference/>`_ - `Energia Wiring-based Framework (LM4F Core) <http://energia.nu/reference/>`_
* - ``framework-cmsis``
-
- `Vendor-independent hardware abstraction layer for the Cortex-M processor series <http://www.arm.com/products/processors/cortex-m/cortex-microcontroller-software-interface-standard.php>`_
* - ``framework-spl``
-
- `Standard Peripheral Library for STM32 MCUs <http://www.st.com/web/catalog/tools/FM147/CL1794/SC961/SS1743/PF257890>`_
* - ``framework-opencm3``
-
- `libOpenCM3 Framework <http://www.libopencm3.org>`_
.. _platform_creating_manifest_file: .. _platform_creating_manifest_file:

View File

@ -3,7 +3,7 @@
Platform ``stm32`` Platform ``stm32``
================== ==================
`The STM32 family of 32-bit Flash microcontrollers <http://www.st.com/web/en/catalog/mmc/FM141/SC1169?sc=stm32>`_ based on the ARM® Cortex®-M processor is designed to offer new degrees of freedom to MCU users. It offers a 32-bit product range that combines very high performance, real-time capabilities, digital signal processing, and low-power, low-voltage operation, while maintaining full integration and ease of development. `The STM32 family of 32-bit Flash MCUs <http://www.st.com/web/en/catalog/mmc/FM141/SC1169?sc=stm32>`_ based on the ARM® Cortex®-M processor is designed to offer new degrees of freedom to MCU users. It offers a 32-bit product range that combines very high performance, real-time capabilities, digital signal processing, and low-power, low-voltage operation, while maintaining full integration and ease of development.
The unparalleled and large range of STM32 devices, based on an industry-standard core and accompanied by a vast choice of tools and software, makes this family of products the ideal choice, both for small projects and for entire platform decisions. The unparalleled and large range of STM32 devices, based on an industry-standard core and accompanied by a vast choice of tools and software, makes this family of products the ideal choice, both for small projects and for entire platform decisions.
@ -24,7 +24,7 @@ Packages
`GDB <http://www.gnu.org/software/gdb/>`_ `GDB <http://www.gnu.org/software/gdb/>`_
* - ``tool-stlink`` * - ``tool-stlink``
- uploader - uploader
- `Flash Programmer <https://github.com/texane/stlink>`_ - `STLink <https://github.com/texane/stlink>`_
* - ``framework-cmsis`` * - ``framework-cmsis``
- -
- See below in :ref:`stm32_frameworks` - See below in :ref:`stm32_frameworks`
@ -81,21 +81,21 @@ Boards
- RAM - RAM
* - ``stm32ldiscovery`` * - ``stm32ldiscovery``
- `Discovery kit for STM32L151/152 line <http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/PF250990?sc=internet/evalboard/product/250990.jsp>`_ - `Discovery kit for STM32L151/152 line <http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/PF250990?sc=internet/evalboard/product/250990.jsp>`_
- stm32l152rbt6 ``cortex-m3`` - STM32L152rbt6 ``cortex-m3``
- 32 MHz ``32000000L`` - 32 MHz ``32000000L``
- 128 Kb - 128 Kb
- 16 Kb - 16 Kb
* - ``stm32f3discovery`` * - ``stm32f3discovery``
- `Discovery kit for STM32F303xx microcontrollers - `Discovery kit for STM32F303xx microcontrollers
<http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/PF254044>`_ <http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/PF254044>`_
- stm32f303vct6 ``cortex-m4`` - STM32F303vct6 ``cortex-m4``
- 72 MHz ``72000000L`` - 72 MHz ``72000000L``
- 256 Kb - 256 Kb
- 48 Kb - 48 Kb
* - ``stm32f4discovery`` * - ``stm32f4discovery``
- `Discovery kit for STM32F407/417 lines - `Discovery kit for STM32F407/417 lines
<http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/PF252419>`_ <http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/PF252419>`_
- stm32f407vgt6 ``cortex-m4`` - STM32F407vgt6 ``cortex-m4``
- 168 Mhz ``168000000L`` - 168 Mhz ``168000000L``
- 1 Mb - 1 Mb
- 192 Kb - 192 Kb

View File

@ -28,8 +28,8 @@ Packages
`SimulAVR <http://www.nongnu.org/simulavr/>`_ `SimulAVR <http://www.nongnu.org/simulavr/>`_
* - ``tool-teensy`` * - ``tool-teensy``
- uploader - uploader
- `Flash Programmer <https://www.pjrc.com/teensy/loader.html>`_ - `Teensy Loader <https://www.pjrc.com/teensy/loader.html>`_
* - ``framework-arduino`` * - ``framework-arduinoteensy``
- -
- See below in :ref:`teensy_frameworks` - See below in :ref:`teensy_frameworks`
@ -73,26 +73,26 @@ Boards
- Flash - Flash
- RAM - RAM
* - ``teensy20`` * - ``teensy20``
- `Teensy USB Board, Version 2.0 <https://www.pjrc.com/store/teensy.html>`_ - `Teensy 2.0 <https://www.pjrc.com/store/teensy.html>`_
- ATmega32 ``atmega32u4`` - ATmega32u4 ``atmega32u4``
- 16 MHz ``16000000L`` - 16 MHz ``16000000L``
- 32 Kb - 32 Kb
- 2.5 Kb - 2.5 Kb
* - ``teensy20pp`` * - ``teensy20pp``
- `Teensy++ USB Board, Version 2.0 <https://www.pjrc.com/store/teensypp.html>`_ - `Teensy++ 2.0 <https://www.pjrc.com/store/teensypp.html>`_
- AT90USB1289 ``at90usb1286`` - AT90USB1289 ``at90usb1286``
- 16 MHz ``16000000L`` - 16 MHz ``16000000L``
- 128 Kb - 128 Kb
- 8 Kb - 8 Kb
* - ``teensy30`` * - ``teensy30``
- `Teensy USB Board, Version 3.0 <https://www.pjrc.com/store/teensy3.html>`_ - `Teensy 3.0 <https://www.pjrc.com/store/teensy3.html>`_
- mk20dx128 ``cortex-m4`` - MK20DX128 ``cortex-m4``
- 48 Mhz ``48000000L`` - 48 Mhz ``48000000L``
- 128 kb - 128 kb
- 16 Kb - 16 Kb
* - ``teensy31`` * - ``teensy31``
- `Teensy USB Board, Version 3.1 <https://www.pjrc.com/store/teensy31.html>`_ - `Teensy 3.1 <https://www.pjrc.com/store/teensy31.html>`_
- mk20dx256 ``cortex-m4`` - MK20DX256 ``cortex-m4``
- 72 Mhz ``72000000L`` - 72 Mhz ``72000000L``
- 256 kb - 256 kb
- 64 Kb - 64 Kb

View File

@ -1,33 +1,26 @@
# ;
# Project Configuration File ; Project Configuration File
# ;
# A detailed documentation with the EXAMPLES is located here: ; A detailed documentation with the EXAMPLES is located here:
# http://docs.platformio.org/en/latest/projectconf.html ; http://docs.platformio.org/en/latest/projectconf.html
# ;
# A sign `#` at the beginning of the line indicates a comment [env:autogen_uno]
# 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:arduino_uno]
platform = atmelavr platform = atmelavr
framework = arduino framework = arduino
board = uno board = uno
[env:LaunchPad_msp430g2553] [env:autogen_teensy31]
platform = teensy
framework = arduino
board = teensy31
[env:autogen_lpmsp430g2553]
platform = timsp430 platform = timsp430
framework = energia framework = energia
board = lpmsp430g2553 board = lpmsp430g2553
[env:LaunchPad_lm4f120h5qr] [env:autogen_lptm4c1230c3pm]
platform = titiva platform = titiva
framework = energia framework = energia
board = lptm4c1230c3pm board = lptm4c1230c3pm

View File

@ -1,27 +1,19 @@
/** #ifdef ENERGIA
* Copyright (C) Ivan Kravets <me@ikravets.com> #include "Energia.h"
* See LICENSE for details. #else
*/ #include "Arduino.h"
/**
Turns ON and OFF the Wiring compatible board LED,
with intervals of 1 second (1000 milliseconds)
*/
#include "Arduino.h"
#ifndef LED_PIN
#define LED_PIN 13 // Most Arduino boards already have a LED attached to pin 13 on the board itself
#endif #endif
#ifndef LED_PIN
// Most Arduino boards already have a LED attached to pin 13 on the board itself
#define LED_PIN 13
#endif
void setup() void setup() {
{
pinMode(LED_PIN, OUTPUT); // set pin as output pinMode(LED_PIN, OUTPUT); // set pin as output
} }
void loop() void loop() {
{
digitalWrite(LED_PIN, HIGH); // set the LED on digitalWrite(LED_PIN, HIGH); // set the LED on
delay(1000); // wait for a second delay(1000); // wait for a second
digitalWrite(LED_PIN, LOW); // set the LED off digitalWrite(LED_PIN, LOW); // set the LED off