baoshi / CubeMX2Makefile

STM32CubeMX project to Makefile converter
152 stars 52 forks source link

Includes Containing Paths #18

Open razed11 opened 7 years ago

razed11 commented 7 years ago

Building for an STM32F7 on OS X I got:

fatal error: lwip/opt.h: No such file or directory fatal error: arch/cc.h: No such file or directory

From these lines in different files:

#include "lwip/opt.h"
#include "arch/cc.h"

Easily fixed by adding:

C_INCLUDES += -IMiddlewares/Third_Party/LwIP/src/include
C_INCLUDES += -IMiddlewares/Third_Party/LwIP/system