Page 1 of 1

board files, tools/ftl reorganized ?

Posted: Thu Mar 26, 2020 6:24 pm
by geoffrey.brown
I was trying to create a board directory for the STM32L475 iot discovery board by starting with the ChibiOS/os/hal/boards/ST_STM32L476_DISCOVERY/ directory, but found that the links in cfg/board.fmpp no longer correspond to the organization of the ChibiOS/tools/ftl directories. I couldn't find and example to copy and don't fully understand what changed.

Re: board files, tools/ftl reorganized ?

Posted: Thu Mar 26, 2020 7:02 pm
by Giovanni
I don't understand, could you post the wrong part? the links in the fmpp files look correct to me.

Giovanni

Re: board files, tools/ftl reorganized ?

Posted: Thu Mar 26, 2020 7:21 pm
by geoffrey.brown
In

ChibiOS/ChibiOS/blob/master/os/hal/boards/ST_STM32L476_DISCOVERY/cfg/board.fmpp

sourceRoot: ../../../../../tools/ftl/processors/boards/stm32l4xx/templates

Structure for ChibiOS/tools/ftl/processors:

/-- conf
-- unitest/test

Re: board files, tools/ftl reorganized ?

Posted: Thu Mar 26, 2020 7:36 pm
by Giovanni
It points to templates into the ChibiOS tree, what is the error?

/tools/ftl/processors/boards/stm32l4xx/templates

Inside there are the .ftl template files.

Giovanni

Re: board files, tools/ftl reorganized ?

Posted: Thu Mar 26, 2020 8:04 pm
by geoffrey.brown
I see where it points, but this directory structure is missing:

boards/stm32l4xx/templates

perhaps it's a problem with the github mirror of the repo

Re: board files, tools/ftl reorganized ?

Posted: Thu Mar 26, 2020 8:21 pm
by Giovanni
I see, the directory is present on subversion.

Giovanni

Re: board files, tools/ftl reorganized ?

Posted: Thu Mar 26, 2020 9:05 pm
by geoffrey.brown
That makes sense (as a root cause). I didn't see how to submit an issue on the github site for the maintainers of the mirror.
Geoffrey

Re: board files, tools/ftl reorganized ?

Posted: Fri Mar 27, 2020 2:21 am
by electronic_eel
I had the exact same issue before, see http://www.chibios.com/forum/viewtopic.php?f=38&t=4589#p33624 for a detailed analysis of the problem and a suggestion how to fix it.