Page 1 of 1

Nil port

Posted: Thu Feb 11, 2016 7:27 pm
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

Re: Nil port

Posted: Thu Feb 11, 2016 8:20 pm
by Giovanni
Hi,

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

Giovanni

Re: Nil port

Posted: Thu Feb 11, 2016 9:26 pm
by dmene
no problems with STM32F051