board.mk

ChibiOS public support forum for all topics not covered by a specific support forum.

Moderators: RoccoMarco, lbednarz, tfAteba

Post Reply
Tabulous
Posts: 518
Joined: Fri May 03, 2013 12:02 pm
Has thanked: 7 times
Been thanked: 18 times

board.mk

Post 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 ?
User avatar
Giovanni
Site Admin
Posts: 14895
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: board.mk

Post 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
Tabulous
Posts: 518
Joined: Fri May 03, 2013 12:02 pm
Has thanked: 7 times
Been thanked: 18 times

Re: board.mk

Post 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 :-)
Post Reply