Hello,
I'm in the process of introducing the STM32 family in my products.
As diferent version of this family (STM32F7 and STM32H7) will be used I was looking for a HAL solution.
ChibiOS was suggested to me.
So i downloaded the actual version of ChibiStudio and it seems to be a really nice solution.
At the moment I'm not sure if I will use ChibiOS/RT but ChibiOS/HAL looks promising.
The only problem I found is the lack support of IAR EWARM.
For some of the HAL examples at ..\testhal\.. EWARm workspace and project file are existing but they seem to be outdated. For example the fili links within the project file are not correct (e.g.: adc.c instead of hal_adc.c).
Are there any plan for updating the EWARM projects?
Many thanks in adavance!
regards
Gerhard
ChibiOS/HAL and IAR EWARM?
- Giovanni
- Site Admin
- Posts: 14455
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: ChibiOS/HAL and IAR EWARM?
Hi,
The project under \demos\STM32\RT-STM32F303-DISCOVERY\iar should be fine, I will update the files you reported in next releases.
The problem with IAR (and Keil) projects is that project files are monolithic and a PITA to maintain, this is why we only provide few examples. Makefiles are much more flexible in comparison, it is a small file that includes the .mk of the various parts, handling and maintenance is very easy. If you change one .mk then all projects are updated.
Giovanni
The project under \demos\STM32\RT-STM32F303-DISCOVERY\iar should be fine, I will update the files you reported in next releases.
The problem with IAR (and Keil) projects is that project files are monolithic and a PITA to maintain, this is why we only provide few examples. Makefiles are much more flexible in comparison, it is a small file that includes the .mk of the various parts, handling and maintenance is very easy. If you change one .mk then all projects are updated.
Giovanni
Re: ChibiOS/HAL and IAR EWARM?
Hello Giovanni,
thanks for the quick reply.
I tested the project you mentioned and was able to build it as long as I use chibios176.
A warnung is produced:
Warning: The header file 'cmsis_iar.h' is obsolete and should not be used.
At chibios182 it seems that the directory structure was changed too.
I tried to change the preprocessor include paths but there are still some compiler errors.
Next problem:
I would like to use a STM32F723 Discovery kit.
Is there s simple way to use this kit?
Many thanks in advance!
Gerhard
thanks for the quick reply.
I tested the project you mentioned and was able to build it as long as I use chibios176.
A warnung is produced:
Warning: The header file 'cmsis_iar.h' is obsolete and should not be used.
At chibios182 it seems that the directory structure was changed too.
I tried to change the preprocessor include paths but there are still some compiler errors.
Next problem:
I would like to use a STM32F723 Discovery kit.
Is there s simple way to use this kit?
Many thanks in advance!
Gerhard
- Giovanni
- Site Admin
- Posts: 14455
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: ChibiOS/HAL and IAR EWARM?
Is the demo in 18.2.1 not working?
If you are in an hurry, try ChibiStudio and try all demos. I will fix IAR projects in next release.
Giovanni
If you are in an hurry, try ChibiStudio and try all demos. I will fix IAR projects in next release.
Giovanni
Re: ChibiOS/HAL and IAR EWARM?
Hello,
I was able to change the .ewp file so the poject is now building with success.
As I don't own the STM32F303 Discovery board I will use ChibiStudio for first evaluation.
BTW: I tried to attach the .ewp file to this message but get an error message:
Invalid file extension: ch.ewp
regards
Gerhard
I was able to change the .ewp file so the poject is now building with success.
As I don't own the STM32F303 Discovery board I will use ChibiStudio for first evaluation.
BTW: I tried to attach the .ewp file to this message but get an error message:
Invalid file extension: ch.ewp
regards
Gerhard
- Giovanni
- Site Admin
- Posts: 14455
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: ChibiOS/HAL and IAR EWARM?
Hi,
You need to attach zip/7z files, it is a security feature of the forum.
Giovanni
You need to attach zip/7z files, it is a security feature of the forum.
Giovanni
Re: ChibiOS/HAL and IAR EWARM?
Hello once more,
I've here a STM32F723 Discovery kit, which isn't supported yet.
I've read that the necessary adaption can be done with the "ChibiStudio board generator plugin".
Where can I find this tool?
many thanks in advance!
Gerhard
BTW: enclosed the .ewp file
I've here a STM32F723 Discovery kit, which isn't supported yet.
I've read that the necessary adaption can be done with the "ChibiStudio board generator plugin".
Where can I find this tool?
many thanks in advance!
Gerhard
BTW: enclosed the .ewp file
- Attachments
-
- ch.zip
- (7.11 KiB) Downloaded 185 times
- Giovanni
- Site Admin
- Posts: 14455
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: ChibiOS/HAL and IAR EWARM?
Hi,
That plugin is included in ChibiStudio, it allows to generate the board.h/c/mk files starting from an XML description with extension .chcfg.
Have you seen the guides on playembedded.org? it is a good way to get started.
Giovanni
That plugin is included in ChibiStudio, it allows to generate the board.h/c/mk files starting from an XML description with extension .chcfg.
Have you seen the guides on playembedded.org? it is a good way to get started.
Giovanni
Re: ChibiOS/HAL and IAR EWARM?
Giovanni wrote:That plugin is included in ChibiStudio, it allows to generate the board.h/c/mk files starting from an XML description with extension .chcfg.
Sorry but I didn't find any plugin. Is there any documentation about this stuff available?
Giovanni wrote:Have you seen the guides on playembedded.org? it is a good way to get started.
I've already read the guides on playembedded.org but didn't find any hints regarding the plugin.
regards
Gerhard
- Giovanni
- Site Admin
- Posts: 14455
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Who is online
Users browsing this forum: No registered users and 11 guests