Skip to content

Commit

Permalink
Merge branch 'release/v3.0.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
valeros committed Dec 2, 2021
2 parents fdf16e2 + 3bb8d16 commit 4582db2
Show file tree
Hide file tree
Showing 20 changed files with 15,270 additions and 4,181 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-16.04, windows-latest, macos-latest]
python-version: [2.7, 3.7]
os: [ubuntu-18.04, windows-latest, macos-latest]
python-version: [3.7]
example:
- "examples/arduino-blink"
- "examples/arduino-internal-libs"
Expand Down
4 changes: 2 additions & 2 deletions boards/lptm4c1230c3pm.json → boards/lptm4c123gh6pm.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
"cpu": "cortex-m4",
"extra_flags": "-DENERGIA_ARCH_TIVAC -DENERGIA_EK_TM4C123GXL",
"f_cpu": "80000000L",
"mcu": "lptm4c1230c3pm",
"mcu": "lptm4c123gh6pm",
"variant": "EK-TM4C123GXL"
},
"debug": {
"svd_path": "TM4C1230C3PM.svd",
"svd_path": "TM4C123GH6PM.svd",
"tools": {
"ti-icdi": {
"onboard": true,
Expand Down
1 change: 1 addition & 0 deletions builder/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@
else:
target_elf = env.BuildProgram()
target_firm = env.ElfToBin(join("$BUILD_DIR", "${PROGNAME}"), target_elf)
env.Depends(target_firm, "checkprogsize")

AlwaysBuild(env.Alias("nobuild", target_firm))
target_buildprog = env.Alias("buildprog", target_firm, target_firm)
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-titiva/archive/develop.zip)
3. Extract ZIP archive
4. Run these commands:

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

# Build project
$ pio run

# Upload firmware
$ pio run --target upload

# Build specific environment
$ pio run -e lplm4f120h5qr

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

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

This file was deleted.

4 changes: 2 additions & 2 deletions examples/arduino-blink/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ platform = titiva
framework = arduino
board = lplm4f120h5qr

[env:lptm4c1230c3pm]
[env:lptm4c123gh6pm]
platform = titiva
framework = arduino
board = lptm4c1230c3pm
board = lptm4c123gh6pm

[env:lptm4c1294ncpdt]
platform = titiva
Expand Down
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-titiva/archive/develop.zip)
3. Extract ZIP archive
4. Run these commands:

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

# Build project
$ pio run

# Upload firmware
$ pio run --target upload

# Build specific environment
$ pio run -e lplm4f120h5qr

# Upload firmware for the specific environment
$ pio run -e lplm4f120h5qr --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.

4 changes: 2 additions & 2 deletions examples/arduino-internal-libs/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ platform = titiva
framework = arduino
board = lplm4f120h5qr

[env:lptm4c1230c3pm]
[env:lptm4c123gh6pm]
platform = titiva
framework = arduino
board = lptm4c1230c3pm
board = lptm4c123gh6pm

[env:lptm4c1294ncpdt board]
platform = titiva
Expand Down
27 changes: 27 additions & 0 deletions examples/libopencm3-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-titiva/archive/develop.zip)
3. Extract ZIP archive
4. Run these commands:

```shell
# Change directory to example
$ cd platform-titiva/examples/libopencm3-blink

# Build project
$ pio run

# Upload firmware
$ pio run --target upload

# Build specific environment
$ pio run -e lplm4f120h5qr

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

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

This file was deleted.

4 changes: 2 additions & 2 deletions examples/libopencm3-blink/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ platform = titiva
framework = libopencm3
board = lplm4f120h5qr

[env:lptm4c1230c3pm]
[env:lptm4c123gh6pm]
platform = titiva
framework = libopencm3
board = lptm4c1230c3pm
board = lptm4c123gh6pm

[env:lptm4c1294ncpdt board]
platform = titiva
Expand Down
27 changes: 27 additions & 0 deletions examples/libopencm3-usb-cdcacm/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-titiva/archive/develop.zip)
3. Extract ZIP archive
4. Run these commands:

```shell
# Change directory to example
$ cd platform-titiva/examples/libopencm3-usb-cdcacm

# Build project
$ pio run

# Upload firmware
$ pio run --target upload

# Build specific environment
$ pio run -e lplm4f120h5qr

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

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

This file was deleted.

4 changes: 2 additions & 2 deletions examples/libopencm3-usb-cdcacm/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ platform = titiva
framework = libopencm3
board = lplm4f120h5qr

[env:lptm4c1230c3pm]
[env:lptm4c123gh6pm]
platform = titiva
framework = libopencm3
board = lptm4c1230c3pm
board = lptm4c123gh6pm

[env:lptm4c1294ncpdt board]
platform = titiva
Expand Down
27 changes: 27 additions & 0 deletions examples/native-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-titiva/archive/develop.zip)
3. Extract ZIP archive
4. Run these commands:

```shell
# Change directory to example
$ cd platform-titiva/examples/native-blink

# Build project
$ pio run

# Upload firmware
$ pio run --target upload

# Build specific environment
$ pio run -e lplm4f120h5qr

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

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

0 comments on commit 4582db2

Please sign in to comment.