huaweiwx / stm32generic Goto Github PK
View Code? Open in Web Editor NEWThis project forked from danieleff/stm32generic
Generic implementation of Arduino for STM32 boards
Home Page: https://danieleff.github.io/STM32GENERIC/
This project forked from danieleff/stm32generic
Generic implementation of Arduino for STM32 boards
Home Page: https://danieleff.github.io/STM32GENERIC/
In file included from D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC\STM32\cores\arduino/stm32/stm32_gpio.h:686:0,
from D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC\STM32\cores\arduino/Arduino.h:183,
from sketch\Blink.ino.cpp:1:
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC\STM32\cores\arduino/stm32/stm32_ADC.h:27:42: fatal error: stm32_HAL/stm32XXxx_ll_adc.h: No such file or directory
^
compilation terminated.
exit status 1
Error compiling for board Discovery F429ZI(180M).
/xxxx/USBMassStorage/examples/SpiFlashDisk_Demo/SpiFlashDisk_Demo.ino: In function 'void setup()':
SpiFlashDisk_Demo:22: error: expected unqualified-id before '.' token
SPIFLASH.begin(); //need while usb unconnected
It seems that SPIFLASH isn't defined?
In file included from D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\cores\arduino/Arduino.h:183:0,
from D:\Hobby\Arduino\my_codes\libraries\Adafruit_GFX_Library\Adafruit_SPITFT.h:5,
from D:\Hobby\Arduino\my_codes\libraries\Adafruit_GFX_Library\Adafruit_SPITFT.cpp:38:
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\cores\arduino/stm32/stm32_gpio.h:50:16: error: conflicting declaration 'typedef volatile uint32_t uint32_t'
#define RwReg uint32_t
^
D:\Hobby\Arduino\my_codes\libraries\Adafruit_GFX_Library\Adafruit_SPITFT.h:23:29: note: in expansion of macro 'RwReg'
typedef volatile uint32_t RwReg;
^~~~~
In file included from c:\users\t43\appdata\local\arduino15\packages\arduino\tools\arm-none-eabi-gcc\6 2017-q2-update\arm-none-eabi\include\sys\types.h:64:0,
from c:\users\t43\appdata\local\arduino15\packages\arduino\tools\arm-none-eabi-gcc\6 2017-q2-update\arm-none-eabi\include\stdio.h:61,
from D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\cores\arduino/Arduino.h:23,
from D:\Hobby\Arduino\my_codes\libraries\Adafruit_GFX_Library\Adafruit_SPITFT.h:5,
from D:\Hobby\Arduino\my_codes\libraries\Adafruit_GFX_Library\Adafruit_SPITFT.cpp:38:
c:\users\t43\appdata\local\arduino15\packages\arduino\tools\arm-none-eabi-gcc\6 2017-q2-update\arm-none-eabi\include\sys\_stdint.h:48:20: note: previous declaration as 'typedef __uint32_t uint32_t'
typedef __uint32_t uint32_t ;
^~~~~~~~
exit status 1
Error compiling for board Discovery F429ZI(180M).
I am using ver1.3.2 GFX library and Ili9341 V1.2 if that is of any use.
Hi,
I'm using Sloeber to write my sketch. I used steve's stm32duino core and danieleff's STM32GENERIC core. Both worked in Sloeber.
https://github.com/Sloeber/arduino-eclipse-plugin
http://www.baeyens.it/eclipse/
And I found your STM32GENERIC fork which is updated and modified in a professional way. I'm not a professional developer, so I ran the toUser.cmd to make the board setting simpler.
But what bothers me is the blink example can't compile.
I test with bluepill stm32F103c8t6.
Here is the compile log:
'Building file: D:\Arduino\Software\Sloeber\MyHardware\STM32GENERIC-huaweiwx\STM32\cores\arduino\avr\dtostrf.c'
'Starting C compile'
"C:\sloeber/arduinoPlugin/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/arm-none-eabi-gcc" -mcpu=cortex-m3 -DF_CPU=72000000L -DHSE_VALUE=8000000 -mthumb -DSTM32GENERIC -DRAM_LENGTH=20480 -DFLASH_LENGTH=131072 -c -g -Os -Wall -Wextra -D__LOG_LEVEL=1 -DUSE_FULL_ASSERT -std=gnu11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -Dprintf=iprintf -DSTM32F1 -DARDUINO=10802 -DARDUINO_BluePill_F103CB -DARDUINO_ARCH_STM32 -DSTM32F103CB -DMENU_USB_SERIAL -DMENU_SERIAL=SerialUSB -DMENU_SERIAL_AUTO=SerialUSB -DMENU_DEBUG_SWD "-IC:\Users\human\Documents\sloeber-workspace\Blink/Release/sketch" "-ID:/Arduino/Software/Sloeber/MyHardware/STM32GENERIC-huaweiwx/STM32/cores/arduino/stm32" "-ID:/Arduino/Software/Sloeber/MyHardware/STM32GENERIC-huaweiwx/STM32/cores/arduino/usb" "-ID:/Arduino/Software/Sloeber/MyHardware/STM32GENERIC-huaweiwx/STM32/system/STM32F1/CMSIS" "-ID:/Arduino/Software/Sloeber/MyHardware/STM32GENERIC-huaweiwx/STM32/system/CMSIS" "-ID:/Arduino/Software/Sloeber/MyHardware/STM32GENERIC-huaweiwx/STM32/system/STM32F1/CMSIS_Inc" "-ID:/Arduino/Software/Sloeber/MyHardware/STM32GENERIC-huaweiwx/STM32/system/STM32F1/CMSIS_Src" "-ID:/Arduino/Software/Sloeber/MyHardware/STM32GENERIC-huaweiwx/STM32/system/STM32F1/HAL_Inc" "-ID:/Arduino/Software/Sloeber/MyHardware/STM32GENERIC-huaweiwx/STM32/system/STM32F1/HAL_Src" "-ID:/Arduino/Software/Sloeber/MyHardware/STM32GENERIC-huaweiwx/STM32/system/STM32F1/stm32_chip" -I"D:\Arduino\Software\Sloeber\MyHardware\STM32GENERIC-huaweiwx\STM32\cores\arduino" -I"D:\Arduino\Software\Sloeber\MyHardware\STM32GENERIC-huaweiwx\STM32\variants\BLUEPILL" -MMD -MP -MF"core\core\avr\dtostrf.c.d" -MT"core\core\avr\dtostrf.c.o" -D__IN_ECLIPSE__=1 "D:\Arduino\Software\Sloeber\MyHardware\STM32GENERIC-huaweiwx\STM32\cores\arduino\avr\dtostrf.c" -o "core\core\avr\dtostrf.c.o"
D:\Arduino\Software\Sloeber\MyHardware\STM32GENERIC-huaweiwx\STM32\cores\arduino\avr\dtostrf.c: In function 'dtostrf':
D:\Arduino\Software\Sloeber\MyHardware\STM32GENERIC-huaweiwx\STM32\cores\arduino\avr\dtostrf.c:48:3: error: unknown type name 'uint8_t'
uint8_t valn=0;
^
D:\Arduino\Software\Sloeber\MyHardware\STM32GENERIC-huaweiwx\STM32\cores\arduino\avr\dtostrf.c:53:3: error: unknown type name 'uint8_t'
uint8_t cnt = 0;
^
D:\Arduino\Software\Sloeber\MyHardware\STM32GENERIC-huaweiwx\STM32\cores\arduino\avr\dtostrf.c:70:8: error: unknown type name 'uint8_t'
for (uint8_t i=0; i<prec; ++i) rounding /= 10.0;
^
D:\Arduino\Software\Sloeber\MyHardware\STM32GENERIC-huaweiwx\STM32\cores\arduino\avr\dtostrf.c:93:7: error: unknown type name 'uint8_t'
for(uint8_t j=0;j<prec; j++)
^
D:\Arduino\Software\Sloeber\MyHardware\STM32GENERIC-huaweiwx\STM32\cores\arduino\avr\dtostrf.c:96:13: error: 'uint8_t' undeclared (first use in this function)
*sp++ = (uint8_t)val + '0';
^
D:\Arduino\Software\Sloeber\MyHardware\STM32GENERIC-huaweiwx\STM32\cores\arduino\avr\dtostrf.c:96:13: note: each undeclared identifier is reported only once for each function it appears in
D:\Arduino\Software\Sloeber\MyHardware\STM32GENERIC-huaweiwx\STM32\cores\arduino\avr\dtostrf.c:96:21: error: expected ';' before 'val'
*sp++ = (uint8_t)val + '0';
^
core\core\avr\subdir.mk:18: recipe for target 'core\core\avr\dtostrf.c.o' failed
make: *** [core\core\avr\dtostrf.c.o] Error 1
Hope you can help me out!
woyezaizhongguo,qinglaoshizhijiao.
sketch\BASIC_HelloWorld.c.o: In function `MainTask':
sketch/BASIC_HelloWorld.c:36: undefined reference to `GUI_Clear'
sketch/BASIC_HelloWorld.c:37: undefined reference to `GUI_SetFont'
sketch/BASIC_HelloWorld.c:38: undefined reference to `LCD_GetXSize'
sketch/BASIC_HelloWorld.c:38: undefined reference to `LCD_GetYSize'
sketch/BASIC_HelloWorld.c:38: undefined reference to `GUI_DispStringAt'
sketch/BASIC_HelloWorld.c:38: undefined reference to `GUI_Font20_1'
sketch\hello_world.ino.cpp.o: In function `STemWin::Init()':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\BSP_f429i_discovery\src/STemWin.h:17: undefined reference to `GUI_Init'
sketch\hello_world.ino.cpp.o: In function `setup':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\BSP_f429i_discovery\examples\STemWin\hello_world/hello_world.ino:16: undefined reference to `WM_SetCreateFlags'
libraries\BSP_f429i_discovery\STemWin_Config\LCDConf_stm32f429i_disco_MB1075.c.o: In function `HAL_LTDC_LineEventCallback':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\BSP_f429i_discovery\src\STemWin_Config/LCDConf_stm32f429i_disco_MB1075.c:367: undefined reference to `GUI_MULTIBUF_ConfirmEx'
collect2.exe: error: ld returned 1 exit status
exit status 1
Error compiling for board Discovery F429ZI(180M).
sketch\draw_2d.ino.cpp.o: In function `STemWin::Init()':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\BSP_f429i_discovery\src/STemWin.h:17: undefined reference to `GUI_Init'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::EnableAlpha(unsigned int)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:211: undefined reference to `GUI_EnableAlpha'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::SetBkColor(unsigned long)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:45: undefined reference to `GUI_SetBkColor'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::Clear()':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:74: undefined reference to `GUI_Clear'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::SetTextMode(int)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:166: undefined reference to `GUI_SetTextMode'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::SetColor(unsigned long)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:46: undefined reference to `GUI_SetColor'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::SetFont(GUI_FONT const*)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:169: undefined reference to `GUI_SetFont'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::DispStringHCenterAt(char const*, int, int)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:136: undefined reference to `GUI_DispStringHCenterAt'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::SetAlpha(unsigned char)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:213: undefined reference to `GUI_SetAlpha'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::SetColor(unsigned long)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:46: undefined reference to `GUI_SetColor'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::FillRect(int, int, int, int)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:113: undefined reference to `GUI_FillRect'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::SetAlpha(unsigned char)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:213: undefined reference to `GUI_SetAlpha'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::SetColor(unsigned long)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:46: undefined reference to `GUI_SetColor'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::FillRect(int, int, int, int)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:113: undefined reference to `GUI_FillRect'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::SetAlpha(unsigned char)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:213: undefined reference to `GUI_SetAlpha'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::SetColor(unsigned long)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:46: undefined reference to `GUI_SetColor'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::FillRect(int, int, int, int)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:113: undefined reference to `GUI_FillRect'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::SetAlpha(unsigned char)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:213: undefined reference to `GUI_SetAlpha'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::SetColor(unsigned long)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:46: undefined reference to `GUI_SetColor'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::FillRect(int, int, int, int)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:113: undefined reference to `GUI_FillRect'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::SetAlpha(unsigned char)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:213: undefined reference to `GUI_SetAlpha'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::SetColor(unsigned long)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:46: undefined reference to `GUI_SetColor'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::FillRect(int, int, int, int)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:113: undefined reference to `GUI_FillRect'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::SetAlpha(unsigned char)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:213: undefined reference to `GUI_Font32_1'
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:213: undefined reference to `GUI_SetAlpha'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::SetPenSize(unsigned char)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:50: undefined reference to `GUI_SetPenSize'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::SetTextMode(int)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:166: undefined reference to `GUI_SetTextMode'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::SetFont(GUI_FONT const*)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:169: undefined reference to `GUI_SetFont'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::SetColor(unsigned long)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:46: undefined reference to `GUI_SetColor'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::DrawArc(int, int, int, int, int, int)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:78: undefined reference to `GUI_DrawArc'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::SetPenSize(unsigned char)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:50: undefined reference to `GUI_SetPenSize'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::DrawPoint(int, int)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:101: undefined reference to `GUI_DrawPoint'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::SetTextAlign(int)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:165: undefined reference to `GUI_SetTextAlign'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::DispStringHCenterAt(char const*, int, int)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:136: undefined reference to `GUI_DispStringHCenterAt'
sketch\draw_2d.ino.cpp.o: In function `drawarcscale()':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\BSP_f429i_discovery\examples\STemWin_ARDUINO\draw_2d/draw_2d.ino:190: undefined reference to `GUI_FontComic18B_ASCII'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::ClearRect(int, int, int, int)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:75: undefined reference to `GUI_ClearRect'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::DrawGraph(short*, int, int, int)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:92: undefined reference to `GUI_DrawGraph'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::SetBkColor(unsigned long)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:45: undefined reference to `GUI_SetBkColor'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::Clear()':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:74: undefined reference to `GUI_Clear'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::SetColor(unsigned long)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:46: undefined reference to `GUI_SetColor'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::SetFont(GUI_FONT const*)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:169: undefined reference to `GUI_SetFont'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::DispStringHCenterAt(char const*, int, int)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:136: undefined reference to `GUI_DispStringHCenterAt'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::SetColor(unsigned long)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:46: undefined reference to `GUI_SetColor'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::SetFont(GUI_FONT const*)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:169: undefined reference to `GUI_SetFont'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::SetBkColor(unsigned long)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:45: undefined reference to `GUI_SetBkColor'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::ClearRect(int, int, int, int)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:75: undefined reference to `GUI_ClearRect'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::SetBkColor(unsigned long)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:45: undefined reference to `GUI_SetBkColor'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::DrawGradientH(int, int, int, int, unsigned long, unsigned long)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:88: undefined reference to `GUI_DrawGradientH'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::DrawGradientV(int, int, int, int, unsigned long, unsigned long)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:89: undefined reference to `GUI_DrawGradientV'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::DrawGradientRoundedH(int, int, int, int, int, unsigned long, unsigned long)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:90: undefined reference to `GUI_DrawGradientRoundedH'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::DrawGradientRoundedV(int, int, int, int, int, unsigned long, unsigned long)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:91: undefined reference to `GUI_DrawGradientRoundedV'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::DrawRect(int, int, int, int)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:105: undefined reference to `GUI_DrawRect'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::FillRect(int, int, int, int)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:113: undefined reference to `GUI_FillRect'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::SetPenSize(unsigned char)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:50: undefined reference to `GUI_SetPenSize'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::DrawLine(int, int, int, int)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:96: undefined reference to `GUI_DrawLine'
sketch\draw_2d.ino.cpp.o: In function `display_2d()':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\BSP_f429i_discovery\examples\STemWin_ARDUINO\draw_2d/draw_2d.ino:114: undefined reference to `GUI_DrawCircle'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::FillCircle(int, int, int)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:110: undefined reference to `GUI_FillCircle'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::SetPenSize(unsigned char)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:50: undefined reference to `GUI_SetPenSize'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::SetColor(unsigned long)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:46: undefined reference to `GUI_SetColor'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::DrawEllipse(int, int, int, int)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:87: undefined reference to `GUI_DrawEllipse'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::SetColor(unsigned long)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:46: undefined reference to `GUI_SetColor'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::FillEllipse(int, int, int, int)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:111: undefined reference to `GUI_FillEllipse'
sketch\draw_2d.ino.cpp.o: In function `display_2d()':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\BSP_f429i_discovery\examples\STemWin_ARDUINO\draw_2d/draw_2d.ino:124: undefined reference to `GUI_Font24_ASCII'
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\BSP_f429i_discovery\examples\STemWin_ARDUINO\draw_2d/draw_2d.ino:124: undefined reference to `GUI_Font16_ASCII'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::SetBkColor(unsigned long)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:45: undefined reference to `GUI_SetBkColor'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::SetColor(unsigned long)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:46: undefined reference to `GUI_SetColor'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::Clear()':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:74: undefined reference to `GUI_Clear'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::SetTextMode(int)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:166: undefined reference to `GUI_SetTextMode'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::SetFont(GUI_FONT const*)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:169: undefined reference to `GUI_SetFont'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::DispStringHCenterAt(char const*, int, int)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:136: undefined reference to `GUI_DispStringHCenterAt'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::SetColor(unsigned long)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:46: undefined reference to `GUI_SetColor'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::SetDrawMode(int)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:22: undefined reference to `GUI_SetDrawMode'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::FillPolygon(GUI_POINT const*, int, int, int)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:112: undefined reference to `GUI_FillPolygon'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::EnlargePolygon(GUI_POINT*, GUI_POINT const*, int, int)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:225: undefined reference to `GUI_EnlargePolygon'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::FillPolygon(GUI_POINT const*, int, int, int)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:112: undefined reference to `GUI_FillPolygon'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::SetDrawMode(int)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:22: undefined reference to `GUI_SetDrawMode'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::SetColor(unsigned long)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:46: undefined reference to `GUI_SetColor'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::MagnifyPolygon(GUI_POINT*, GUI_POINT const*, int, int)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:224: undefined reference to `GUI_MagnifyPolygon'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::FillPolygon(GUI_POINT const*, int, int, int)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:112: undefined reference to `GUI_FillPolygon'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::SetFont(GUI_FONT const*)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:169: undefined reference to `GUI_SetFont'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::DispStringAt(char const*, int, int)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:134: undefined reference to `GUI_DispStringAt'
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:134: undefined reference to `GUI_DispStringAt'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::SetColor(unsigned long)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:46: undefined reference to `GUI_SetColor'
sketch\draw_2d.ino.cpp.o: In function `emWinGUI::FillPolygon(GUI_POINT const*, int, int, int)':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:112: undefined reference to `GUI_Font24_ASCII'
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:112: undefined reference to `GUI_Font8x16'
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\STemWin532\src/STemWin532.h:112: undefined reference to `GUI_FillPolygon'
libraries\BSP_f429i_discovery\STemWin_Config\LCDConf_stm32f429i_disco_MB1075.c.o: In function `HAL_LTDC_LineEventCallback':
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\BSP_f429i_discovery\src\STemWin_Config/LCDConf_stm32f429i_disco_MB1075.c:367: undefined reference to `GUI_MULTIBUF_ConfirmEx'
collect2.exe: error: ld returned 1 exit status
exit status 1
Error compiling for board Discovery F429ZI(180M).
In file included from D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\LED\examples\LED_flash\LED_flash.ino:8:0:
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\LED\src/LED.h:84:31: error: expected template-name before '<' token
class LEDClass : public BB_PIN<pin>{
^
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\LED\src/LED.h:84:31: error: expected '{' before '<' token
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\LED\examples\LED_flash\LED_flash.ino: In function 'void setup()':
LED_flash:11:6: error: invalid use of incomplete type 'class LEDClass<109, true>'
Led.Init();
^
In file included from D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\LED\examples\LED_flash\LED_flash.ino:8:0:
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\LED\src/LED.h:84:7: note: declaration of 'class LEDClass<109, true>'
class LEDClass : public BB_PIN<pin>{
^~~~~~~~
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\LED\examples\LED_flash\LED_flash.ino: In function 'void loop()':
LED_flash:16:6: error: invalid use of incomplete type 'class LEDClass<109, true>'
Led.flash(10,240,4); /*LED: on 10us, off 240us, repeat 4 times */
^
In file included from D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\LED\examples\LED_flash\LED_flash.ino:8:0:
D:\Hobby\Arduino\arduino-1.8.7\hardware\STM32GENERIC_huaweiwx\STM32\libraries\LED\src/LED.h:84:7: note: declaration of 'class LEDClass<109, true>'
class LEDClass : public BB_PIN<pin>{
^~~~~~~~
exit status 1
invalid use of incomplete type 'class LEDClass<109, true>'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.