Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- make RIOT_CI_BUILD=1 CC_NOCOLOR=1 --no-print-directory -C ./tests/periph_dma clean all
- Building application "tests_periph_dma" for "nucleo-wl55jc" with MCU "stm32".
- /home/akshaim/Documents/RIOT/git-workspace/RIOT/cpu/stm32/periph/dma.c:94:31: error: 'DMA_NUMOF' undeclared here (not in a function); did you mean 'SPI_NUMOF'?
- 94 | static struct dma_ctx dma_ctx[DMA_NUMOF];
- | ^~~~~~~~~
- | SPI_NUMOF
- /home/akshaim/Documents/RIOT/git-workspace/RIOT/cpu/stm32/periph/dma.c: In function 'dma_all_flags':
- /home/akshaim/Documents/RIOT/git-workspace/RIOT/cpu/stm32/periph/dma.c:264:36: error: 'dma_config' undeclared (first use in this function); did you mean 'dma_conf_t'?
- 264 | return DMA_STREAM_IT_MASK << ((dma_config[dma].stream & 0x7) * 4);
- | ^~~~~~~~~~
- | dma_conf_t
- /home/akshaim/Documents/RIOT/git-workspace/RIOT/cpu/stm32/periph/dma.c:264:36: note: each undeclared identifier is reported only once for each function it appears in
- /home/akshaim/Documents/RIOT/git-workspace/RIOT/cpu/stm32/periph/dma.c:248:44: error: parameter 'dma' set but not used [-Werror=unused-but-set-parameter]
- 248 | static inline uint32_t dma_all_flags(dma_t dma)
- | ~~~~~~^~~
- /home/akshaim/Documents/RIOT/git-workspace/RIOT/cpu/stm32/periph/dma.c: In function 'dma_clear_all_flags':
- /home/akshaim/Documents/RIOT/git-workspace/RIOT/cpu/stm32/periph/dma.c:270:37: error: 'dma_config' undeclared (first use in this function); did you mean 'dma_conf_t'?
- 270 | DMA_TypeDef *dma_dev = dma_base(dma_config[dma].stream);
- | ^~~~~~~~~~
- | dma_conf_t
- /home/akshaim/Documents/RIOT/git-workspace/RIOT/cpu/stm32/periph/dma.c: In function 'dma_poweron':
- /home/akshaim/Documents/RIOT/git-workspace/RIOT/cpu/stm32/periph/dma.c:49:33: error: 'AHB' undeclared (first use in this function); did you mean 'AHB3'?
- 49 | #define CLOCK AHB
- | ^~~
- /home/akshaim/Documents/RIOT/git-workspace/RIOT/cpu/stm32/periph/dma.c:288:23: note: in expansion of macro 'CLOCK'
- 288 | periph_clk_en(CLOCK, RCC_MASK_DMA1);
- | ^~~~~
- /home/akshaim/Documents/RIOT/git-workspace/RIOT/cpu/stm32/periph/dma.c:53:33: error: 'RCC_AHBENR_DMAEN' undeclared (first use in this function); did you mean 'RCC_AHB1ENR_DMA1EN'?
- 53 | #define RCC_MASK_DMA1 RCC_AHBENR_DMAEN
- | ^~~~~~~~~~~~~~~~
- /home/akshaim/Documents/RIOT/git-workspace/RIOT/cpu/stm32/periph/dma.c:288:30: note: in expansion of macro 'RCC_MASK_DMA1'
- 288 | periph_clk_en(CLOCK, RCC_MASK_DMA1);
- | ^~~~~~~~~~~~~
- /home/akshaim/Documents/RIOT/git-workspace/RIOT/cpu/stm32/periph/dma.c:55:33: error: 'RCC_AHBENR_DMA2EN' undeclared (first use in this function); did you mean 'RCC_AHB1ENR_DMA2EN'?
- 55 | #define RCC_MASK_DMA2 RCC_AHBENR_DMA2EN
- | ^~~~~~~~~~~~~~~~~
- /home/akshaim/Documents/RIOT/git-workspace/RIOT/cpu/stm32/periph/dma.c:292:30: note: in expansion of macro 'RCC_MASK_DMA2'
- 292 | periph_clk_en(CLOCK, RCC_MASK_DMA2);
- | ^~~~~~~~~~~~~
- /home/akshaim/Documents/RIOT/git-workspace/RIOT/cpu/stm32/periph/dma.c: In function 'dma_init':
- /home/akshaim/Documents/RIOT/git-workspace/RIOT/cpu/stm32/periph/dma.c:303:24: error: 'dma_config' undeclared (first use in this function); did you mean 'dma_conf_t'?
- 303 | int stream_n = dma_config[i].stream;
- | ^~~~~~~~~~
- | dma_conf_t
- /home/akshaim/Documents/RIOT/git-workspace/RIOT/cpu/stm32/periph/dma.c: In function 'dma_setup':
- /home/akshaim/Documents/RIOT/git-workspace/RIOT/cpu/stm32/periph/dma.c:354:22: error: parameter 'dma' set but not used [-Werror=unused-but-set-parameter]
- 354 | void dma_setup(dma_t dma, int chan, void *periph_addr, dma_mode_t mode,
- | ~~~~~~^~~
- /home/akshaim/Documents/RIOT/git-workspace/RIOT/cpu/stm32/periph/dma.c: In function 'dma_prepare':
- /home/akshaim/Documents/RIOT/git-workspace/RIOT/cpu/stm32/periph/dma.c:390:24: error: parameter 'dma' set but not used [-Werror=unused-but-set-parameter]
- 390 | void dma_prepare(dma_t dma, void *mem, size_t len, bool incr_mem)
- | ~~~~~~^~~
- /home/akshaim/Documents/RIOT/git-workspace/RIOT/cpu/stm32/periph/dma.c: In function 'dma_start':
- /home/akshaim/Documents/RIOT/git-workspace/RIOT/cpu/stm32/periph/dma.c:448:22: error: parameter 'dma' set but not used [-Werror=unused-but-set-parameter]
- 448 | void dma_start(dma_t dma)
- | ~~~~~~^~~
- /home/akshaim/Documents/RIOT/git-workspace/RIOT/cpu/stm32/periph/dma.c: In function 'dma_suspend':
- /home/akshaim/Documents/RIOT/git-workspace/RIOT/cpu/stm32/periph/dma.c:459:20: error: 'dma_config' undeclared (first use in this function); did you mean 'dma_conf_t'?
- 459 | int stream_n = dma_config[dma].stream;
- | ^~~~~~~~~~
- | dma_conf_t
- /home/akshaim/Documents/RIOT/git-workspace/RIOT/cpu/stm32/periph/dma.c: In function 'dma_resume':
- /home/akshaim/Documents/RIOT/git-workspace/RIOT/cpu/stm32/periph/dma.c:479:20: error: 'dma_config' undeclared (first use in this function); did you mean 'dma_conf_t'?
- 479 | int stream_n = dma_config[dma].stream;
- | ^~~~~~~~~~
- | dma_conf_t
- /home/akshaim/Documents/RIOT/git-workspace/RIOT/cpu/stm32/periph/dma.c: In function 'dma_stop':
- /home/akshaim/Documents/RIOT/git-workspace/RIOT/cpu/stm32/periph/dma.c:493:48: error: 'dma_config' undeclared (first use in this function); did you mean 'dma_conf_t'?
- 493 | STM32_DMA_Stream_Type *stream = dma_stream(dma_config[dma].stream);
- | ^~~~~~~~~~
- | dma_conf_t
- /home/akshaim/Documents/RIOT/git-workspace/RIOT/cpu/stm32/periph/dma.c:491:21: error: parameter 'dma' set but not used [-Werror=unused-but-set-parameter]
- 491 | void dma_stop(dma_t dma)
- | ~~~~~~^~~
- /home/akshaim/Documents/RIOT/git-workspace/RIOT/cpu/stm32/periph/dma.c: In function 'dma_wait':
- /home/akshaim/Documents/RIOT/git-workspace/RIOT/cpu/stm32/periph/dma.c:498:21: error: parameter 'dma' set but not used [-Werror=unused-but-set-parameter]
- 498 | void dma_wait(dma_t dma)
- | ~~~~~~^~~
- /home/akshaim/Documents/RIOT/git-workspace/RIOT/cpu/stm32/periph/dma.c: In function 'dma_all_flags':
- /home/akshaim/Documents/RIOT/git-workspace/RIOT/cpu/stm32/periph/dma.c:266:1: error: control reaches end of non-void function [-Werror=return-type]
- 266 | }
- | ^
- At top level:
- /home/akshaim/Documents/RIOT/git-workspace/RIOT/cpu/stm32/periph/dma.c:94:23: error: 'dma_ctx' defined but not used [-Werror=unused-variable]
- 94 | static struct dma_ctx dma_ctx[DMA_NUMOF];
- | ^~~~~~~
- cc1: all warnings being treated as errors
- make[3]: *** [/home/akshaim/Documents/RIOT/git-workspace/RIOT/Makefile.base:107: /home/akshaim/Documents/RIOT/git-workspace/RIOT/tests/periph_dma/bin/nucleo-wl55jc/periph/dma.o] Error 1
- make[2]: *** [/home/akshaim/Documents/RIOT/git-workspace/RIOT/Makefile.base:30: ALL--/home/akshaim/Documents/RIOT/git-workspace/RIOT/cpu/stm32/periph] Error 2
- make[1]: *** [/home/akshaim/Documents/RIOT/git-workspace/RIOT/Makefile.base:30: ALL--/home/akshaim/Documents/RIOT/git-workspace/RIOT/cpu/stm32] Error 2
- make: *** [/home/akshaim/Documents/RIOT/git-workspace/RIOT/tests/periph_dma/../../Makefile.include:643: application_tests_periph_dma.module] Error 2
- Return value: 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement