Porting chibios to Keil board STM32C

ChibiOS public support forum for topics related to the STMicroelectronics STM32 family of micro-controllers.

Moderator: RoccoMarco

Post Reply
lamqsb
Posts: 8
Joined: Sat Apr 12, 2014 9:09 am

Porting chibios to Keil board STM32C

Post by lamqsb »

Could anyone help me with this?
User avatar
Giovanni
Site Admin
Posts: 14892
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: Porting chibios to Keil board STM32C

Post by Giovanni »

lamqsb
Posts: 8
Joined: Sat Apr 12, 2014 9:09 am

Re: Porting chibios to Keil board STM32C

Post by lamqsb »

tks for the link. however, I got this error and havent found the solution
Image
User avatar
Giovanni
Site Admin
Posts: 14892
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: Porting chibios to Keil board STM32C

Post by Giovanni »

Does that happens compiling one of the existing Keil examples?

If not, there are LOTS of settings to do in the project options, please examine one of the examples and make sure to make the same settings in your project.

Giovanni
lamqsb
Posts: 8
Joined: Sat Apr 12, 2014 9:09 am

Re: Porting chibios to Keil board STM32C

Post by lamqsb »

it happens when I compile the demo. I keep all settings the same
User avatar
Giovanni
Site Admin
Posts: 14892
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: Porting chibios to Keil board STM32C

Post by Giovanni »

Please restore the project files from the downloaded zip, I am unable to reproduce the problem here, also specify which demo are you trying and the ChibiOS version.

Giovanni
lamqsb
Posts: 8
Joined: Sat Apr 12, 2014 9:09 am

Re: Porting chibios to Keil board STM32C

Post by lamqsb »

I'm using the demo ARMCM3-STM32F107 and Chibi 2.6.3
User avatar
Giovanni
Site Admin
Posts: 14892
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: Porting chibios to Keil board STM32C

Post by Giovanni »

It compiles using Keil 5.0. It is possible you changed some setting, could you restore the demo from the zip file and try again?

Giovanni
lamqsb
Posts: 8
Joined: Sat Apr 12, 2014 9:09 am

Re: Porting chibios to Keil board STM32C

Post by lamqsb »

I succeeded in compiling with uvision 5 but failed to download the program to the board. And I want to write a program to display sth on the display. Could you give me some suggestions on these concerns?
User avatar
Giovanni
Site Admin
Posts: 14892
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: Porting chibios to Keil board STM32C

Post by Giovanni »

Hi,

You have to setup your debugger (and flasher) in the project options, it depends on the debugger you are using.

Giovanni
Post Reply