Keil uV5+STM32F407+ChibiOsv3.0 wanted Blink example Topic is solved

Report here problems in any of ChibiOS components. This forum is NOT for support.
milom
Posts: 7
Joined: Sun Oct 21, 2018 11:54 am
Has thanked: 3 times

Keil uV5+STM32F407+ChibiOsv3.0 wanted Blink example  Topic is solved

Postby milom » Sun Oct 21, 2018 12:04 pm

Hello friends, this is my first speech on the forum and I take this opportunity to greet everyone. I'm absolutely new to ChibiOs and have been used Keil for years. I can not find a recent example in Chibios3 that leads me to start on STM32F407. Creating porting is getting complicated, as there is a lot of difference between the folders and the includes of version 2.6 with 3.0 and I am very confused, not knowing the architecture yet. Does anyone have led blink in Keil for version 3.0 to exchange? thank you ... Marco :)

User avatar
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: Keil uV5+STM32F407+ChibiOsv3.0 wanted Blink example

Postby Giovanni » Sun Oct 21, 2018 3:40 pm

Hi,

There is one Keil example under /demos/STM32/RT-STM32F303-DISCOVERY/keil, it is for STM32F3, it should be easy to switch it to STM32F4.

Please consider that the easiest way to get started with ChibiOS is to use ChibiStudio, you can practice and understand the system then add a Keil project (no changes to the code required, you can build the same application using any compiler).

Giovanni

milom
Posts: 7
Joined: Sun Oct 21, 2018 11:54 am
Has thanked: 3 times

Re: Keil uV5+STM32F407+ChibiOsv3.0 wanted Blink example

Postby milom » Sun Oct 21, 2018 4:14 pm

thanks for the immediate answer Giovanni, I installed the chibistudio correctly and everything works perfectly, I do not like the makefiles, I'm used to IDE I'm lazy to have to add and remove everything manually, and I also have a lot of work on keil ... in short , habits ... and if with a little help I always manage to use my favorite development environment, here is that medicine is sweeter;). However, the example on the C: \ ChibiStudio \ chibios182 \ demos \ STM32 \ RT-STM32F303-DISCOVERY folder does not start with the lack of files included in the tree ... but instead of 176 it works, at least one of the two present is compiled perfectly. I had used the first on 182 and not compiling I thought it was some old demo.
Any advice before starting porting? I thank you for your time.

Marco

User avatar
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: Keil uV5+STM32F407+ChibiOsv3.0 wanted Blink example

Postby Giovanni » Sun Oct 21, 2018 4:39 pm

Hi,

There must be a regression in the Keil project files in 18.x, I need to fix it. This is exactly why I prefer makefiles :)

When I make a change (paths or new things), I just update one of those .mk files and all projects are updated instantly (because, look into a Makefile, those just include .mk files, there is very little inside).

Now image that all our hundreds demos/projects had a Keil (or IAR or others) XML project files, I would have to manually adjust all of them each time I make a change.

BTW, in next version (19.x) you don't even need to edit Makefiles, everything you place under ./source in your project is compiled and linked automatically.

Giovanni

milom
Posts: 7
Joined: Sun Oct 21, 2018 11:54 am
Has thanked: 3 times

Re: Keil uV5+STM32F407+ChibiOsv3.0 wanted Blink example

Postby milom » Sun Oct 21, 2018 5:31 pm

Giovanni wrote:
BTW, in next version (19.x) you don't even need to edit Makefiles, everything you place under ./source in your project is compiled and linked automatically.

Giovanni


wow... this is a good idea.. thanks Giovanni

alexblack
Posts: 276
Joined: Mon Sep 24, 2012 3:52 pm
Location: Donetsk
Been thanked: 32 times
Contact:

Re: Keil uV5+STM32F407+ChibiOsv3.0 wanted Blink example

Postby alexblack » Tue Nov 27, 2018 11:44 pm

Hello.

Really current demo for KEIL is not compiled.

I changed it.
ch.zip
Keil Version 5 working demo
(5.41 KiB) Downloaded 276 times

Clip2net_181128013725.png


Also need to change the file halconf.h
Clip2net_181128014011.png

alexblack
Posts: 276
Joined: Mon Sep 24, 2012 3:52 pm
Location: Donetsk
Been thanked: 32 times
Contact:

Re: Keil uV5+STM32F407+ChibiOsv3.0 wanted Blink example

Postby alexblack » Wed Nov 28, 2018 12:01 am

For the current trunk the project file must be changed.
ch_trunk_keil.zip
(5.35 KiB) Downloaded 258 times

User avatar
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: Keil uV5+STM32F407+ChibiOsv3.0 wanted Blink example

Postby Giovanni » Sun Nov 10, 2019 10:34 am

Thanks, I will change as suggested, moving this topic in "bug reports" so it is not lost.

Giovanni


Last bumped by Giovanni on Sun Nov 10, 2019 10:34 am.


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 9 guests