Nil port

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

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: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 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: 14
Joined: Mon Nov 23, 2015 6:38 pm
Been thanked: 4 times

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 12 guests