daily pastebin goal
50%
SHARE
TWEET

Still

a guest Aug 11th, 2015 456 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. *** Using Compiler 'V5.05 update 2 (build 169)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
  2. Build target 'WUHATEST Configuration'
  3. compiling stm32f7xx_hal_msp.c...
  4. ..\Src\stm32f7xx_hal_msp.c(728): error:  #20: identifier "SDRAM_HandleTypeDef" is undefined
  5.   void HAL_SDRAM_MspInit(SDRAM_HandleTypeDef* hsdram){
  6. ..\Src\stm32f7xx_hal_msp.c(814): error:  #20: identifier "SDRAM_HandleTypeDef" is undefined
  7.   void HAL_SDRAM_MspDeInit(SDRAM_HandleTypeDef* hsdram){
  8. ..\Src\stm32f7xx_hal_msp.c: 0 warnings, 2 errors
  9. compiling stm32f7xx_it.c...
  10. compiling main.c...
  11. ..\Src\main.c(57): error:  #20: identifier "SDRAM_HandleTypeDef" is undefined
  12.   SDRAM_HandleTypeDef hsdram1;
  13. ..\Src\main.c(356): error:  #20: identifier "FMC_SDRAM_TimingTypeDef" is undefined
  14.     FMC_SDRAM_TimingTypeDef SdramTiming;
  15. ..\Src\main.c(360): error:  #20: identifier "FMC_SDRAM_DEVICE" is undefined
  16.     hsdram1.Instance = FMC_SDRAM_DEVICE;
  17. ..\Src\main.c(362): error:  #20: identifier "FMC_SDRAM_BANK1" is undefined
  18.     hsdram1.Init.SDBank = FMC_SDRAM_BANK1;
  19. ..\Src\main.c(363): error:  #20: identifier "FMC_SDRAM_COLUMN_BITS_NUM_8" is undefined
  20.     hsdram1.Init.ColumnBitsNumber = FMC_SDRAM_COLUMN_BITS_NUM_8;
  21. ..\Src\main.c(364): error:  #20: identifier "FMC_SDRAM_ROW_BITS_NUM_11" is undefined
  22.     hsdram1.Init.RowBitsNumber = FMC_SDRAM_ROW_BITS_NUM_11;
  23. ..\Src\main.c(365): error:  #20: identifier "FMC_SDRAM_MEM_BUS_WIDTH_16" is undefined
  24.     hsdram1.Init.MemoryDataWidth = FMC_SDRAM_MEM_BUS_WIDTH_16;
  25. ..\Src\main.c(366): error:  #20: identifier "FMC_SDRAM_INTERN_BANKS_NUM_4" is undefined
  26.     hsdram1.Init.InternalBankNumber = FMC_SDRAM_INTERN_BANKS_NUM_4;
  27. ..\Src\main.c(367): error:  #20: identifier "FMC_SDRAM_CAS_LATENCY_1" is undefined
  28.     hsdram1.Init.CASLatency = FMC_SDRAM_CAS_LATENCY_1;
  29. ..\Src\main.c(368): error:  #20: identifier "FMC_SDRAM_WRITE_PROTECTION_DISABLE" is undefined
  30.     hsdram1.Init.WriteProtection = FMC_SDRAM_WRITE_PROTECTION_DISABLE;
  31. ..\Src\main.c(369): error:  #20: identifier "FMC_SDRAM_CLOCK_DISABLE" is undefined
  32.     hsdram1.Init.SDClockPeriod = FMC_SDRAM_CLOCK_DISABLE;
  33. ..\Src\main.c(370): error:  #20: identifier "FMC_SDRAM_RBURST_DISABLE" is undefined
  34.     hsdram1.Init.ReadBurst = FMC_SDRAM_RBURST_DISABLE;
  35. ..\Src\main.c(371): error:  #20: identifier "FMC_SDRAM_RPIPE_DELAY_0" is undefined
  36.     hsdram1.Init.ReadPipeDelay = FMC_SDRAM_RPIPE_DELAY_0;
  37. ..\Src\main.c(381): warning:  #223-D: function "HAL_SDRAM_Init" declared implicitly
  38.     HAL_SDRAM_Init(&hsdram1, &SdramTiming);
  39. ..\Src\main.c: 1 warning, 13 errors
  40. compiling stm32f7xx_ll_fmc.c...
  41. compiling stm32f7xx_hal_sdram.c...
  42. compiling stm32_ub_sdram.c...
  43. ..\Src\stm32_ub_sdram.c(53): error:  #20: identifier "SDRAM_HandleTypeDef" is undefined
  44.   __weak void P_SDRAM_MspInit(SDRAM_HandleTypeDef  *hsdram, void *Params);
  45. ..\Src\stm32_ub_sdram.c(59): error:  #20: identifier "SDRAM_HandleTypeDef" is undefined
  46.   static SDRAM_HandleTypeDef sdramHandle;
  47. ..\Src\stm32_ub_sdram.c(60): error:  #20: identifier "FMC_SDRAM_TimingTypeDef" is undefined
  48.   static FMC_SDRAM_TimingTypeDef Timing;
  49. ..\Src\stm32_ub_sdram.c(61): error:  #20: identifier "FMC_SDRAM_CommandTypeDef" is undefined
  50.   static FMC_SDRAM_CommandTypeDef Command;
  51. ..\Src\stm32_ub_sdram.c(212): warning:  #223-D: function "HAL_SDRAM_Write_32b" declared implicitly
  52.     if(HAL_SDRAM_Write_32b(&sdramHandle, (uint32_t *)(startAdr+SDRAM_START_ADR), ptrBuffer, lenBuffer) != HAL_OK)
  53. ..\Src\stm32_ub_sdram.c(232): warning:  #223-D: function "HAL_SDRAM_Read_32b" declared implicitly
  54.     if(HAL_SDRAM_Read_32b(&sdramHandle, (uint32_t *)(startAdr+SDRAM_START_ADR), ptrBuffer, lenBuffer) != HAL_OK)
  55. ..\Src\stm32_ub_sdram.c(252): warning:  #223-D: function "HAL_SDRAM_Write_DMA" declared implicitly
  56.     if(HAL_SDRAM_Write_DMA(&sdramHandle, (uint32_t *)(startAdr+SDRAM_START_ADR), ptrBuffer, lenBuffer) != HAL_OK)
  57. ..\Src\stm32_ub_sdram.c(274): error:  #20: identifier "FMC_SDRAM_DEVICE" is undefined
  58.     sdramHandle.Instance = FMC_SDRAM_DEVICE;
  59. ..\Src\stm32_ub_sdram.c(285): error:  #20: identifier "FMC_SDRAM_BANK1" is undefined
  60.     sdramHandle.Init.SDBank             = FMC_SDRAM_BANK1;
  61. ..\Src\stm32_ub_sdram.c(286): error:  #20: identifier "FMC_SDRAM_COLUMN_BITS_NUM_8" is undefined
  62.     sdramHandle.Init.ColumnBitsNumber   = FMC_SDRAM_COLUMN_BITS_NUM_8;
  63. ..\Src\stm32_ub_sdram.c(287): error:  #20: identifier "FMC_SDRAM_ROW_BITS_NUM_12" is undefined
  64.     sdramHandle.Init.RowBitsNumber      = FMC_SDRAM_ROW_BITS_NUM_12;
  65. ..\Src\stm32_ub_sdram.c(288): error:  #20: identifier "FMC_SDRAM_MEM_BUS_WIDTH_16" is undefined
  66.     sdramHandle.Init.MemoryDataWidth    =
  67. DRAM_MEMORY_WIDTH;
  68. ..\Src\stm32_ub_sdram.c(289): error:  #20: identifier "FMC_SDRAM_INTERN_BANKS_NUM_4" is undefined
  69.     sdramHandle.Init.InternalBankNumber = FMC_SDRAM_INTERN_BANKS_NUM_4;
  70. ..\Src\stm32_ub_sdram.c(290): error:  #20: identifier "FMC_SDRAM_CAS_LATENCY_2" is undefined
  71.     sdramHandle.Init.CASLatency         = FMC_SDRAM_CAS_LATENCY_2;
  72. ..\Src\stm32_ub_sdram.c(291): error:  #20: identifier "FMC_SDRAM_WRITE_PROTECTION_DISABLE" is undefined
  73.     sdramHandle.Init.WriteProtection    = FMC_SDRAM_WRITE_PROTECTION_DISABLE;
  74. ..\Src\stm32_ub_sdram.c(292): error:  #20: identifier "FMC_SDRAM_CLOCK_PERIOD_2" is undefined
  75.     sdramHandle.Init.SDClockPeriod      =
  76. DCLOCK_PERIOD;
  77. ..\Src\stm32_ub_sdram.c(293): error:  #20: identifier "FMC_SDRAM_RBURST_ENABLE" is undefined
  78.     sdramHandle.Init.ReadBurst          = FMC_SDRAM_RBURST_ENABLE;
  79. ..\Src\stm32_ub_sdram.c(294): error:  #20: identifier "FMC_SDRAM_RPIPE_DELAY_0" is undefined
  80.     sdramHandle.Init.ReadPipeDelay      = FMC_SDRAM_RPIPE_DELAY_0;
  81. ..\Src\stm32_ub_sdram.c(299): warning:  #223-D: function "HAL_SDRAM_Init" declared implicitly
  82.     if(HAL_SDRAM_Init(&sdramHandle, &Timing) == HAL_OK) sdramstatus = SUCCESS;
  83. ..\Src\stm32_ub_sdram.c(315): error:  #20: identifier "FMC_SDRAM_CMD_CLK_ENABLE" is undefined
  84.     Command.CommandMode            = FMC_SDRAM_CMD_CLK_ENABLE;
  85. ..\Src\stm32_ub_sdram.c(316): error:  #20: identifier "FMC_SDRAM_CMD_TARGET_BANK1" is undefined
  86.     Command.CommandTarget          = FMC_SDRAM_CMD_TARGET_BANK1;
  87. ..\Src\stm32_ub_sdram.c(321): warning:  #223-D: function "HAL_SDRAM_SendCommand" declared implicitly
  88.     HAL_SDRAM_SendCommand(&sdramHandle, &Command, SDRAM_TIMEOUT);
  89. ..\Src\stm32_ub_sdram.c(328): error:  #20: identifier "FMC_SDRAM_CMD_PALL" is undefined
  90.     Command.CommandMode            = FMC_SDRAM_CMD_PALL;
  91. ..\Src\stm32_ub_sdram.c(337): error:  #20: identifier "FMC_SDRAM_CMD_AUTOREFRESH_MODE" is undefined
  92.     Command.CommandMode            = FMC_SDRAM_CMD_AUTOREFRESH_MODE;
  93. ..\Src\stm32_ub_sdram.c(352): error:  #20: identifier "FMC_SDRAM_CMD_LOAD_MODE" is undefined
  94.     Command.CommandMode            = FMC_SDRAM_CMD_LOAD_MODE;
  95. ..\Src\stm32_ub_sdram.c(362): warning:  #223-D: function "HAL_SDRAM_ProgramRefreshRate" declared implicitly
  96.     HAL_SDRAM_ProgramRefreshRate(&sdramHandle, RefreshCount);
  97. ..\Src\stm32_ub_sdram.c(368): error:  #20: identifier "SDRAM_HandleTypeDef" is undefined
  98.   __weak void P_SDRAM_MspInit(SDRAM_HandleTypeDef  *hsdram, void *Params)
  99. ..\Src\stm32_ub_sdram.c: 6 warnings, 21 errors
  100. "WUHATEST Configuration\WUHATEST Configuration.axf" - 36 Error(s), 7 Warning(s).
  101. Target not created.
  102. Build Time Elapsed:  00:00:21
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top