Advertisement
Guest User

periph_dma

a guest
Apr 1st, 2021
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 7.76 KB | None | 0 0
  1. make RIOT_CI_BUILD=1 CC_NOCOLOR=1 --no-print-directory -C ./tests/periph_dma clean all
  2. Building application "tests_periph_dma" for "nucleo-wl55jc" with MCU "stm32".
  3.  
  4. /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'?
  5.    94 | static struct dma_ctx dma_ctx[DMA_NUMOF];
  6.       |                               ^~~~~~~~~
  7.       |                               SPI_NUMOF
  8. /home/akshaim/Documents/RIOT/git-workspace/RIOT/cpu/stm32/periph/dma.c: In function 'dma_all_flags':
  9. /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'?
  10.   264 |     return DMA_STREAM_IT_MASK << ((dma_config[dma].stream & 0x7) * 4);
  11.       |                                    ^~~~~~~~~~
  12.       |                                    dma_conf_t
  13. /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
  14. /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]
  15.   248 | static inline uint32_t dma_all_flags(dma_t dma)
  16.       |                                      ~~~~~~^~~
  17. /home/akshaim/Documents/RIOT/git-workspace/RIOT/cpu/stm32/periph/dma.c: In function 'dma_clear_all_flags':
  18. /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'?
  19.   270 |     DMA_TypeDef *dma_dev = dma_base(dma_config[dma].stream);
  20.       |                                     ^~~~~~~~~~
  21.       |                                     dma_conf_t
  22. /home/akshaim/Documents/RIOT/git-workspace/RIOT/cpu/stm32/periph/dma.c: In function 'dma_poweron':
  23. /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'?
  24.    49 | #define CLOCK                   AHB
  25.       |                                 ^~~
  26. /home/akshaim/Documents/RIOT/git-workspace/RIOT/cpu/stm32/periph/dma.c:288:23: note: in expansion of macro 'CLOCK'
  27.   288 |         periph_clk_en(CLOCK, RCC_MASK_DMA1);
  28.       |                       ^~~~~
  29. /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'?
  30.    53 | #define RCC_MASK_DMA1           RCC_AHBENR_DMAEN
  31.       |                                 ^~~~~~~~~~~~~~~~
  32. /home/akshaim/Documents/RIOT/git-workspace/RIOT/cpu/stm32/periph/dma.c:288:30: note: in expansion of macro 'RCC_MASK_DMA1'
  33.   288 |         periph_clk_en(CLOCK, RCC_MASK_DMA1);
  34.       |                              ^~~~~~~~~~~~~
  35. /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'?
  36.    55 | #define RCC_MASK_DMA2           RCC_AHBENR_DMA2EN
  37.       |                                 ^~~~~~~~~~~~~~~~~
  38. /home/akshaim/Documents/RIOT/git-workspace/RIOT/cpu/stm32/periph/dma.c:292:30: note: in expansion of macro 'RCC_MASK_DMA2'
  39.   292 |         periph_clk_en(CLOCK, RCC_MASK_DMA2);
  40.       |                              ^~~~~~~~~~~~~
  41. /home/akshaim/Documents/RIOT/git-workspace/RIOT/cpu/stm32/periph/dma.c: In function 'dma_init':
  42. /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'?
  43.   303 |         int stream_n = dma_config[i].stream;
  44.       |                        ^~~~~~~~~~
  45.       |                        dma_conf_t
  46. /home/akshaim/Documents/RIOT/git-workspace/RIOT/cpu/stm32/periph/dma.c: In function 'dma_setup':
  47. /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]
  48.   354 | void dma_setup(dma_t dma, int chan, void *periph_addr, dma_mode_t mode,
  49.       |                ~~~~~~^~~
  50. /home/akshaim/Documents/RIOT/git-workspace/RIOT/cpu/stm32/periph/dma.c: In function 'dma_prepare':
  51. /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]
  52.   390 | void dma_prepare(dma_t dma, void *mem, size_t len, bool incr_mem)
  53.       |                  ~~~~~~^~~
  54. /home/akshaim/Documents/RIOT/git-workspace/RIOT/cpu/stm32/periph/dma.c: In function 'dma_start':
  55. /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]
  56.   448 | void dma_start(dma_t dma)
  57.       |                ~~~~~~^~~
  58. /home/akshaim/Documents/RIOT/git-workspace/RIOT/cpu/stm32/periph/dma.c: In function 'dma_suspend':
  59. /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'?
  60.   459 |     int stream_n = dma_config[dma].stream;
  61.       |                    ^~~~~~~~~~
  62.       |                    dma_conf_t
  63. /home/akshaim/Documents/RIOT/git-workspace/RIOT/cpu/stm32/periph/dma.c: In function 'dma_resume':
  64. /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'?
  65.   479 |     int stream_n = dma_config[dma].stream;
  66.       |                    ^~~~~~~~~~
  67.       |                    dma_conf_t
  68. /home/akshaim/Documents/RIOT/git-workspace/RIOT/cpu/stm32/periph/dma.c: In function 'dma_stop':
  69. /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'?
  70.   493 |     STM32_DMA_Stream_Type *stream = dma_stream(dma_config[dma].stream);
  71.       |                                                ^~~~~~~~~~
  72.       |                                                dma_conf_t
  73. /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]
  74.   491 | void dma_stop(dma_t dma)
  75.       |               ~~~~~~^~~
  76. /home/akshaim/Documents/RIOT/git-workspace/RIOT/cpu/stm32/periph/dma.c: In function 'dma_wait':
  77. /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]
  78.   498 | void dma_wait(dma_t dma)
  79.       |               ~~~~~~^~~
  80. /home/akshaim/Documents/RIOT/git-workspace/RIOT/cpu/stm32/periph/dma.c: In function 'dma_all_flags':
  81. /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]
  82.   266 | }
  83.       | ^
  84. At top level:
  85. /home/akshaim/Documents/RIOT/git-workspace/RIOT/cpu/stm32/periph/dma.c:94:23: error: 'dma_ctx' defined but not used [-Werror=unused-variable]
  86.    94 | static struct dma_ctx dma_ctx[DMA_NUMOF];
  87.       |                       ^~~~~~~
  88. cc1: all warnings being treated as errors
  89. 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
  90. 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
  91. make[1]: *** [/home/akshaim/Documents/RIOT/git-workspace/RIOT/Makefile.base:30: ALL--/home/akshaim/Documents/RIOT/git-workspace/RIOT/cpu/stm32] Error 2
  92. make: *** [/home/akshaim/Documents/RIOT/git-workspace/RIOT/tests/periph_dma/../../Makefile.include:643: application_tests_periph_dma.module] Error 2
  93.  
  94. Return value: 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement