-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Copy latest version of arm_math.h from CMSIS github project #12040
Conversation
@freddan80, thank you for your changes. |
@freddan80 Please fill in the PR template. Introduce changes and tell us more about them, although this is just an update from upstream. @ARMmbed/mbed-os-core @kjbracey-arm We used to have a script to fetch the latest cmsis files? Looking at this file, it is time to update. It would be good to update CMSIS files for 6.0 release |
Hi! I filled in the PR template. If you have a script for updating the file it would be great! There two more occasions of this file in the repo. I only updated the one I needed for now, to have an minimal impact on your repo. Cheers! |
Thanks looks fine now. I checked the importer, it imports only RTX files. I could not locate this file there.
If they have same names, its just an order thing if you include just "name_header.h" in your file, not something more explicit "module/name_header.h" or similar. |
CI started |
Test run: FAILEDSummary: 3 of 4 test jobs failed Failed test jobs:
|
@mmahadevan108 The drivers for LPC are made for earlier version of cmsis headers? There are errors in the build, only for
@freddan80 The update is not that simple as there are targets in the codebase (CI found just one at the moment), we need an updated driver from NXP to get this in. @ARMmbed/team-nxp Can we get new driver along with updating cmsis ? |
Sem ver seems wrong in the header file |
@0xc0170, thanks for the info. I'll await the change from @ARMmbed/team-nxp In the meanwhile, I'll try to proceed with another fix for my issue, since I assume it may take a while? |
I assume this could be, or we fix the driver. I reviewed the changes, there was a change in constness for cmsis math API. This is causing the errors here. |
Below is the zip file with the updated powerquad drivers |
I propagates behind the include I use in TFLu, "arm_nnfunctions.h". This in turn includes "arm_nnsupportfunctions.h", which then includes "arm_math.h"... Is there a way to specific on the make line what to include where? I use this:
folder structure below is: mbed-os/ (ok to use the old arm_math.h) Can I accomplish this using the mbed compile command? Cheers! |
Let's put this on the list for Mbed 6 |
@mmahadevan108 Thanks for sharing the updated driver.
@freddan80 if your code can include this The next Mbed OS version (in this case 6.0.0) should contain the latest CMSIS release, we will update files in the separate ticket. Let us if this works for you. |
@mmahadevan108 DSP is provided as a component, how does NXP overwrites default DSP implementation ? Please talk to CMSIS team, they would like to understand the driver powerquad (how to override DSP and provide own implementation). As DSP is a component, if you download/use CMSIS-Packs, you would get duplicate definitions. I assume NXP SDK provide own DSP changed componented (to work with this driver) ? I'll create a separate issue why |
I created #12054, I'll create separate PR to test now if we can remove this header file completely. That would be better way how to fix the error. |
As replacement proposed, I'll close this one. |
Summary of changes
We're working on integrating CMSIS-NN into TensorflowLite Micro (TFLu). One of the features of TFLu is that can generate an Mbed project. When that is done, CMSIS is downloaded as third party code. For reasons I don't know, the mbed build system prioritizes the arm_math.h in cmsis/TARGET_CORTEX_M/. As a quick fix we want to update this file.
Impact of changes
Migration actions required
Documentation
Pull request type
Test results
Reviewers