Page 2 of 2
Re: What files should be imported in MDK5?
Posted: Tue Mar 26, 2024 3:32 pm
by Giovanni
Understood, this could take time since it is an entirely different compiler...
Giovanni
Re: What files should be imported in MDK5?
Posted: Tue Mar 26, 2024 6:31 pm
by kursiv
Giovanni wrote:Understood, this could take time since it is an entirely different compiler...
Giovanni
How many day? 2,3?
I need ChibiOS.
Re: What files should be imported in MDK5?
Posted: Tue Mar 26, 2024 7:14 pm
by Giovanni
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
Re: What files should be imported in MDK5?
Posted: Wed Mar 27, 2024 1:08 pm
by Giovanni
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
Re: What files should be imported in MDK5?
Posted: Thu Mar 28, 2024 6:51 am
by kursiv
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.txtor
https://jumpshare.com/s/m6UxLzQeqSMUfHbMBh3H
Re: What files should be imported in MDK5?
Posted: Thu Mar 28, 2024 8:00 am
by Giovanni
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
Re: What files should be imported in MDK5?
Posted: Sun Mar 31, 2024 7:34 am
by kursiv1
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/Jg7AIe4zdNnK0MWb3Wssor
https://filebin.net/o45b67iy3ok8ek8u/xdxfysre.txtCan't I use chibiOS and std together?
Re: What files should be imported in MDK5?
Posted: Sun Mar 31, 2024 9:01 pm
by Giovanni
It is here assuming you are looking at the correct repository:
/demos/STM32/RT-STM32G474RE-NUCLEO64/ARMC6/ch.uvprojx
Giovanni