Hi !
I'm trying to make project with my own board configuration. I want to have it outside Chibios tree just changing Chibios makefile variable to chibios path. Also I'v changed board.mk BOARDSRC path to path in my dir. But still sometimes chconf.h is found not from mine directory.
Thanks.
Building project and board configuration outside chibios tree Topic is solved
Moderators: RoccoMarco, lbednarz, tfAteba
- Giovanni
- Site Admin
- Posts: 14895
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 997 times
Re: Building project and board configuration outside chibios tree
Hi,
Changing the board path is OK, I have not enough info about that chconf.h problem, it depends on your makefile.
Giovanni
Changing the board path is OK, I have not enough info about that chconf.h problem, it depends on your makefile.
Giovanni
Re: Building project and board configuration outside chibios tree
Hi,
I checked my folder and Makefile.
You can add a CONFDIR in your Makefile which points to the chconf.h, mcuconf.h and halconf.h.
In my case:
I checked my folder and Makefile.
You can add a CONFDIR in your Makefile which points to the chconf.h, mcuconf.h and halconf.h.
In my case:
Code: Select all
CHIBIOS = ../../chibios
CONFDIR = ./conf- Giovanni
- Site Admin
- Posts: 14895
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 997 times
Re: Building project and board configuration outside chibios tree
wurstnase wrote:Hi,
I checked my folder and Makefile.
You can add a CONFDIR in your Makefile which points to the chconf.h, mcuconf.h and halconf.h.
In my case:Code: Select all
CHIBIOS = ../../chibios
CONFDIR = ./conf
Correct, this is true starting from version 18.2.0.
Giovanni