board files, tools/ftl reorganized ?

ChibiOS public support forum for topics related to the STMicroelectronics STM32 family of micro-controllers.

Moderators: RoccoMarco, barthess

geoffrey.brown
Posts: 87
Joined: Thu May 07, 2015 9:47 pm
Has thanked: 3 times
Been thanked: 15 times

board files, tools/ftl reorganized ?

Postby geoffrey.brown » Thu Mar 26, 2020 6:24 pm

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.

User avatar
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: board files, tools/ftl reorganized ?

Postby Giovanni » Thu Mar 26, 2020 7:02 pm

I don't understand, could you post the wrong part? the links in the fmpp files look correct to me.

Giovanni

geoffrey.brown
Posts: 87
Joined: Thu May 07, 2015 9:47 pm
Has thanked: 3 times
Been thanked: 15 times

Re: board files, tools/ftl reorganized ?

Postby geoffrey.brown » Thu Mar 26, 2020 7:21 pm

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

User avatar
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: board files, tools/ftl reorganized ?

Postby Giovanni » Thu Mar 26, 2020 7:36 pm

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

geoffrey.brown
Posts: 87
Joined: Thu May 07, 2015 9:47 pm
Has thanked: 3 times
Been thanked: 15 times

Re: board files, tools/ftl reorganized ?

Postby geoffrey.brown » Thu Mar 26, 2020 8:04 pm

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

User avatar
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: board files, tools/ftl reorganized ?

Postby Giovanni » Thu Mar 26, 2020 8:21 pm

I see, the directory is present on subversion.

Giovanni

geoffrey.brown
Posts: 87
Joined: Thu May 07, 2015 9:47 pm
Has thanked: 3 times
Been thanked: 15 times

Re: board files, tools/ftl reorganized ?

Postby geoffrey.brown » Thu Mar 26, 2020 9:05 pm

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

electronic_eel
Posts: 77
Joined: Sat Mar 19, 2016 8:07 pm
Been thanked: 17 times

Re: board files, tools/ftl reorganized ?

Postby electronic_eel » Fri Mar 27, 2020 2:21 am

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.


Return to “STM32 Support”

Who is online

Users browsing this forum: No registered users and 14 guests