Skip to content

Commit

Permalink
Merge branch 'release/v1.6.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
valeros committed May 30, 2022
2 parents 0ad2290 + 49c9986 commit e4ce0e8
Show file tree
Hide file tree
Showing 63 changed files with 1,339 additions and 485 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,27 +7,25 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-16.04, windows-latest, macos-latest]
python-version: [3.7]
os: [ubuntu-latest, windows-latest, macos-latest]
example:
- "examples/arduino-blink"
- "examples/arduino-external-libs"
- "examples/arduino-internal-libs"
- "examples/native-blink"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: "recursive"
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
python-version: "3.9"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -U https://github.com/platformio/platformio/archive/develop.zip
platformio platform install file://.
pio pkg install --global --platform symlink://.
- name: Build examples
run: |
platformio run -d ${{ matrix.example }}
pio run -d ${{ matrix.example }}
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# Atmel megaAVR: development platform for [PlatformIO](http://platformio.org)
# Atmel megaAVR: development platform for [PlatformIO](https://platformio.org)

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

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.

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

# Usage

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

## Stable version

Expand All @@ -32,4 +32,4 @@ board = ...

# Configuration

Please navigate to [documentation](http://docs.platformio.org/page/platforms/atmelmegaavr.html).
Please navigate to [documentation](https://docs.platformio.org/page/platforms/atmelmegaavr.html).
24 changes: 24 additions & 0 deletions boards/ATtiny1624.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"build": {
"core": "megatinycore",
"extra_flags": "-DARDUINO_attinyxy4 -DMILLIS_USE_TIMERB1 -DUARTBAUD5V",
"f_cpu": "16000000L",
"mcu": "attiny1624",
"variant": "txy4"
},
"hardware": {
"oscillator": "internal"
},
"frameworks": [
"arduino"
],
"name": "ATtiny1624",
"upload": {
"maximum_ram_size": 2048,
"maximum_size": 16384,
"protocol": "jtag2updi",
"speed": 115200
},
"url": "https://www.microchip.com/wwwproducts/en/ATTINY1624",
"vendor": "Microchip"
}
24 changes: 24 additions & 0 deletions boards/ATtiny1626.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"build": {
"core": "megatinycore",
"extra_flags": "-DARDUINO_attinyxy6 -DMILLIS_USE_TIMERB1 -DUARTBAUD5V",
"f_cpu": "16000000L",
"mcu": "attiny1626",
"variant": "txy6"
},
"hardware": {
"oscillator": "internal"
},
"frameworks": [
"arduino"
],
"name": "ATtiny1626",
"upload": {
"maximum_ram_size": 2048,
"maximum_size": 16384,
"protocol": "jtag2updi",
"speed": 115200
},
"url": "https://www.microchip.com/wwwproducts/en/ATTINY1626",
"vendor": "Microchip"
}
24 changes: 24 additions & 0 deletions boards/ATtiny1627.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"build": {
"core": "megatinycore",
"extra_flags": "-DARDUINO_attinyxy7 -DMILLIS_USE_TIMERB1 -DUARTBAUD5V",
"f_cpu": "16000000L",
"mcu": "attiny1627",
"variant": "txy7"
},
"hardware": {
"oscillator": "internal"
},
"frameworks": [
"arduino"
],
"name": "ATtiny1627",
"upload": {
"maximum_ram_size": 2048,
"maximum_size": 16384,
"protocol": "jtag2updi",
"speed": 115200
},
"url": "https://www.microchip.com/wwwproducts/en/ATTINY1627",
"vendor": "Microchip"
}
24 changes: 24 additions & 0 deletions boards/ATtiny3224.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"build": {
"core": "megatinycore",
"extra_flags": "-DARDUINO_attinyxy4 -DMILLIS_USE_TIMERB1 -DUARTBAUD5V",
"f_cpu": "16000000L",
"mcu": "attiny3224",
"variant": "txy4"
},
"hardware": {
"oscillator": "internal"
},
"frameworks": [
"arduino"
],
"name": "ATtiny3224",
"upload": {
"maximum_ram_size": 3072,
"maximum_size": 32768,
"protocol": "jtag2updi",
"speed": 115200
},
"url": "https://www.microchip.com/wwwproducts/en/ATTINY3224",
"vendor": "Microchip"
}
24 changes: 24 additions & 0 deletions boards/ATtiny3226.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"build": {
"core": "megatinycore",
"extra_flags": "-DARDUINO_attinyxy6 -DMILLIS_USE_TIMERB1 -DUARTBAUD5V",
"f_cpu": "16000000L",
"mcu": "attiny3226",
"variant": "txy6"
},
"hardware": {
"oscillator": "internal"
},
"frameworks": [
"arduino"
],
"name": "ATtiny3226",
"upload": {
"maximum_ram_size": 3072,
"maximum_size": 32768,
"protocol": "jtag2updi",
"speed": 115200
},
"url": "https://www.microchip.com/wwwproducts/en/ATTINY3226",
"vendor": "Microchip"
}
24 changes: 24 additions & 0 deletions boards/ATtiny3227.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"build": {
"core": "megatinycore",
"extra_flags": "-DARDUINO_attinyxy7 -DMILLIS_USE_TIMERB1 -DUARTBAUD5V",
"f_cpu": "16000000L",
"mcu": "attiny3227",
"variant": "txy7"
},
"hardware": {
"oscillator": "internal"
},
"frameworks": [
"arduino"
],
"name": "ATtiny3227",
"upload": {
"maximum_ram_size": 3072,
"maximum_size": 32768,
"protocol": "jtag2updi",
"speed": 115200
},
"url": "https://www.microchip.com/wwwproducts/en/ATTINY3227",
"vendor": "Microchip"
}
24 changes: 24 additions & 0 deletions boards/ATtiny424.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"build": {
"core": "megatinycore",
"extra_flags": "-DARDUINO_attinyxy4 -DMILLIS_USE_TIMERB1 -DUARTBAUD5V",
"f_cpu": "16000000L",
"mcu": "attiny424",
"variant": "txy4"
},
"hardware": {
"oscillator": "internal"
},
"frameworks": [
"arduino"
],
"name": "ATtiny424",
"upload": {
"maximum_ram_size": 512,
"maximum_size": 4096,
"protocol": "jtag2updi",
"speed": 115200
},
"url": "https://www.microchip.com/wwwproducts/en/ATTINY424",
"vendor": "Microchip"
}
24 changes: 24 additions & 0 deletions boards/ATtiny426.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"build": {
"core": "megatinycore",
"extra_flags": "-DARDUINO_attinyxy6 -DMILLIS_USE_TIMERB1 -DUARTBAUD5V",
"f_cpu": "16000000L",
"mcu": "attiny426",
"variant": "txy6"
},
"hardware": {
"oscillator": "internal"
},
"frameworks": [
"arduino"
],
"name": "ATtiny426",
"upload": {
"maximum_ram_size": 512,
"maximum_size": 4096,
"protocol": "jtag2updi",
"speed": 115200
},
"url": "https://www.microchip.com/wwwproducts/en/ATTINY426",
"vendor": "Microchip"
}
24 changes: 24 additions & 0 deletions boards/ATtiny427.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"build": {
"core": "megatinycore",
"extra_flags": "-DARDUINO_attinyxy7 -DMILLIS_USE_TIMERB1 -DUARTBAUD5V",
"f_cpu": "16000000L",
"mcu": "attiny427",
"variant": "txy7"
},
"hardware": {
"oscillator": "internal"
},
"frameworks": [
"arduino"
],
"name": "ATtiny427",
"upload": {
"maximum_ram_size": 512,
"maximum_size": 4096,
"protocol": "jtag2updi",
"speed": 115200
},
"url": "https://www.microchip.com/wwwproducts/en/ATTINY427",
"vendor": "Microchip"
}
24 changes: 24 additions & 0 deletions boards/ATtiny824.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"build": {
"core": "megatinycore",
"extra_flags": "-DARDUINO_attinyxy4 -DMILLIS_USE_TIMERB1 -DUARTBAUD5V",
"f_cpu": "16000000L",
"mcu": "attiny824",
"variant": "txy4"
},
"hardware": {
"oscillator": "internal"
},
"frameworks": [
"arduino"
],
"name": "ATtiny824",
"upload": {
"maximum_ram_size": 1024,
"maximum_size": 8192,
"protocol": "jtag2updi",
"speed": 115200
},
"url": "https://www.microchip.com/wwwproducts/en/ATTINY824",
"vendor": "Microchip"
}
24 changes: 24 additions & 0 deletions boards/ATtiny826.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"build": {
"core": "megatinycore",
"extra_flags": "-DARDUINO_attinyxy6 -DMILLIS_USE_TIMERB1 -DUARTBAUD5V",
"f_cpu": "16000000L",
"mcu": "attiny826",
"variant": "txy6"
},
"hardware": {
"oscillator": "internal"
},
"frameworks": [
"arduino"
],
"name": "ATtiny826",
"upload": {
"maximum_ram_size": 1024,
"maximum_size": 8192,
"protocol": "jtag2updi",
"speed": 115200
},
"url": "https://www.microchip.com/wwwproducts/en/ATTINY826",
"vendor": "Microchip"
}
24 changes: 24 additions & 0 deletions boards/ATtiny827.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"build": {
"core": "megatinycore",
"extra_flags": "-DARDUINO_attinyxy7 -DMILLIS_USE_TIMERB1 -DUARTBAUD5V",
"f_cpu": "16000000L",
"mcu": "attiny827",
"variant": "txy7"
},
"hardware": {
"oscillator": "internal"
},
"frameworks": [
"arduino"
],
"name": "ATtiny827",
"upload": {
"maximum_ram_size": 1024,
"maximum_size": 8192,
"protocol": "jtag2updi",
"speed": 115200
},
"url": "https://www.microchip.com/wwwproducts/en/ATTINY827",
"vendor": "Microchip"
}
24 changes: 24 additions & 0 deletions boards/AVR128DA28.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"build": {
"core": "dxcore",
"extra_flags": "-DARDUINO_AVR_AVR128DA28 -DARDUINO_avrda",
"f_cpu": "24000000L",
"mcu": "avr128da28",
"variant": "28pin-standard"
},
"hardware": {
"oscillator": "internal"
},
"frameworks": [
"arduino"
],
"name": "AVR128DA28",
"upload": {
"maximum_ram_size": 16384,
"maximum_size": 131072,
"protocol": "jtag2updi",
"speed": 115200
},
"url": "https://www.microchip.com/wwwproducts/en/AVR128DA28",
"vendor": "Microchip"
}
Loading

0 comments on commit e4ce0e8

Please sign in to comment.