Skip to content

Commit e4ce0e8

Browse files
committed
Merge branch 'release/v1.6.0'
2 parents 0ad2290 + 49c9986 commit e4ce0e8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+1339
-485
lines changed

.github/workflows/examples.yml

+7-9
Original file line numberDiff line numberDiff line change
@@ -7,27 +7,25 @@ jobs:
77
strategy:
88
fail-fast: false
99
matrix:
10-
os: [ubuntu-16.04, windows-latest, macos-latest]
11-
python-version: [3.7]
10+
os: [ubuntu-latest, windows-latest, macos-latest]
1211
example:
1312
- "examples/arduino-blink"
1413
- "examples/arduino-external-libs"
1514
- "examples/arduino-internal-libs"
1615
- "examples/native-blink"
1716
runs-on: ${{ matrix.os }}
1817
steps:
19-
- uses: actions/checkout@v2
18+
- uses: actions/checkout@v3
2019
with:
2120
submodules: "recursive"
22-
- name: Set up Python ${{ matrix.python-version }}
23-
uses: actions/setup-python@v1
21+
- name: Set up Python
22+
uses: actions/setup-python@v3
2423
with:
25-
python-version: ${{ matrix.python-version }}
24+
python-version: "3.9"
2625
- name: Install dependencies
2726
run: |
28-
python -m pip install --upgrade pip
2927
pip install -U https://github.com/platformio/platformio/archive/develop.zip
30-
platformio platform install file://.
28+
pio pkg install --global --platform symlink://.
3129
- name: Build examples
3230
run: |
33-
platformio run -d ${{ matrix.example }}
31+
pio run -d ${{ matrix.example }}

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
# Atmel megaAVR: development platform for [PlatformIO](http://platformio.org)
1+
# Atmel megaAVR: development platform for [PlatformIO](https://platformio.org)
22

