Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
fc2329f
ci: add STM32 Cube v2 support
fpistm Jan 20, 2026
4383a11
ci(stm32svd): add STM32 Cube v2 support
fpistm Feb 27, 2026
d9a2b20
ci(stm32wrapper): manage startup source files
fpistm Feb 2, 2026
f08b147
ci(stm32variant): add STM32 Cube v2 support
fpistm Feb 6, 2026
4dfe98b
system(c5) add STM32C5xx HAL Drivers to v2.0.0
fpistm Apr 2, 2026
d4021f8
system(c5): add STM32C5xx CMSIS Drivers to v2.0.0
fpistm Apr 2, 2026
9fd2556
system(c5): add STM32C5xx system source files
fpistm Apr 2, 2026
906f389
system(c5): update STM32C5xx hal default config
fpistm Apr 2, 2026
7634da8
core(c5): add top HAL include
fpistm Apr 2, 2026
c4873ad
core(c5): reference STM32C5xx series
fpistm Apr 2, 2026
a322e1b
core(c5): add wrapped files
fpistm Apr 2, 2026
c6d8996
generated files wrapper
fpistm Apr 24, 2026
bd59732
chore: add new recipe to define HAL version usage
fpistm Apr 22, 2026
191db87
chore: introduce HALv2 configuration
fpistm May 21, 2026
6f71753
chore(c5): add stm32_hal top inclusion
fpistm Mar 3, 2026
7fce272
system(c5): update STM32C5xx hal default config
fpistm Mar 27, 2026
491ccd5
system(c5): add STM32C5xx external default value
fpistm Mar 27, 2026
c98895b
variants(c5): add all generated STM32C5xx generic variant files
fpistm Apr 2, 2026
e312db7
variant(c5): add generic C552R(C-E)T and C562RET
fpistm Feb 19, 2026
0415e45
chore(platform): add startup source file include
fpistm Jun 16, 2026
aedc4e8
chore: clean up UNUSED usage
fpistm Apr 2, 2026
affa7d1
chore(clock): add HAL v2 support
fpistm Apr 1, 2026
ee33a45
chore: store as const volatile
fpistm Apr 22, 2026
2420819
chore: ensure linker script compatibility
fpistm Mar 24, 2026
b7c3d22
chore(cmake): update to support HALv2
fpistm Mar 24, 2026
9c61c26
chore(cmake): update database
fpistm Apr 22, 2026
0e4c339
variant(c5): add Nucleo-C562RE support
fpistm Mar 25, 2026
e99c3ac
chore(exti): add HAL v2 support
fpistm Apr 20, 2026
bd2f60f
chore(uart): add HAL v2 support
fpistm Apr 22, 2026
2af2e98
chore(variants): ensure LPUART clock source config
fpistm May 13, 2026
0726c5d
chore(analog): cleanup befor HALv2
fpistm May 11, 2026
372190e
chore(adc): add HAL v2 support
fpistm May 11, 2026
b0c9992
chore(dac): add HAL v2 support
fpistm May 22, 2026
7afe363
fix(timer): STM32U0xx clock source
fpistm Jun 2, 2026
a280eec
chore(tim): add HAL v2 support
fpistm May 26, 2026
c7dd943
chore(tone): add HAL v2 support
fpistm Jun 4, 2026
ff04818
chore(servo): remove useless define
fpistm Jun 18, 2026
8b0ae11
chore(servo): add HAL v2 support
fpistm Jun 18, 2026
afb1683
chore(iwatchdog): add HAL v2 support
fpistm Jun 4, 2026
103aa91
chore(spi): add HAL v2 support
fpistm Jun 8, 2026
fcac7d9
chore(i2c): add HAL v2 support
fpistm Jun 10, 2026
b509e77
chore(i3c): disable for HALv2 support
fpistm Jul 3, 2026
064b4d9
chore(eeprom): disable for HALv2 support
fpistm Jun 18, 2026
625f5b4
chore(usb): disable for HALv2 support
fpistm Jun 18, 2026
eec125d
ci(cmake): add C5 series to the build
fpistm Jun 18, 2026
8dafaf4
chore(backup): add HALv2 support
fpistm Jun 22, 2026
fd3c901
system(c5) update STM32C5xx HAL Drivers to v2.1.0
fpistm Jun 29, 2026
bf07092
system(c5): update STM32C5xx CMSIS Drivers to v2.1.0
fpistm Jun 29, 2026
b8f32b9
chore(c5): update variants
fpistm Jun 29, 2026
c7f81f9
chore(c5): update system files
fpistm Jun 29, 2026
7747661
chore(cmake): update
fpistm Jun 29, 2026
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
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .github/workflows/Cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
matrix:
boardname:
- NUCLEO_C092RC
- NUCLEO_C562RE
- NUCLEO_F091RC
- NUCLEO_F103RB
- NUCLEO_F207ZG
Expand Down
10 changes: 6 additions & 4 deletions CI/build/examples/BareMinimum/BareMinimum.ino
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
* It allows to test build of built-in libraries
* and can not be executed.
*/

