Guest User

Untitled

a guest
Jul 13th, 2018
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.10 KB | None | 0 0
  1. markus@markus-desktop:~/Entwicklung/tmp/zephyr/samples/drivers/CAN$ mkdir build && cd build
  2. markus@markus-desktop:~/Entwicklung/tmp/zephyr/samples/drivers/CAN/build$ cmake -GNinja -DBOARD=nucleo_l432kc ..
  3. -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.5.2", minimum required is "3.4")
  4. -- Selected BOARD nucleo_l432kc
  5. Zephyr version: 1.12.0
  6. Parsing Kconfig tree in /home/markus/Entwicklung/tmp/zephyr/samples/drivers/CAN/Kconfig
  7. Using /home/markus/Entwicklung/tmp/zephyr-zephyr-v1.12.0/boards/arm/nucleo_l432kc/nucleo_l432kc_defconfig as base
  8. Merging /home/markus/Entwicklung/tmp/zephyr/samples/drivers/CAN/prj.conf
  9. -- Generating zephyr/include/generated/generated_dts_board.h
  10. nucleo_l432kc.dts_compiled: Warning (unit_address_vs_reg): Node /soc/pin-controller@48000000/usart1@0 has a unit name, but no reg property
  11. nucleo_l432kc.dts_compiled: Warning (unit_address_vs_reg): Node /soc/pin-controller@48000000/usart1@1 has a unit name, but no reg property
  12. nucleo_l432kc.dts_compiled: Warning (unit_address_vs_reg): Node /soc/pin-controller@48000000/usart1@2 has a unit name, but no reg property
  13. nucleo_l432kc.dts_compiled: Warning (unit_address_vs_reg): Node /soc/pin-controller@48000000/usart2@0 has a unit name, but no reg property
  14. nucleo_l432kc.dts_compiled: Warning (unit_address_vs_reg): Node /soc/pin-controller@48000000/usart2@1 has a unit name, but no reg property
  15. nucleo_l432kc.dts_compiled: Warning (unit_address_vs_reg): Node /soc/pin-controller@48000000/usart2@2 has a unit name, but no reg property
  16. nucleo_l432kc.dts_compiled: Warning (unit_address_vs_reg): Node /soc/pin-controller@48000000/usart2@3 has a unit name, but no reg property
  17. nucleo_l432kc.dts_compiled: Warning (unit_address_vs_reg): Node /soc/pin-controller@48000000/usart3@0 has a unit name, but no reg property
  18. nucleo_l432kc.dts_compiled: Warning (unit_address_vs_reg): Node /leds/led@0 has a unit name, but no reg property
  19. -- Cache files will be written to: /home/markus/.cache/zephyr
  20. -- The C compiler identification is GNU 6.2.0
  21. -- The CXX compiler identification is GNU 6.2.0
  22. -- The ASM compiler identification is GNU
  23. -- Found assembler: /home/markus/zephyr-bin/sdk-bin/sysroots/x86_64-pokysdk-linux/usr/bin/arm-zephyr-eabi/arm-zephyr-eabi-gcc
  24. -- Performing Test toolchain_is_ok
  25. -- Performing Test toolchain_is_ok - Success
  26. -- Configuring done
  27. -- Generating done
  28. -- Build files have been written to: /home/markus/Entwicklung/tmp/zephyr/samples/drivers/CAN/build
  29. markus@markus-desktop:~/Entwicklung/tmp/zephyr/samples/drivers/CAN/build$ ninja
  30. [4/109] Generating always_rebuild
  31. Building for board nucleo_l432kc
  32. [58/109] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/can/stm32_can.c.obj
  33. FAILED: ccache /home/markus/zephyr-bin/sdk-bin/sysroots/x86_64-pokysdk-linux/usr/bin/arm-zephyr-eabi/arm-zephyr-eabi-gcc -DBUILD_VERSION=v1.12.0-774-g2af9a9e -DKERNEL -DSTM32L432xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D_FORTIFY_SOURCE=2 -D__ZEPHYR__=1 -I/home/markus/Entwicklung/tmp/zephyr-zephyr-v1.12.0/kernel/include -I/home/markus/Entwicklung/tmp/zephyr-zephyr-v1.12.0/arch/arm/include -I/home/markus/Entwicklung/tmp/zephyr-zephyr-v1.12.0/arch/arm/soc/st_stm32/stm32l4 -I/home/markus/Entwicklung/tmp/zephyr-zephyr-v1.12.0/arch/arm/soc/st_stm32/stm32l4/include -I/home/markus/Entwicklung/tmp/zephyr-zephyr-v1.12.0/arch/arm/soc/st_stm32/include -I/home/markus/Entwicklung/tmp/zephyr-zephyr-v1.12.0/boards/arm/nucleo_l432kc -I/home/markus/Entwicklung/tmp/zephyr-zephyr-v1.12.0/include -I/home/markus/Entwicklung/tmp/zephyr-zephyr-v1.12.0/include/drivers -Izephyr/include/generated -isystem /home/markus/zephyr-bin/sdk-bin/sysroots/x86_64-pokysdk-linux/usr/lib/arm-zephyr-eabi/gcc/arm-zephyr-eabi/6.2.0/include -isystem /home/markus/zephyr-bin/sdk-bin/sysroots/x86_64-pokysdk-linux/usr/lib/arm-zephyr-eabi/gcc/arm-zephyr-eabi/6.2.0/include-fixed -I/home/markus/Entwicklung/tmp/zephyr-zephyr-v1.12.0/drivers -I/home/markus/Entwicklung/tmp/zephyr-zephyr-v1.12.0/lib/libc/minimal/include -I/home/markus/Entwicklung/tmp/zephyr-zephyr-v1.12.0/ext/hal/cmsis/Include -I/home/markus/Entwicklung/tmp/zephyr-zephyr-v1.12.0/ext/hal/st/stm32cube/stm32l4xx/soc -I/home/markus/Entwicklung/tmp/zephyr-zephyr-v1.12.0/ext/hal/st/stm32cube/stm32l4xx/drivers/include -I/home/markus/Entwicklung/tmp/zephyr-zephyr-v1.12.0/ext/hal/st/stm32cube/stm32l4xx/drivers/include/Legacy -Os -g -Wall -Wformat -Wformat-security -Wno-format-zero-length -imacros /home/markus/Entwicklung/tmp/zephyr/samples/drivers/CAN/build/zephyr/include/generated/autoconf.h -ffreestanding -Wno-main --sysroot /home/markus/zephyr-bin/sdk-bin/sysroots/armv5-zephyr-eabi/usr -mthumb -mcpu=cortex-m4 -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 -march=armv7e-m -MD -MT zephyr/CMakeFiles/zephyr.dir/drivers/can/stm32_can.c.obj -MF zephyr/CMakeFiles/zephyr.dir/drivers/can/stm32_can.c.obj.d -o zephyr/CMakeFiles/zephyr.dir/drivers/can/stm32_can.c.obj -c /home/markus/Entwicklung/tmp/zephyr-zephyr-v1.12.0/drivers/can/stm32_can.c
  34. /home/markus/Entwicklung/tmp/zephyr-zephyr-v1.12.0/drivers/can/stm32_can.c:795:24: error: ‘CONFIG_CAN_1_BASE_ADDRESS’ undeclared here (not in a function)
  35. .can = (CAN_TypeDef *)CONFIG_CAN_1_BASE_ADDRESS,
  36. ^~~~~~~~~~~~~~~~~~~~~~~~~
  37. /home/markus/Entwicklung/tmp/zephyr-zephyr-v1.12.0/drivers/can/stm32_can.c:796:15: error: ‘CONFIG_CAN_1_BUS_SPEED’ undeclared here (not in a function)
  38. .bus_speed = CONFIG_CAN_1_BUS_SPEED,
  39. ^~~~~~~~~~~~~~~~~~~~~~
  40. /home/markus/Entwicklung/tmp/zephyr-zephyr-v1.12.0/drivers/can/stm32_can.c:797:9: error: ‘CONFIG_CAN_1_SJW’ undeclared here (not in a function)
  41. .swj = CONFIG_CAN_1_SJW,
  42. ^~~~~~~~~~~~~~~~
  43. /home/markus/Entwicklung/tmp/zephyr-zephyr-v1.12.0/drivers/can/stm32_can.c:798:14: error: ‘CONFIG_CAN_1_PROP_SEG_PHASE_SEG1’ undeclared here (not in a function)
  44. .prop_bs1 = CONFIG_CAN_1_PROP_SEG_PHASE_SEG1,
  45. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  46. /home/markus/Entwicklung/tmp/zephyr-zephyr-v1.12.0/drivers/can/stm32_can.c:799:9: error: ‘CONFIG_CAN_1_PHASE_SEG2’ undeclared here (not in a function)
  47. .bs2 = CONFIG_CAN_1_PHASE_SEG2,
  48. ^~~~~~~~~~~~~~~~~~~~~~~
  49. /home/markus/Entwicklung/tmp/zephyr-zephyr-v1.12.0/drivers/can/stm32_can.c:801:10: error: ‘RCC_APB1ENR_CANEN’ undeclared here (not in a function)
  50. .enr = RCC_APB1ENR_CANEN,
  51. ^~~~~~~~~~~~~~~~~
  52. /home/markus/Entwicklung/tmp/zephyr-zephyr-v1.12.0/drivers/can/stm32_can.c:809:136: error: ‘CONFIG_CAN_1_NAME’ undeclared here (not in a function)
  53. DEVICE_AND_API_INIT(can_stm32_1, CONFIG_CAN_1_NAME, &can_stm32_init,
  54. ^
  55. /home/markus/Entwicklung/tmp/zephyr-zephyr-v1.12.0/drivers/can/stm32_can.c: In function ‘config_can_1_irq’:
  56. /home/markus/Entwicklung/tmp/zephyr-zephyr-v1.12.0/drivers/can/stm32_can.c:817:131: error: ‘CONFIG_CAN_1_IRQ’ undeclared (first use in this function)
  57. IRQ_CONNECT(CONFIG_CAN_1_IRQ, CONFIG_CAN_1_IRQ_PRIORITY, can_stm32_isr,
  58. ^
  59. /home/markus/Entwicklung/tmp/zephyr-zephyr-v1.12.0/drivers/can/stm32_can.c:817:131: note: each undeclared identifier is reported only once for each function it appears in
  60. /home/markus/Entwicklung/tmp/zephyr-zephyr-v1.12.0/drivers/can/stm32_can.c:817:240: error: ‘CONFIG_CAN_1_IRQ_PRIORITY’ undeclared (first use in this function)
  61. IRQ_CONNECT(CONFIG_CAN_1_IRQ, CONFIG_CAN_1_IRQ_PRIORITY, can_stm32_isr,
  62. ^
  63. [58/109] Building C object zephyr/arch/arm/core/CMakeFiles/arch__arm__core.dir/fault.c.obj
  64. ninja: build stopped: subcommand failed.
Advertisement
Add Comment
Please, Sign In to add comment