SHARE
TWEET

Posterdati

a guest Nov 9th, 2019 78 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $ make clean
  2.  [ clean ] gcc
  3. angel@ATHLON64:~/Development/c/arm/stm32f4-discovery/load-cell/sources$ make
  4.  [ mkdir ] gcc
  5.  [ as ] vectors.S
  6. ARM GAS  vectors.S                      page 1
  7.  
  8.  
  9.    1                    /* -*- Mode: asm; Syntax: asm; indent-tabs-mode-nil; coding: utf-8; show-trailing-whitespace: t -*-
  10.    2              
  11.  [ as ] start.S
  12. ARM GAS  start.S                        page 1
  13.  
  14.  
  15.    1                    /* -*- Mode: asm; Syntax: asm; indent-tabs-mode-nil; coding: utf-8; show-trailing-whitespace: t -*-
  16.    2              
  17.  [ c ] stm32f4xx_rcc.c
  18. stm32f4xx_rcc.c: In function 'RCC_DeInit':
  19. stm32f4xx_rcc.c:246:8: error: 'RCC_TypeDef {aka struct <anonymous>}' has no member named 'PLLSAICFGR'; did you mean 'PLLCFGR'?
  20.    RCC->PLLSAICFGR = 0x24003000;
  21.         ^~~~~~~~~~
  22.         PLLCFGR
  23. stm32f4xx_rcc.c:256:8: error: 'RCC_TypeDef {aka struct <anonymous>}' has no member named 'DCKCFGR'; did you mean 'PLLCFGR'?
  24.    RCC->DCKCFGR = 0x00000000;
  25.         ^~~~~~~
  26.         PLLCFGR
  27. stm32f4xx_rcc.c: In function 'RCC_PLLSAIConfig':
  28. stm32f4xx_rcc.c:848:8: error: 'RCC_TypeDef {aka struct <anonymous>}' has no member named 'PLLSAICFGR'; did you mean 'PLLCFGR'?
  29.    RCC->PLLSAICFGR = (PLLSAIN << 6) | (PLLSAIQ << 24) | (PLLSAIR << 28);
  30.         ^~~~~~~~~~
  31.         PLLCFGR
  32. stm32f4xx_rcc.c: In function 'RCC_SAIBlockACLKConfig':
  33. stm32f4xx_rcc.c:1741:17: error: 'RCC_TypeDef {aka struct <anonymous>}' has no member named 'DCKCFGR'; did you mean 'PLLCFGR'?
  34.    tmpreg = RCC->DCKCFGR;
  35.                  ^~~~~~~
  36.                  PLLCFGR
  37. stm32f4xx_rcc.c:1744:14: error: 'RCC_DCKCFGR_SAI1ASRC' undeclared (first use in this function); did you mean 'RCC_CFGR_I2SSRC'?
  38.    tmpreg &= ~RCC_DCKCFGR_SAI1ASRC;
  39.               ^~~~~~~~~~~~~~~~~~~~
  40.               RCC_CFGR_I2SSRC
  41. stm32f4xx_rcc.c:1744:14: note: each undeclared identifier is reported only once for each function it appears in
  42. stm32f4xx_rcc.c:1750:8: error: 'RCC_TypeDef {aka struct <anonymous>}' has no member named 'DCKCFGR'; did you mean 'PLLCFGR'?
  43.    RCC->DCKCFGR = tmpreg;
  44.         ^~~~~~~
  45.         PLLCFGR
  46. stm32f4xx_rcc.c: In function 'RCC_SAIBlockBCLKConfig':
  47. stm32f4xx_rcc.c:1777:17: error: 'RCC_TypeDef {aka struct <anonymous>}' has no member named 'DCKCFGR'; did you mean 'PLLCFGR'?
  48.    tmpreg = RCC->DCKCFGR;
  49.                  ^~~~~~~
  50.                  PLLCFGR
  51. stm32f4xx_rcc.c:1780:14: error: 'RCC_DCKCFGR_SAI1BSRC' undeclared (first use in this function); did you mean 'RCC_CFGR_I2SSRC'?
  52.    tmpreg &= ~RCC_DCKCFGR_SAI1BSRC;
  53.               ^~~~~~~~~~~~~~~~~~~~
  54.               RCC_CFGR_I2SSRC
  55. stm32f4xx_rcc.c:1786:8: error: 'RCC_TypeDef {aka struct <anonymous>}' has no member named 'DCKCFGR'; did you mean 'PLLCFGR'?
  56.    RCC->DCKCFGR = tmpreg;
  57.         ^~~~~~~
  58.         PLLCFGR
  59. stm32f4xx_rcc.c: In function 'RCC_SAIPLLI2SClkDivConfig':
  60. stm32f4xx_rcc.c:1810:17: error: 'RCC_TypeDef {aka struct <anonymous>}' has no member named 'DCKCFGR'; did you mean 'PLLCFGR'?
  61.    tmpreg = RCC->DCKCFGR;
  62.                  ^~~~~~~
  63.                  PLLCFGR
  64. stm32f4xx_rcc.c:1813:15: error: 'RCC_DCKCFGR_PLLI2SDIVQ' undeclared (first use in this function); did you mean 'RCC_CFGR_PPRE2_DIV1'?
  65.    tmpreg &= ~(RCC_DCKCFGR_PLLI2SDIVQ);
  66.                ^~~~~~~~~~~~~~~~~~~~~~
  67.                RCC_CFGR_PPRE2_DIV1
  68. stm32f4xx_rcc.c:1819:8: error: 'RCC_TypeDef {aka struct <anonymous>}' has no member named 'DCKCFGR'; did you mean 'PLLCFGR'?
  69.    RCC->DCKCFGR = tmpreg;
  70.         ^~~~~~~
  71.         PLLCFGR
  72. stm32f4xx_rcc.c: In function 'RCC_SAIPLLSAIClkDivConfig':
  73. stm32f4xx_rcc.c:1842:17: error: 'RCC_TypeDef {aka struct <anonymous>}' has no member named 'DCKCFGR'; did you mean 'PLLCFGR'?
  74.    tmpreg = RCC->DCKCFGR;
  75.                  ^~~~~~~
  76.                  PLLCFGR
  77. stm32f4xx_rcc.c:1845:15: error: 'RCC_DCKCFGR_PLLSAIDIVQ' undeclared (first use in this function); did you mean 'RCC_PLLCFGR_PLLSRC_HSE'?
  78.    tmpreg &= ~(RCC_DCKCFGR_PLLSAIDIVQ);
  79.                ^~~~~~~~~~~~~~~~~~~~~~
  80.                RCC_PLLCFGR_PLLSRC_HSE
  81. stm32f4xx_rcc.c:1851:8: error: 'RCC_TypeDef {aka struct <anonymous>}' has no member named 'DCKCFGR'; did you mean 'PLLCFGR'?
  82.    RCC->DCKCFGR = tmpreg;
  83.         ^~~~~~~
  84.         PLLCFGR
  85. stm32f4xx_rcc.c: In function 'RCC_LTDCCLKDivConfig':
  86. stm32f4xx_rcc.c:1941:17: error: 'RCC_TypeDef {aka struct <anonymous>}' has no member named 'DCKCFGR'; did you mean 'PLLCFGR'?
  87.    tmpreg = RCC->DCKCFGR;
  88.                  ^~~~~~~
  89.                  PLLCFGR
  90. stm32f4xx_rcc.c:1944:14: error: 'RCC_DCKCFGR_PLLSAIDIVR' undeclared (first use in this function); did you mean 'RCC_PLLCFGR_PLLSRC_HSE'?
  91.    tmpreg &= ~RCC_DCKCFGR_PLLSAIDIVR;
  92.               ^~~~~~~~~~~~~~~~~~~~~~
  93.               RCC_PLLCFGR_PLLSRC_HSE
  94. stm32f4xx_rcc.c:1950:8: error: 'RCC_TypeDef {aka struct <anonymous>}' has no member named 'DCKCFGR'; did you mean 'PLLCFGR'?
  95.    RCC->DCKCFGR = tmpreg;
  96.         ^~~~~~~
  97.         PLLCFGR
  98. In file included from ../../STM32F4xx_DSP_StdPeriph_Lib_V1.8.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_rcc.h:37:0,
  99.                  from stm32f4xx_rcc.c:59:
  100. stm32f4xx_rcc.c: In function 'RCC_LSEModeConfig':
  101. stm32f4xx_rcc.c:2725:24: error: 'RCC_BDCR_LSEMOD' undeclared (first use in this function); did you mean 'RCC_BDCR_LSEON'?
  102.      SET_BIT(RCC->BDCR, RCC_BDCR_LSEMOD);
  103.                         ^
  104. ../includes/stm32f4xx.h:6972:42: note: in definition of macro 'SET_BIT'
  105.  #define SET_BIT(REG, BIT)     ((REG) |= (BIT))
  106.                                           ^~~
  107. make: *** [../Makefile.global:111: gcc/stm32f4xx_rcc.o] Error 1
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