#if defined(HAL_FLASH_MODULE_ENABLED)
#include <EEPROM.h>
#endif
#ifndef STM32MP1xx
#include <IWatchdog.h>
#endif
Expand All @@ -14,7 +15,7 @@
#include <SPI.h>
#include <SoftwareSerial.h>
#include <Wire.h>
#if defined(I3C1_BASE) || defined(I3C2_BASE)
#if (defined(I3C1_BASE) || defined(I3C2_BASE)) && defined(HAL_I3C_MODULE_ENABLED)
#include <I3C.h>
#endif

Expand Down Expand Up @@ -91,10 +92,11 @@ void setup() {
}
swSerial.end();

#if defined(HAL_FLASH_MODULE_ENABLED)
// EEPROM
byte value = EEPROM.read(0x01);
EEPROM.write(EEPROM.length() - 1, value);

#endif
#ifndef STM32MP1xx
// IWDG
if (!IWatchdog.isReset(true)) {
Expand Down Expand Up @@ -135,7 +137,7 @@ void setup() {
Wire.requestFrom(2, 1);
Wire.end();

#if defined(I3C1_BASE) || defined(I3C2_BASE)
#if (defined(I3C1_BASE) || defined(I3C2_BASE)) && defined(HAL_I3C_MODULE_ENABLED)
// I3C
I3C.setBusType(I3CBusType::Pure);
I3C.setMixedBusOpenDrainFrequency(1000000U);
Expand Down
5 changes: 4 additions & 1 deletion CI/update/stm32_series.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,8 @@
"WB": "xx",
"WL3": "x",
"WL": "xx"
},
"seriesv2": {
"C5": "xx"
}
}
}
16 changes: 3 additions & 13 deletions CI/update/stm32cube.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
getRepoBranchName,
commitFiles,
loadSTM32Series,
addSeriesToConfig,
)

if sys.platform.startswith("win32"):
Expand Down Expand Up @@ -138,7 +139,7 @@ def checkConfig():
else:
defaultConfig(config_file_path, {"REPO_LOCAL_PATH": str(repo_local_path)})
createFolder(repo_local_path)
stm32_dict = loadSTM32Series(script_path)
stm32_dict = loadSTM32Series(script_path, True, False)


def updateStm32Def(series):
Expand Down Expand Up @@ -903,17 +904,6 @@ def updateOpenAmp():
copyFolder(OpenAmp_cube_path, OpenAmp_core_path)


def addSeriesToConfig(series, nx):
stm32_series_file = stm32_series_json_path / "stm32_series.json"
with open(stm32_series_file, "r") as fp:
stm32_series_data = json.load(fp)
if series not in stm32_series_data:
stm32_series_data["series"][series] = nx
with open(stm32_series_file, "w") as fp:
json.dump(stm32_series_data, fp, indent=2)
print(f"Added series {series} with nx={nx} to stm32_series.json")


def updateCore():
global nx
for series in stm32_list:
Expand Down Expand Up @@ -1046,7 +1036,7 @@ def updateCore():
print("No stm32_def file were updated!")
sys.exit(1)
# Add the new series to the json config file
addSeriesToConfig(series, nx)
addSeriesToConfig(stm32_series_json_path, series, nx, "series")
if not commitFiles(core_path, series_commit_msg):
print("No stm32_series.json file were updated!")

Expand Down
Loading
Loading