Skip to content

[DO NOT MERGE] Update to CMSIS 5.5.0 #392

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion extras/package_index.json.Hourly.template
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
{
"packager": "arduino",
"name": "CMSIS",
"version": "4.5.0"
"version": "5.5.0"
},
{
"packager": "arduino",
Expand Down
2 changes: 1 addition & 1 deletion extras/package_index.json.PR.template
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
{
"packager": "arduino",
"name": "CMSIS",
"version": "4.5.0"
"version": "5.5.0"
},
{
"packager": "arduino",
Expand Down
4 changes: 2 additions & 2 deletions platform.txt
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ compiler.S.extra_flags=
compiler.ar.extra_flags=
compiler.elf2hex.extra_flags=

compiler.arm.cmsis.c.flags="-I{runtime.tools.CMSIS-4.5.0.path}/CMSIS/Include/" "-I{runtime.tools.CMSIS-Atmel-1.1.0.path}/CMSIS/Device/ATMEL/"
compiler.arm.cmsis.ldflags="-L{runtime.tools.CMSIS-4.5.0.path}/CMSIS/Lib/GCC/" -larm_cortexM0l_math
compiler.arm.cmsis.c.flags="-I{runtime.tools.CMSIS-5.5.0.path}/CMSIS/Core/Include/" "-I{runtime.tools.CMSIS-5.5.0.path}/CMSIS/DSP/Include/" "-I{runtime.tools.CMSIS-5.5.0.path}/CMSIS/NN/Include/" "-I{runtime.tools.CMSIS-Atmel-1.1.0.path}/CMSIS/Device/ATMEL/"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm getting linker errors when trying to use NN functions, they are not pre-compiled like the DSP.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sandeepmistry do you think they are not precompiled because they use some features not commonly deployed across a microarchitecture family? In that case the only thing I can think about is turning them into Arduino libraries (which is bad, but not terrible, since CMSIS changes are in sync with the core)

compiler.arm.cmsis.ldflags="-L{runtime.tools.CMSIS-5.5.0.path}/CMSIS/DSP/Lib/GCC/" -larm_cortexM0l_math

# USB Flags
# ---------
Expand Down