Page 1 of 1

board.mk

Posted: Sat Jan 09, 2016 4:08 pm
by Tabulous
Created a custom project based off F4-DISCOVERY, am currently setting up the board.h/c, but everytime i generate new board.c/h files it changes the paths in the board.mk back to the default F4-DISCOVERY's


i.e. i want this

Code: Select all

# List of all the board related files.
BOARDSRC = ${CHIBIOS}/os/hal/boards/ST_STM32F4_IHUBCTL/board.c

# Required include directories
BOARDINC = ${CHIBIOS}/os/hal/boards/ST_STM32F4_IHUBCTL


but eveyrtime i generate it goes back to this

Code: Select all

# List of all the board related files.
BOARDSRC = ${CHIBIOS}/os/hal/boards/ST_STM32F4_DISCOVERY/board.c

# Required include directories
BOARDINC = ${CHIBIOS}/os/hal/boards/ST_STM32F4_DISCOVERY


Where can i change the default path ?

Re: board.mk

Posted: Sat Jan 09, 2016 4:11 pm
by Giovanni
Hi,

The paths are in the .chcfg file, the board name is used for paths in the .mk, the destination is defaulted to .. but can be changed.

Giovanni

Re: board.mk

Posted: Sat Jan 09, 2016 4:25 pm
by Tabulous
Giovanni wrote:Hi,

The paths are in the .chcfg file, the board name is used for paths in the .mk, the destination is defaulted to .. but can be changed.

Giovanni


Thanks :-)