diff --git a/docs/platforms/atmelavr.rst b/docs/platforms/atmelavr.rst index 162fc45e..6ba7a7d3 100644 --- a/docs/platforms/atmelavr.rst +++ b/docs/platforms/atmelavr.rst @@ -54,7 +54,7 @@ Frameworks - Name - Reference * - ``arduino`` - - Arduino Wiring-based Framework (AVR Core, 1.6 branch) + - Arduino Wiring-based Framework (AVR Core, 1.6) - `Documentation `_ @@ -299,7 +299,7 @@ Adafruit * - ``flora8`` - `Adafruit Flora `_ - - ATmega32 ``atmega32u4`` + - ATmega32u4 ``atmega32u4`` - 8 MHz ``8000000L`` - 32 Kb - 2.5 Kb @@ -307,7 +307,7 @@ Adafruit - `Adafruit Trinket 8MHz 3.3V LOGIC `_ - ATtiny85 ``attiny85`` - - 8 MHz ``16000000L`` + - 8 MHz ``8000000L`` - 8 Kb - 0.5 Kb * - ``trinket5`` @@ -318,33 +318,33 @@ Adafruit - 8 Kb - 0.5 Kb * - ``protrinket3`` - - `Pro Trinket 3V/12MHz (USB) + - `Adafruit Pro Trinket 3V/12MHz (USB) `_ - - ATmega328 ``atmega328p`` + - ATmega328P ``atmega328p`` - 12 MHz ``12000000L`` - 32 Kb - 2 Kb * - ``protrinket3ftdi`` - - `Pro Trinket 3V/12MHz (FTDI) + - `Adafruit Pro Trinket 3V/12MHz (FTDI) `_ - - ATmega328 ``atmega328p`` + - ATmega328P ``atmega328p`` - 12 MHz ``12000000L`` - 32 Kb - 2 Kb * - ``protrinket5`` - - `Pro Trinket 5V/16MHz (USB) + - `Adafruit Pro Trinket 5V/16MHz (USB) `_ - - ATmega328 ``atmega328p`` + - ATmega328P ``atmega328p`` - 16 MHz ``16000000L`` - 32 Kb - 2 Kb * - ``protrinket5ftdi`` - - `Pro Trinket 5V/16MHz (FTDI) + - `Adafruit Pro Trinket 5V/16MHz (FTDI) `_ - - ATmega328 ``atmega328p`` + - ATmega328P ``atmega328p`` - 16 MHz ``16000000L`` - 32 Kb - - 2 Kb + - 2 Kb More detailed information you can find here `Adafruits boards `_. @@ -379,7 +379,7 @@ Digispark - ATtiny167 ``attiny167`` - 16 Mhz ``16000000L`` - 16 kb - - 0.5 Kb + - 0.5 Kb More detailed information you can find here `Digistump Development Boards `_. diff --git a/docs/platforms/atmelsam.rst b/docs/platforms/atmelsam.rst index 6db06f5a..796d9188 100644 --- a/docs/platforms/atmelsam.rst +++ b/docs/platforms/atmelsam.rst @@ -25,7 +25,7 @@ Packages `GDB `_ * - ``tool-bossac`` - uploader - - `Bossac `_ + - `BOSSA CLI `_ * - ``framework-arduino`` - - See below in :ref:`atmelsam_frameworks` @@ -48,7 +48,7 @@ Frameworks - Name - Reference * - ``arduino`` - - Arduino Wiring-based Framework + - Arduino Wiring-based Framework (SAM Core, 1.6) - `Documentation `_ diff --git a/docs/platforms/creating_platform.rst b/docs/platforms/creating_platform.rst index b4a65b96..5347be01 100644 --- a/docs/platforms/creating_platform.rst +++ b/docs/platforms/creating_platform.rst @@ -59,21 +59,48 @@ Packages * - ``tool-avrdude`` - uploader - `AVRDUDE `_ + * - ``tool-bossac`` + - uploader + - `BOSSA CLI `_ + * - ``tool-micronucleus`` + - uploader + - `Micronucleus `_ * - ``tool-mspdebug`` - uploader - `MSPDebug `_ * - ``tool-lm4flash`` - uploader - `Flash Programmer `_ + * - ``tool-stlink`` + - uploader + - `STLink `_ + * - ``tool-teensy`` + - uploader + - `Teensy Loader `_ * - ``framework-arduinoavr`` - - `Arduino Wiring-based Framework (AVR Core, 1.6 branch) `_ + * - ``framework-arduinosam`` + - + - `Arduino Wiring-based Framework (SAM Core, 1.6 branch) `_ + * - ``framework-arduinoteensy`` + - + - `Arduino Wiring-based Framework `_ * - ``framework-energiamsp430`` - - `Energia Wiring-based Framework (MSP430 Core) `_ * - ``framework-energiativa`` - - `Energia Wiring-based Framework (LM4F Core) `_ + * - ``framework-cmsis`` + - + - `Vendor-independent hardware abstraction layer for the Cortex-M processor series `_ + * - ``framework-spl`` + - + - `Standard Peripheral Library for STM32 MCUs `_ + * - ``framework-opencm3`` + - + - `libOpenCM3 Framework `_ .. _platform_creating_manifest_file: diff --git a/docs/platforms/stm32.rst b/docs/platforms/stm32.rst index 0543002e..ab4000c3 100644 --- a/docs/platforms/stm32.rst +++ b/docs/platforms/stm32.rst @@ -3,7 +3,7 @@ Platform ``stm32`` ================== -`The STM32 family of 32-bit Flash microcontrollers `_ 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 `_ 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. @@ -24,7 +24,7 @@ Packages `GDB `_ * - ``tool-stlink`` - uploader - - `Flash Programmer `_ + - `STLink `_ * - ``framework-cmsis`` - - See below in :ref:`stm32_frameworks` @@ -81,21 +81,21 @@ Boards - RAM * - ``stm32ldiscovery`` - `Discovery kit for STM32L151/152 line `_ - - stm32l152rbt6 ``cortex-m3`` + - STM32L152rbt6 ``cortex-m3`` - 32 MHz ``32000000L`` - 128 Kb - 16 Kb * - ``stm32f3discovery`` - `Discovery kit for STM32F303xx microcontrollers `_ - - stm32f303vct6 ``cortex-m4`` + - STM32F303vct6 ``cortex-m4`` - 72 MHz ``72000000L`` - 256 Kb - 48 Kb * - ``stm32f4discovery`` - `Discovery kit for STM32F407/417 lines `_ - - stm32f407vgt6 ``cortex-m4`` + - STM32F407vgt6 ``cortex-m4`` - 168 Mhz ``168000000L`` - 1 Mb - 192 Kb diff --git a/docs/platforms/teensy.rst b/docs/platforms/teensy.rst index 23662d02..a60b6d02 100644 --- a/docs/platforms/teensy.rst +++ b/docs/platforms/teensy.rst @@ -28,8 +28,8 @@ Packages `SimulAVR `_ * - ``tool-teensy`` - uploader - - `Flash Programmer `_ - * - ``framework-arduino`` + - `Teensy Loader `_ + * - ``framework-arduinoteensy`` - - See below in :ref:`teensy_frameworks` @@ -73,26 +73,26 @@ Boards - Flash - RAM * - ``teensy20`` - - `Teensy USB Board, Version 2.0 `_ - - ATmega32 ``atmega32u4`` + - `Teensy 2.0 `_ + - ATmega32u4 ``atmega32u4`` - 16 MHz ``16000000L`` - 32 Kb - 2.5 Kb * - ``teensy20pp`` - - `Teensy++ USB Board, Version 2.0 `_ + - `Teensy++ 2.0 `_ - AT90USB1289 ``at90usb1286`` - 16 MHz ``16000000L`` - 128 Kb - 8 Kb * - ``teensy30`` - - `Teensy USB Board, Version 3.0 `_ - - mk20dx128 ``cortex-m4`` + - `Teensy 3.0 `_ + - MK20DX128 ``cortex-m4`` - 48 Mhz ``48000000L`` - 128 kb - 16 Kb * - ``teensy31`` - - `Teensy USB Board, Version 3.1 `_ - - mk20dx256 ``cortex-m4`` + - `Teensy 3.1 `_ + - MK20DX256 ``cortex-m4`` - 72 Mhz ``72000000L`` - 256 kb - 64 Kb diff --git a/examples/wiring-blink/platformio.ini b/examples/wiring-blink/platformio.ini index 235f344c..a1445967 100644 --- a/examples/wiring-blink/platformio.ini +++ b/examples/wiring-blink/platformio.ini @@ -1,33 +1,26 @@ -# -# Project Configuration File -# -# A detailed documentation with the EXAMPLES is located here: -# http://docs.platformio.org/en/latest/projectconf.html -# +; +; 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:arduino_uno] +[env:autogen_uno] platform = atmelavr framework = arduino board = uno -[env:LaunchPad_msp430g2553] +[env:autogen_teensy31] +platform = teensy +framework = arduino +board = teensy31 + +[env:autogen_lpmsp430g2553] platform = timsp430 framework = energia board = lpmsp430g2553 -[env:LaunchPad_lm4f120h5qr] +[env:autogen_lptm4c1230c3pm] platform = titiva framework = energia board = lptm4c1230c3pm diff --git a/examples/wiring-blink/src/main.cpp b/examples/wiring-blink/src/main.cpp index 15159de9..b1017a5e 100644 --- a/examples/wiring-blink/src/main.cpp +++ b/examples/wiring-blink/src/main.cpp @@ -1,27 +1,19 @@ -/** - * Copyright (C) Ivan Kravets - * See LICENSE for details. - */ - -/** - 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 +#ifdef ENERGIA + #include "Energia.h" +#else + #include "Arduino.h" #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 } -void loop() -{ +void loop() { digitalWrite(LED_PIN, HIGH); // set the LED on delay(1000); // wait for a second digitalWrite(LED_PIN, LOW); // set the LED off