Last active
February 21, 2018 19:22
-
-
Save mbolivar/13d9da829fd5d0d6501c604fc0380d29 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [1/95] Generating always_rebuild | |
| Building for board nrf52_pca10040 | |
| [2/58] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj | |
| FAILED: zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj | |
| ccache /home/mbolivar/bin/zephyr-sdk/sysroots/x86_64-pokysdk-linux/usr/bin/arm-zephyr-eabi/arm-zephyr-eabi-gcc -DKERNEL -DNRF52832_XXAA -D_FORTIFY_SOURCE=2 -D__ZEPHYR__=1 -I../../../kernel/include -I../../../arch/arm/include -I../../../arch/arm/soc/nordic_nrf5/nrf52 -I../../../arch/arm/soc/nordic_nrf5/nrf52/include -I../../../arch/arm/soc/nordic_nrf5/include -I../../../boards/arm/nrf52_pca10040 -I../../../include -I../../../include/drivers -Izephyr/include/generated -isystem /home/mbolivar/bin/zephyr-sdk-0.9.2/sysroots/x86_64-pokysdk-linux/usr/lib/arm-zephyr-eabi/gcc/arm-zephyr-eabi/6.2.0/include -isystem /home/mbolivar/bin/zephyr-sdk-0.9.2/sysroots/x86_64-pokysdk-linux/usr/lib/arm-zephyr-eabi/gcc/arm-zephyr-eabi/6.2.0/include-fixed -I../../../lib/libc/minimal/include -I../../../ext/hal/cmsis/Include -I../../../ext/hal/nordic/nrfx -I../../../ext/hal/nordic/nrfx/drivers/include -I../../../ext/hal/nordic/nrfx/hal -I../../../ext/hal/nordic/nrfx/mdk -I../../../ext/hal/nordic/. -I../../../subsys/bluetooth -Os -g -Wall -Wformat -Wformat-security -Wno-format-zero-length -imacros /home/mbolivar/src/zephyr/samples/hello_world/build/zephyr/include/generated/autoconf.h -ffreestanding -Wno-main -std=c99 -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -Wno-pointer-sign -Wno-unused-but-set-variable -fno-reorder-functions -fno-defer-pop -Werror=implicit-int -ffunction-sections -fdata-sections -mabi=aapcs --sysroot /home/mbolivar/bin/zephyr-sdk/sysroots/armv5-zephyr-eabi/usr -mthumb -mcpu=cortex-m4 -MD -MT zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj -MF zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj.d -o zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj -c zephyr/misc/generated/configs.c | |
| In file included from ../../../include/toolchain.h:21:0, | |
| from zephyr/misc/generated/configs.c:3: | |
| zephyr/misc/generated/configs.c: In function ‘_ConfigAbsSyms’: | |
| ../../../include/toolchain/gcc.h:307:51: error: expected expression before ‘)’ token | |
| "\n\t.type\t" #name ",%%object" : : "n"(~(value))) | |
| ^ | |
| zephyr/misc/generated/configs.c:117:1: note: in expansion of macro ‘GEN_ABSOLUTE_SYM’ | |
| GEN_ABSOLUTE_SYM(CONFIG_SPI_0_IRQ_PRI, ); | |
| ^~~~~~~~~~~~~~~~ | |
| [9/58] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/spi/spi_nrf52_master.c.obj | |
| FAILED: zephyr/CMakeFiles/zephyr.dir/drivers/spi/spi_nrf52_master.c.obj | |
| ccache /home/mbolivar/bin/zephyr-sdk/sysroots/x86_64-pokysdk-linux/usr/bin/arm-zephyr-eabi/arm-zephyr-eabi-gcc -DKERNEL -DNRF52832_XXAA -D_FORTIFY_SOURCE=2 -D__ZEPHYR__=1 -I../../../kernel/include -I../../../arch/arm/include -I../../../arch/arm/soc/nordic_nrf5/nrf52 -I../../../arch/arm/soc/nordic_nrf5/nrf52/include -I../../../arch/arm/soc/nordic_nrf5/include -I../../../boards/arm/nrf52_pca10040 -I../../../include -I../../../include/drivers -Izephyr/include/generated -isystem /home/mbolivar/bin/zephyr-sdk-0.9.2/sysroots/x86_64-pokysdk-linux/usr/lib/arm-zephyr-eabi/gcc/arm-zephyr-eabi/6.2.0/include -isystem /home/mbolivar/bin/zephyr-sdk-0.9.2/sysroots/x86_64-pokysdk-linux/usr/lib/arm-zephyr-eabi/gcc/arm-zephyr-eabi/6.2.0/include-fixed -I../../../lib/libc/minimal/include -I../../../ext/hal/cmsis/Include -I../../../ext/hal/nordic/nrfx -I../../../ext/hal/nordic/nrfx/drivers/include -I../../../ext/hal/nordic/nrfx/hal -I../../../ext/hal/nordic/nrfx/mdk -I../../../ext/hal/nordic/. -I../../../subsys/bluetooth -Os -g -Wall -Wformat -Wformat-security -Wno-format-zero-length -imacros /home/mbolivar/src/zephyr/samples/hello_world/build/zephyr/include/generated/autoconf.h -ffreestanding -Wno-main -std=c99 -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -Wno-pointer-sign -Wno-unused-but-set-variable -fno-reorder-functions -fno-defer-pop -Werror=implicit-int -ffunction-sections -fdata-sections -mabi=aapcs --sysroot /home/mbolivar/bin/zephyr-sdk/sysroots/armv5-zephyr-eabi/usr -mthumb -mcpu=cortex-m4 -MD -MT zephyr/CMakeFiles/zephyr.dir/drivers/spi/spi_nrf52_master.c.obj -MF zephyr/CMakeFiles/zephyr.dir/drivers/spi/spi_nrf52_master.c.obj.d -o zephyr/CMakeFiles/zephyr.dir/drivers/spi/spi_nrf52_master.c.obj -c /home/mbolivar/src/zephyr/drivers/spi/spi_nrf52_master.c | |
| In file included from ../../../include/arch/arm/arch.h:20:0, | |
| from ../../../include/arch/cpu.h:15, | |
| from ../../../include/kernel.h:33, | |
| from ../../../include/device.h:11, | |
| from ../../../include/spi.h:34, | |
| from /home/mbolivar/src/zephyr/drivers/spi/spi_nrf52_master.c:14: | |
| zephyr/include/generated/generated_dts_board.h:91:0: warning: "CONFIG_SPI_0_IRQ_PRI" redefined | |
| #define CONFIG_SPI_0_IRQ_PRI NRF_NRF52_SPI_MASTER_40003000_IRQ_0_PRIORITY | |
| In file included from <command-line>:0:0: | |
| /home/mbolivar/src/zephyr/samples/hello_world/build/zephyr/include/generated/autoconf.h:112:0: note: this is the location of the previous definition | |
| #define CONFIG_SPI_0_IRQ_PRI | |
| In file included from ../../../include/arch/arm/arch.h:20:0, | |
| from ../../../include/arch/cpu.h:15, | |
| from ../../../include/kernel.h:33, | |
| from ../../../include/device.h:11, | |
| from ../../../include/spi.h:34, | |
| from /home/mbolivar/src/zephyr/drivers/spi/spi_nrf52_master.c:14: | |
| zephyr/include/generated/generated_dts_board.h:92:0: warning: "CONFIG_SPI_0_NAME" redefined | |
| #define CONFIG_SPI_0_NAME NRF_NRF52_SPI_MASTER_40003000_LABEL | |
| In file included from <command-line>:0:0: | |
| /home/mbolivar/src/zephyr/samples/hello_world/build/zephyr/include/generated/autoconf.h:111:0: note: this is the location of the previous definition | |
| #define CONFIG_SPI_0_NAME "SPI_0" | |
| /home/mbolivar/src/zephyr/drivers/spi/spi_nrf52_master.c: In function ‘spi_configure’: | |
| /home/mbolivar/src/zephyr/drivers/spi/spi_nrf52_master.c:98:15: error: ‘SPIM_FREQUENCY_FREQUENCY_M16’ undeclared (first use in this function) | |
| frequency = SPIM_FREQUENCY_FREQUENCY_M16; | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| /home/mbolivar/src/zephyr/drivers/spi/spi_nrf52_master.c:98:15: note: each undeclared identifier is reported only once for each function it appears in | |
| /home/mbolivar/src/zephyr/drivers/spi/spi_nrf52_master.c:100:15: error: ‘SPIM_FREQUENCY_FREQUENCY_M32’ undeclared (first use in this function) | |
| frequency = SPIM_FREQUENCY_FREQUENCY_M32; | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| /home/mbolivar/src/zephyr/drivers/spi/spi_nrf52_master.c:140:13: error: ‘SPIM_PSEL_Type {aka volatile struct <anonymous>}’ has no member named ‘CSN’ | |
| spim->PSEL.CSN |= SPIM_PSEL_CSN_CONNECT_Msk; | |
| ^ | |
| /home/mbolivar/src/zephyr/drivers/spi/spi_nrf52_master.c:140:21: error: ‘SPIM_PSEL_CSN_CONNECT_Msk’ undeclared (first use in this function) | |
| spim->PSEL.CSN |= SPIM_PSEL_CSN_CONNECT_Msk; | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
| /home/mbolivar/src/zephyr/drivers/spi/spi_nrf52_master.c:145:13: error: ‘SPIM_PSEL_Type {aka volatile struct <anonymous>}’ has no member named ‘CSN’ | |
| spim->PSEL.CSN &= ~SPIM_PSEL_CSN_CONNECT_Msk; | |
| ^ | |
| /home/mbolivar/src/zephyr/drivers/spi/spi_nrf52_master.c: In function ‘spi_nrf52_master_init’: | |
| /home/mbolivar/src/zephyr/drivers/spi/spi_nrf52_master.c:297:12: error: ‘SPIM_PSEL_Type {aka volatile struct <anonymous>}’ has no member named ‘CSN’ | |
| spi->PSEL.CSN = config->psel.cs; | |
| ^ | |
| /home/mbolivar/src/zephyr/drivers/spi/spi_nrf52_master.c:299:12: error: ‘SPIM_PSEL_Type {aka volatile struct <anonymous>}’ has no member named ‘CSN’ | |
| spi->PSEL.CSN = CS_UNUSED; | |
| ^ | |
| In file included from ../../../include/arch/arm/arch.h:20:0, | |
| from ../../../include/arch/cpu.h:15, | |
| from ../../../include/kernel.h:33, | |
| from ../../../include/device.h:11, | |
| from ../../../include/spi.h:34, | |
| from /home/mbolivar/src/zephyr/drivers/spi/spi_nrf52_master.c:14: | |
| /home/mbolivar/src/zephyr/drivers/spi/spi_nrf52_master.c: At top level: | |
| zephyr/include/generated/generated_dts_board.h:93:38: error: ‘NRF_NRF52_SPI_MASTER_40003000_CLK_PIN’ undeclared here (not in a function) | |
| #define CONFIG_SPI0_NRF52_SCK_PIN NRF_NRF52_SPI_MASTER_40003000_CLK_PIN | |
| ^ | |
| zephyr/include/generated/generated_dts_board.h:93:38: note: in definition of macro ‘CONFIG_SPI0_NRF52_SCK_PIN’ | |
| #define CONFIG_SPI0_NRF52_SCK_PIN NRF_NRF52_SPI_MASTER_40003000_CLK_PIN | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| zephyr/include/generated/generated_dts_board.h:94:38: error: ‘NRF_NRF52_SPI_MASTER_40003000_MOSI_PIN’ undeclared here (not in a function) | |
| #define CONFIG_SPI0_NRF52_MOSI_PIN NRF_NRF52_SPI_MASTER_40003000_MOSI_PIN | |
| ^ | |
| zephyr/include/generated/generated_dts_board.h:94:38: note: in definition of macro ‘CONFIG_SPI0_NRF52_MOSI_PIN’ | |
| #define CONFIG_SPI0_NRF52_MOSI_PIN NRF_NRF52_SPI_MASTER_40003000_MOSI_PIN | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| zephyr/include/generated/generated_dts_board.h:95:38: error: ‘NRF_NRF52_SPI_MASTER_40003000_MISO_PIN’ undeclared here (not in a function) | |
| #define CONFIG_SPI0_NRF52_MISO_PIN NRF_NRF52_SPI_MASTER_40003000_MISO_PIN | |
| ^ | |
| zephyr/include/generated/generated_dts_board.h:95:38: note: in definition of macro ‘CONFIG_SPI0_NRF52_MISO_PIN’ | |
| #define CONFIG_SPI0_NRF52_MISO_PIN NRF_NRF52_SPI_MASTER_40003000_MISO_PIN | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| In file included from ../../../include/spi.h:34:0, | |
| from /home/mbolivar/src/zephyr/drivers/spi/spi_nrf52_master.c:14: | |
| zephyr/include/generated/generated_dts_board.h:92:38: error: ‘NRF_NRF52_SPI_MASTER_40003000_LABEL’ undeclared here (not in a function) | |
| #define CONFIG_SPI_0_NAME NRF_NRF52_SPI_MASTER_40003000_LABEL | |
| ^ | |
| ../../../include/device.h:104:11: note: in definition of macro ‘DEVICE_AND_API_INIT’ | |
| .name = drv_name, .init = (init_fn), \ | |
| ^~~~~~~~ | |
| /home/mbolivar/src/zephyr/drivers/spi/spi_nrf52_master.c:354:41: note: in expansion of macro ‘CONFIG_SPI_0_NAME’ | |
| DEVICE_AND_API_INIT(spi_nrf52_master_0, CONFIG_SPI_0_NAME, | |
| ^~~~~~~~~~~~~~~~~ | |
| In file included from ../../../include/arch/arm/arch.h:36:0, | |
| from ../../../include/arch/cpu.h:15, | |
| from ../../../include/kernel.h:33, | |
| from ../../../include/device.h:11, | |
| from ../../../include/spi.h:34, | |
| from /home/mbolivar/src/zephyr/drivers/spi/spi_nrf52_master.c:14: | |
| /home/mbolivar/src/zephyr/drivers/spi/spi_nrf52_master.c: In function ‘spi_nrf52_master_irq_config_0’: | |
| zephyr/include/generated/generated_dts_board.h:91:38: error: ‘NRF_NRF52_SPI_MASTER_40003000_IRQ_0_PRIORITY’ undeclared (first use in this function) | |
| #define CONFIG_SPI_0_IRQ_PRI NRF_NRF52_SPI_MASTER_40003000_IRQ_0_PRIORITY | |
| ^ | |
| ../../../include/arch/arm/cortex_m/irq.h:84:27: note: in definition of macro ‘_ARCH_IRQ_CONNECT’ | |
| _irq_priority_set(irq_p, priority_p, flags_p); \ | |
| ^~~~~~~~~~ | |
| /home/mbolivar/src/zephyr/drivers/spi/spi_nrf52_master.c:361:2: note: in expansion of macro ‘IRQ_CONNECT’ | |
| IRQ_CONNECT(NRF5_IRQ_SPI0_TWI0_IRQn, CONFIG_SPI_0_IRQ_PRI, | |
| ^~~~~~~~~~~ | |
| /home/mbolivar/src/zephyr/drivers/spi/spi_nrf52_master.c:361:39: note: in expansion of macro ‘CONFIG_SPI_0_IRQ_PRI’ | |
| IRQ_CONNECT(NRF5_IRQ_SPI0_TWI0_IRQn, CONFIG_SPI_0_IRQ_PRI, | |
| ^~~~~~~~~~~~~~~~~~~~ | |
| [10/58] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/crypto/crypto.c.obj | |
| In file included from ../../../include/arch/arm/arch.h:20:0, | |
| from ../../../include/arch/cpu.h:15, | |
| from ../../../include/kernel.h:33, | |
| from ../../../include/device.h:11, | |
| from ../../../arch/arm/soc/nordic_nrf5/nrf52/soc.h:18, | |
| from /home/mbolivar/src/zephyr/subsys/bluetooth/controller/crypto/crypto.c:7: | |
| zephyr/include/generated/generated_dts_board.h:91:0: warning: "CONFIG_SPI_0_IRQ_PRI" redefined | |
| #define CONFIG_SPI_0_IRQ_PRI NRF_NRF52_SPI_MASTER_40003000_IRQ_0_PRIORITY | |
| In file included from <command-line>:0:0: | |
| /home/mbolivar/src/zephyr/samples/hello_world/build/zephyr/include/generated/autoconf.h:112:0: note: this is the location of the previous definition | |
| #define CONFIG_SPI_0_IRQ_PRI | |
| In file included from ../../../include/arch/arm/arch.h:20:0, | |
| from ../../../include/arch/cpu.h:15, | |
| from ../../../include/kernel.h:33, | |
| from ../../../include/device.h:11, | |
| from ../../../arch/arm/soc/nordic_nrf5/nrf52/soc.h:18, | |
| from /home/mbolivar/src/zephyr/subsys/bluetooth/controller/crypto/crypto.c:7: | |
| zephyr/include/generated/generated_dts_board.h:92:0: warning: "CONFIG_SPI_0_NAME" redefined | |
| #define CONFIG_SPI_0_NAME NRF_NRF52_SPI_MASTER_40003000_LABEL | |
| In file included from <command-line>:0:0: | |
| /home/mbolivar/src/zephyr/samples/hello_world/build/zephyr/include/generated/autoconf.h:111:0: note: this is the location of the previous definition | |
| #define CONFIG_SPI_0_NAME "SPI_0" | |
| [11/58] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ticker/ticker.c.obj | |
| In file included from ../../../include/arch/arm/arch.h:20:0, | |
| from ../../../include/arch/cpu.h:15, | |
| from ../../../include/kernel.h:33, | |
| from ../../../include/device.h:11, | |
| from ../../../arch/arm/soc/nordic_nrf5/nrf52/soc.h:18, | |
| from /home/mbolivar/src/zephyr/subsys/bluetooth/controller/ticker/ticker.c:9: | |
| zephyr/include/generated/generated_dts_board.h:91:0: warning: "CONFIG_SPI_0_IRQ_PRI" redefined | |
| #define CONFIG_SPI_0_IRQ_PRI NRF_NRF52_SPI_MASTER_40003000_IRQ_0_PRIORITY | |
| In file included from <command-line>:0:0: | |
| /home/mbolivar/src/zephyr/samples/hello_world/build/zephyr/include/generated/autoconf.h:112:0: note: this is the location of the previous definition | |
| #define CONFIG_SPI_0_IRQ_PRI | |
| In file included from ../../../include/arch/arm/arch.h:20:0, | |
| from ../../../include/arch/cpu.h:15, | |
| from ../../../include/kernel.h:33, | |
| from ../../../include/device.h:11, | |
| from ../../../arch/arm/soc/nordic_nrf5/nrf52/soc.h:18, | |
| from /home/mbolivar/src/zephyr/subsys/bluetooth/controller/ticker/ticker.c:9: | |
| zephyr/include/generated/generated_dts_board.h:92:0: warning: "CONFIG_SPI_0_NAME" redefined | |
| #define CONFIG_SPI_0_NAME NRF_NRF52_SPI_MASTER_40003000_LABEL | |
| In file included from <command-line>:0:0: | |
| /home/mbolivar/src/zephyr/samples/hello_world/build/zephyr/include/generated/autoconf.h:111:0: note: this is the location of the previous definition | |
| #define CONFIG_SPI_0_NAME "SPI_0" | |
| ninja: build stopped: subcommand failed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment