# SPI6 - external2 (disabled to save DMA channels)
#PG13 SPI6_SCK SPI6
#PG12 SPI6_MISO SPI6
#PB5 SPI6_MOSI SPI6


In file included from ../../modules/ChibiOS/os/hal/include/hal_spi.h:78:0,
from ../../modules/ChibiOS/os/hal/include/hal.h:144,
from ../../modules/ChibiOS/os/hal/src/hal.c:25:
../../modules/ChibiOS/os/hal/ports/STM32/LLD/SPIv2/hal_spi_lld.h:330:2: error: #error "SPI6 DMA streams not defined"
#error "SPI6 DMA streams not defined"
^
In file included from ../../modules/ChibiOS/os/hal/ports/STM32/STM32F7xx/hal_lld.h:2040:0,
from ../../modules/ChibiOS/os/hal/include/hal.h:114,
from ../../modules/ChibiOS/os/hal/src/hal.c:25:
../../modules/ChibiOS/os/hal/ports/STM32/LLD/SPIv2/hal_spi_lld.h:385:28: warning: "STM32_SPI_SPI6_RX_DMA_STREAM" is not defined [-Wundef]
!STM32_DMA_IS_VALID_ID(STM32_SPI_SPI6_RX_DMA_STREAM, STM32_SPI6_RX_DMA_MSK)
^
../../modules/ChibiOS/os/hal/ports/STM32/LLD/DMAv2/stm32_dma.h:99:51: note: in definition of macro 'STM32_DMA_IS_VALID_ID'
#define STM32_DMA_IS_VALID_ID(id, mask) (((1U (id)) & (mask)))
^
In file included from ../../modules/ChibiOS/os/hal/include/hal_spi.h:78:0,
from ../../modules/ChibiOS/os/hal/include/hal.h:144,
from ../../modules/ChibiOS/os/hal/src/hal.c:25:
../../modules/ChibiOS/os/hal/ports/STM32/LLD/SPIv2/hal_spi_lld.h:386:2: error: #error "invalid DMA stream associated to SPI6 RX"
#error "invalid DMA stream associated to SPI6 RX"
^
make: *** [modules/ChibiOS/obj/hal.o] Error 1

Waf: Leaving directory `/home/coco/Desktop/2019-6-1/dzuav/build/fmuv6'
Traceback (most recent call last):
File "/home/coco/Desktop/2019-6-1/dzuav/modules/waf/waflib/Scripting.py", line 165, in waf_entry_point
run_commands()
File "/home/coco/Desktop/2019-6-1/dzuav/modules/waf/waflib/Scripting.py", line 266, in run_commands
ctx = run_command(cmd_name)
File "/home/coco/Desktop/2019-6-1/dzuav/modules/waf/waflib/Scripting.py", line 250, in run_command
ctx.execute()
File "/home/coco/Desktop/2019-6-1/dzuav/modules/waf/waflib/Scripting.py", line 616, in execute
return execute_method(self)
File "/home/coco/Desktop/2019-6-1/dzuav/modules/waf/waflib/Build.py", line 255, in execute
self.execute_build()
File "/home/coco/Desktop/2019-6-1/dzuav/modules/waf/waflib/Build.py", line 275, in execute_build
self.compile()
File "/home/coco/Desktop/2019-6-1/dzuav/modules/waf/waflib/Build.py", line 377, in compile
raise Errors.BuildError(self.producer.error)
File "/home/coco/Desktop/2019-6-1/dzuav/modules/waf/waflib/Errors.py", line 45, in __init__
WafError.__init__(self, self.format_error())
File "/home/coco/Desktop/2019-6-1/dzuav/modules/waf/waflib/Errors.py", line 51, in format_error
txt = tsk.format_error()
File "/home/coco/Desktop/2019-6-1/dzuav/modules/waf/waflib/Task.py", line 415, in format_error
txt = cmd
NameError: global name 'cmd' is not defined

Views: 22

Reply to This

© 2019   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service