Understood, this could take time since it is an entirely different compiler...
Giovanni
What files should be imported in MDK5?
- Giovanni
- Site Admin
- Posts: 14563
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1111 times
- Been thanked: 937 times
- Contact:
Re: What files should be imported in MDK5?
Giovanni wrote:Understood, this could take time since it is an entirely different compiler...
Giovanni
How many day? 2,3?
I need ChibiOS.
- Giovanni
- Site Admin
- Posts: 14563
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1111 times
- Been thanked: 937 times
- Contact:
Re: What files should be imported in MDK5?
Hi,
Frankly I doubt it will take just days, it is a problematic period for me.
If you need ChibiOS within days then you could just start using GCC and then port on MDK later, compatibility would be 100%, no changes to the code at all because the OS abstracts all details. Look at that F3 project, it works on Keil, IAR and GCC without changes.
BTW, GCC produces better code usually.
Giovanni
Frankly I doubt it will take just days, it is a problematic period for me.
If you need ChibiOS within days then you could just start using GCC and then port on MDK later, compatibility would be 100%, no changes to the code at all because the OS abstracts all details. Look at that F3 project, it works on Keil, IAR and GCC without changes.
BTW, GCC produces better code usually.
Giovanni
- Giovanni
- Site Admin
- Posts: 14563
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1111 times
- Been thanked: 937 times
- Contact:
Re: What files should be imported in MDK5?
Hi,
I committed experimental support for ARMC6 on trunk, there is a project in this demo: demos\STM32\RT-STM32G474RE-NUCLEO64
There is an annoying warning that will require some rework, ignore it, it is harmless.
Giovanni
I committed experimental support for ARMC6 on trunk, there is a project in this demo: demos\STM32\RT-STM32G474RE-NUCLEO64
There is an annoying warning that will require some rework, ignore it, it is harmless.
Giovanni
Re: What files should be imported in MDK5?
Giovanni wrote:Hi,
I committed experimental support for ARMC6 on trunk, there is a project in this demo: demos\STM32\RT-STM32G474RE-NUCLEO64
There is an annoying warning that will require some rework, ignore it, it is harmless.
Giovanni
There is no Keil project file. Are you updated Source forge file?
I also installed compiler v5 for my mdk and tried to compile your dem file in the RT-STM32F303-DISCOVERY and now everything is ok but for my project again got such errors:
https://filebin.net/q3w9xe4qia74lp3y/sstrutyjghjd.txt
or
https://jumpshare.com/s/m6UxLzQeqSMUfHbMBh3H
- Giovanni
- Site Admin
- Posts: 14563
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1111 times
- Been thanked: 937 times
- Contact:
Re: What files should be imported in MDK5?
There is a file ARMC6/ch.uvprojx in the project.
About errors, it works for me using uvision 5.34 and a fresh checkout, perhaps you are missing some packs.
Giovanni
About errors, it works for me using uvision 5.34 and a fresh checkout, perhaps you are missing some packs.
Giovanni
Re: What files should be imported in MDK5?
Giovanni wrote:There is a file ARMC6/ch.uvprojx in the project.
About errors, it works for me using uvision 5.34 and a fresh checkout, perhaps you are missing some packs.
Giovanni
I couldn't find it.
About errors, I worked on it and yes, incorrect address! but now the errors is somthing else. It seems we shoud not add the std and CMSIS of the MD5 (two green packs in the tree). I attached a screenshot of the tree And the errors:
https://jumpshare.com/s/Jg7AIe4zdNnK0MWb3Wss
or
https://filebin.net/o45b67iy3ok8ek8u/xdxfysre.txt
Can't I use chibiOS and std together?
- Giovanni
- Site Admin
- Posts: 14563
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1111 times
- Been thanked: 937 times
- Contact:
Re: What files should be imported in MDK5?
It is here assuming you are looking at the correct repository:
/demos/STM32/RT-STM32G474RE-NUCLEO64/ARMC6/ch.uvprojx
Giovanni
/demos/STM32/RT-STM32G474RE-NUCLEO64/ARMC6/ch.uvprojx
Giovanni
-
- Posts: 4
- Joined: Wed Jul 03, 2024 1:39 pm
Re: What files should be imported in MDK5?
Hi,
I think you should to import ChibiOSRT (Real Time) into your project, you typically need to include the necessary folders from the ChibiOS source that correspond to the components you intend to use such as kernel hal and os folders. Make sure to include all required headers and source files relevant to your application from the Chibi OS distribution (version 21.11.3 in your case).
Thanks
I think you should to import ChibiOSRT (Real Time) into your project, you typically need to include the necessary folders from the ChibiOS source that correspond to the components you intend to use such as kernel hal and os folders. Make sure to include all required headers and source files relevant to your application from the Chibi OS distribution (version 21.11.3 in your case).
Thanks
Who is online
Users browsing this forum: No registered users and 6 guests