seems this is not included in the chibistudio package.
what needs to be done to include it ?
arm_math.h - pid functions
Moderators: RoccoMarco, barthess
- Giovanni
- Site Admin
- Posts: 14457
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: arm_math.h - pid functions
yes i would have thought so. Looking at ARM git i can see it is there in CMSIS Version 4(legacy).
Is latest chibiOS using Version 5 ?
If so i dont believe the chibistudio includes all the CMSIS package ? i.e. DSP folder not included
Is latest chibiOS using Version 5 ?
If so i dont believe the chibistudio includes all the CMSIS package ? i.e. DSP folder not included
- Giovanni
- Site Admin
- Posts: 14457
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: arm_math.h - pid functions
Yes, it is one of the latest 5.x.
Not all CMSIS packages are included just the core-related classic CMSIS, note those are in ChibiOS, not in ChibiStudio. Chibistudio does not include libraries at all (except those in compilers), just tools.
You could add extra packages into a new dir under ChibiStudio/lib/xxxx
Giovanni
Not all CMSIS packages are included just the core-related classic CMSIS, note those are in ChibiOS, not in ChibiStudio. Chibistudio does not include libraries at all (except those in compilers), just tools.
You could add extra packages into a new dir under ChibiStudio/lib/xxxx
Giovanni
Re: arm_math.h - pid functions
Giovanni wrote:Yes, it is one of the latest 5.x.
Not all CMSIS packages are included, note those are in ChibiOS, not in ChibiStudio. Chibistudio does not include libraries at all (except those in compilers), just tools.
You could add extra packages into a new dir under ChibiStudio/lib/xxxx
Giovanni
Sorry i mean't Chibios.
So i added teh DSP folder to C:\ChibiStudio\chibios2111\os\common\ext\ARM\CMSIS folder
i then included arm_math.h i a project, but it cant find the file.
Where would i need to change the build make to added the new include folder ?
- Giovanni
- Site Admin
- Posts: 14457
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: arm_math.h - pid functions
Add the path this way:
INCDIR = $(CONFDIR) $(ALLINC) $(TESTINC) $(CHIBIOS)/mypath_into_chibios
Giovanni
INCDIR = $(CONFDIR) $(ALLINC) $(TESTINC) $(CHIBIOS)/mypath_into_chibios
Giovanni
Who is online
Users browsing this forum: Google [Bot] and 48 guests