Hi Simon, It is not included twice, see now with indentation:
ifeq ($(CONFIG_BOARDCTL),y) CSRCS += sam_appinit.c sam_bringup.c ifeq ($(CONFIG_BOARDCTL_RESET),y) CSRCS += sam_reset.c endif else ifeq ($(CONFIG_BOARD_LATE_INITIALIZE),y) CSRCS += sam_bringup.c endif BR, Alan On 8/11/21, Simon Filgis <si...@ingenieurbuero-filgis.de> wrote: > That is done: > [image: image.png] > > Any other ideas? > > By the way: is it OK to double include sam_bringup.c in line 30 and 35? > > > I will go back to an older state for verification of the assumptions. > > > Simon > > On Wed, Aug 11, 2021 at 3:59 PM Abdelatif Guettouche < > abdelatif.guettou...@gmail.com> wrote: > >> Please check your board/_path_/src/Makefile and check that your >> CONFIG_ are all in the new format, i.e.: CONFIG_LIB_BOARDCTL to >> CONFIG_BOARDCTL >> >> >> On Wed, Aug 11, 2021 at 3:56 PM Simon Filgis >> <si...@ingenieurbuero-filgis.de> wrote: >> > >> > Hi Nathan, >> > >> > You mean this option? >> > >> > >> > Makes no difference. >> > >> > I checked all the points in the list of cwiki. I did not miss a single >> line. >> > >> > I have attached my board's Kconfig and defconfig file, could you please >> have a look? >> > >> > Simon >> > >> > >> > >> > On Wed, Aug 11, 2021 at 3:03 PM Nathan Hartman >> > <hartman.nat...@gmail.com> >> wrote: >> >> >> >> On Wed, Aug 11, 2021 at 8:32 AM Nathan Hartman < >> hartman.nat...@gmail.com> >> >> wrote: >> >> >> >> > On Wed, Aug 11, 2021 at 8:28 AM Simon Filgis < >> >> > si...@ingenieurbuero-filgis.de> wrote: >> >> > >> >> >> Dear all, >> >> >> >> >> >> since yesterday's upstream fetch, my custom board is not working >> >> >> any >> more. >> >> >> >> >> >> Basically it is a copy of same70_explained:nsh ... >> >> >> >> >> >> ADC, CAN, ETHERNET is not any more in /dev/ >> >> >> nsh is prompting fine... >> >> >> >> >> >> board_app_initialize() is not called any more. >> >> >> >> >> >> I think it has something to do with the following commit: Rename >> >> >> CONFIG_LIB_BOARDCTL to CONFIG_BOARDCTL. >> >> >> >> >> >> Does somebody have a hint where to search? >> >> >> >> >> >> Simon >> >> > >> >> > >> >> > >> >> > Yes. That Kconfig was renamed so your board's Kconfig needs to be >> updated >> >> > to the new name. >> >> > >> >> > You can run make menuconfig and enable BOARDCTL, then run make >> >> > savedefconfig and copy the defconfig file from nuttx/ to your >> >> > board's >> >> > config directiry. >> >> > >> >> > It's documented in the release notes on CWIKI, let me find the >> >> > link... >> >> > >> >> > >> >> Since this hasn't been released yet it's in the work in progress >> >> release >> >> notes: >> >> >> >> Under "changes to Kconfig": >> >> https://cwiki.apache.org/confluence/display/NUTTX/NuttX+10.2 >> >> >> >> (If you're on mobile you may need to request the desktop version.) >> >> >> >> Cheers, >> >> Nathan >> >