Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
049d08e
ci: add STM32 Cube v2 support
fpistm Jan 20, 2026
2255d79
ci(stm32svd): add STM32 Cube v2 support
fpistm Feb 27, 2026
2d18050
ci(stm32wrapper): manage startup source files
fpistm Feb 2, 2026
23ebbe8
ci(stm32variant): add STM32 Cube v2 support
fpistm Feb 6, 2026
08b05e4
system(c5) add STM32C5xx HAL Drivers to v2.0.0
fpistm Apr 2, 2026
ee8e25d
system(c5): add STM32C5xx CMSIS Drivers to v2.0.0
fpistm Apr 2, 2026
eed8bee
system(c5): add STM32C5xx system source files
fpistm Apr 2, 2026
d901f05
system(c5): update STM32C5xx hal default config
fpistm Apr 2, 2026
e9441e9
core(c5): add top HAL include
fpistm Apr 2, 2026
c91a41a
core(c5): reference STM32C5xx series
fpistm Apr 2, 2026
fea89ed
core(c5): add wrapped files
fpistm Apr 2, 2026
2fdbe6b
generated files wrapper
fpistm Apr 24, 2026
e5a264b
chore: add new recipe to define HAL version usage
fpistm Apr 22, 2026
f6b60da
chore: introduce HALv2 configuration
fpistm May 21, 2026
de24ba7
chore(c5): add stm32_hal top inclusion
fpistm Mar 3, 2026
64066e8
system(c5): update STM32C5xx hal default config
fpistm Mar 27, 2026
c8e560e
system(c5): add STM32C5xx external default value
fpistm Mar 27, 2026
0d05c1b
variants(c5): add all generated STM32C5xx generic variant files
fpistm Apr 2, 2026
7a11454
variant(c5): add generic C552R(C-E)T and C562RET
fpistm Feb 19, 2026
49c3877
chore(platform): add startup source file include
fpistm Jun 16, 2026
b55da22
chore: clean up UNUSED usage
fpistm Apr 2, 2026
f30443c
chore(clock): add HAL v2 support
fpistm Apr 1, 2026
175c037
chore: store as const volatile
fpistm Apr 22, 2026
b68fe5d
chore: ensure linker script compatibility
fpistm Mar 24, 2026
1672fae
chore(cmake): update to support HALv2
fpistm Mar 24, 2026
de4b259
chore(cmake): update database
fpistm Apr 22, 2026
0329016
variant(c5): add Nucleo-C562RE support
fpistm Mar 25, 2026
d6e4f92
chore(exti): add HAL v2 support
fpistm Apr 20, 2026
6fbee0f
chore(uart): add HAL v2 support
fpistm Apr 22, 2026
dbd8bd5
chore(variants): ensure LPUART clock source config
fpistm May 13, 2026
b93f8b2
chore(analog): cleanup befor HALv2
fpistm May 11, 2026
bf94cf9
chore(adc): add HAL v2 support
fpistm May 11, 2026
5e40f46
chore(dac): add HAL v2 support
fpistm May 22, 2026
267456a
fix(i3c): astyle issue
fpistm May 25, 2026
17fc3ef
fix(timer): STM32U0xx clock source
fpistm Jun 2, 2026
4e5ab3d
chore(tim): add HAL v2 support
fpistm May 26, 2026
1bd30a4
chore(tone): add HAL v2 support
fpistm Jun 4, 2026
90c185d
chore(servo): remove useless define
fpistm Jun 18, 2026
43ea8cb
chore(servo): add HAL v2 support
fpistm Jun 18, 2026
9d371ac
chore(iwatchdog): add HAL v2 support
fpistm Jun 4, 2026
4f8786f
chore(spi): add HAL v2 support
fpistm Jun 8, 2026
10736dc
chore(i2c): add HAL v2 support
fpistm Jun 10, 2026
ed1e17d
chore(i3c): disable for HALv2 support
fpistm Jun 11, 2026
5e6c121
chore(eeprom): disable for HALv2 support
fpistm Jun 18, 2026
8acf2df
chore(usb): disable for HALv2 support
fpistm Jun 18, 2026
6123c2e
ci(cmake): add C5 series to the build
fpistm Jun 18, 2026
e578c58
chore(backup): add HALv2 support
fpistm Jun 22, 2026
729184a
system(c5) update STM32C5xx HAL Drivers to v2.1.0
fpistm Jun 29, 2026
4c43464
system(c5): update STM32C5xx CMSIS Drivers to v2.1.0
fpistm Jun 29, 2026
176ad3c
chore(c5): update variants
fpistm Jun 29, 2026
9930246
chore(c5): update system files
fpistm Jun 29, 2026
79c5077
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)
#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