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, utzig, tfAteba, barthess
- Giovanni
- Site Admin
- Posts: 14455
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
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
- wurstnase
- Posts: 121
- Joined: Tue Oct 17, 2017 2:24 pm
- Has thanked: 43 times
- Been thanked: 30 times
- Contact:
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
\o/ Nico
- Giovanni
- Site Admin
- Posts: 14455
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: Building project and board configuration outside chibios tree Topic is solved
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
Who is online
Users browsing this forum: No registered users and 10 guests