Skip to content

Commit

Permalink
Merge branch 'release/v7.1.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
valeros committed Jan 28, 2022
2 parents cfb7014 + 45f45b3 commit 293007a
Show file tree
Hide file tree
Showing 28 changed files with 334 additions and 477 deletions.
4 changes: 2 additions & 2 deletions builder/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,13 @@ def BeforeUpload(target, source, env): # pylint: disable=W0613,W0621
build_mcu = env.get("BOARD_MCU", board.get("build.mcu", ""))

env.Replace(
AR="arm-none-eabi-ar",
AR="arm-none-eabi-gcc-ar",
AS="arm-none-eabi-as",
CC="arm-none-eabi-gcc",
CXX="arm-none-eabi-g++",
GDB="arm-none-eabi-gdb",
OBJCOPY="arm-none-eabi-objcopy",
RANLIB="arm-none-eabi-ranlib",
RANLIB="arm-none-eabi-gcc-ranlib",
SIZETOOL="arm-none-eabi-size",

ARFLAGS=["rc"],
Expand Down
27 changes: 27 additions & 0 deletions examples/arduino-blink/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
How to build PlatformIO based project
=====================================

1. [Install PlatformIO Core](http://docs.platformio.org/page/core.html)
2. Download [development platform with examples](https://github.com/platformio/platform-atmelsam/archive/develop.zip)
3. Extract ZIP archive
4. Run these commands:

```shell
# Change directory to example
$ cd platform-atmelsam/examples/arduino-blink

# Build project
$ pio run

# Upload firmware
$ pio run --target upload

# Build specific environment
$ pio run -e due

# Upload firmware for the specific environment
$ pio run -e due --target upload

# Clean build files
$ pio run --target clean
```
38 changes: 0 additions & 38 deletions examples/arduino-blink/README.rst

This file was deleted.

27 changes: 27 additions & 0 deletions examples/arduino-briki-internal-libs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
How to build PlatformIO based project
=====================================

1. [Install PlatformIO Core](http://docs.platformio.org/page/core.html)
2. Download [development platform with examples](https://github.com/platformio/platform-atmelsam/archive/develop.zip)
3. Extract ZIP archive
4. Run these commands:

```shell
# Change directory to example
$ cd platform-atmelsam/examples/arduino-briki-internal-libs

# Build project
$ pio run

# Upload firmware
$ pio run --target upload

# Build specific environment
$ pio run -e briki_mbcwb_samd21

# Upload firmware for the specific environment
$ pio run -e briki_mbcwb_samd21 --target upload

# Clean build files
$ pio run --target clean
```
38 changes: 0 additions & 38 deletions examples/arduino-briki-internal-libs/README.rst

This file was deleted.

27 changes: 27 additions & 0 deletions examples/arduino-external-libs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
How to build PlatformIO based project
=====================================

1. [Install PlatformIO Core](http://docs.platformio.org/page/core.html)
2. Download [development platform with examples](https://github.com/platformio/platform-atmelsam/archive/develop.zip)
3. Extract ZIP archive
4. Run these commands:

```shell
# Change directory to example
$ cd platform-atmelsam/examples/arduino-external-libs

# Build project
$ pio run

# Upload firmware
$ pio run --target upload

# Build specific environment
$ pio run -e due

# Upload firmware for the specific environment
$ pio run -e due --target upload

# Clean build files
$ pio run --target clean
```
38 changes: 0 additions & 38 deletions examples/arduino-external-libs/README.rst

This file was deleted.

27 changes: 27 additions & 0 deletions examples/arduino-internal-libs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
How to build PlatformIO based project
=====================================

1. [Install PlatformIO Core](http://docs.platformio.org/page/core.html)
2. Download [development platform with examples](https://github.com/platformio/platform-atmelsam/archive/develop.zip)
3. Extract ZIP archive
4. Run these commands:

```shell
# Change directory to example
$ cd platform-atmelsam/examples/arduino-internal-libs

# Build project
$ pio run

# Upload firmware
$ pio run --target upload

# Build specific environment
$ pio run -e due

# Upload firmware for the specific environment
$ pio run -e due --target upload

# Clean build files
$ pio run --target clean
```
38 changes: 0 additions & 38 deletions examples/arduino-internal-libs/README.rst

This file was deleted.

21 changes: 21 additions & 0 deletions examples/arduino-web-thing-led/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
How to build PlatformIO based project
=====================================

1. [Install PlatformIO Core](http://docs.platformio.org/page/core.html)
2. Download [development platform with examples](https://github.com/platformio/platform-atmelsam/archive/develop.zip)
3. Extract ZIP archive
4. Run these commands:

```shell
# Change directory to example
$ cd platform-atmelsam/examples/arduino-web-thing-led

# Build project
$ pio run

# Upload firmware
$ pio run --target upload

# Clean build files
$ pio run --target clean
```
32 changes: 0 additions & 32 deletions examples/arduino-web-thing-led/README.rst

This file was deleted.

27 changes: 27 additions & 0 deletions examples/mbed-blink/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
How to build PlatformIO based project
=====================================

1. [Install PlatformIO Core](http://docs.platformio.org/page/core.html)
2. Download [development platform with examples](https://github.com/platformio/platform-atmelsam/archive/develop.zip)
3. Extract ZIP archive
4. Run these commands:

```shell
# Change directory to example
$ cd platform-atmelsam/examples/mbed-blink

# Build project
$ pio run

# Upload firmware
$ pio run --target upload

# Build specific environment
$ pio run -e samd21_xpro

# Upload firmware for the specific environment
$ pio run -e samd21_xpro --target upload

# Clean build files
$ pio run --target clean
```
Loading

0 comments on commit 293007a

Please sign in to comment.