makefile path
Posted: Thu Dec 31, 2015 5:54 pm
i want compile a simple test project using makefile (chibios 3.04 with custom board & STM32F103C8), i not use chibistudio, not like
copyed makefile from ChibiOS_3.0.4\demos\STM32\RT-STM32F103-OLIMEX_STM32_P103\
created the board files and put on os/hal/boards/boardname
changed the makefile (see attachment)
when i compile (from shell) i get this message:
sure the problem are paths, but i must put all the paths inside the INCDIR variable? there are so many, nosense do something like this, sure there are alternative, or i'm doing something wrong?
copyed makefile from ChibiOS_3.0.4\demos\STM32\RT-STM32F103-OLIMEX_STM32_P103\
created the board files and put on os/hal/boards/boardname
changed the makefile (see attachment)
when i compile (from shell) i get this message:
c:\EmBitz\SIMPLE_STEPPER>make
Compiling crt0_v7m.s
Compiling chcoreasm_v7m.s
Compiling crt1.c
Compiling vectors.c
Compiling chsys.c
In file included from c:/EmBitz/SIMPLE_STEPPER/ext/ChibiOS_3.0.4/os/rt/include/ch.h:73:0, from c:/EmBitz/SIMPLE_STEPPER/ext/ChibiOS_3.0.4/os/rt/src/chsys.c:36:
c:/EmBitz/SIMPLE_STEPPER/ext/ChibiOS_3.0.4/os/rt/include/chsystypes.h:50:6: warning: "CH_CFG_ST_RESOLUTION" is not defined [-Wundef]
#if (CH_CFG_ST_RESOLUTION == 32) || defined(__DOXYGEN__)
^
c:/EmBitz/SIMPLE_STEPPER/ext/ChibiOS_3.0.4/os/rt/include/chsystypes.h:52:7: warning: "CH_CFG_ST_RESOLUTION" is not defined [-Wundef]
#elif CH_CFG_ST_RESOLUTION == 16
^
sure the problem are paths, but i must put all the paths inside the INCDIR variable? there are so many, nosense do something like this, sure there are alternative, or i'm doing something wrong?