What files should be imported in MDK5?

Discussions and support about ChibiOS/RT, the free embedded RTOS.
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: What files should be imported in MDK5?

Post by Giovanni »

Understood, this could take time since it is an entirely different compiler...

Giovanni
kursiv
Posts: 6
Joined: Fri Mar 22, 2024 8:17 am
Has thanked: 3 times

Re: What files should be imported in MDK5?

Post 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.
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: What files should be imported in MDK5?

Post 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
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: What files should be imported in MDK5?

Post 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
kursiv
Posts: 6
Joined: Fri Mar 22, 2024 8:17 am
Has thanked: 3 times

Re: What files should be imported in MDK5?

Post 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.txt

or

https://jumpshare.com/s/m6UxLzQeqSMUfHbMBh3H
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: What files should be imported in MDK5?

Post 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
kursiv1
Posts: 1
Joined: Sun Mar 31, 2024 7:22 am
Has thanked: 1 time

Re: What files should be imported in MDK5?

Post 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/Jg7AIe4zdNnK0MWb3Wss

or

https://filebin.net/o45b67iy3ok8ek8u/xdxfysre.txt

Can't I use chibiOS and std together?
Attachments
sfyukuhkks.jpg
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: What files should be imported in MDK5?

Post by Giovanni »

It is here assuming you are looking at the correct repository:

/demos/STM32/RT-STM32G474RE-NUCLEO64/ARMC6/ch.uvprojx

Giovanni
Post Reply