Compile Error on VisualMicro and New Core
Posted: Tue Nov 09, 2021 3:55 pm
I have downloaded the Version 2.0 through Arduino IDE and selected Nucleo 144 Board to upload.
If I have nothing in sketch, the upload is successfull but as soon as I add a led turn on code, it start showing error.
Edit :
The arduino IDE uploads blink sketch without any problem. Seems like problem in VisualMicro.
If I have nothing in sketch, the upload is successfull but as soon as I add a led turn on code, it start showing error.
Anyone have any idea how to fix it ?ld.exe: SrcWrapper\stm32\analog.cpp.o: in function dac_stop
analog.cpp*: (.text.dac_stop+0x34): undefined reference to PinMap_DAC
Error linking for board Nucleo-144
Build failed for project 'Test Project'
ld.exe: SrcWrapper\stm32\analog.cpp.o: in function pwm_stop
analog.cpp*: (.text.pwm_stop+0x58): undefined reference to PinMap_TIM
ld.exe: C:\Users\[USER NAME]\AppData\Local\Temp\VMBuilds\Test Project\STMicroelectronics_Nucleo_144\Release\core.a(wiring_digital.c.o): in function pinMode
wiring_digital.c*: (.text.pinMode+0xd0): undefined reference to PinMap_DAC
ld.exe: wiring_digital.c:(.text.pinMode+0xd8): undefined reference to PinMap_TIM
ld.exe: C:\Users\[USER NAME]\AppData\Local\Temp\VMBuilds\Test Project\STMicroelectronics_Nucleo_144\Release\core.a(HardwareSerial.cpp.o): in function HardwareSerial::HardwareSerial(void*, HalfDuplexMode_t)
HardwareSerial.cpp*: (.text._ZN14HardwareSerialC2EPv16HalfDuplexMode_t+0x6c): undefined reference to PinMap_UART_RX
ld.exe: HardwareSerial.cpp:(.text._ZN14HardwareSerialC2EPv16HalfDuplexMode_t+0x70): undefined reference to PinMap_UART_TX
collect2.exe*: error: ld returned 1 exit status
Edit :
The arduino IDE uploads blink sketch without any problem. Seems like problem in VisualMicro.