Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: stm32duino/Arduino_Core_STM32
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 4f9467efae4f68326cbfa5f78fcf52c6c8936160
Choose a base ref
..
head repository: stm32duino/Arduino_Core_STM32
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 451eda8e9b37478204bada50d8e4d62b66313596
Choose a head ref
Showing with 1 addition and 14 deletions.
  1. +1 −1 .github/actions/pio-build/README.md
  2. +0 −13 tools/platformio/platformio-build.py
2 changes: 1 addition & 1 deletion .github/actions/pio-build/README.md
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ This action build thanks PIO.

### `cmsis-version`

The CMSIS version to use. Default `"5.7.0"`.
The CMSIS version to use. Default `"5.9.0"`.

## Example usage

13 changes: 0 additions & 13 deletions tools/platformio/platformio-build.py
Original file line number Diff line number Diff line change
@@ -115,17 +115,6 @@ def process_usb_configuration(cpp_defines):
env.Append(CPPDEFINES=["HAL_PCD_MODULE_ENABLED"])


def get_arm_math_lib(cpu):
if "m33" in cpu:
return "arm_ARMv8MMLlfsp_math"
elif "m4" in cpu:
return "arm_cortexM4lf_math"
elif "m7" in cpu:
return "arm_cortexM7lfsp_math"

return "arm_cortex%sl_math" % cpu[7:9].upper()


def configure_application_offset(mcu, upload_protocol):
offset = 0

@@ -340,13 +329,11 @@ def get_arduino_board_id(board_config, mcu):
% board_config.get("upload.maximum_ram_size"),
],
LIBS=[
get_arm_math_lib(board_config.get("build.cpu")),
"c",
"m",
"gcc",
"stdc++",
],
LIBPATH=[join(CMSIS_DIR, "DSP", "Lib", "GCC")],
)

env.ProcessFlags(board_config.get("build.framework_extra_flags.arduino", ""))