Page 1 of 1
Missing include
Posted: Thu Jun 01, 2017 2:19 pm
by omcdr
Code: Select all
In file included from utils.c:10:0:
C:/ChibiStudio/ChibiOS/os/hal/lib/streams/chprintf.h:41:17: error: unknown type name 'BaseSequentialStream'
int chvprintf(BaseSequentialStream *chp, const char *fmt, va_list ap);
is it should be ?
Re: Missing include
Posted: Mon Jun 05, 2017 2:04 pm
by Giovanni
You just need to include "hal.h", other headers are not meant to be included separately.
Giovanni
Re: Missing include
Posted: Mon Jun 05, 2017 8:25 pm
by omcdr
Ok
In this case:
C:\ChibiStudio\ChibiOS\os\common\ports\ARMCMx\chcore_v7m.h",192 Error[25]: #error '"CH_CUSTOMER_LIC_PORT_CM3 not defined"'.
Is it should be ?
or
Re: Missing include
Posted: Mon Jun 05, 2017 8:53 pm
by Giovanni
Just "ch.h".
Giovanni