Skip to content

Update #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 249 commits into from
Jun 22, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
249 commits
Select commit Hold shift + click to select a range
f4c200f
SoftwareSerial stopListening at the begining
FRASTM Dec 22, 2020
0303f55
Prevent redefine of HSE_VALUE if already user-overridden (#1281)
maxgerhardt Jan 18, 2021
830daf0
Wire: change definition of MASTER_ADDRESS to avoid potential conflict
ABOSTM Jan 18, 2021
069e474
Add bootloader support for PRNTRBoard V2.
ghent360 Jan 10, 2021
5a0dcfc
added missing ram section to linker
Dec 15, 2020
0a0b2b9
Update timer.c
ahessling Jan 28, 2021
c567a04
[L5] Update STM32L5xx HAL Drivers to v1.0.3
FRASTM Dec 2, 2020
b66f113
[L5] Update STM32L5xx CMSIS Drivers to v1.0.3
FRASTM Dec 2, 2020
f2f824d
[L5] Update wrapped files
FRASTM Dec 2, 2020
6521c41
[L5] Add STM32L5xx system source files
fpistm Jan 30, 2021
4facf26
[L5] Add STM32L5xx HAL configuration files
FRASTM Dec 2, 2020
829384e
[L5] Update core to support STM32L5xx serie
FRASTM Dec 4, 2020
eea2927
[EEPROM] STM32L5xx serie support
FRASTM Dec 10, 2020
690d51b
[L5] Set the Vddio2 Independent I/Os supply
FRASTM Dec 8, 2020
6c9a704
[L5] Update board template to reference L5
fpistm Jan 30, 2021
a12e123
Merge pull request #1249 from FRASTM/stm32L5
fpistm Feb 1, 2021
d2a731a
[WB] Move OTP interface as a bsp
fpistm Feb 2, 2021
64b7d90
Enable HSEM HAL module by default
fpistm Feb 2, 2021
d999a60
[WB] Move HSE Capacitor Tuning api to clock api file
fpistm Feb 2, 2021
5bc2384
Rework hardware semaphore usage
fpistm Feb 3, 2021
89e2f09
[WB] Add hardware semaphore management for RCC
fpistm Feb 3, 2021
82cdead
Merge pull request #1291 from fpistm/WB_fix
fpistm Feb 4, 2021
c4f9aaa
Fix warning for unused parameters
fpistm Feb 7, 2021
8160331
[USB] Manage internal pull-up
fpistm Feb 9, 2021
58f40b8
Add new bitfield to manage ADC channel bank
fpistm Feb 8, 2021
813edb9
[ADC] Manage channel bank
fpistm Feb 8, 2021
4aa0163
Merge pull request #1293 from fpistm/ADC_channel_bank
fpistm Feb 9, 2021
0cf5751
servo: optional default servo angle on attach
ABOSTM Feb 15, 2021
3361124
Enable PWR clock systematically when available
ABOSTM Mar 1, 2021
21d0602
Wire examples: rename old *.pde files to *.ino
ABOSTM Mar 9, 2021
37470b5
Fix HAL not initialized on F105x series
ttimasdf Feb 25, 2021
552a133
HardwareSerial: don't call STM32 HAL for every bytes to transfer
ABOSTM Feb 26, 2021
3bcd490
spi: wait for end of transfer before returning from spi_transfer()
ABOSTM Mar 2, 2021
0e841e5
Define USE_FULL_LL_DRIVER at top level
fpistm Mar 10, 2021
d8fad7f
Clean up Vddio2 Independent I/Os supply setting
fpistm Feb 16, 2021
db4eb1e
Clean up generic HAL conf file
fpistm Feb 4, 2021
6ec82f6
Merge pull request #1321 from fpistm/config_cleanup
fpistm Mar 10, 2021
5400d9b
DAC: STM32F3 dac may have output switch instead of output buffer
ABOSTM Mar 15, 2021
7ac20ed
DAC: remove HAL_DAC_DeInit to avoid other channel deconfiguration
ABOSTM Mar 15, 2021
01a1aa3
Merge pull request #1326 from ABOSTM/DAC_FIXES
fpistm Mar 16, 2021
01d0d55
[F4] Update STM32F4xx HAL Drivers to v1.7.11
fpistm Mar 29, 2021
ca3fa7b
[F4] Update STM32F4xx CMSIS Drivers to v2.6.6
fpistm Mar 29, 2021
1774d45
[F4] Update wrapped files
fpistm Mar 29, 2021
e826377
[F4] Remove HAL patch
fpistm Mar 29, 2021
32544f5
[F4] Update stm32f4xx_hal_conf_default.h
fpistm Mar 29, 2021
01ad3ee
[F4] Update the system source file
fpistm Mar 29, 2021
101bab1
[G4] Update STM32G4xx HAL Drivers to v1.2.1
fpistm Mar 29, 2021
b1d2c6a
[G4] Update STM32G4xx CMSIS Drivers to v1.2.1
fpistm Mar 29, 2021
52c6185
[G4] Update wrapped files
fpistm Mar 29, 2021
c8bf6e8
[G4] Fix LL FMC build issue introduce in HAL version v1.1.1
fpistm Apr 4, 2020
ebceb0b
[G4] Update the system source file
fpistm Mar 29, 2021
79d2e78
[L5] Update STM32L5xx HAL Drivers to v1.0.4
fpistm Mar 29, 2021
4fda736
[L5] Update STM32L5xx CMSIS Drivers to v1.0.4
fpistm Mar 29, 2021
dbc5416
[L5] Update wrapped files
fpistm Mar 29, 2021
fbb7951
Merge pull request #1341 from fpistm/updateL5
fpistm Mar 30, 2021
e2c9709
[MP1] Update STM32MP1xx HAL Drivers to v1.4.0
fpistm Mar 29, 2021
264693b
[MP1] Update STM32MP1xx CMSIS Drivers to v1.4.0
fpistm Mar 29, 2021
86f1b5f
[MP1] Update wrapped files
fpistm Mar 29, 2021
5704416
[MP1] Remove CMSISdevice patch
fpistm Mar 29, 2021
236ad05
Merge pull request #1340 from fpistm/updateMP1
fpistm Mar 30, 2021
5ad0fe8
Merge pull request #1338 from fpistm/UpdateF4
fpistm Mar 30, 2021
6f70b87
Merge pull request #1339 from fpistm/updateG4
fpistm Mar 30, 2021
8b2f0f6
[H7] Update STM32H7xx HAL Drivers to v1.10.0
fpistm Mar 30, 2021
44baed4
[H7] Update STM32H7xx CMSIS Drivers to v1.10.0
fpistm Mar 30, 2021
59e8879
[H7] Update stm32h7xx_hal_conf_default.h
fpistm Mar 30, 2021
0e6813c
[H7] Update the system source file
fpistm Mar 30, 2021
dad10ca
Merge pull request #1342 from fpistm/updateH7
fpistm Mar 30, 2021
50f1663
[F7] Update STM32F7xx HAL Drivers to v1.2.9
fpistm Mar 30, 2021
0fc1f07
[F7] Update STM32F7xx CMSIS Drivers to v1.2.6
fpistm Mar 30, 2021
24cbbc8
[F7] Update the system source file
fpistm Mar 30, 2021
c18cc58
Merge pull request #1343 from fpistm/updateF7
fpistm Mar 30, 2021
0628841
[L4] Update STM32L4xx HAL Drivers to v1.13.0
fpistm Mar 30, 2021
6a9567f
[L4] Update STM32L4xx CMSIS Drivers to v1.7.1
fpistm Mar 30, 2021
4da1a5f
[L4] Update wrapped files
fpistm Mar 30, 2021
9f3f053
[L4] Update the system source file
fpistm Mar 30, 2021
d8f88bd
Merge pull request #1344 from fpistm/updateL4
fpistm Mar 30, 2021
eef1fd4
[WB] Update STM32WBxx HAL Drivers to v1.8.0
fpistm Mar 30, 2021
1c4a970
[WB] Update STM32WBxx CMSIS Drivers to v1.8.0
fpistm Mar 30, 2021
e6c3055
[WB] Update wrapped files
fpistm Mar 30, 2021
2208479
[WB] Update stm32wbxx_hal_conf_default.h
fpistm Mar 30, 2021
8c7668d
[WB] Update the system source file
fpistm Mar 30, 2021
296707d
Merge pull request #1345 from fpistm/updateWB
fpistm Mar 30, 2021
1f918d8
[CI] Fix arduino-cli changes
fpistm Apr 2, 2021
3c414ec
[F4] Update STM32F4xx HAL Drivers to v1.7.12
fpistm Apr 2, 2021
66047f8
[variant] Group each variant per STM32 series
fpistm Jun 5, 2020
c64a09c
[PIO] Fix variants path changes
fpistm Jul 10, 2020
7011b58
[ThunderPack] Split variant per series
fpistm Jul 16, 2020
99c49a2
Rename PinMap_PWM to PinMap_TIM
fpistm Dec 6, 2020
7469071
Extend Arduino pin naming to the max possibilities
fpistm Dec 5, 2020
4afab84
Clean up old way to define Ax pins definition
fpistm Dec 5, 2020
0a7489d
Introduce all alternative pins per peripheral
fpistm Aug 24, 2020
ff7f85e
Rework analog pin management
fpistm Jan 29, 2021
ac2d9cc
Change Ax constants to an enum
fpistm Jan 25, 2021
0898a85
Remap pin management
fpistm Dec 8, 2020
71108a3
Add Alternate pins (ALTx) management
fpistm Jan 8, 2021
0cafa3c
Definition and comments improvements for pins management
fpistm Jan 25, 2021
da7ef68
Move genpinmap from Arduino_Tools repository
fpistm Feb 19, 2021
e4edbf4
[stm32variant] Update to generate in the core
fpistm Feb 19, 2021
49a09e9
[stm32variant] Use Mcu description
fpistm Feb 19, 2021
4fae0c7
[stm32variant] Add board_entry.txt
fpistm Feb 19, 2021
8ff95b8
[stm32variant] Add option to generate only one family
fpistm Feb 22, 2021
e6ac2bd
[stm32variant] Aggregate generated variant if they are the same
fpistm Mar 1, 2021
66d6408
[stm32variant] Add generic_clock.c generation
fpistm Feb 24, 2021
4fbc7c7
[stm32variant] Comment option to generate from one mcu file
fpistm Mar 8, 2021
677c076
Allow use of a custom peripheral pins file
fpistm Feb 24, 2021
abf08af
[CI] arduino-builder is replaced by arduino-cli
fpistm Mar 9, 2021
d046589
[stm32variant] Change generic variant generation
fpistm Mar 10, 2021
d2674fd
[stm32variant] Fix USB mode when AF is not none
fpistm Mar 27, 2021
cfd7cff
[stm32variant] Rework dirname aggregation
fpistm Mar 30, 2021
0b4c5f7
[stm32variant] Fix ALTx issue with remapped pins
fpistm Apr 8, 2021
b4cdfc8
[stm32variant] Fix AFIO definition for F1
fpistm Apr 8, 2021
8366f41
[stm32variant] Add a README.md
fpistm Apr 15, 2021
20e6e72
[stm32variant] Rename ND by PNUM_NOT_DEFINED
fpistm Apr 15, 2021
b5662d7
Add all generated STM32F0xx generic variant files
fpistm Apr 7, 2021
6b2b23d
Add all generated STM32F1xx generic variant files
fpistm Apr 7, 2021
b78ebe7
Add all generated STM32F2xx generic variant files
fpistm Apr 7, 2021
e0cfa88
Add all generated STM32F3xx generic variant files
fpistm Apr 7, 2021
046afd7
Add all generated STM32F4xx generic variant files
fpistm Apr 7, 2021
0b3dac6
Add all generated STM32F7xx generic variant files
fpistm Apr 7, 2021
4d23012
Add all generated STM32G0xx generic variant files
fpistm Apr 7, 2021
ec30479
Add all generated STM32G4xx generic variant files
fpistm Apr 7, 2021
2f7d688
Add all generated STM32H7xx generic variant files
fpistm Apr 7, 2021
e0157b7
Add all generated STM32L0xx generic variant files
fpistm Apr 7, 2021
b9e45d1
Add all generated STM32L1xx generic variant files
fpistm Apr 7, 2021
f1685bd
Add all generated STM32L4xx generic variant files
fpistm Apr 7, 2021
b04d918
Add all generated STM32L5xx generic variant files
fpistm Apr 7, 2021
7c2fddd
Add all generated STM32MP1xx generic variant files
fpistm Apr 7, 2021
f3f7c43
Add all generated STM32WBxx generic variant files
fpistm Apr 7, 2021
d71f287
Add all generated STM32WLxx generic variant files
fpistm Apr 7, 2021
7a95366
Update variant header management
fpistm Mar 11, 2021
d61905e
[variant] Add Generic L4xx
fpistm Apr 6, 2021
24c724a
[variant] Add Generic G4xx
ABOSTM Apr 7, 2021
55c761f
[variant] Add support of board B-G431B-ESC1
owennewo Mar 23, 2021
606b131
[variant] Add Generic G0xx
fpistm Apr 7, 2021
2a78e9d
Add Aurora One Variant
jhleekr Sep 15, 2020
cfd0b17
Add Nucleo G031K8 and generic G031Kx
fpistm Mar 15, 2021
503f79e
[variant] Update Generic F0xx
fpistm Jan 22, 2021
9234b65
Add Generic F042Cx
seeers Mar 10, 2021
6a45026
Added NUCLEO_F070RB
gbmhunter Sep 10, 2020
51b7236
[variant] Update Generic MP1xx
fpistm Jan 27, 2021
db9b6ed
[variant] Add Generic F2xx
fpistm Mar 14, 2021
b20c5ed
[variant] Add Generic L5xx and Nucleo L552ZE-Q
fpistm Mar 14, 2021
1920959
[variant] Add Generic WBxx
fpistm Mar 14, 2021
5bd495f
[variant] Add Generic L1xx
fpistm Mar 15, 2021
4f033ba
[variant] Update Generic H7xx
fpistm Mar 15, 2021
f79a926
Added Generic H743Vx
vladkozlov69 Sep 25, 2020
30ddea4
Enable HAL MDMA by default
fpistm Mar 16, 2021
7a3a084
[variant] Add Generic F7xx
ABOSTM Mar 16, 2021
d3438df
[variant] Add Generic L0xx
ABOSTM Mar 18, 2021
2315591
Add Generic L010RB
mkals Mar 23, 2021
87bb2ed
[variant] Add Generic F3xx
ABOSTM Mar 23, 2021
f4d5b62
[Variant] Add DISCO F303VC
dnandha Mar 25, 2021
0bc6d02
[Variant] Add OLIMEXINO-STM32F3
Stanimir-Petev Mar 25, 2021
51e9a15
[variant] Add Generic F4xx
ABOSTM Mar 26, 2021
0496974
BlackPill F401CC: add USER_BTN on PA0
ABOSTM Apr 2, 2021
9207aaa
[variant] Add STM32F407ZGT6 Mini and Generic_F407Zx
dds90 Apr 2, 2021
7582527
BLACK_F407ZX: invert PF9 and PF10 in digitalPin[]
ABOSTM Apr 6, 2021
f17e7be
[variant] Add Generic F1xx
ABOSTM Apr 9, 2021
6a94738
[variant] Add Generic F100Cx
mcer12 Apr 13, 2021
cbbb14c
[PIO]Fix variant header and path changes
fpistm Mar 12, 2021
1e38015
[CI] Update configuration to build only one generic per variant
fpistm Mar 16, 2021
ba52cf2
[variant] Remove board_template
fpistm Apr 15, 2021
088209c
Group system IP clock enable in separate function called at init
ABOSTM Apr 16, 2021
f8ddc9c
Manage dualpad analog switch
ABOSTM Apr 16, 2021
7ec57a1
[CI] Update core configuration
fpistm Apr 15, 2021
eaeb794
Merge pull request #1091 from fpistm/subvariant
fpistm Apr 17, 2021
8744a27
[CI] Do not build MALYANM200_F070CB with FreeRTOS
fpistm Apr 17, 2021
95af6a7
Fix noTone() when no TIMER_TONE is defined
fpistm Apr 19, 2021
6e53b66
[CI] Update core config
fpistm Apr 19, 2021
e33cf69
Remove redundant tools/ directory in STM32Tools
fpistm Apr 20, 2021
b9ec519
[CI] Update with new package index
fpistm Apr 20, 2021
2e58d11
Remove special character from name entry
fpistm Apr 20, 2021
7680a18
Update platform specification
fpistm Apr 21, 2021
e32ba63
Update to release 2.0.0 version
fpistm Apr 21, 2021
2e9eeab
Update README.md
fpistm Apr 21, 2021
fa8d1f7
Fix: BlackPill F411CE I2C SDA pin
fpistm Apr 25, 2021
a68396f
USB: review IRQn and IRQHandler across series
fpistm Apr 28, 2021
8d17711
USB: review WakeUp IRQn and IRQHandler across series
fpistm Apr 28, 2021
1b869c5
USB: add weaked system clock config from resume
fpistm Apr 29, 2021
5f788e8
USB: update STM32 USB Device library to v2.6.1
fpistm Apr 26, 2021
bf499dd
USB: update STM32 USB Device library to v2.7.0
fpistm Apr 27, 2021
aedb0e0
USB: update STM32 USB Device library to v2.7.1
fpistm Apr 27, 2021
b54d2e8
USB: update STM32 USB Device library to v2.8.0
fpistm Apr 27, 2021
2b3ddd9
USB: update core and class files after middleware update
fpistm Apr 27, 2021
1f5cb30
UCPD: disable Dead Battery
fpistm Apr 28, 2021
9181ce9
USB: fix EPO STALL issue in STM32 USB Device library
fpistm Apr 29, 2021
cd912ef
Update core version to 2.1.0-dev (0x020100F0)
fpistm Apr 29, 2021
90179d0
Merge pull request #1374 from fpistm/USB
fpistm Apr 29, 2021
0a3fa54
board: Nucleo-G474RE: use HSE instead of HSI (#1376)
fpistm Apr 29, 2021
acc62cf
fix: analog: use MAX_PWM_RESOLUTION instead of MAX_ADC_RESOLUTION
fpistm May 3, 2021
66b01b0
Adding STORM32_V1_31_RC variant (#1375)
owennewo May 3, 2021
c76df81
fix: USB CDC: function name in comment
fpistm May 3, 2021
f04c66b
USB: CDC: add api to manage the DTR usage
fpistm May 4, 2021
843fce7
USB: CDC: implement rts api
fpistm May 4, 2021
7ce7ab8
variant NUCLEO_H743ZI: fix digitalPin typo
ABOSTM May 4, 2021
cf6ba78
Merge pull request #1382 from fpistm/USB_linestate
fpistm May 5, 2021
8c83c13
variant: add Nucleo L010RB
fpistm May 7, 2021
6555870
fix: Nucleo_H743ZI: clock configuration
fpistm May 11, 2021
b59ef2e
fix: generic H7: clock configuration
fpistm May 11, 2021
3c47c68
fix: SPI: get correct peripheral clock frequency
fpistm May 17, 2021
6ff7638
Merge pull request #1393 from fpistm/H7_clock
fpistm May 19, 2021
4b8fd08
Temporary disable pio build
fpistm May 21, 2021
ef3e10e
G0: update STM32G0xx HAL Drivers to v1.4.1
fpistm Apr 30, 2021
7b4847c
G0: update STM32G0xx CMSIS Drivers to v1.4.0
fpistm Apr 30, 2021
c2ecb4b
G0: update wrapped files
fpistm Apr 30, 2021
7fd0e20
G0: remove HAL PWR patch
fpistm Dec 2, 2020
b56f095
G0: update HAL default configuration
fpistm May 6, 2021
3209315
G0: update CMSIS Cortex-Mx Device Peripheral Access Layer System Sour…
fpistm May 6, 2021
b3f5a2f
fix: eeprom: define FLASH_FLAG_ALL_ERRORS
fpistm May 6, 2021
d04cf3d
uart: G0: add LPUART2 support
fpistm May 6, 2021
f65194d
timer: G0: update timer IRQ definiton
fpistm May 6, 2021
f05818f
boards.txt: add generic G0 USB menu
fpistm May 6, 2021
4654d97
variant: G0: update product_line in boards_entry.txt
fpistm May 6, 2021
a7099fe
usb: G0: add support (USB_DRD_FS)
fpistm May 6, 2021
54213f4
I2C: G0: add I2C3 support
fpistm May 7, 2021
633606a
Merge pull request #1253 from fpistm/updateG0
fpistm May 21, 2021
f042099
variant: G0: add generic G0B1R(B-C-E)T and G0C1R(C-E)T
fpistm May 6, 2021
20c7989
variant: G0: add Nucleo-G0B1RE
fpistm May 21, 2021
75d6531
Merge pull request #1398 from fpistm/G0B1RE
fpistm May 21, 2021
2ed577d
Revert "Temporary disable pio build"
fpistm May 24, 2021
84b9de6
Synchronize PlatformIO build script according to changes in v2.0
valeros May 24, 2021
e56b9d3
fix: ci: Remove pio build workaround
fpistm May 24, 2021
a728373
Merge pull request #1403 from valeros/pio-sync
fpistm May 24, 2021
6e8cfdf
Update .gitignore
fpistm May 26, 2021
3a5a025
script: stm32variant: fix wrong index in digitalPin[]
fpistm May 26, 2021
9b5706d
script: stm32variant: fix database path management
fpistm May 26, 2021
f8c4aa0
variants: generic: update wrong index in digitalPin[]
fpistm May 26, 2021
37da736
script: stm32variant: fix duplicate flash entry
fpistm May 27, 2021
291cebc
Merge pull request #1405 from fpistm/ci-variant
fpistm May 28, 2021
28415c1
Dual pad analog switch: skip gpio configuration in case of direct ADC
ABOSTM Jun 2, 2021
c202570
Update variant_BLACK_F407ZX.cpp
Jun 11, 2021
500e0dd
config: issue template chooser customization
fpistm Jun 14, 2021
ef27ca6
templates: update title
fpistm Jun 14, 2021
06d0a0a
templates: update header and description and add label
fpistm Jun 15, 2021
03052da
templates: add unicode in header
fpistm Jun 15, 2021
70bd40f
Uncomment PA_10 to allow timer for A_PHASE_WH
StryderUK Jun 18, 2021
e032631
scripts: move to Pathlib
fpistm Jun 16, 2021
95c56f4
scripts: stm32wrapper: use jinja2 formatting
fpistm Jun 17, 2021
22491b3
wrapped files: update with new format
fpistm Jun 18, 2021
626ede3
Merge pull request #1422 from fpistm/scripts
fpistm Jun 21, 2021
ccb361d
F1: update STM32F1xx HAL Drivers to v1.1.8
fpistm Jun 21, 2021
7653437
F1: update STM32F1xx CMSIS Drivers to v4.3.3
fpistm Jun 21, 2021
0897fb9
F2: update STM32F2xx HAL Drivers to v1.2.7
fpistm Jun 21, 2021
813aa02
F2: update STM32F2xx CMSIS Drivers to v2.2.5
fpistm Jun 21, 2021
d206c74
L1: update STM32L1xx HAL Drivers to v1.4.4
fpistm Jun 21, 2021
5d7daf2
L1: update STM32L1xx CMSIS Drivers to v2.3.2
fpistm Jun 21, 2021
c91b6ab
L1: Update the system source file
fpistm Jun 21, 2021
3a9a055
fix: nucleo-l152RE: add missing clock configuration for ADC
fpistm Jun 22, 2021
8ae7724
Merge pull request #1427 from fpistm/CubeUpdate
fpistm Jun 22, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
21 changes: 11 additions & 10 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,25 @@
---
name: Bug report
about: Create a report to help us improve
name: "\U0001F41B Bug report"
about: Report a bug or unexpected behavior while using the STM32 core
title: ''
labels: ''
labels: bug
assignees: ''

---

**Please, before reporting any issue**
- Make sure you are using the latest Arduino_Core_STM32 version.
https://github.com/stm32duino/Arduino_Core_STM32/releases/latest
- Make sure the issue is not already reported/fixed on GitHub or discussed on the [stm32duino forum](http://stm32duino.com)
- Make sure the issue is not already reported/fixed on GitHub or discussed on the [stm32duino forum](https://stm32duino.com)
- Submit a GitHub issue only for reporting a problem related to the [Arduino_Core_STM32](https://github.com/stm32duino/Arduino_Core_STM32).
- **Avoid** to submit a GitHub issue for project troubleshooting.

Any questions/feedback/suggestions should be discussed on the [stm32duino forum](http://stm32duino.com):
* questions on the [STM32 Core](http://stm32duino.com/viewforum.php?f=35)
* bugs/enhancements on the [STM core: Bugs and enhancements](http://stm32duino.com/viewforum.php?f=38)

When reporting any issue, please try to provide all relevant information:
Any questions/feedback/suggestions should be discussed on the [stm32duino forum](https://stm32duino.com):
* questions on the [STM32 Core](https://www.stm32duino.com/viewforum.php?f=35)
* bugs/enhancements on the [STM core: Bugs and enhancements](https://www.stm32duino.com/viewforum.php?f=38)


⚠ When reporting any issue, please try to provide all relevant information to help on its resolution.

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

**Board (please complete the following information):**
- Name: [e.g. Nucleo F429ZI]
Expand Down
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
blank_issues_enabled: false
contact_links:
- name: Ask a question
about: For general-purpose questions and answers, see the Discussions section.
url: https://github.com/stm32duino/Arduino_Core_STM32/discussions
- name: Request support
about: Please check out the Arduino for STM32 forum.
url: https://www.stm32duino.com/
10 changes: 7 additions & 3 deletions .github/ISSUE_TEMPLATE/feature-request-improvement.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,26 @@
---
name: Feature request/improvement
name: "⭐ Feature request/improvement"
about: Suggest an idea or improvement for this project
title: ''
labels: ''
labels: 'enhancement'
assignees: ''

---

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

A clear and concise description of what the problem is.

**Describe the solution you'd like**

A clear and concise description of what you want to happen.

**Describe alternatives you've considered**

A clear and concise description of any alternative solutions or features you've considered.

**Additional context**

Add any other context, example or screenshots about the feature request here.

Any contribution is welcome, so do not hesitate to submit a PR.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/new-variant-request.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: New variant request
name: "🎁 New variant request"
about: Request for a new board support
title: "[New Variant]"
labels: New variant
Expand Down
3 changes: 2 additions & 1 deletion .github/actions/pio-build/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ platformio platform install "https://github.com/platformio/platform-ststm32.git"
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()" || {
exit 1
}

ln --symbolic "$GITHUB_WORKSPACE" "$HOME/.platformio/packages/framework-arduinoststm32" || {
exit 1
}
Expand All @@ -24,6 +25,6 @@ tar --extract --bzip2 --file="$CMSIS_ARCHIVE" || {
cd "$GITHUB_WORKSPACE/CI/build/" || {
exit 1
}
python3 platformio-builder.py --board=blackpill_f103c8 --board=remram_v1
python3 platformio-builder.py --board=malyanm300_f070cb --board=nucleo_l152re

exit $?
2 changes: 1 addition & 1 deletion .github/workflows/Continuous-Integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
id: Compile
uses: stm32duino/actions/compile-examples@master
with:
additional-url: 'https://github.com/stm32duino/BoardManagerFiles/raw/dev/STM32/package_stm_index.json'
additional-url: 'https://github.com/stm32duino/BoardManagerFiles/raw/dev/package_stmicroelectronics_index.json'

# Use the output from the `Compile` step
- name: Compilation Errors
Expand Down
7 changes: 2 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ boards.local.txt
platform.local.txt
path_config.json
update_config.json
variant_config.json

# Backup
*.bak
Expand All @@ -30,8 +31,4 @@ __pycache__/

# VisualStudioCode
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
*.code-workspace
*.code-workspace
93 changes: 0 additions & 93 deletions .travis.yml.old

This file was deleted.

56 changes: 30 additions & 26 deletions CI/build/README.md
Original file line number Diff line number Diff line change
@@ -1,61 +1,65 @@
# arduino-builder.py
# arduino-cli.py

This script manages _[arduino-builder](https://github.com/arduino/arduino-builder)_ command line tool for compiling Arduino sketch(es).
This script manages _[arduino-cli](https://github.com/arduino/arduino-cli)_ command line tool for compiling Arduino sketch(es).

## Requirements
- [Arduino IDE](https://www.arduino.cc/en/Main/Software) (_[arduino-builder](https://github.com/arduino/arduino-builder)_ is included)
- [arduino-cli](https://github.com/arduino/arduino-cli)
- Python version greater than or equal to 3.2 (due to `concurrent.futures` usage)

## Usage

```
usage: arduino-builder.py [-h] [-l [{board,sketch}] | -a] [-b pattern] [-c]
[--arch architecture]
[--config <core configuration file>] [-v]
[--bin | --travis]
[-i <shetch filepath> | -f <sketches list filepath> | -s pattern | -e <excluded sketches list filepath>]
usage: arduino-cli.py [-h] [-l [{board,sketch}] | -a] [-b pattern] [-c]
[--arch architecture]
[--config <core configuration file>] [-u <string>] [-v]
[--ci]
[-i <shetch filepath> | -f <sketches list filepath> | -s pattern | -e <excluded sketches list filepath>]

Manage arduino-builder command line tool for compiling Arduino sketch(es).
Manage arduino-cli to build sketche(s) for STM32 boards.

optional arguments:
-h, --help show this help message and exit
-l [{board,sketch}], --list [{board,sketch}]
list available board(s) or sketch(es)
-a, --all build all sketches found for all available boards
-b pattern, --board pattern
pattern to find one or more board(s) to build
-c, --clean clean output directory
<user path config>/arduinoBuilderOutput
pattern to build one or more board(s)
-c, --clean clean output directory.
--arch architecture core architecture to build. Default build architecture
is stm32
is 'stm32'
--config <core configuration file>
JSON file containing the build configuration for one
or more maintainer/architecture. Board options for
build, applicability of sketches for boards or
required options. If sketch is not listed then
applicable to all board. Default core configuration is
for 'stm32' architecture in: conf/cores_config.json
-v, --verbose enable arduino-builder verbose mode
--bin save binaries
--travis Custom configuration for Travis CI build
for 'stm32 'architecture in:
<core path>\CI\build\conf\cores_config.json
-u <string>, --url <string>
additional URL for the board manager Default url : htt
ps://github.com/stm32duino/BoardManagerFiles/raw/maste
r/package_stmicroelectronics_index.json
-v, --verbose enable arduino-cli verbose mode
--ci custom configuration for CI build

Sketch(es) options:
By default build <arduino path>/examples/01.Basics/BareMinimum/BareMinimum.ino
By default build C:\STM32\arduino\arduino-1.8.13\portable\packages\STM32\h
ardware\stm32\2.0.0-dev\CI\build\examples\BareMinimum

-i <shetch filepath>, --ino <shetch filepath>
single ino file to build
single sketch file to build
-f <sketches list filepath>, --file <sketches list filepath>
file containing list of sketches to build
-s pattern, --sketches pattern
pattern to find one or more sketch to build
-e <excluded sketches list filepath>, --exclude <excluded sketches list filepath>
file containing pattern of sketches to ignore. Default
path : conf/exclude_list.txt
file containing sketches pattern to ignore. Default
path : <core path>\\CI\build\conf\exclude_list.txt
```

## Cores configuration files

Script is able to uses a JSON configuration file containing the build configuration for one or more maintainer/architecture.
Script is able to uses a JSON configuration file containing the build configuration for one or more maintainer/architecture.
A default configuration file is provided: [cores_config.json](conf/cores_config.json)


Expand Down Expand Up @@ -144,7 +148,7 @@ Will build all sketches available in `09.USB/*` for the listed boards and add `

* List all boards containing `F1` or `L4` (not case sensitive):

`python3 arduino-builder.py -l -b "F1|l4"`
`python3 arduino-cli.py -l -b "F1|l4"`

Will produce on the [stm32](https://github.com/stm32duino/Arduino_Core_STM32) core:
```
Expand All @@ -164,7 +168,7 @@ NUCLEO_L496ZG-P

* List all sketch containing `digital` or `analog` (not case sensitive):

`python3 arduino-builder.py -l sketch -s "Digital|analog"`
`python3 arduino-cli.py -l sketch -s "Digital|analog"`

Will produce on the [stm32](https://github.com/stm32duino/Arduino_Core_STM32) core:
```
Expand Down Expand Up @@ -194,11 +198,11 @@ Build configuration for 'STM32' maintainer and 'stm32' architecture

* Build all sketches containing `digital` or `analog` for all boards containing `F1` or `L4` (not case sensitive):

`python3 arduino-builder.py -s "Digital|analog" -b "F1|l4"`
`python3 arduino-cli.py -s "Digital|analog" -b "F1|l4"`

* List all boards for STM32F1 core:

`python3 arduino-builder.py -l --arch STM32F1`
`python3 arduino-cli.py -l --arch STM32F1`

Will list:
```
Expand Down
Loading