Page 1 of 1
Help for use Chibios for ST32F103ret6 in keil
Posted: Wed Nov 13, 2013 7:09 pm
by rozeh
Hi folk
Guys,
I'm newbie for Chibi and want to learn it. I have a ST32F103RET6 and my compiler is keil. Now, I need to your help for write my first program(Blink). my problem is that I don't know How can i set the compiler for write first program? My programmer is J-Link. the version of my Chibi is 2.6.1 . there are many files and folder.

Re: Help for use Chibios for ST32F103ret6 in keil
Posted: Wed Nov 13, 2013 7:12 pm
by Tectu
I've never used Keil myself but I know that it cannot handle external Makefiles and therefore you have to include all the files yourself. There's a keil project file within /demos/ARMCM3-STM32F103/keil. I took a quick look and it seems to contain all the necesary information. Maybe that one works?
~ Tectu
Re: Help for use Chibios for ST32F103ret6 in keil
Posted: Wed Nov 13, 2013 8:15 pm
by Giovanni
Hi,
What Tectu suggested, that one is a demo for the F103, project files for Keil are included.
Giovanni
Re: Help for use Chibios for ST32F103ret6 in keil
Posted: Thu Nov 14, 2013 5:15 pm
by rozeh
Guys,
Is the Chibi a russia RTOS?
Where Can i find the many sample code for using and learning?
Please suggest a good book for prerequisite because I'm really beginner for use of a RTOS. I don't know the thread, Semaphores, Mutexes and etc.

Re: Help for use Chibios for ST32F103ret6 in keil
Posted: Thu Nov 14, 2013 5:35 pm
by Giovanni
Hi,
ChibiOS is not specific of any country

If you are not used to RTOSes in general the you may start from Wikipedia (look for threads, semaphores, mutexes, mutual exclusion, critical zones) or search a good book regarding operating system concepts, not sure about which one, the one I used 25 years ago is "
Operating Systems Design , the XINU Approach" by Douglas Comer, I didn't look for more books on this subject after developing my own experience.
It is still sold:
http://www.amazon.com/Operating-System- ... 0136375391I would look for more recent books anyway.
Note that ChibiOS is not meant as a teaching tool, it is meant to be an effective RTOS in the hands of experienced developers, however several schools and colleges already use it for teaching. I am doing trainings in some universities here in Italy too.
Giovanni