Guest User

Untitled

a guest
Apr 20th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.65 KB | None | 0 0
  1. arm-none-eabi-gcc -std=c99 -c -g -Os -I.. -I../core -I. -Wall -mthumb -ffunction-sections -fdata-sections -fmessage-length=0 -mcpu=cortex-m3 -DTARGET=LPC13xx -DRAMCODE=2560 -fno-builtin -o default.o default.c
  2.  
  3.  
  4.  
  5. In file included from ../core/lpc134x.h:46,
  6. from ../core/projectconfig.h:1,
  7. from ../core/sysinit.h:42,
  8. from default.c:1:
  9. ../core/sysdefs.h:42:19: error: stdio.h: No such file or directory
  10. ../core/sysdefs.h:43:20: error: stdint.h: No such file or directory
  11. In file included from ../core/lpc134x.h:46,
  12. from ../core/projectconfig.h:1,
  13. from ../core/sysinit.h:42,
  14. from default.c:1:
  15. ../core/sysdefs.h:51: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'REG8'
  16. ../core/sysdefs.h:52: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'REG16'
  17. ../core/sysdefs.h:53: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'REG32'
  18. In file included from ../core/projectconfig.h:1,
  19. from ../core/sysinit.h:42,
  20. from default.c:1:
  21. ../core/lpc134x.h:1923: error: expected ':', ',', ';', '}' or '__attribute__' before 'ISER'
  22. ../core/lpc134x.h: In function 'NVIC_EnableIRQ':
  23. ../core/lpc134x.h:2021: error: 'NVIC_Type' has no member named 'ISER'
  24. ../core/lpc134x.h:2021: error: 'uint32_t' undeclared (first use in this function)
  25. ../core/lpc134x.h:2021: error: (Each undeclared identifier is reported only once
  26. ../core/lpc134x.h:2021: error: for each function it appears in.)
  27. ../core/lpc134x.h: In function 'NVIC_DisableIRQ':
  28. ../core/lpc134x.h:2026: error: 'NVIC_Type' has no member named 'ICER'
  29. ../core/lpc134x.h:2026: error: 'uint32_t' undeclared (first use in this function)
  30. ../core/lpc134x.h: At top level:
  31. ../core/lpc134x.h:3523: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RBIT'
  32. ../core/lpc134x.h: In function '__resetBootloader':
  33. ../core/lpc134x.h:3539: error: 'REG32' undeclared (first use in this function)
  34. ../core/lpc134x.h:3539: error: expected expression before ')' token
  35. In file included from ../core/sysinit.h:44,
  36. from default.c:1:
  37. ../core/gpio/gpio.h: At top level:
  38. ../core/gpio/gpio.h:102: error: expected ')' before 'portNum'
  39. ../core/gpio/gpio.h:103: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gpioGetValue'
  40. ../core/gpio/gpio.h:104: error: expected ')' before 'portNum'
  41. ../core/gpio/gpio.h:105: error: expected ')' before 'portNum'
  42. In file included from ../core/sysinit.h:44,
  43. from default.c:1:
  44. ../core/gpio/gpio.h:106: error: expected ')' before 'portNum'
  45. ../core/gpio/gpio.h:107: error: expected ')' before 'portNum'
  46. ../core/gpio/gpio.h:108: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gpioIntStatus'
  47. ../core/gpio/gpio.h:109: error: expected ')' before 'portNum'
  48. ../core/gpio/gpio.h:110: warning: type defaults to 'int' in declaration of 'uint32_t'
  49. ../core/gpio/gpio.h:110: error: expected ';', ',' or ')' before '*' token
  50. In file included from ../core/sysinit.h:45,
  51. from default.c:1:
  52. ../core/systick/systick.h:44: error: expected ')' before 'delayMs'
  53. ../core/systick/systick.h:45: error: expected ')' before 'delayTicks'
  54. ../core/systick/systick.h:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'systickGetTicks'
  55. ../core/systick/systick.h:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'systickGetRollovers'
  56. ../core/systick/systick.h:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'systickGetSecondsActive'
  57. In file included from default.c:2:
  58. ../basic/basic.h:4:18: error: time.h: No such file or directory
  59. In file included from ../basic/basic.h:6,
  60. from default.c:2:
  61. ../core/adc/adc.h:44: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'adcMutex'
  62. ../core/adc/adc.h:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'adcRead'
  63. In file included from default.c:2:
  64. ../basic/basic.h:130: error: expected ')' before 'ms'
  65. ../basic/basic.h:134: error: expected ')' before 'ms'
  66. ../basic/basic.h:138: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GetVoltage'
  67. ../basic/basic.h:139: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GetChrgStat'
  68. ../basic/basic.h:143: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GetLight'
  69. ../basic/basic.h:153: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'getInput'
  70. ../basic/basic.h:154: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'getInputRaw'
  71. ../basic/basic.h:155: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'getInputWait'
  72. ../basic/basic.h:156: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'getInputWaitRepeat'
  73. ../basic/basic.h:157: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'getInputWaitTimeout'
  74. ../basic/basic.h:161: error: expected declaration specifiers or '...' before 'uint8_t'
  75. ../basic/basic.h:161: error: expected declaration specifiers or '...' before 'uint8_t'
  76. ../basic/basic.h:161: error: expected declaration specifiers or '...' before 'uint8_t'
  77. In file included from ../basic/basic.h:163,
  78. from default.c:2:
  79. ../basic/uuid.h:5: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GetUUID32'
  80. In file included from default.c:2:
  81. ../basic/basic.h:166: error: expected ')' before 'param_tab'
  82. ../basic/basic.h:169: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'crc16'
  83. ../basic/basic.h:186: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'menuflags'
  84. In file included from ../basic/basic.h:193,
  85. from default.c:2:
  86. ../basic/idle.h:14: error: expected specifier-qualifier-list before 'uint8_t'
  87. ../basic/idle.h:27: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_timectr'
  88. ../basic/idle.h:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'work_queue_minimal'
  89. ../basic/idle.h:31: warning: parameter names (without types) in function declaration
  90. ../basic/idle.h:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'delayms_queue_plus'
  91. ../basic/idle.h:33: warning: parameter names (without types) in function declaration
  92. ../basic/idle.h:35: error: expected ')' before '(' token
  93. In file included from ../basic/basic.h:205,
  94. from default.c:2:
  95. ../basic/simpletime.h:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_timet'
  96. ../basic/simpletime.h:13: warning: type defaults to 'int' in declaration of 'time_t'
  97. ../basic/simpletime.h:13: error: expected ';', ',' or ')' before 'time'
  98. ../basic/simpletime.h:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'getSeconds'
  99. In file included from ../lcd/lcd.h:1,
  100. from default.c:5:
  101. ../lcd/backlight.h:5: error: expected ')' before 'percentage'
  102. ../lcd/backlight.h:6: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'backlightGetBrightness'
  103. In file included from ../lcd/lcd.h:2,
  104. from default.c:5:
  105. ../lcd/decoder.h:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  106. In file included from ../lcd/lcd.h:3,
  107. from default.c:5:
  108. ../lcd/display.h:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'lcdBuffer'
  109. ../lcd/display.h:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'lcdRead'
  110. In file included from ../lcd/render.h:5,
  111. from ../lcd/lcd.h:4,
  112. from default.c:5:
  113. ../lcd/fonts.h:10: error: expected ':', ',', ';', '}' or '__attribute__' before 'widthBits'
  114. ../lcd/fonts.h:14: error: expected specifier-qualifier-list before 'uint8_t'
  115. In file included from ../lcd/lcd.h:4,
  116. from default.c:5:
  117. ../lcd/render.h:36: error: expected declaration specifiers or '...' before 'uint16_t'
  118. ../lcd/render.h:53: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'charBuf'
  119. In file included from default.c:7:
  120. ../lcd/print.h:6: warning: type defaults to 'int' in declaration of 'uint8_t'
  121. ../lcd/print.h:6: error: expected ';', ',' or ')' before 'num'
  122. ../lcd/print.h:7: warning: type defaults to 'int' in declaration of 'uint16_t'
  123. ../lcd/print.h:7: error: expected ';', ',' or ')' before 'num'
  124. In file included from default.c:8:
  125. ../lcd/image.h:6: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'lcdShowAnim'
  126. In file included from default.c:10:
  127. ../usb/usbmsc.h:45: error: expected ')' before 'offset'
  128. ../usb/usbmsc.h:46: error: expected ')' before 'offset'
  129. In file included from default.c:11:
  130. ../basic/random.h:5: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'getRandom'
  131. In file included from default.c:12:
  132. ../funk/nrf24l01p.h:118: error: expected specifier-qualifier-list before 'uint8_t'
  133. ../funk/nrf24l01p.h:134: error: expected declaration specifiers or '...' before 'uint8_t'
  134. ../funk/nrf24l01p.h:134: error: expected declaration specifiers or '...' before 'uint32_t'
  135. ../funk/nrf24l01p.h:138: error: expected declaration specifiers or '...' before 'uint8_t'
  136. ../funk/nrf24l01p.h:138: error: expected declaration specifiers or '...' before 'uint32_t'
  137. ../funk/nrf24l01p.h:143: error: expected ')' before 'cmd'
  138. ../funk/nrf24l01p.h:144: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nrf_cmd_status'
  139. ../funk/nrf24l01p.h:145: error: expected ')' before '*' token
  140. ../funk/nrf24l01p.h:146: warning: type defaults to 'int' in declaration of 'uint8_t'
  141. ../funk/nrf24l01p.h:146: error: expected ';', ',' or ')' before 'reg'
  142. ../funk/nrf24l01p.h:147: warning: type defaults to 'int' in declaration of 'uint8_t'
  143. ../funk/nrf24l01p.h:147: error: expected ';', ',' or ')' before 'reg'
  144. ../funk/nrf24l01p.h:148: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nrf_read_reg'
  145. ../funk/nrf24l01p.h:149: warning: type defaults to 'int' in declaration of 'uint8_t'
  146. ../funk/nrf24l01p.h:149: error: expected ';', ',' or ')' before 'cmd'
  147. ../funk/nrf24l01p.h:151: warning: type defaults to 'int' in declaration of 'uint8_t'
  148. ../funk/nrf24l01p.h:151: error: expected ';', ',' or ')' before '*' token
  149. ../funk/nrf24l01p.h:152: warning: type defaults to 'int' in declaration of 'uint8_t'
  150. ../funk/nrf24l01p.h:152: error: expected ';', ',' or ')' before '*' token
  151. ../funk/nrf24l01p.h:163: error: expected declaration specifiers or '...' before 'uint8_t'
  152. ../funk/nrf24l01p.h:164: error: expected declaration specifiers or '...' before 'uint8_t'
  153. ../funk/nrf24l01p.h:164: error: expected declaration specifiers or '...' before 'uint32_t'
  154. ../funk/nrf24l01p.h:169: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_nrfresets'
  155. default.c: In function 'main_default':
  156. default.c:17: warning: implicit declaration of function 'systickInit'
  157. default.c:25: warning: implicit declaration of function 'getInputRaw'
  158. default.c: In function 'tick_default':
  159. default.c:66: error: '_timectr' undeclared (first use in this function)
  160. default.c:69: error: 'adcMutex' undeclared (first use in this function)
  161. default.c:82: warning: implicit declaration of function 'gpioSetValue'
  162. default.c:85: warning: suggest parentheses around assignment used as truth value
  163. default.c:100: warning: implicit declaration of function 'backlightSetBrightness'
  164. default.c:112: error: 'REG32' undeclared (first use in this function)
  165. default.c:112: error: expected expression before ')' token
  166. default.c:113: warning: implicit declaration of function 'GetChrgStat'
  167. default.c:115: error: expected expression before ')' token
  168. default.c:116: warning: implicit declaration of function 'gpioSetDir'
  169. default.c:124: error: expected expression before ')' token
  170. default.c:130: warning: implicit declaration of function 'GetVoltage'
  171. default.c:131: error: expected expression before ')' token
  172. make: *** [default.o] Error 1
Add Comment
Please, Sign In to add comment