Advertisement
Guest User

Build Output

a guest
Aug 11th, 2015
476
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.41 KB | None | 0 0
  1. *** Using Compiler 'V5.05 update 2 (build 169)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
  2. Build target 'LCDTESTER Configuration'
  3. compiling main.c...
  4. compiling stm32f7xx_hal_msp.c...
  5. compiling stm32f7xx_it.c...
  6. compiling stm32f7xx_hal_flash.c...
  7. compiling stm32f7xx_hal_dcmi_ex.c...
  8. compiling stm32f7xx_hal_flash_ex.c...
  9. compiling stm32f7xx_hal.c...
  10. compiling stm32f7xx_hal_qspi.c...
  11. compiling stm32f7xx_hal_dma.c...
  12. compiling stm32f7xx_hal_dcmi.c...
  13. compiling stm32f7xx_hal_pwr.c...
  14. compiling stm32f7xx_hal_rcc_ex.c...
  15. compiling stm32f7xx_hal_cortex.c...
  16. compiling stm32f7xx_hal_dma_ex.c...
  17. compiling stm32f7xx_hal_pwr_ex.c...
  18. compiling stm32f7xx_hal_gpio.c...
  19. compiling stm32f7xx_hal_rcc.c...
  20. compiling stm32f7xx_hal_spdifrx.c...
  21. compiling system_stm32f7xx.c...
  22. assembling startup_stm32f746xx.s...
  23. compiling stm32_ub_font.c...
  24. compiling stm32_ub_graphic2d.c...
  25. ..\Src\stm32_ub_graphic2d.c(29): error: #20: identifier "DMA2D_HandleTypeDef" is undefined
  26. static DMA2D_HandleTypeDef hDma2dHandler;
  27. ..\Src\stm32_ub_graphic2d.c(40): error: #20: identifier "DMA2D_R2M" is undefined
  28. hDma2dHandler.Init.Mode = DMA2D_R2M;
  29. ..\Src\stm32_ub_graphic2d.c(41): error: #20: identifier "DMA2D_RGB565" is undefined
  30. hDma2dHandler.Init.ColorMode = DMA2D_RGB565;
  31. ..\Src\stm32_ub_graphic2d.c(48): warning: #223-D: function "HAL_DMA2D_Init" declared implicitly
  32. if(HAL_DMA2D_Init(&hDma2dHandler) == HAL_OK) {
  33. ..\Src\stm32_ub_graphic2d.c(49): warning: #223-D: function "HAL_DMA2D_ConfigLayer" declared implicitly
  34. if(HAL_DMA2D_ConfigLayer(&hDma2dHandler, LCD_CurrentLayer) == HAL_OK) {
  35. ..\Src\stm32_ub_graphic2d.c(50): warning: #223-D: function "HAL_DMA2D_Start" declared implicitly
  36. if (HAL_DMA2D_Start(&hDma2dHandler, col32, (uint32_t)LCD_CurrentFrameBuffer, LCD_MAXX, LCD_MAXY) == HAL_OK)
  37. ..\Src\stm32_ub_graphic2d.c(52): warning: #223-D: function "HAL_DMA2D_PollForTransfer" declared implicitly
  38. HAL_DMA2D_PollForTransfer(&hDma2dHandler, 10);
  39. ..\Src\stm32_ub_graphic2d.c(188): error: #20: identifier "DMA2D_R2M" is undefined
  40. hDma2dHandler.Init.Mode = DMA2D_R2M;
  41. ..\Src\stm32_ub_graphic2d.c(189): error: #20: identifier "DMA2D_RGB565" is undefined
  42. hDma2dHandler.Init.ColorMode = DMA2D_RGB565;
  43. ..\Src\stm32_ub_graphic2d.c(195): warning: #223-D: function "HAL_DMA2D_Init" declared implicitly
  44. if(HAL_DMA2D_Init(&hDma2dHandler) == HAL_OK) {
  45. ..\Src\stm32_ub_graphic2d.c(196): warning: #223-D: function "HAL_DMA2D_ConfigLayer" declared implicitly
  46. if(HAL_DMA2D_ConfigLayer(&hDma2dHandler, LCD_CurrentLayer) == HAL_OK) {
  47. ..\Src\stm32_ub_graphic2d.c(197): warning: #223-D: function "HAL_DMA2D_Start" declared implicitly
  48. if (HAL_DMA2D_Start(&hDma2dHandler, col32, (uint32_t)Xaddress, w, h) == HAL_OK)
  49. ..\Src\stm32_ub_graphic2d.c(199): warning: #223-D: function "HAL_DMA2D_PollForTransfer" declared implicitly
  50. HAL_DMA2D_PollForTransfer(&hDma2dHandler, 10);
  51. ..\Src\stm32_ub_graphic2d.c(279): error: #20: identifier "DMA2D_R2M" is undefined
  52. hDma2dHandler.Init.Mode = DMA2D_R2M;
  53. ..\Src\stm32_ub_graphic2d.c(280): error: #20: identifier "DMA2D_RGB565" is undefined
  54. hDma2dHandler.Init.ColorMode = DMA2D_RGB565;
  55. ..\Src\stm32_ub_graphic2d.c(285): warning: #223-D: function "HAL_DMA2D_Init" declared implicitly
  56. if(HAL_DMA2D_Init(&hDma2dHandler) == HAL_OK) {
  57. ..\Src\stm32_ub_graphic2d.c(286): warning: #223-D: function "HAL_DMA2D_ConfigLayer" declared implicitly
  58. if(HAL_DMA2D_ConfigLayer(&hDma2dHandler, LCD_CurrentLayer) == HAL_OK) {
  59. ..\Src\stm32_ub_graphic2d.c(287): warning: #223-D: function "HAL_DMA2D_Start" declared implicitly
  60. if (HAL_DMA2D_Start(&hDma2dHandler, col32, (uint32_t)Xaddress, w, h) == HAL_OK)
  61. ..\Src\stm32_ub_graphic2d.c(289): warning: #223-D: function "HAL_DMA2D_PollForTransfer" declared implicitly
  62. HAL_DMA2D_PollForTransfer(&hDma2dHandler, 10);
  63. ..\Src\stm32_ub_graphic2d.c(455): error: #20: identifier "DMA2D_M2M" is undefined
  64. hDma2dHandler.Init.Mode = DMA2D_M2M;
  65. ..\Src\stm32_ub_graphic2d.c(456): error: #20: identifier "DMA2D_RGB565" is undefined
  66. hDma2dHandler.Init.ColorMode = DMA2D_RGB565;
  67. ..\Src\stm32_ub_graphic2d.c(461): error: #20: identifier "DMA2D_NO_MODIF_ALPHA" is undefined
  68. hDma2dHandler.LayerCfg[1].AlphaMode = DMA2D_NO_MODIF_ALPHA;
  69. ..\Src\stm32_ub_graphic2d.c(463): error: #20: identifier "CM_RGB565" is undefined
  70. hDma2dHandler.LayerCfg[1].InputColorMode = CM_RGB565;
  71. ..\Src\stm32_ub_graphic2d.c(468): warning: #223-D: function "HAL_DMA2D_Init" declared implicitly
  72. if(HAL_DMA2D_Init(&hDma2dHandler) == HAL_OK) {
  73. ..\Src\stm32_ub_graphic2d.c(469): warning: #223-D: function "HAL_DMA2D_ConfigLayer" declared implicitly
  74. if(HAL_DMA2D_ConfigLayer(&hDma2dHandler, 1) == HAL_OK) {
  75. ..\Src\stm32_ub_graphic2d.c(470): warning: #223-D: function "HAL_DMA2D_Start" declared implicitly
  76. if (HAL_DMA2D_Start(&hDma2dHandler, source_address, dest_address, w, h) == HAL_OK)
  77. ..\Src\stm32_ub_graphic2d.c(472): warning: #223-D: function "HAL_DMA2D_PollForTransfer" declared implicitly
  78. HAL_DMA2D_PollForTransfer(&hDma2dHandler, 10);
  79. ..\Src\stm32_ub_graphic2d.c: 16 warnings, 11 errors
  80. compiling stm32_ub_i2c3.c...
  81. ..\Src\stm32_ub_i2c3.c(36): error: #20: identifier "I2C_HandleTypeDef" is undefined
  82. I2C_HandleTypeDef I2c3Handle;
  83. ..\Src\stm32_ub_i2c3.c(54): error: #20: identifier "I2C_ADDRESSINGMODE_7BIT" is undefined
  84. I2c3Handle.Init.AddressingMode = I2C_ADDRESSINGMODE_7BIT;
  85. ..\Src\stm32_ub_i2c3.c(55): error: #20: identifier "I2C_DUALADDRESS_DISABLE" is undefined
  86. I2c3Handle.Init.DualAddressMode = I2C_DUALADDRESS_DISABLE;
  87. ..\Src\stm32_ub_i2c3.c(57): error: #20: identifier "I2C_GENERALCALL_DISABLE" is undefined
  88. I2c3Handle.Init.GeneralCallMode = I2C_GENERALCALL_DISABLE;
  89. ..\Src\stm32_ub_i2c3.c(58): error: #20: identifier "I2C_NOSTRETCH_DISABLE" is undefined
  90. I2c3Handle.Init.NoStretchMode = I2C_NOSTRETCH_DISABLE;
  91. ..\Src\stm32_ub_i2c3.c(60): warning: #223-D: function "HAL_I2C_Init" declared implicitly
  92. HAL_I2C_Init(&I2c3Handle);
  93. ..\Src\stm32_ub_i2c3.c(62): warning: #223-D: function "HAL_I2CEx_ConfigAnalogFilter" declared implicitly
  94. HAL_I2CEx_ConfigAnalogFilter(&I2c3Handle,I2C_ANALOGFILTER_ENABLE);
  95. ..\Src\stm32_ub_i2c3.c(62): error: #20: identifier "I2C_ANALOGFILTER_ENABLE" is undefined
  96. HAL_I2CEx_ConfigAnalogFilter(&I2c3Handle,I2C_ANALOGFILTER_ENABLE);
  97. ..\Src\stm32_ub_i2c3.c(85): warning: #223-D: function "HAL_I2C_Master_Transmit" declared implicitly
  98. if(HAL_I2C_Master_Transmit(&I2c3Handle, (uint16_t)slave_adr, (uint8_t*)I2C3_DATA, 1, I2C3_TIMEOUT)!= HAL_OK)
  99. ..\Src\stm32_ub_i2c3.c(88): warning: #223-D: function "HAL_I2C_GetError" declared implicitly
  100. if (HAL_I2C_GetError(&I2c3Handle) != HAL_I2C_ERROR_AF) ret_wert=-2;
  101. ..\Src\stm32_ub_i2c3.c(88): error: #20: identifier "HAL_I2C_ERROR_AF" is undefined
  102. if (HAL_I2C_GetError(&I2c3Handle) != HAL_I2C_ERROR_AF) ret_wert=-2;
  103. ..\Src\stm32_ub_i2c3.c(93): warning: #223-D: function "HAL_I2C_Master_Receive" declared implicitly
  104. if(HAL_I2C_Master_Receive(&I2c3Handle, (uint16_t)slave_adr, (uint8_t *)I2C3_DATA, 1, I2C3_TIMEOUT) != HAL_OK)
  105. ..\Src\stm32_ub_i2c3.c(96): warning: #223-D: function "HAL_I2C_GetError" declared implicitly
  106. if (HAL_I2C_GetError(&I2c3Handle) != HAL_I2C_ERROR_AF) ret_wert=-4;
  107. ..\Src\stm32_ub_i2c3.c(96): error: #20: identifier "HAL_I2C_ERROR_AF" is undefined
  108. if (HAL_I2C_GetError(&I2c3Handle) != HAL_I2C_ERROR_AF) ret_wert=-4;
  109. ..\Src\stm32_ub_i2c3.c(125): warning: #223-D: function "HAL_I2C_Master_Transmit" declared implicitly
  110. if(HAL_I2C_Master_Transmit(&I2c3Handle, (uint16_t)slave_adr, (uint8_t*)I2C3_DATA, 2, I2C3_TIMEOUT)!= HAL_OK)
  111. ..\Src\stm32_ub_i2c3.c(128): warning: #223-D: function "HAL_I2C_GetError" declared implicitly
  112. if (HAL_I2C_GetError(&I2c3Handle) != HAL_I2C_ERROR_AF) ret_wert=-2;
  113. ..\Src\stm32_ub_i2c3.c(128): error: #20: identifier "HAL_I2C_ERROR_AF" is undefined
  114. if (HAL_I2C_GetError(&I2c3Handle) != HAL_I2C_ERROR_AF) ret_wert=-2;
  115. ..\Src\stm32_ub_i2c3.c(154): warning: #223-D: function "HAL_I2C_Master_Transmit" declared implicitly
  116. if(HAL_I2C_Master_Transmit(&I2c3Handle, (uint16_t)slave_adr, (uint8_t*)I2C3_DATA, 1, I2C3_TIMEOUT)!= HAL_OK)
  117. ..\Src\stm32_ub_i2c3.c(157): warning: #223-D: function "HAL_I2C_GetError" declared implicitly
  118. if (HAL_I2C_GetError(&I2c3Handle) != HAL_I2C_ERROR_AF) ret_wert=-2;
  119. ..\Src\stm32_ub_i2c3.c(157): error: #20: identifier "HAL_I2C_ERROR_AF" is undefined
  120. if (HAL_I2C_GetError(&I2c3Handle) != HAL_I2C_ERROR_AF) ret_wert=-2;
  121. ..\Src\stm32_ub_i2c3.c(162): warning: #223-D: function "HAL_I2C_Master_Receive" declared implicitly
  122. if(HAL_I2C_Master_Receive(&I2c3Handle, (uint16_t)slave_adr, (uint8_t *)I2C3_DATA, cnt, I2C3_TIMEOUT) != HAL_OK)
  123. ..\Src\stm32_ub_i2c3.c(165): warning: #223-D: function "HAL_I2C_GetError" declared implicitly
  124. if (HAL_I2C_GetError(&I2c3Handle) != HAL_I2C_ERROR_AF) ret_wert=-4;
  125. ..\Src\stm32_ub_i2c3.c(165): error: #20: identifier "HAL_I2C_ERROR_AF" is undefined
  126. if (HAL_I2C_GetError(&I2c3Handle) != HAL_I2C_ERROR_AF) ret_wert=-4;
  127. ..\Src\stm32_ub_i2c3.c(194): warning: #223-D: function "HAL_I2C_Master_Transmit" declared implicitly
  128. if(HAL_I2C_Master_Transmit(&I2c3Handle, (uint16_t)slave_adr, (uint8_t*)I2C3_DATA, cnt+1, I2C3_TIMEOUT)!= HAL_OK)
  129. ..\Src\stm32_ub_i2c3.c(197): warning: #223-D: function "HAL_I2C_GetError" declared implicitly
  130. if (HAL_I2C_GetError(&I2c3Handle) != HAL_I2C_ERROR_AF) ret_wert=-2;
  131. ..\Src\stm32_ub_i2c3.c(197): error: #20: identifier "HAL_I2C_ERROR_AF" is undefined
  132. if (HAL_I2C_GetError(&I2c3Handle) != HAL_I2C_ERROR_AF) ret_wert=-2;
  133. ..\Src\stm32_ub_i2c3.c(220): warning: #223-D: function "HAL_I2C_Master_Transmit" declared implicitly
  134. if(HAL_I2C_Master_Transmit(&I2c3Handle, (uint16_t)slave_adr, (uint8_t*)I2C3_DATA, 1, I2C3_TIMEOUT)!= HAL_OK)
  135. ..\Src\stm32_ub_i2c3.c(223): warning: #223-D: function "HAL_I2C_GetError" declared implicitly
  136. if (HAL_I2C_GetError(&I2c3Handle) != HAL_I2C_ERROR_AF) ret_wert=-2;
  137. ..\Src\stm32_ub_i2c3.c(223): error: #20: identifier "HAL_I2C_ERROR_AF" is undefined
  138. if (HAL_I2C_GetError(&I2c3Handle) != HAL_I2C_ERROR_AF) ret_wert=-2;
  139. ..\Src\stm32_ub_i2c3.c(252): warning: #223-D: function "HAL_I2C_Master_Transmit" declared implicitly
  140. if(HAL_I2C_Master_Transmit(&I2c3Handle, (uint16_t)slave_adr, (uint8_t*)I2C3_DATA, 2, I2C3_TIMEOUT)!= HAL_OK)
  141. ..\Src\stm32_ub_i2c3.c(255): warning: #223-D: function "HAL_I2C_GetError" declared implicitly
  142. if (HAL_I2C_GetError(&I2c3Handle) != HAL_I2C_ERROR_AF) ret_wert=-2;
  143. ..\Src\stm32_ub_i2c3.c(255): error: #20: identifier "HAL_I2C_ERROR_AF" is undefined
  144. if (HAL_I2C_GetError(&I2c3Handle) != HAL_I2C_ERROR_AF) ret_wert=-2;
  145. ..\Src\stm32_ub_i2c3.c(260): warning: #223-D: function "HAL_I2C_Master_Receive" declared implicitly
  146. if(HAL_I2C_Master_Receive(&I2c3Handle, (uint16_t)slave_adr, (uint8_t *)I2C3_DATA, 1, I2C3_TIMEOUT) != HAL_OK)
  147. ..\Src\stm32_ub_i2c3.c(263): warning: #223-D: function "HAL_I2C_GetError" declared implicitly
  148. if (HAL_I2C_GetError(&I2c3Handle) != HAL_I2C_ERROR_AF) ret_wert=-4;
  149. ..\Src\stm32_ub_i2c3.c(263): error: #20: identifier "HAL_I2C_ERROR_AF" is undefined
  150. if (HAL_I2C_GetError(&I2c3Handle) != HAL_I2C_ERROR_AF) ret_wert=-4;
  151. ..\Src\stm32_ub_i2c3.c(298): warning: #223-D: function "HAL_I2C_Master_Transmit" declared implicitly
  152. if(HAL_I2C_Master_Transmit(&I2c3Handle, (uint16_t)slave_adr, (uint8_t*)I2C3_DATA, 3, I2C3_TIMEOUT)!= HAL_OK)
  153. ..\Src\stm32_ub_i2c3.c(301): warning: #223-D: function "HAL_I2C_GetError" declared implicitly
  154. if (HAL_I2C_GetError(&I2c3Handle) != HAL_I2C_ERROR_AF) ret_wert=-2;
  155. ..\Src\stm32_ub_i2c3.c(301): error: #20: identifier "HAL_I2C_ERROR_AF" is undefined
  156. if (HAL_I2C_GetError(&I2c3Handle) != HAL_I2C_ERROR_AF) ret_wert=-2;
  157. ..\Src\stm32_ub_i2c3.c: 22 warnings, 16 errors
  158. compiling stm32_ub_lcd_480x272.c...
  159. ..\Src\stm32_ub_lcd_480x272.c(49): error: #20: identifier "LTDC_HandleTypeDef" is undefined
  160. __weak void P_LCD_480x272_ClockConfig(LTDC_HandleTypeDef *hltdc, void *Params);
  161. ..\Src\stm32_ub_lcd_480x272.c(50): error: #20: identifier "LTDC_HandleTypeDef" is undefined
  162. __weak void P_LCD_480x272_MspInit(LTDC_HandleTypeDef *hltdc, void *Params);
  163. ..\Src\stm32_ub_lcd_480x272.c(59): error: #20: identifier "LTDC_HandleTypeDef" is undefined
  164. static LTDC_HandleTypeDef hLtdcHandler;
  165. ..\Src\stm32_ub_lcd_480x272.c(99): error: #20: identifier "LTDC_LayerCfgTypeDef" is undefined
  166. LTDC_LayerCfgTypeDef layer_cfg;
  167. ..\Src\stm32_ub_lcd_480x272.c(106): error: #20: identifier "LTDC_PIXEL_FORMAT_RGB565" is undefined
  168. layer_cfg.PixelFormat = LTDC_PIXEL_FORMAT_RGB565;
  169. ..\Src\stm32_ub_lcd_480x272.c(113): error: #20: identifier "LTDC_BLENDING_FACTOR1_PAxCA" is undefined
  170. layer_cfg.BlendingFactor1 = LTDC_BLENDING_FACTOR1_PAxCA;
  171. ..\Src\stm32_ub_lcd_480x272.c(114): error: #20: identifier "LTDC_BLENDING_FACTOR2_PAxCA" is undefined
  172. layer_cfg.BlendingFactor2 = LTDC_BLENDING_FACTOR2_PAxCA;
  173. ..\Src\stm32_ub_lcd_480x272.c(117): warning: #223-D: function "HAL_LTDC_ConfigLayer" declared implicitly
  174. HAL_LTDC_ConfigLayer(&hLtdcHandler, &layer_cfg, 0);
  175. ..\Src\stm32_ub_lcd_480x272.c(180): warning: #223-D: function "HAL_LTDC_SetAlpha" declared implicitly
  176. HAL_LTDC_SetAlpha(&hLtdcHandler, wert, 0);
  177. ..\Src\stm32_ub_lcd_480x272.c(183): warning: #223-D: function "HAL_LTDC_SetAlpha" declared implicitly
  178. HAL_LTDC_SetAlpha(&hLtdcHandler, wert, 1);
  179. ..\Src\stm32_ub_lcd_480x272.c(342): error: #20: identifier "LTDC_HSPOLARITY_AL" is undefined
  180. hLtdcHandler.Init.HSPolarity = LTDC_HSPOLARITY_AL;
  181. ..\Src\stm32_ub_lcd_480x272.c(343): error: #20: identifier "LTDC_VSPOLARITY_AL" is undefined
  182. hLtdcHandler.Init.VSPolarity = LTDC_VSPOLARITY_AL;
  183. ..\Src\stm32_ub_lcd_480x272.c(344): error: #20: identifier "LTDC_DEPOLARITY_AL" is undefined
  184. hLtdcHandler.Init.DEPolarity = LTDC_DEPOLARITY_AL;
  185. ..\Src\stm32_ub_lcd_480x272.c(345): error: #20: identifier "LTDC_PCPOLARITY_IPC" is undefined
  186. hLtdcHandler.Init.PCPolarity = LTDC_PCPOLARITY_IPC;
  187. ..\Src\stm32_ub_lcd_480x272.c(348): warning: #223-D: function "HAL_LTDC_GetState" declared implicitly
  188. if(HAL_LTDC_GetState(&hLtdcHandler) == HAL_LTDC_STATE_RESET)
  189. ..\Src\stm32_ub_lcd_480x272.c(348): error: #20: identifier "HAL_LTDC_STATE_RESET" is undefined
  190. if(HAL_LTDC_GetState(&hLtdcHandler) == HAL_LTDC_STATE_RESET)
  191. ..\Src\stm32_ub_lcd_480x272.c(353): warning: #223-D: function "HAL_LTDC_Init" declared implicitly
  192. HAL_LTDC_Init(&hLtdcHandler);
  193. ..\Src\stm32_ub_lcd_480x272.c(365): error: #20: identifier "LTDC_HandleTypeDef" is undefined
  194. __weak void P_LCD_480x272_ClockConfig(LTDC_HandleTypeDef *hltdc, void *Params)
  195. ..\Src\stm32_ub_lcd_480x272.c(384): error: #20: identifier "LTDC_HandleTypeDef" is undefined
  196. __weak void P_LCD_480x272_MspInit(LTDC_HandleTypeDef *hltdc, void *Params)
  197. ..\Src\stm32_ub_lcd_480x272.c: 5 warnings, 14 errors
  198. compiling stm32_ub_sdram.c...
  199. ..\Src\stm32_ub_sdram.c(53): error: #20: identifier "SDRAM_HandleTypeDef" is undefined
  200. __weak void P_SDRAM_MspInit(SDRAM_HandleTypeDef *hsdram, void *Params);
  201. ..\Src\stm32_ub_sdram.c(59): error: #20: identifier "SDRAM_HandleTypeDef" is undefined
  202. static SDRAM_HandleTypeDef sdramHandle;
  203. ..\Src\stm32_ub_sdram.c(60): error: #20: identifier "FMC_SDRAM_TimingTypeDef" is undefined
  204. static FMC_SDRAM_TimingTypeDef Timing;
  205. ..\Src\stm32_ub_sdram.c(61): error: #20: identifier "FMC_SDRAM_CommandTypeDef" is undefined
  206. static FMC_SDRAM_CommandTypeDef Command;
  207. ..\Src\stm32_ub_sdram.c(212): warning: #223-D: function "HAL_SDRAM_Write_32b" declared implicitly
  208. if(HAL_SDRAM_Write_32b(&sdramHandle, (uint32_t *)(startAdr+SDRAM_START_ADR), ptrBuffer, lenBuffer) != HAL_OK)
  209. ..\Src\stm32_ub_sdram.c(232): warning: #223-D: function "HAL_SDRAM_Read_32b" declared implicitly
  210. if(HAL_SDRAM_Read_32b(&sdramHandle, (uint32_t *)(startAdr+SDRAM_START_ADR), ptrBuffer, lenBuffer) != HAL_OK)
  211. ..\Src\stm32_ub_sdram.c(252): warning: #223-D: function "HAL_SDRAM_Write_DMA" declared implicitly
  212. if(HAL_SDRAM_Write_DMA(&sdramHandle, (uint32_t *)(startAdr+SDRAM_START_ADR), ptrBuffer, lenBuffer) != HAL_OK)
  213. ..\Src\stm32_ub_sdram.c(274): error: #20: identifier "FMC_SDRAM_DEVICE" is undefined
  214. sdramHandle.Instance = FMC_SDRAM_DEVICE;
  215. ..\Src\stm32_ub_sdram.c(285): error: #20: identifier "FMC_SDRAM_BANK1" is undefined
  216. sdramHandle.Init.SDBank = FMC_SDRAM_BANK1;
  217. ..\Src\stm32_ub_sdram.c(286): error: #20: identifier "FMC_SDRAM_COLUMN_BITS_NUM_8" is undefined
  218. sdramHandle.Init.ColumnBitsNumber = FMC_SDRAM_COLUMN_BITS_NUM_8;
  219. ..\Src\stm32_ub_sdram.c(287): error: #20: identifier "FMC_SDRAM_ROW_BITS_NUM_12" is undefined
  220. sdramHandle.Init.RowBitsNumber = FMC_SDRAM_ROW_BITS_NUM_12;
  221. ..\Src\stm32_ub_sdram.c(288): error: #20: identifier "FMC_SDRAM_MEM_BUS_WIDTH_16" is undefined
  222. sdramHandle.Init.MemoryDataWidth =
  223. DRAM_MEMORY_WIDTH;
  224. ..\Src\stm32_ub_sdram.c(289): error: #20: identifier "FMC_SDRAM_INTERN_BANKS_NUM_4" is undefined
  225. sdramHandle.Init.InternalBankNumber = FMC_SDRAM_INTERN_BANKS_NUM_4;
  226. ..\Src\stm32_ub_sdram.c(290): error: #20: identifier "FMC_SDRAM_CAS_LATENCY_2" is undefined
  227. sdramHandle.Init.CASLatency = FMC_SDRAM_CAS_LATENCY_2;
  228. ..\Src\stm32_ub_sdram.c(291): error: #20: identifier "FMC_SDRAM_WRITE_PROTECTION_DISABLE" is undefined
  229. sdramHandle.Init.WriteProtection = FMC_SDRAM_WRITE_PROTECTION_DISABLE;
  230. ..\Src\stm32_ub_sdram.c(292): error: #20: identifier "FMC_SDRAM_CLOCK_PERIOD_2" is undefined
  231. sdramHandle.Init.SDClockPeriod =
  232. DCLOCK_PERIOD;
  233. ..\Src\stm32_ub_sdram.c(293): error: #20: identifier "FMC_SDRAM_RBURST_ENABLE" is undefined
  234. sdramHandle.Init.ReadBurst = FMC_SDRAM_RBURST_ENABLE;
  235. ..\Src\stm32_ub_sdram.c(294): error: #20: identifier "FMC_SDRAM_RPIPE_DELAY_0" is undefined
  236. sdramHandle.Init.ReadPipeDelay = FMC_SDRAM_RPIPE_DELAY_0;
  237. ..\Src\stm32_ub_sdram.c(299): warning: #223-D: function "HAL_SDRAM_Init" declared implicitly
  238. if(HAL_SDRAM_Init(&sdramHandle, &Timing) == HAL_OK) sdramstatus = SUCCESS;
  239. ..\Src\stm32_ub_sdram.c(315): error: #20: identifier "FMC_SDRAM_CMD_CLK_ENABLE" is undefined
  240. Command.CommandMode = FMC_SDRAM_CMD_CLK_ENABLE;
  241. ..\Src\stm32_ub_sdram.c(316): error: #20: identifier "FMC_SDRAM_CMD_TARGET_BANK1" is undefined
  242. Command.CommandTarget = FMC_SDRAM_CMD_TARGET_BANK1;
  243. ..\Src\stm32_ub_sdram.c(321): warning: #223-D: function "HAL_SDRAM_SendCommand" declared implicitly
  244. HAL_SDRAM_SendCommand(&sdramHandle, &Command, SDRAM_TIMEOUT);
  245. ..\Src\stm32_ub_sdram.c(328): error: #20: identifier "FMC_SDRAM_CMD_PALL" is undefined
  246. Command.CommandMode = FMC_SDRAM_CMD_PALL;
  247. ..\Src\stm32_ub_sdram.c(337): error: #20: identifier "FMC_SDRAM_CMD_AUTOREFRESH_MODE" is undefined
  248. Command.CommandMode = FMC_SDRAM_CMD_AUTOREFRESH_MODE;
  249. ..\Src\stm32_ub_sdram.c(352): error: #20: identifier "FMC_SDRAM_CMD_LOAD_MODE" is undefined
  250. Command.CommandMode = FMC_SDRAM_CMD_LOAD_MODE;
  251. ..\Src\stm32_ub_sdram.c(362): warning: #223-D: function "HAL_SDRAM_ProgramRefreshRate" declared implicitly
  252. HAL_SDRAM_ProgramRefreshRate(&sdramHandle, RefreshCount);
  253. ..\Src\stm32_ub_sdram.c(368): error: #20: identifier "SDRAM_HandleTypeDef" is undefined
  254. __weak void P_SDRAM_MspInit(SDRAM_HandleTypeDef *hsdram, void *Params)
  255. ..\Src\stm32_ub_sdram.c: 6 warnings, 21 errors
  256. compiling stm32_ub_system.c...
  257. compiling stm32_ub_touch_480x272.c...
  258. "LCDTESTER Configuration\LCDTESTER Configuration.axf" - 62 Error(s), 49 Warning(s).
  259. Target not created.
  260. Build Time Elapsed: 00:01:33
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement