Skip to content

Commit 5613f5b

Browse files
Merge pull request #6 from stm32duino/main
Update fork to be in line with stm32duino main
2 parents aa563b0 + 6479b8a commit 5613f5b

File tree

6,751 files changed

+1708794
-171090
lines changed

Some content is hidden

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

6,751 files changed

+1708794
-171090
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,25 @@
11
---
2-
name: Bug report
3-
about: Create a report to help us improve
2+
name: "\U0001F41B Bug report"
3+
about: Report a bug or unexpected behavior while using the STM32 core
44
title: ''
5-
labels: ''
5+
labels: bug
66
assignees: ''
77

88
---
99

1010
**Please, before reporting any issue**
1111
- Make sure you are using the latest Arduino_Core_STM32 version.
1212
https://github.com/stm32duino/Arduino_Core_STM32/releases/latest
13-
- Make sure the issue is not already reported/fixed on GitHub or discussed on the [stm32duino forum](http://stm32duino.com)
13+
- Make sure the issue is not already reported/fixed on GitHub or discussed on the [stm32duino forum](https://stm32duino.com)
1414
- Submit a GitHub issue only for reporting a problem related to the [Arduino_Core_STM32](https://github.com/stm32duino/Arduino_Core_STM32).
1515
- **Avoid** to submit a GitHub issue for project troubleshooting.
16-
17-
Any questions/feedback/suggestions should be discussed on the [stm32duino forum](http://stm32duino.com):
18-
* questions on the [STM32 Core](http://stm32duino.com/viewforum.php?f=35)
19-
* bugs/enhancements on the [STM core: Bugs and enhancements](http://stm32duino.com/viewforum.php?f=38)
2016

21-
When reporting any issue, please try to provide all relevant information:
17+
Any questions/feedback/suggestions should be discussed on the [stm32duino forum](https://stm32duino.com):
18+
* questions on the [STM32 Core](https://www.stm32duino.com/viewforum.php?f=35)
19+
* bugs/enhancements on the [STM core: Bugs and enhancements](https://www.stm32duino.com/viewforum.php?f=38)
20+
21+
22+
⚠ When reporting any issue, please try to provide all relevant information to help on its resolution.
2223

2324
**Describe the bug**
2425
A clear and concise description of what the bug is.
@@ -42,7 +43,7 @@ If applicable, add screenshots to help explain your problem.
4243
- Arduino IDE version: [e.g. 1.8.8]
4344
- STM32 core version: [e.g. 1.4.0]
4445
- Tools menu settings if not the default: [e.g. Newlib Standard, No Serial]
45-
- Upload method: [e.g. STLink]
46+
- Upload method: [e.g. SWD]
4647

4748
**Board (please complete the following information):**
4849
- Name: [e.g. Nucleo F429ZI]

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: Ask a question
4+
about: For general-purpose questions and answers, see the Discussions section.
5+
url: https://github.com/stm32duino/Arduino_Core_STM32/discussions
6+
- name: Request support
7+
about: Please check out the Arduino for STM32 forum.
8+
url: https://www.stm32duino.com/
Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,26 @@
11
---
2-
name: Feature request/improvement
2+
name: "Feature request/improvement"
33
about: Suggest an idea or improvement for this project
44
title: ''
5-
labels: ''
5+
labels: 'enhancement'
66
assignees: ''
77

88
---
99

1010
**Is your feature request/improvement related to a problem? Please describe.**
11-
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
11+
12+
A clear and concise description of what the problem is.
1213

1314
**Describe the solution you'd like**
15+
1416
A clear and concise description of what you want to happen.
1517

1618
**Describe alternatives you've considered**
19+
1720
A clear and concise description of any alternative solutions or features you've considered.
1821

1922
**Additional context**
23+
2024
Add any other context, example or screenshots about the feature request here.
2125

2226
Any contribution is welcome, so do not hesitate to submit a PR.

.github/ISSUE_TEMPLATE/new-variant-request.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: New variant request
2+
name: "🎁 New variant request"
33
about: Request for a new board support
44
title: "[New Variant]"
55
labels: New variant

.github/actions/pio-build/entrypoint.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ platformio platform install "https://github.com/platformio/platform-ststm32.git"
1111
python3 -c "import json; import os; fp=open(os.path.expanduser('~/.platformio/platforms/ststm32/platform.json'), 'r+'); data=json.load(fp); data['packages']['framework-arduinoststm32']['version'] = '*'; del data['packages']['framework-arduinoststm32']['owner']; fp.seek(0); fp.truncate(); json.dump(data, fp); fp.close()" || {
1212
exit 1
1313
}
14+
1415
ln --symbolic "$GITHUB_WORKSPACE" "$HOME/.platformio/packages/framework-arduinoststm32" || {
1516
exit 1
1617
}
@@ -24,6 +25,6 @@ tar --extract --bzip2 --file="$CMSIS_ARCHIVE" || {
2425
cd "$GITHUB_WORKSPACE/CI/build/" || {
2526
exit 1
2627
}
27-
python3 platformio-builder.py --board=blackpill_f103c8 --board=remram_v1
28+
python3 platformio-builder.py --board=malyanm300_f070cb --board=nucleo_l152re
2829

2930
exit $?

.github/workflows/Continuous-Integration.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: STM32 Core Continuous Integration
22
on:
33
push:
44
branches:
5-
- master
5+
- main
66
paths-ignore:
77
- '*.json'
88
- '**.md'
@@ -24,18 +24,20 @@ on:
2424
- '!CI/build/examples/**'
2525
- tools/**
2626
- '!tools/platformio-build.py'
27+
# Allows you to run this workflow manually from the Actions tab
28+
workflow_dispatch:
2729
jobs:
2830
astyle_check:
2931
runs-on: ubuntu-latest
3032
name: AStyle check
3133
steps:
3234
# First of all, clone the repo using the checkout action.
3335
- name: Checkout
34-
uses: actions/checkout@master
36+
uses: actions/checkout@main
3537

3638
- name: Astyle check
3739
id: Astyle
38-
uses: stm32duino/actions/astyle-check@master
40+
uses: stm32duino/actions/astyle-check@main
3941
with:
4042
astyle-definition: 'CI/astyle/.astylerc'
4143
ignore-path-list: 'CI/astyle/.astyleignore'
@@ -52,13 +54,13 @@ jobs:
5254
steps:
5355
# First of all, clone the repo using the checkout action.
5456
- name: Checkout
55-
uses: actions/checkout@master
57+
uses: actions/checkout@main
5658

5759
- name: Compilation
5860
id: Compile
59-
uses: stm32duino/actions/compile-examples@master
61+
uses: stm32duino/actions/compile-examples@main
6062
with:
61-
additional-url: 'https://github.com/stm32duino/BoardManagerFiles/raw/dev/STM32/package_stm_index.json'
63+
additional-url: 'https://github.com/stm32duino/BoardManagerFiles/raw/dev/package_stmicroelectronics_index.json'
6264

6365
# Use the output from the `Compile` step
6466
- name: Compilation Errors
@@ -72,7 +74,7 @@ jobs:
7274
steps:
7375
# First of all, clone the repo using the checkout action.
7476
- name: Checkout
75-
uses: actions/checkout@master
77+
uses: actions/checkout@main
7678

7779
- name: PlatformIO
7880
id: Compile

.gitignore

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ boards.local.txt
44
platform.local.txt
55
path_config.json
66
update_config.json
7+
variant_config.json
78

89
# Backup
910
*.bak
@@ -30,8 +31,4 @@ __pycache__/
3031

3132
# VisualStudioCode
3233
.vscode/*
33-
!.vscode/settings.json
34-
!.vscode/tasks.json
35-
!.vscode/launch.json
36-
!.vscode/extensions.json
37-
*.code-workspace
34+
*.code-workspace

.travis.yml.old

Lines changed: 0 additions & 93 deletions
This file was deleted.

CI/astyle/astyle.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
ignore_path = os.path.join(script_path, ignore_filename)
2525
def_path = os.path.join(script_path, def_filename)
2626
astyle_out_path = astyle_out_filename
27-
git_branch = "remotes/origin/master"
27+
git_branch = "remotes/origin/main"
2828

2929
astyle_major = 3
3030
astyle_minor = 1

0 commit comments

Comments
 (0)