Nil port

Discussions and support about ChibiOS/NIL, the almost nil RTOS.
Post Reply
dmene
Posts: 14
Joined: Mon Nov 23, 2015 6:38 pm
Been thanked: 4 times

Nil port

Post by dmene »

Hi Giovanni,

In STM32F0xx\stm32_registry.h, these definitions are correct?

/* Common identifier of all STM32F030 devices.*/
#define STM32F030

/* Common identifier of all STM32F070 devices.*/
#define STM32F070

I made a port of NIL with stm32f030 with Keil and get

STM32F0xx\stm32_registry.h(1159): warning: #47-D: incompatible redefinition of macro "STM32F030"

Daniel
User avatar
Giovanni
Site Admin
Posts: 14893
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: Nil port

Post by Giovanni »

Hi,

You have to undef that macro in the preprocessor options because Keil predefines it.

Giovanni
dmene
Posts: 14
Joined: Mon Nov 23, 2015 6:38 pm
Been thanked: 4 times

Re: Nil port

Post by dmene »

no problems with STM32F051
Post Reply