Skip to content

Commit cd4754a

Browse files
Merge branch 'arduino:master' into master
2 parents a3ac9d1 + 0c853c5 commit cd4754a

File tree

101 files changed

+19278
-120
lines changed

Some content is hidden

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

101 files changed

+19278
-120
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
name: API deprecation
3+
about: Suggest the deprecation of an API component defined by ArduinoCore-API.
4+
title: ""
5+
labels: enhancement
6+
assignees: ""
7+
---
8+
9+
### API component
10+
11+
<!-- Tell us which API component the deprecation applies to. -->
12+
13+
### Description
14+
15+
<!-- A clear and concise description of the suggestion. -->
16+
<!-- What is the reason for the deprecation? -->
17+
18+
### Replacement API component
19+
20+
<!-- What should be used instead of the deprecated API component? -->
21+
<!-- Is this replacement available to all users (e.g., is it provided by the C++ standard version used in major boards platforms)? -->
22+
23+
### Additional information
24+
25+
<!-- Add any other context for the suggestion here. -->
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
name: API improvement
3+
about: Suggest an improvement to an existing API component.
4+
title: ""
5+
labels: enhancement
6+
assignees: ""
7+
---
8+
9+
### API component
10+
11+
<!-- Tell us which API component the improvement applies to. -->
12+
13+
### Description
14+
15+
<!-- A clear and concise description of the suggestion. -->
16+
17+
### Is this a breaking change?
18+
19+
<!-- Would this change require any users to change their code? -->
20+
<!-- Would this change require any boards platform authors to change their configuration files or release system? -->
21+
22+
### Additional information
23+
24+
<!-- Add any other context for the request here. -->
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
name: Bug report
3+
about: Report problems with the code in this repository.
4+
title: ""
5+
labels: bug
6+
assignees: ""
7+
---
8+
9+
### Description
10+
11+
<!-- A clear and concise description of the bug. -->
12+
13+
### Environment
14+
15+
- Boards platform name:
16+
- Boards platform version (as shown in Boards Manager):
17+
- ArduinoCore-API version (if you manually installed it):
18+
19+
### Current behavior
20+
21+
<!-- Provide a minimal sketch that demonstrates the issue. -->
22+
23+
### Expected behavior
24+
25+
<!-- Describe what you expect to happen when the demonstration sketch is run. -->
26+
27+
### Additional information
28+
29+
<!-- Add any other context about the problem here. -->

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
contact_links:
2+
- name: Learn about the Arduino language
3+
url: https://www.arduino.cc/reference/en
4+
about: User documentation is available at the Arduino language reference.
5+
- name: Support request
6+
url: https://forum.arduino.cc/
7+
about: We can help you out on the Arduino Forum!
8+
- name: Discuss ArduinoCore-API development
9+
url: https://groups.google.com/a/arduino.cc/g/developers
10+
about: Arduino Developers Mailing List
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
name: New API component
3+
about: Suggest the addition of a new API component to ArduinoCore-API.
4+
title: ""
5+
labels: enhancement
6+
assignees: ""
7+
---
8+
9+
### Description
10+
11+
<!-- A clear and concise description of the API component you want added. -->
12+
13+
### Additional information
14+
15+
<!-- Add any other context for the request here. -->
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
name: Other enhancement
3+
about:
4+
Suggest an improvement for this project that doesn't fit in the specific categories
5+
above.
6+
title: ""
7+
labels: enhancement
8+
assignees: ""
9+
---
10+
11+
### Description
12+
13+
<!-- A clear and concise description of the enhancement. -->
14+
15+
### Is this a breaking change?
16+
17+
<!-- Would this change require any users to change their code? -->
18+
<!-- Would this change require any boards platform authors to change their configuration files or release system? -->
19+
20+
### Additional information
21+
22+
<!-- Add any other context for the request here. -->

.github/workflows/unit-tests.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,9 @@ jobs:
3838
coverage-data-path: ${{ env.COVERAGE_DATA_PATH }}
3939

4040
# See: https://github.com/codecov/codecov-action/blob/master/README.md
41-
- name: Upload coverage report to Codecov
42-
uses: codecov/codecov-action@v1
41+
- name: Code coverage
42+
uses: codecov/codecov-action@v3
4343
with:
44-
file: ${{ env.COVERAGE_DATA_PATH }}
44+
token: ${{ secrets.CODECOV_TOKEN }}
45+
files: ${{ env.COVERAGE_DATA_PATH }}
4546
fail_ci_if_error: true

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.vscode/
2+
.idea/

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ As of now, the following official cores are utilising ArduinoCore-API:
1313
* [megaavr](https://github.com/arduino/ArduinoCore-megaAVR)
1414
* [mbed](https://github.com/arduino/ArduinoCore-mbed)
1515
* [samd](https://github.com/arduino/ArduinoCore-samd)
16+
* [renesas](https://github.com/arduino/ArduinoCore-renesas)
1617

1718
There's an ongoing effort to port the others, while maintainers of third-party cores are strongly invited to follow the same route in order to stay up-to-date with the new language features. For backwards compatibility, every revision of this repo will increase the `ARDUINO_API_VERSION` define.
1819

@@ -77,6 +78,13 @@ In order to compile a core which is implementing ArduinoCore-API you'll need to
7778
tar --exclude='*.git*' -cjhvf $yourcore-$version.tar.bz2 $yourcore/
7879
```
7980

81+
The API is coded to the C++11 standard and the core's compiler must be able to support that version of the language.
82+
83+
Documentation for how to integrate with a Arduino core (which is necessary if you do not download the Arduino core via the Boards Manager) can be found here:
84+
* [ArduinoCore-megaavr](https://github.com/arduino/ArduinoCore-megaavr#developing)
85+
* [ArduinoCore-mbed](https://github.com/arduino/ArduinoCore-mbed#clone-the-repository-in-sketchbookhardwarearduino-git)
86+
* [ArduinoCore-samd](https://github.com/arduino/ArduinoCore-samd/#developing)
87+
8088
## Donations
8189

8290
This open source code is maintained by Arduino with the help of the community. We invest a considerable amount of time in testing code, optimizing it and introducing new features. Please consider [donating](https://www.arduino.cc/en/donate/) or [sponsoring](https://github.com/sponsors/arduino) to support our work, as well as [buying original Arduino boards](https://store.arduino.cc) which is the best way to make sure our effort can continue in the long term.

api/ArduinoAPI.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
#ifndef ARDUINO_API_H
2121
#define ARDUINO_API_H
2222

23-
// version 1.3.0
24-
#define ARDUINO_API_VERSION 10300
23+
// version 1.5.0
24+
#define ARDUINO_API_VERSION 10500
2525

2626
#include "Binary.h"
2727

0 commit comments

Comments
 (0)