aperezbios

Untitled

Mar 24th, 2021
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.38 KB | None | 0 0
  1. Compiling .pio\build\bluepill_f103c8\SrcWrapper\src\syscalls.c.o
  2. Compiling .pio\build\bluepill_f103c8\src\BlueSCSI.cpp.o
  3. Compiling .pio\build\bluepill_f103c8\libf94\SPI\SPI.cpp.o
  4. Compiling .pio\build\bluepill_f103c8\libf94\SPI\utility\spi_com.c.o
  5. Compiling .pio\build\bluepill_f103c8\lib0e5\SdFat\ExFatLib\ExFatDbg.cpp.o
  6. Compiling .pio\build\bluepill_f103c8\lib0e5\SdFat\ExFatLib\ExFatFile.cpp.o
  7. src\BlueSCSI.cpp: In function 'byte readIO()':
  8. src\BlueSCSI.cpp:242:25: error: 'struct GPIO_TypeDef' has no member named 'regs'
  9. uint32_t ret = GPIOB->regs->IDR;
  10. ^~~~
  11. src\BlueSCSI.cpp: In function 'void setup()':
  12. src\BlueSCSI.cpp:327:21: error: 'disableDebugPorts' was not declared in this scope
  13. disableDebugPorts();
  14. ^
  15. src\BlueSCSI.cpp:53:42: error: 'PIN_MAP' was not declared in this scope
  16. #define gpio_mode(pin,val) gpio_set_mode(PIN_MAP[pin].gpio_device, PIN_MAP[pin].gpio_bit, val);
  17. ^
  18. src\BlueSCSI.cpp:336:3: note: in expansion of macro 'gpio_mode'
  19. gpio_mode(LED, GPIO_OUTPUT_OD);
  20. ^~~~~~~~~
  21. src\BlueSCSI.cpp:336:18: error: 'GPIO_OUTPUT_OD' was not declared in this scope
  22. gpio_mode(LED, GPIO_OUTPUT_OD);
  23. ^
  24. src\BlueSCSI.cpp:53:91: note: in definition of macro 'gpio_mode'
  25. #define gpio_mode(pin,val) gpio_set_mode(PIN_MAP[pin].gpio_device, PIN_MAP[pin].gpio_bit, val);
Advertisement
Add Comment
Please, Sign In to add comment