33
[![Build Status](https://github.com/platformio/platform-atmelmegaavr/workflows/Examples/badge.svg)](https://github.com/platformio/platform-atmelmegaavr/actions)
44

55
Microchip's megaAVR is suitable for applications requiring large amounts of code and offers substantial program and data memories with performance up to 20 MIPS. Based on industry-leading, proven technology, the megaAVR family offers Microchip's widest selection of devices in terms of memories, pin counts, and peripherals.
66

7-
* [Home](http://platformio.org/platforms/atmelmegaavr) (home page in PlatformIO Platform Registry)
8-
* [Documentation](http://docs.platformio.org/page/platforms/atmelmegaavr.html) (advanced usage, packages, boards, frameworks, etc.)
7+
* [Home](https://registry.platformio.org/platforms/platformio/atmelmegaavr) (home page in the PlatformIO Registry)
8+
* [Documentation](https://docs.platformio.org/page/platforms/atmelmegaavr.html) (advanced usage, packages, boards, frameworks, etc.)
99

1010
# Usage
1111

12-
1. [Install PlatformIO](http://platformio.org)
13-
2. Create PlatformIO project and configure a platform option in [platformio.ini](http://docs.platformio.org/page/projectconf.html) file:
12+
1. [Install PlatformIO](https://platformio.org)
13+
2. Create PlatformIO project and configure a platform option in [platformio.ini](https://docs.platformio.org/page/projectconf.html) file:
1414

1515
## Stable version
1616

@@ -32,4 +32,4 @@ board = ...
3232

3333
# Configuration
3434

35-
Please navigate to [documentation](http://docs.platformio.org/page/platforms/atmelmegaavr.html).
35+
Please navigate to [documentation](https://docs.platformio.org/page/platforms/atmelmegaavr.html).

boards/ATtiny1624.json

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"build": {
3+
"core": "megatinycore",
4+
"extra_flags": "-DARDUINO_attinyxy4 -DMILLIS_USE_TIMERB1 -DUARTBAUD5V",
5+
"f_cpu": "16000000L",
6+
"mcu": "attiny1624",
7+
"variant": "txy4"
8+
},
9+
"hardware": {
10+
"oscillator": "internal"
11+
},
12+
"frameworks": [
13+
"arduino"
14+
],
15+
"name": "ATtiny1624",
16+
"upload": {
17+
"maximum_ram_size": 2048,
18+
"maximum_size": 16384,
19+
"protocol": "jtag2updi",
20+
"speed": 115200
21+
},
22+
"url": "https://www.microchip.com/wwwproducts/en/ATTINY1624",
23+
"vendor": "Microchip"
24+
}

boards/ATtiny1626.json

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"build": {
3+
"core": "megatinycore",
4+
"extra_flags": "-DARDUINO_attinyxy6 -DMILLIS_USE_TIMERB1 -DUARTBAUD5V",
5+
"f_cpu": "16000000L",
6+
"mcu": "attiny1626",
7+
"variant": "txy6"
8+
},
9+
"hardware": {
10+
"oscillator": "internal"
11+
},
12+
"frameworks": [
13+
"arduino"
14+
],
15+
"name": "ATtiny1626",
16+
"upload": {
17+
"maximum_ram_size": 2048,
18+
"maximum_size": 16384,
19+
"protocol": "jtag2updi",
20+
"speed": 115200
21+
},
22+
"url": "https://www.microchip.com/wwwproducts/en/ATTINY1626",
23+
"vendor": "Microchip"
24+
}

boards/ATtiny1627.json

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"build": {
3+
"core": "megatinycore",
4+
"extra_flags": "-DARDUINO_attinyxy7 -DMILLIS_USE_TIMERB1 -DUARTBAUD5V",
5+
"f_cpu": "16000000L",
6+
"mcu": "attiny1627",
7+
"variant": "txy7"
8+
},
9+
"hardware": {
10+
"oscillator": "internal"
11+
},
12+
"frameworks": [
13+
"arduino"
14+
],
15+
"name": "ATtiny1627",
16+
"upload": {
17+
"maximum_ram_size": 2048,
18+
"maximum_size": 16384,
19+
"protocol": "jtag2updi",
20+
"speed": 115200
21+
},
22+
"url": "https://www.microchip.com/wwwproducts/en/ATTINY1627",
23+
"vendor": "Microchip"
24+
}

boards/ATtiny3224.json

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"build": {
3+
"core": "megatinycore",
4+
"extra_flags": "-DARDUINO_attinyxy4 -DMILLIS_USE_TIMERB1 -DUARTBAUD5V",
5+
"f_cpu": "16000000L",
6+
"mcu": "attiny3224",
7+
"variant": "txy4"
8+
},
9+
"hardware": {
10+
"oscillator": "internal"
11+
},
12+
"frameworks": [
13+
"arduino"
14+
],
15+
"name": "ATtiny3224",
16+
"upload": {
17+
"maximum_ram_size": 3072,
18+
"maximum_size": 32768,
19+
"protocol": "jtag2updi",
20+
"speed": 115200
21+
},
22+
"url": "https://www.microchip.com/wwwproducts/en/ATTINY3224",
23+
"vendor": "Microchip"
24+
}

boards/ATtiny3226.json

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"build": {
3+
"core": "megatinycore",
4+
"extra_flags": "-DARDUINO_attinyxy6 -DMILLIS_USE_TIMERB1 -DUARTBAUD5V",
5+
"f_cpu": "16000000L",
6+
"mcu": "attiny3226",
7+
"variant": "txy6"
8+
},
9+
"hardware": {
10+
"oscillator": "internal"
11+
},
12+
"frameworks": [
13+
"arduino"
14+
],
15+
"name": "ATtiny3226",
16+
"upload": {
17+
"maximum_ram_size": 3072,
18+
"maximum_size": 32768,
19+
"protocol": "jtag2updi",
20+
"speed": 115200
21+
},
22+
"url": "https://www.microchip.com/wwwproducts/en/ATTINY3226",
23+
"vendor": "Microchip"
24+
}

boards/ATtiny3227.json

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"build": {
3+
"core": "megatinycore",
4+
"extra_flags": "-DARDUINO_attinyxy7 -DMILLIS_USE_TIMERB1 -DUARTBAUD5V",
5+
"f_cpu": "16000000L",
6+
"mcu": "attiny3227",
7+
"variant": "txy7"
8+
},
9+
"hardware": {
10+
"oscillator": "internal"
11+
},
12+
"frameworks": [
13+
"arduino"
14+
],
15+
"name": "ATtiny3227",
16+
"upload": {
17+
"maximum_ram_size": 3072,
18+
"maximum_size": 32768,
19+
"protocol": "jtag2updi",
20+
"speed": 115200
21+
},
22+
"url": "https://www.microchip.com/wwwproducts/en/ATTINY3227",
23+
"vendor": "Microchip"
24+
}

boards/ATtiny424.json

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"build": {
3+
"core": "megatinycore",
4+
"extra_flags": "-DARDUINO_attinyxy4 -DMILLIS_USE_TIMERB1 -DUARTBAUD5V",
5+
"f_cpu": "16000000L",
6+
"mcu": "attiny424",
7+
"variant": "txy4"
8+
},
9+
"hardware": {
10+
"oscillator": "internal"
11+
},
12+
"frameworks": [
13+
"arduino"
14+
],
15+
"name": "ATtiny424",
16+
"upload": {
17+
"maximum_ram_size": 512,
18+
"maximum_size": 4096,
19+
"protocol": "jtag2updi",
20+
"speed": 115200
21+
},
22+
"url": "https://www.microchip.com/wwwproducts/en/ATTINY424",
23+
"vendor": "Microchip"
24+
}

boards/ATtiny426.json

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"build": {
3+
"core": "megatinycore",
4+
"extra_flags": "-DARDUINO_attinyxy6 -DMILLIS_USE_TIMERB1 -DUARTBAUD5V",
5+
"f_cpu": "16000000L",
6+
"mcu": "attiny426",
7+
"variant": "txy6"
8+
},
9+
"hardware": {
10+
"oscillator": "internal"
11+
},
12+
"frameworks": [
13+
"arduino"
14+
],
15+
"name": "ATtiny426",
16+
"upload": {
17+
"maximum_ram_size": 512,
18+
"maximum_size": 4096,
19+
"protocol": "jtag2updi",
20+
"speed": 115200
21+
},
22+
"url": "https://www.microchip.com/wwwproducts/en/ATTINY426",
23+
"vendor": "Microchip"
24+
}

boards/ATtiny427.json

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"build": {
3+
"core": "megatinycore",
4+
"extra_flags": "-DARDUINO_attinyxy7 -DMILLIS_USE_TIMERB1 -DUARTBAUD5V",
5+
"f_cpu": "16000000L",
6+
"mcu": "attiny427",
7+
"variant": "txy7"
8+
},
9+
"hardware": {
10+
"oscillator": "internal"
11+
},
12+
"frameworks": [
13+
"arduino"
14+
],
15+
"name": "ATtiny427",
16+
"upload": {
17+
"maximum_ram_size": 512,
18+
"maximum_size": 4096,
19+
"protocol": "jtag2updi",
20+
"speed": 115200
21+
},
22+
"url": "https://www.microchip.com/wwwproducts/en/ATTINY427",
23+
"vendor": "Microchip"
24+
}

boards/ATtiny824.json

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"build": {
3+
"core": "megatinycore",
4+
"extra_flags": "-DARDUINO_attinyxy4 -DMILLIS_USE_TIMERB1 -DUARTBAUD5V",
5+
"f_cpu": "16000000L",
6+
"mcu": "attiny824",
7+
"variant": "txy4"
8+
},
9+
"hardware": {
10+
"oscillator": "internal"
11+
},
12+
"frameworks": [
13+
"arduino"
14+
],
15+
"name": "ATtiny824",
16+
"upload": {
17+
"maximum_ram_size": 1024,
18+
"maximum_size": 8192,
19+
"protocol": "jtag2updi",
20+
"speed": 115200
21+
},
22+
"url": "https://www.microchip.com/wwwproducts/en/ATTINY824",
23+
"vendor": "Microchip"
24+
}

boards/ATtiny826.json

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"build": {
3+
"core": "megatinycore",
4+
"extra_flags": "-DARDUINO_attinyxy6 -DMILLIS_USE_TIMERB1 -DUARTBAUD5V",
5+
"f_cpu": "16000000L",
6+
"mcu": "attiny826",
7+
"variant": "txy6"
8+
},
9+
"hardware": {
10+
"oscillator": "internal"
11+
},
12+
"frameworks": [
13+
"arduino"
14+
],
15+
"name": "ATtiny826",
16+
"upload": {
17+
"maximum_ram_size": 1024,
18+
"maximum_size": 8192,
19+
"protocol": "jtag2updi",
20+
"speed": 115200
21+
},
22+
"url": "https://www.microchip.com/wwwproducts/en/ATTINY826",
23+
"vendor": "Microchip"
24+
}

boards/ATtiny827.json

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"build": {
3+
"core": "megatinycore",
4+
"extra_flags": "-DARDUINO_attinyxy7 -DMILLIS_USE_TIMERB1 -DUARTBAUD5V",
5+
"f_cpu": "16000000L",
6+
"mcu": "attiny827",
7+
"variant": "txy7"
8+
},
9+
"hardware": {
10+
"oscillator": "internal"
11+
},
12+
"frameworks": [
13+
"arduino"
14+
],
15+
"name": "ATtiny827",
16+
"upload": {
17+
"maximum_ram_size": 1024,
18+
"maximum_size": 8192,
19+
"protocol": "jtag2updi",
20+
"speed": 115200
21+
},
22+
"url": "https://www.microchip.com/wwwproducts/en/ATTINY827",
23+
"vendor": "Microchip"
24+
}

boards/AVR128DA28.json

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"build": {
3+
"core": "dxcore",
4+
"extra_flags": "-DARDUINO_AVR_AVR128DA28 -DARDUINO_avrda",
5+
"f_cpu": "24000000L",
6+
"mcu": "avr128da28",
7+
"variant": "28pin-standard"
8+
},
9+
"hardware": {
10+
"oscillator": "internal"
11+
},
12+
"frameworks": [
13+
"arduino"
14+
],
15+
"name": "AVR128DA28",
16+
"upload": {
17+
"maximum_ram_size": 16384,
18+
"maximum_size": 131072,
19+
"protocol": "jtag2updi",
20+
"speed": 115200
21+
},
22+
"url": "https://www.microchip.com/wwwproducts/en/AVR128DA28",
23+
"vendor": "Microchip"
24+
}

0 commit comments

Comments
 (0)