Skip to content

Update #3

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 481 commits into from
May 9, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
481 commits
Select commit Hold shift + click to select a range
0ff0a2a
Fix TIM1_IRQn definition when TIM10 is not defined
fpistm Jan 21, 2020
835a014
Update README.md
fpistm Jan 24, 2020
0b7dbae
I2C multi instances: Remove static qualifier on TwoWire attributes
ABOSTM Jan 24, 2020
0bd29f9
[USB] Do not claim AT-protocol in CDC interface descriptor
matthijskooijman Jan 22, 2020
7193ece
Servo: enlarge pin number range to [0..255]
ABOSTM Jan 24, 2020
e013b67
[HardwareSerial] Fix ambiguous call of overloaded function
fpistm Jan 27, 2020
4aba75e
[F1] I2C HAL fix: generate Start only once Stop is finished
ABOSTM Jan 27, 2020
d5815c6
[F2] I2C HAL fix: generate Start only once Stop is finished
ABOSTM Jan 28, 2020
71d1bf0
[F4] I2C HAL fix: generate Start only once Stop is finished
ABOSTM Jan 28, 2020
709dbc2
[L1] I2C HAL fix: generate Start only once Stop is finished
ABOSTM Jan 28, 2020
cc05df9
Merge pull request #883 from ABOSTM/I2C_WAIT_END_OF_STOP_BEFORE_START
fpistm Jan 28, 2020
182acad
Add Generic F103Zx support
fpistm Jan 28, 2020
2a8f9a7
Add New Variant VCCGND_F103ZET6 (Mini)
fpistm Jan 3, 2020
7b3efaa
Merge pull request #851 from fpistm/Gen_F103Zx
fpistm Jan 30, 2020
4c0b81f
[USB] Clean up USB id and string assignment
matthijskooijman Jan 27, 2020
0e24dcb
[USB] Set the bcdDevice value to 0
matthijskooijman Jan 23, 2020
5eea48a
[IWatchdog library] Add license
fpistm Jan 30, 2020
8b42748
[L4] Update STM32L4xx HAL Drivers to v1.11.0
fpistm Jan 30, 2020
f99f797
[L4] Update STM32L4xx CMSIS to v1.6.0
fpistm Jan 30, 2020
096ab6f
[L4] Update HAL/LL wrapper files
fpistm Jan 30, 2020
6cb2b72
[L4] Update stm32l4xx_hal_conf_default.h
fpistm Jan 30, 2020
f7945a2
[H7] Update STM32H7xx HAL Drivers to v1.7.0
fpistm Jan 30, 2020
910535a
[H7] Update STM32H7xx CMSIS to v1.7.0
fpistm Jan 30, 2020
c1b0285
[H7] Update HAL/LL wrapper files
fpistm Jan 30, 2020
2afbbc4
[H7] Update stm32h7xx_hal_conf_default.h
fpistm Jan 30, 2020
8d26b44
[H7] Update the system source file
fpistm Jan 30, 2020
d09f2ff
I2C: remove useless parameter in onReceiveService()
ABOSTM Jan 30, 2020
aa535fd
[MP1] Update STM32MP1xx HAL Drivers to v1.1.1
fpistm Jan 30, 2020
29d083b
[MP1] Update STM32MP1xx CMSIS Drivers to v1.1.1
fpistm Jan 30, 2020
7ecc1f8
[WB] Update STM32WBxx HAL Drivers to v1.4.0
fpistm Jan 30, 2020
16f211c
HardwareTimer: Remove some superfluous empty lines
matthijskooijman Jan 29, 2020
02dbdad
Merge pull request #903 from fpistm/CubeUpdate
fpistm Jan 30, 2020
ac7c4ce
Merge pull request #887 from 3devo/usb-configuration
fpistm Jan 30, 2020
65d37f1
HardwareTimer: Allow setting preload enable bits
matthijskooijman Jan 29, 2020
0108768
HardwareTimer: Enable preload for ARR/overflow register
matthijskooijman Jan 30, 2020
e761507
HardwareTimer: Expose some helper methods
matthijskooijman Jan 30, 2020
0878b66
HardwareTimer: Fix ARR and CCRx computation
ABOSTM Jan 30, 2020
68ebb59
Merge pull request #900 from 3devo/hardwaretimer-preload
fpistm Jan 30, 2020
97aaf65
Merge pull request #888 from ABOSTM/I2C_MULTI_INSTANCES
fpistm Jan 31, 2020
95ef506
Add generic F401Cx pinout (#874)
MCUdude Jan 31, 2020
72dca3c
Add generic F410Rx pinout (#880)
MCUdude Jan 31, 2020
8f53782
Update README.md
fpistm Jan 31, 2020
6e76ffa
Change clock setup for Generic F411's
MCUdude Jan 31, 2020
a5baee3
[Generic F411Cx] Fix clock settings
fpistm Feb 3, 2020
33278e9
[Generic F401Rx] Fix clock settings
fpistm Feb 3, 2020
09311ba
[Generic F4xx] Allow some re-definitions
fpistm Feb 3, 2020
285016f
[F4] Remove FMPI2C from PeripheralPins.c
fpistm Feb 3, 2020
35bb409
Update README.md
fpistm Feb 3, 2020
7410f2e
Merge pull request #905 from fpistm/Gen_F4_Fix
fpistm Feb 3, 2020
ccb9656
Add generic F446Rx pinout (#877)
MCUdude Feb 3, 2020
a4118d1
[BLACK PILLF401CC] Use generic variant
fpistm Feb 3, 2020
fe3466d
Add support of BLACK PILL F411CE
fpistm Feb 3, 2020
4d5861c
[Core Board F401RC] Use generic variant
fpistm Feb 3, 2020
89ae1c9
[GenF4] Remove useless node property in boards.txt
fpistm Feb 3, 2020
da844e8
Merge pull request #909 from fpistm/BlackPill_F4x1
fpistm Feb 3, 2020
05695fb
Update README.md
fpistm Feb 3, 2020
7d72a79
analogRead: don't set ADC common register when ADC doesn't support it.
ABOSTM Feb 3, 2020
e7bb20b
Add STM32G0316-DISCO
DurandA Jan 8, 2020
5a37de7
[G0] Handle pin remap
fpistm Feb 3, 2020
f7be0a1
Merge pull request #913 from fpistm/DISCO_G0316
fpistm Feb 4, 2020
48ab6f8
Add generic F410Cx pinout
MCUdude Feb 3, 2020
1ddafec
Update README.md
fpistm Feb 4, 2020
763fd97
Fix typo in pin array
MCUdude Feb 4, 2020
1043594
Add genric F405RG/F415RG variant (#915)
MCUdude Feb 5, 2020
8cae48c
Fix SPI mapping
MCUdude Feb 6, 2020
a578c0b
Add support of NUCLEO_L433RC_P (#918)
ABOSTM Feb 6, 2020
41c6676
Add missing SPI and i2c definitions
MCUdude Feb 6, 2020
66390b9
Add generic F412Rx pinout variant (#920)
MCUdude Feb 6, 2020
9647626
Add PlatformIO build script
valeros Feb 6, 2020
fb2b960
Add initial support for PlatformIO in CI
valeros Feb 6, 2020
ab2e8a9
Add default package.json
valeros Feb 6, 2020
1ff6307
[ELEKTOR_F072C8] Update variant.cpp (#922)
lab-mathias-claussen Feb 7, 2020
9635701
Merge pull request #921 from MCUdude/fix_spi
fpistm Feb 7, 2020
e13d70e
Add generic F412Cx pinout variant (#923)
MCUdude Feb 7, 2020
97e3f52
Add generic F413R/F423R pinout variant (#925)
MCUdude Feb 10, 2020
c29e234
Fix EEPROM hardfault: eeprom_buffer should be 8 bytes aligned (#931)
ABOSTM Feb 11, 2020
0c25db2
Add generic F413C/F423C pinout variant (#928)
MCUdude Feb 11, 2020
ca8c3f4
Fix use of the peripherals drivers in application code
fpistm Feb 12, 2020
fde1697
Remove oscillator value from the system source file
fpistm Feb 12, 2020
bbb0cf1
SPI: improvements for SPI library (#912)
stas2z Feb 12, 2020
65ef190
[MP1] Update STM32MP1xx HAL Drivers to v1.2.0
fpistm Feb 12, 2020
e3b5de5
[MP1] Update STM32MP1xx CMSIS Drivers to v1.2.0
fpistm Feb 12, 2020
647e87a
[MP1] Update stm32mp1xx_hal_conf_default.h
fpistm Feb 12, 2020
892aecc
[MP1] Update HAL/LL wrapper files
fpistm Feb 12, 2020
308676d
[MP1] Remove workaround for missing Cortex LL driver
fpistm Feb 12, 2020
7157171
[MP1] Update OpenAMP to v1.0.4
fpistm Feb 12, 2020
7999a46
Merge pull request #935 from fpistm/MP1Update
fpistm Feb 12, 2020
489e74a
Add generic F407Vx/F417Vx pinout (#937)
MCUdude Feb 13, 2020
89e08d2
EEPROM emulation: wrong flash sector used for some F7 variants (#938)
ABOSTM Feb 14, 2020
9d056f2
[P-Nucleo-WB55RG] Add new node name NOD_WB55RG
fpistm Feb 17, 2020
f28dc09
HardwareTimer: Add API to get configured mode
ABOSTM Feb 17, 2020
bdcc98e
analogWrite: Configure HardwareTimer mode only if not previously done
ABOSTM Feb 17, 2020
9ee139f
Fix CCRAM definition
fpistm Feb 17, 2020
20c6173
Ensure CCM RAM clock is enabled
fpistm Feb 17, 2020
f1d475a
Merge pull request #941 from ABOSTM/HARDWARETIMER_ANALOGWRITE_NO_GLITCH
fpistm Feb 17, 2020
3c9aa02
Merge pull request #940 from fpistm/Fix
fpistm Feb 18, 2020
2412aef
Merge pull request #924 from valeros/master
fpistm Feb 19, 2020
716f27e
[PIO] Apply black and flake8 on python scripts (#945)
fpistm Feb 19, 2020
c8f9c03
[CI] Add script to get all fqbn
fpistm Jan 8, 2020
dd34136
[CI] Add arduino-cli.py
fpistm Jan 22, 2020
ffef53f
[CI] Add default example
fpistm Jan 8, 2020
ca6ffb8
[CI] Disable Travis CI build
fpistm Jan 8, 2020
af8b96a
[CI] Add Continuous Integration workflow
fpistm Feb 10, 2020
b494f4d
Update build status badge
fpistm Feb 21, 2020
1942f1a
[CI] Avoid to run worklow on some files changed
fpistm Feb 21, 2020
0856018
Update README.md
fpistm Feb 21, 2020
1ca1c98
[CI] Allow GitHub actions only on push on master
fpistm Feb 23, 2020
4176732
[CI] Allow build for python build scripts
fpistm Feb 24, 2020
ae59287
Merge pull request #951 from fpistm/UpdateCi
fpistm Feb 24, 2020
1050e81
[CI] Create PlatformIO build action
fpistm Feb 18, 2020
4af4c4f
[CI] Add PlatformIO test to the workflow
fpistm Feb 20, 2020
9f1227f
Merge pull request #952 from fpistm/PIO_Action
fpistm Feb 24, 2020
684c3e8
Wire: rxBuffer should be initialized before using it
ABOSTM Feb 25, 2020
4aafc22
USB: Disable Vbus sensing by default
ABOSTM Feb 27, 2020
399f2fa
[CI] Reduce unnecessary output from action
fpistm Feb 28, 2020
ac883e4
[CI] Make action scripts ShellCheck compliant
fpistm Feb 28, 2020
7cb45c2
[CI] Handle failed commands in PlatformIO action
fpistm Feb 28, 2020
cd65f22
[CI] Make variables readonly in PlatformIO actions
fpistm Feb 28, 2020
6958c56
[CI] Use long option names in commands of the action
fpistm Feb 28, 2020
58d2483
board_template: add USBD_VBUS_DETECTION_ENABLE
ABOSTM Feb 28, 2020
9486d13
Merge pull request #955 from fpistm/action_update
fpistm Feb 28, 2020
8834ae2
Merge pull request #954 from ABOSTM/USB_SENSING_DISABLE
fpistm Feb 28, 2020
85a7a28
Define USER_BTN for BLACK PILL F411CE
fpistm Mar 2, 2020
5f56881
Update pre-build recipe
fpistm Mar 2, 2020
84e4091
Unified shell scripts naming
fpistm Mar 4, 2020
ff40983
[NUCLEO_F767ZI] Fix analog pins
fpistm Mar 5, 2020
66ab329
[Generic F410xx] Fix wrong TIMER_SERVO definition
fpistm Mar 6, 2020
e1ff95c
[F4] Fix HAL_RCC_USART3 definition for STM32F412Cx
fpistm Mar 6, 2020
f14d8b9
[CI] Build built-in libraries
fpistm Mar 6, 2020
5c4dcc3
Merge pull request #976 from fpistm/CI
fpistm Mar 9, 2020
9e9b93d
Add an include to ease Sloeber plugin usage
fpistm Mar 9, 2020
abd073d
Support for NUCLEO-F031K6 variant (#974)
N0rbert Mar 10, 2020
dc7a43f
Update README.md
fpistm Mar 10, 2020
2983175
Added functionality to pass custom parameter to HardwareTimer callbac…
ramboerik Mar 11, 2020
23dc07a
Add .editorconfig for shfmt
fpistm Mar 4, 2020
676f1a2
Make gen_wrapper.sh ShellCheck compliant
fpistm Mar 3, 2020
e0f7781
Use shfmt to format the gen_wrapper.sh script
fpistm Mar 3, 2020
0830d9f
gen_wrapper.sh fix MP1 define for CMSIS_STARTUP_FILE
fpistm Mar 3, 2020
dce708d
Unified core/ and variant/ files line ending to LF
fpistm Mar 11, 2020
f1f4eed
Adding gitattributes file for managing line ending conversions
fpistm Mar 11, 2020
0128dcd
Normalize all the line endings
fpistm Mar 11, 2020
dbedba6
[CI] Fix regression when checking error
fpistm Mar 11, 2020
9be109c
[CI] Update standard output format
fpistm Mar 12, 2020
1a329a2
Merge pull request #982 from fpistm/fixCI
fpistm Mar 12, 2020
5ad4f25
NUCLEO_F303K8: remove PeripheralPins.c limitations
ABOSTM Mar 11, 2020
3ada101
HardwareTimer: replace comparison with NULL by implicit bool conversion
ABOSTM Mar 11, 2020
f6f02c6
Merge pull request #981 from fpistm/normalizing
fpistm Mar 12, 2020
05ef859
Fix weaked serialEventRun() not being called
fpistm Mar 13, 2020
f5be507
[BMP upload] Fix tools path
fpistm Mar 13, 2020
52c2f80
[VirtIO] Copy files from example project
kbumsik Oct 24, 2019
e27a95c
[VirtIO] Link OpenAMP middleware files to the core
kbumsik Oct 24, 2019
662d591
[VirtIO] Add first VirtIO and ringbuffer
kbumsik Nov 7, 2019
3faacd3
[VirtIO] Add logging support for core_debug()
kbumsik Mar 14, 2020
29b6c7d
[STM32MP157_DK] Add SERIAL_PORT_LINUXBRIDGE as SerialVirtIO
kbumsik Nov 8, 2019
f7c1d95
[STM32MP157_DK] README: Add VirtIO
ABOSTM Jan 28, 2020
a6dcefe
[CI] Add virtio in CI builds
kbumsik Mar 4, 2020
ea6e7a0
Update ARMED_V1 variant (#990)
ktand Mar 17, 2020
0203e2d
Fix weaked initVariant()declaration
fpistm Mar 17, 2020
df6b4f7
Merge pull request #766 from kbumsik/virtio
fpistm Mar 17, 2020
6889728
Support FYSETC S6 3D printer board
GerogeFu Mar 17, 2020
57cdf76
Support a .noinit section for variables
matthijskooijman Mar 4, 2020
213a3d5
Add support of DISCO_F413ZH
N0rbert Mar 19, 2020
a9fdc93
Update .gitignore
fpistm Mar 20, 2020
eeabfc1
[CI] Update workflow to use core files for Astyle
fpistm Mar 23, 2020
dcc66ab
Fix typo in boards.txt
ghent360 Mar 24, 2020
0f24f28
Add support of NUCLEO_F746ZG and NUCLEO_F756ZG
hockeymikey Mar 2, 2020
0afb8dd
[CI] Use sketch folder name for arduino-cli instead of .ino
fpistm Mar 27, 2020
a7ea710
Fix save binary recipes
fpistm Mar 28, 2020
6aa5ee9
Merge pull request #1018 from fpistm/arduino-cli-fix
fpistm Mar 28, 2020
e2424f1
[Nucleo_F4x1RE] Use HSE_BYPASS
fpistm Mar 29, 2020
e1d409f
Refactor USB pullup handling
matthijskooijman Mar 19, 2020
5c4c35e
Add new Thunderpack v1.1: STM32F411 (#1013)
jgillick Mar 30, 2020
1b8664a
Rename PILL_C8 boards definition to PILL_CB
fpistm Mar 26, 2020
fd36818
[Nucleo F4x1RE] Unified Nucleo F401RE and F411RE
fpistm Mar 29, 2020
6ebfb5e
Merge pull request #1019 from fpistm/F4x1RE_update
fpistm Mar 30, 2020
181061b
[CI] Enable ident-preproc-block astyle option
matthijskooijman Mar 22, 2020
4ab0fc3
Update source files to new astyle config
matthijskooijman Mar 22, 2020
dd79324
Force LF line ending
fpistm Mar 31, 2020
9355bc0
[Astyle] Force LF line ending
fpistm Mar 31, 2020
c4ab08a
[.editorconfig] Force LF line ending
fpistm Mar 31, 2020
30ca0e1
[.editorconfig] Add rules to match Astyle rules
fpistm Mar 31, 2020
3102bae
Merge pull request #1021 from fpistm/Force_lf
fpistm Mar 31, 2020
cffb347
Merge pull request #1007 from 3devo/astyle-indent-preproc-block
fpistm Mar 31, 2020
930184b
[gen_wrapper.sh] Update preproc indent
fpistm Apr 1, 2020
3919b69
Add HAL and CMSIS patch
fpistm Mar 12, 2020
506d261
Port gen_wrapper from bash to python
fpistm Mar 19, 2020
92d12a7
Add script to update HAL drivers and CMSIS devices
fpistm Feb 25, 2020
088081d
Merge pull request #1026 from fpistm/CubeUpdate
fpistm Apr 6, 2020
f7c0f6f
[Generic_F4x5RG] Define Serial UART instance
fpistm Apr 9, 2020
70e3afd
[Generic_F103Z] Define default LED_BUILTIN
fpistm Apr 9, 2020
7d2c3eb
[Black_F407] Clean some comments
fpistm Apr 9, 2020
e27a24d
[Generic_F103Rx] Unified variant definition
fpistm Apr 9, 2020
66b5ab3
[Generic] Define a default USER_BTN
fpistm Apr 9, 2020
ac424de
[CI] Update configuration
fpistm Apr 9, 2020
6942f69
[CI] Fix issue on error detection
fpistm Apr 9, 2020
61b14ec
Merge pull request #1030 from fpistm/CleanUpRelease
fpistm Apr 10, 2020
50ca6f6
[CI] Fix wrong displayed skipped boards
fpistm Apr 17, 2020
3a202d9
[CI] Fix JSON config path
fpistm Apr 17, 2020
52f875c
[CI] Fix wrong displayed skipped boards (part 2)
fpistm Apr 17, 2020
a8b0838
[CI] Cleanup configuration (part 1)
fpistm Apr 17, 2020
92eb187
Add more Generic_F103Rx targets
MCUdude Apr 16, 2020
6ef6b0d
Add missing Nucleo L433RC-P
fpistm Apr 20, 2020
7bab840
[CI] Update Generic_F103Rx variant name
fpistm Apr 20, 2020
2aa8531
HardwareTimer: specific F1 GPIO needs Alternate Function configuration
ABOSTM Apr 20, 2020
9a00681
[CI] Cleanup configuration (part2)
fpistm Apr 20, 2020
6eaa8d2
[CI] Fix error detection
fpistm Apr 20, 2020
ab99a7b
Add generic F103Cx targets
MCUdude Apr 19, 2020
c32c2c7
Fix DAC for F103RF and RG (#1040)
MCUdude Apr 21, 2020
8344bad
F1 pinmap: input mode may be associated with an alternate function
ABOSTM Apr 21, 2020
7f68be4
[CI] Update configuration
fpistm Apr 21, 2020
6f32b49
Merge pull request #1039 from ABOSTM/HT_F1_AF_CONFIG
fpistm Apr 21, 2020
6a17d6f
Add generic F103Vx targets (#1042)
MCUdude Apr 23, 2020
fd36259
[CI] Fix execution from other path
fpistm Apr 23, 2020
f153092
Add support for F103Tx chips
MCUdude Apr 23, 2020
1eac7c5
[CI] Update configuration
fpistm Apr 24, 2020
e004385
Support boards with internal *and* external pullups again
matthijskooijman Apr 27, 2020
40af518
Add some urls to boards.txt
matthijskooijman Apr 27, 2020
d3fdc1f
Do not use external pullups on CoreBoard F401RC
matthijskooijman Apr 28, 2020
bbb8b78
Merge pull request #1048 from matthijskooijman/fix-external-and-inter…
fpistm Apr 29, 2020
bd4495a
Revert "[G4] Fix LL FMC build issue introduce in HAL version v1.1.1"
fpistm Apr 4, 2020
2bfbd6d
[G4] Fix LL FMC build issue
fpistm Apr 29, 2020
8d062a5
Update HAL patch
fpistm Apr 29, 2020
c4dd3c0
Improve supported boards list (#1044)
ThomasGravekamp May 4, 2020
c33ce1d
Added STM32F072CB varant for the Elektor LoRa Node (#1054)
lab-mathias-claussen May 4, 2020
8c97748
Reference Elektor boards
fpistm May 4, 2020
22bbb1e
Added variant NUCLEO-F072RB
geosmall May 2, 2020
ffa786c
Reference Nucleo_F072RB
fpistm May 4, 2020
5e02162
Revert "Update HAL patch"
fpistm May 4, 2020
09fac69
[G4] Update STM32G4xx HAL Drivers to v1.1.1
fpistm Apr 29, 2020
1131c49
[G4] Update STM32G4xx CMSIS Drivers to v1.1.1
fpistm Apr 29, 2020
60500d3
[G4] Fix LL FMC build issue introduce in HAL version v1.1.1
fpistm Apr 4, 2020
e04687b
Merge pull request #1049 from fpistm/CubeUpdateG4
fpistm May 5, 2020
413c1ba
HardwareTimer: Fix resume after pause issue introduced with G4 Cube u…
ABOSTM May 5, 2020
3bcc4f1
HardwareTimer: fix servo regression introduced by ARR preload enabled
ABOSTM May 6, 2020
e67ecf5
[WB] Update STM32WBxx HAL Drivers to v1.5.0
fpistm Apr 6, 2020
b17a632
[WB] Update STM32WBxx CMSIS Drivers to v1.4.0
fpistm Apr 6, 2020
2920d3c
[WB] Update wrapped files
fpistm Apr 6, 2020
88dd0a4
[WB] Update CMSIS Cortex-Mx Device Peripheral Access Layer System
fpistm Apr 6, 2020
394704d
Merge pull request #1057 from fpistm/CubeUpdateWB
fpistm May 6, 2020
1bbc34a
[L4] Update STM32L4xx HAL Drivers to v1.11.1
fpistm May 6, 2020
46940ef
[L4] Update STM32L4xx CMSIS Drivers to v1.6.1
fpistm May 6, 2020
5809912
Merge pull request #1058 from fpistm/CubeUpdateL4
fpistm May 6, 2020
e58306f
[F2] Update STM32F2xx HAL Drivers to v1.2.4
fpistm May 6, 2020
393fa63
[F2] Update STM32F2xx CMSIS Drivers to v2.2.3
fpistm May 6, 2020
f5c3c36
[F2] I2C HAL fix: generate Start only once Stop is finished
ABOSTM Jan 28, 2020
69b6ab9
Merge pull request #1059 from fpistm/CubeUpdateF2
fpistm May 6, 2020
f07b55b
[H7] Update STM32H7xx HAL Drivers to v1.8.0
fpistm May 7, 2020
446fecf
[H7] Update STM32H7xx CMSIS Drivers to v1.8.0
fpistm May 7, 2020
46aca90
[H7] Update CMSIS Cortex-Mx Device Peripheral Access Layer System
fpistm Apr 6, 2020
d3ba7fe
Merge pull request #1060 from fpistm/CubeUpdateH7
fpistm May 7, 2020
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.
17 changes: 17 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[*]
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 2
trim_trailing_whitespace = true

[*.sh]
# like -i=2
indent_style = space
indent_size = 2

#shell_variant = posix # like -ln=posix
#binary_next_line = true # like -bn
switch_case_indent = true # like -ci
space_redirects = true # like -sr
#keep_padding = true # like -kp
44 changes: 44 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Set the default behavior, in case people don't have core.autocrlf set.
* text=auto

# Explicitly declare text files you want to always be normalized and converted
# to native line endings on checkout.
.astyleignore text eol=lf
.astylerc text eol=lf
.editorconfig text eol=lf
.flake8 text eol=lf
.gitattributes text eol=lf
.gitignore text eol=lf

*.adoc text eol=lf
*.c text eol=lf
*.cmake text eol=lf
*.cpp text eol=lf
*.css text eol=lf
*.dtsi text eol=lf
*.gv text eol=lf
*.h text eol=lf
*.html text eol=lf
*.in text eol=lf
*.ino text eol=lf
*.json text eol=lf
*.ld text eol=lf
*.md text eol=lf
*.MD text eol=lf
*.old text eol=lf
*.patch text eol=lf
*.pde text eol=lf
*.properties text eol=lf
*.py text eol=lf
*.s text eol=lf
*.S text eol=lf
*.sh text eol=lf
*.spec text eol=lf
*.txt text eol=lf
*.yml text eol=lf

# Denote all files that are truly binary and should not be modified.
*.jpg binary
*.pdf binary
*.png binary

4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ assignees: ''
- **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=48)
* bugs/enhancements on the [STM core: Bugs and enhancements](http://stm32duino.com/viewforum.php?f=49)
* 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:

Expand Down
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Please, Make sure that your PR is not a duplicate.
Search among the [Pull request](https://github.com/stm32duino/Arduino_Core_STM32/pulls) before creating one.

IMPORTANT: Please review the [CONTRIBUTING.md](CONTRIBUTING.md) file for detailed contributing guidelines.
IMPORTANT: Please review the [CONTRIBUTING.md](../CONTRIBUTING.md) file for detailed contributing guidelines.

Thanks for submitting a pull request.
Please provide enough information so that others can review your pull request:
Expand Down
18 changes: 18 additions & 0 deletions .github/actions/pio-build/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Container image that runs your code
FROM ubuntu:latest

ENV LANG C.UTF-8
ENV LC_ALL C.UTF-8

# Install prerequisites
RUN apt-get --quiet=2 update && apt-get install --quiet=2 --assume-yes git python3 python3-pip wget

# Install PlatformIO
RUN pip3 install --quiet --upgrade platformio
CMD /bin/bash

# Copies your code file from your action repository to the filesystem path `/` of the container
COPY entrypoint.sh /entrypoint.sh

# Code file to execute when the docker container starts up (`entrypoint.sh`)
ENTRYPOINT ["/entrypoint.sh"]
15 changes: 15 additions & 0 deletions .github/actions/pio-build/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# PlatformIO build action

This action build thanks PIO.

## Inputs

### `cmsis-version`

The CMSIS version to use. Default `"5.5.1"`.

## Example usage

```yaml
uses: ./.github/actions/pio-build
```
12 changes: 12 additions & 0 deletions .github/actions/pio-build/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# action.yml
name: 'PlatformIO Build'
description: 'Compile using PlatformIO'
inputs:
cmsis-version:
description: 'CMSIS package version to use'
default: '5.5.1'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.cmsis-version }}
29 changes: 29 additions & 0 deletions .github/actions/pio-build/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#!/bin/bash

readonly CMSIS_VERSION="$1"
readonly CMSIS_ARCHIVE="CMSIS-${CMSIS_VERSION}.tar.bz2"

# Install the development version of ststm32 platform
platformio platform install "https://github.com/platformio/platform-ststm32.git" || {
exit 1
}
# Prepare framework for CI
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'] = '*'; fp.seek(0); fp.truncate(); json.dump(data, fp); fp.close()" || {
exit 1
}
ln --symbolic "$GITHUB_WORKSPACE" "$HOME/.platformio/packages/framework-arduinoststm32" || {
exit 1
}
# Download and unpack CMSIS package
wget --no-verbose "https://github.com/stm32duino/ArduinoModule-CMSIS/releases/download/$CMSIS_VERSION/$CMSIS_ARCHIVE" || {
exit 1
}
tar --extract --bzip2 --file="$CMSIS_ARCHIVE" || {
exit 1
}
cd "$GITHUB_WORKSPACE/CI/build/" || {
exit 1
}
python3 platformio-builder.py --board=blackpill_f103c8 --board=remram_v1

exit $?
73 changes: 73 additions & 0 deletions .github/workflows/Continuous-Integration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
name: STM32 Core Continuous Integration
on:
push:
branches:
- master
paths-ignore:
- '*.json'
- '**.md'
- keywords.txt
- CI/**
- '!CI/build/arduino-cli.py'
- '!CI/build/platformio-builder.py'
- tools/**
pull_request:
paths-ignore:
- '*.json'
- '**.md'
- keywords.txt
- CI/**
- '!CI/build/arduino-cli.py'
- '!CI/build/platformio-builder.py'
- tools/**
jobs:
astyle_check:
runs-on: ubuntu-latest
name: AStyle check
steps:
# First of all, clone the repo using the checkout action.
- name: Checkout
uses: actions/checkout@master

- name: Astyle check
id: Astyle
uses: stm32duino/actions/astyle-check@master
with:
astyle-definition: 'CI/astyle/.astylerc'
ignore-path-list: 'CI/astyle/.astyleignore'

# Use the output from the `Astyle` step
- name: Astyle Errors
if: failure()
run: |
cat ${{ steps.Astyle.outputs.astyle-result }}
exit 1
core_build:
runs-on: ubuntu-latest
name: Core compilation
steps:
# First of all, clone the repo using the checkout action.
- name: Checkout
uses: actions/checkout@master

- name: Compilation
id: Compile
uses: stm32duino/actions/compile-examples@master

# Use the output from the `Compile` step
- name: Compilation Errors
if: failure()
run: |
cat ${{ steps.Compile.outputs.compile-result }}
exit 1
pio_build:
runs-on: ubuntu-latest
name: PlatformIO test
steps:
# First of all, clone the repo using the checkout action.
- name: Checkout
uses: actions/checkout@master

- name: PlatformIO
id: Compile
uses: ./.github/actions/pio-build
39 changes: 34 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,37 @@
*.orig
*.swp
.DS_Store
# Specific
astyle.out
boards.local.txt
platform.local.txt
*.code-workspace
.vscode
path_config.json
update_config.json

# Backup
*.bak
*.gho
*.ori
*.swp
*.tmp

# macOS
# General
.DS_Store
.AppleDouble
.LSOverride

# Patch
*.orig
*.rej

# Python
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

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

This file was deleted.

Loading