Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
26f4f01
ci: add STM32 Cube v2 support
fpistm Jan 20, 2026
ec67525
ci(stm32svd): add STM32 Cube v2 support
fpistm Feb 27, 2026
c7355fe
ci(stm32wrapper): manage startup source files
fpistm Feb 2, 2026
fb48154
ci(stm32variant): add STM32 Cube v2 support
fpistm Feb 6, 2026
65b4443
system(c5) add STM32C5xx HAL Drivers to v2.0.0
fpistm Apr 2, 2026
046cf88
system(c5): add STM32C5xx CMSIS Drivers to v2.0.0
fpistm Apr 2, 2026
148f8b5
system(c5): add STM32C5xx system source files
fpistm Apr 2, 2026
f902f6e
system(c5): update STM32C5xx hal default config
fpistm Apr 2, 2026
2f04a5b
core(c5): add top HAL include
fpistm Apr 2, 2026
8f24e2a
core(c5): reference STM32C5xx series
fpistm Apr 2, 2026
6d8d3e6
core(c5): add wrapped files
fpistm Apr 2, 2026
928922e
generated files wrapper
fpistm Apr 24, 2026
373450f
chore: add new recipe to define HAL version usage
fpistm Apr 22, 2026
c365ed3
chore: introduce HALv2 configuration
fpistm May 21, 2026
fc116a0
chore(c5): add stm32_hal top inclusion
fpistm Mar 3, 2026
3505683
system(c5): update STM32C5xx hal default config
fpistm Mar 27, 2026
b096d28
system(c5): add STM32C5xx external default value
fpistm Mar 27, 2026
a44906e
variants(c5): add all generated STM32C5xx generic variant files
fpistm Apr 2, 2026
ebd6410
variant(c5): add generic C552R(C-E)T and C562RET
fpistm Feb 19, 2026
92448b8
chore(platform): add startup source file include
fpistm Jun 16, 2026
279bdf2
chore: clean up UNUSED usage
fpistm Apr 2, 2026
62091a9
chore(clock): add HAL v2 support
fpistm Apr 1, 2026
823b16d
chore: store as const volatile
fpistm Apr 22, 2026
e5a3280
chore: ensure linker script compatibility
fpistm Mar 24, 2026
adc2dc7
chore(cmake): update to support HALv2
fpistm Mar 24, 2026
4994e6e
chore(cmake): update database
fpistm Apr 22, 2026
19db236
variant(c5): add Nucleo-C562RE support
fpistm Mar 25, 2026
b082025
chore(exti): add HAL v2 support
fpistm Apr 20, 2026
ff9f892
chore(uart): add HAL v2 support
fpistm Apr 22, 2026
a75d4d9
chore(variants): ensure LPUART clock source config
fpistm May 13, 2026
9ec65de
chore(analog): cleanup befor HALv2
fpistm May 11, 2026
ed579c3
chore(adc): add HAL v2 support
fpistm May 11, 2026
2dab7da
chore(dac): add HAL v2 support
fpistm May 22, 2026
b0276fc
fix(i3c): astyle issue
fpistm May 25, 2026
e75862b
fix(timer): STM32U0xx clock source
fpistm Jun 2, 2026
4671811
chore(tim): add HAL v2 support
fpistm May 26, 2026
0675a9c
chore(tone): add HAL v2 support
fpistm Jun 4, 2026
4555e7e
chore(servo): remove useless define
fpistm Jun 18, 2026
77f5b9a
chore(servo): add HAL v2 support
fpistm Jun 18, 2026
d82094d
chore(iwatchdog): add HAL v2 support
fpistm Jun 4, 2026
0234fd8
chore(spi): add HAL v2 support
fpistm Jun 8, 2026
379cbd0
chore(i2c): add HAL v2 support
fpistm Jun 10, 2026
a89a8c8
chore(i3c): disable for HALv2 support
fpistm Jun 11, 2026
977081c
chore(eeprom): disable for HALv2 support
fpistm Jun 18, 2026
5fa1d40
chore(usb): disable for HALv2 support
fpistm Jun 18, 2026
4918717
ci(cmake): add C5 series to the build
fpistm Jun 18, 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)
#if defined(I3C1_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)
#if defined(I3C1_BASE) && defined(HAL_I3C_MODULE_ENABLED)
// I3C
I3C1Bus.setBusType(I3CBusType::Pure);
I3C1Bus.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