Nil port

Discussions and support about ChibiOS/NIL, the almost nil RTOS.
dmene
Posts: 5
Joined: Mon Nov 23, 2015 6:38 pm

Nil port

Postby dmene » Thu Feb 11, 2016 7:27 pm

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: 11386
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 430 times
Been thanked: 363 times
Contact:

Re: Nil port

Postby Giovanni » Thu Feb 11, 2016 8:20 pm

Hi,

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

Giovanni

dmene
Posts: 5
Joined: Mon Nov 23, 2015 6:38 pm

Re: Nil port

Postby dmene » Thu Feb 11, 2016 9:26 pm

no problems with STM32F051


Return to “ChibiOS/NIL”

Who is online

Users browsing this forum: No registered users and 1 guest