You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/01/12 13:21:19 UTC

[GitHub] [incubator-nuttx] acassis commented on pull request #5208: Cleanup boards/Makefile

acassis commented on pull request #5208:
URL: https://github.com/apache/incubator-nuttx/pull/5208#issuecomment-1011039246


   Hi @AlanRosenthal the compilation is failing:
   ```
     Building NuttX...
   pic32mz_spi.c: In function 'pic32mz_spidev_initialize':
   Error: pic32mz_spi.c:60:22: error: 'GPIO_SSD1306_CS' undeclared (first use in this function)
      pic32mz_configgpio(GPIO_SSD1306_CS);
                         ^
   pic32mz_spi.c:60:22: note: each undeclared identifier is reported only once for each function it appears in
   Error: pic32mz_spi.c:61:22: error: 'GPIO_SSD1306_DC' undeclared (first use in this function)
      pic32mz_configgpio(GPIO_SSD1306_DC);
                         ^
   make[2]: *** [/github/workspace/sources/nuttx/boards/Board.mk:86: pic32mz_spi.o] Error 1
   pic32mz_ssd1306.c: In function 'pic32mz_graphics_setup':
   Error: pic32mz_ssd1306.c:95:22: error: 'GPIO_SSD1306_RST' undeclared (first use in this function)
      pic32mz_configgpio(GPIO_SSD1306_RST);
                         ^
   pic32mz_ssd1306.c:95:22: note: each undeclared identifier is reported only once for each function it appears in
   Error: pic32mz_ssd1306.c:104:35: error: 'SSD1306_SPI_BUS' undeclared (first use in this function)
      spi = pic32mz_spibus_initialize(SSD1306_SPI_BUS);
                                      ^
   make[2]: *** [/github/workspace/sources/nuttx/boards/Board.mk:86: pic32mz_ssd1306.o] Error 1
   make[2]: Target 'libboard.a' not remade because of errors.
   make[1]: *** [Makefile:101: board/libboard.a] Error 2
   make[1]: Target 'nuttx' not remade because of errors.
   make: *** [tools/Unix.mk:510: nuttx] Error 2
   make: Target 'all' not remade because of errors.
   /github/workspace/sources/nuttx/tools/testbuild.sh: line 252: /github/workspace/sources/nuttx/../nuttx/nuttx.manifest: No such file or directory
     Normalize flipnclick-pic32mz/nxlines
   ```
   
   Also the Kconfig are reporting warning:
   ```
     Configuring...
   boards/mips/pic32mx/sure-pic32mx/Kconfig:13:warning: choice value used outside its choice group
   boards/mips/pic32mx/sure-pic32mx/Kconfig:27:warning: choice value used outside its choice group
     Disabling CONFIG_MIPS32_TOOLCHAIN_GNU_ELF
     Enabling CONFIG_MIPS32_TOOLCHAIN_PINGUINOL
   boards/mips/pic32mx/sure-pic32mx/Kconfig:13:warning: choice value used outside its choice group
   boards/mips/pic32mx/sure-pic32mx/Kconfig:27:warning: choice value used outside its choice group
     Building NuttX...
     Normalize sure-pic32mx/usbnsh
   boards/mips/pic32mx/sure-pic32mx/Kconfig:13:warning: choice value used outside its choice group
   boards/mips/pic32mx/sure-pic32mx/Kconfig:27:warning: choice value used outside its choice group
   boards/mips/pic32mx/sure-pic32mx/Kconfig:13:warning: choice value used outside its choice group
   boards/mips/pic32mx/sure-pic32mx/Kconfig:27:warning: choice value used outside its choice group
   boards/mips/pic32mx/sure-pic32mx/Kconfig:13:warning: choice value used outside its choice group
   boards/mips/pic32mx/sure-pic32mx/Kconfig:27:warning: choice value used outside its choice group
   ====================================================================================
   Configuration/Tool: sure-pic32mx/nsh,CONFIG_MIPS32_TOOLCHAIN_PINGUINOL
   ------------------------------------------------------------------------------------
     Cleaning...
     Configuring...
   boards/mips/pic32mx/sure-pic32mx/Kconfig:13:warning: choice value used outside its choice group
   boards/mips/pic32mx/sure-pic32mx/Kconfig:27:warning: choice value used outside its choice group
     Disabling CONFIG_MIPS32_TOOLCHAIN_GNU_ELF
     Enabling CONFIG_MIPS32_TOOLCHAIN_PINGUINOL
   boards/mips/pic32mx/sure-pic32mx/Kconfig:13:warning: choice value used outside its choice group
   boards/mips/pic32mx/sure-pic32mx/Kconfig:27:warning: choice value used outside its choice group
     Building NuttX...
     Normalize sure-pic32mx/nsh
   boards/mips/pic32mx/sure-pic32mx/Kconfig:13:warning: choice value used outside its choice group
   boards/mips/pic32mx/sure-pic32mx/Kconfig:27:warning: choice value used outside its choice group
   boards/mips/pic32mx/sure-pic32mx/Kconfig:13:warning: choice value used outside its choice group
   boards/mips/pic32mx/sure-pic32mx/Kconfig:27:warning: choice value used outside its choice group
   boards/mips/pic32mx/sure-pic32mx/Kconfig:13:warning: choice value used outside its choice group
   boards/mips/pic32mx/sure-pic32mx/Kconfig:27:warning: choice value used outside its choice group
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org