Hi, I'm new to stm32(CKS32F103C8T6), copy a code add the address of the libraries,
I'm using Keil uVision5 and compile, but still I get these errors:.
.\Objects\ebox.axf: Error: L6218E: Undefined symbol InvertedPendulum::getBeamRadian() (referred from main.o)..\Objects\ebox.axf: Error: L6218E: Undefined symbol InvertedPendulum::getBeamPalstance() (referred from main.o)..\Objects\ebox.axf: Error: L6218E: Undefined symbol InvertedPendulum::getPendulumRadian() (referred from main.o)..\Objects\ebox.axf: Error: L6218E: Undefined symbol InvertedPendulum::getPendulumPalstance() (referred from main.o)..\Objects\ebox.axf: Error: L6218E: Undefined symbol InvertedPendulum::getPendulumAcceleration() (referred from main.o)..\Objects\ebox.axf: Error: L6218E: Undefined symbol InvertedPendulum::begin() (referred from main.o)..\Objects\ebox.axf: Error: L6218E: Undefined symbol InvertedPendulum::getMode() (referred from main.o)..\Objects\ebox.axf: Error: L6218E: Undefined symbol InvertedPendulum::refresh() (referred from main.o)..\Objects\ebox.axf: Error: L6218E: Undefined symbol InvertedPendulum::setMode(Inverted_Pendulum_Mode_Typedef) (referred from main.o)..\Objects\ebox.axf: Error: L6218E: Undefined symbol InvertedPendulum::InvertedPendulum(TIM_TypeDef*, TIM_TypeDef*, Gpio*, Gpio*, Gpio*, unsigned, unsigned, float) (referred from main.o)..\Objects\ebox.axf: Error: L6218E: Undefined symbol vTaskDelay (referred from main.o)..\Objects\ebox.axf: Error: L6218E: Undefined symbol vTaskStartScheduler (referred from main.o)..\Objects\ebox.axf: Error: L6218E: Undefined symbol xPortSysTickHandler (referred from main.o)..\Objects\ebox.axf: Error: L6218E: Undefined symbol xTaskGenericCreate (referred from main.o).
The truth is I don't know how to solve them, please help and say if I did something wrong or I have to explain something.
download the file from here: https://github.com/pidan1231239/inverted_pendulum
Hello,
the target that you refer to is not supported with a Device Family Pack.
If you are new to MDK I recommend to:
- select a device that is offered at:
http://www.keil.com/dd2/
- and open a demonstrating example project offered by the Pack Installer:
http://www.keil.com/support/man/docs/uv4/uv4_ca_packinstaller.htm
Also refer to:
- Keil's MDK Video Tutorials at:
http://www2.keil.com/video
and the MDK Getting Started Guide at:
http://www2.keil.com/docs/default-source/default-document-library/mdk5-getting-started.pdf?sfvrsn=2[NC,L]
Thank you very much R.Kopsch , I will, I will review everything you sent me, thank you very much
also Keil's learning page: http://www2.keil.com/mdk5/learn
and book list: http://www.keil.com/books/
thanks for answering Andy Neil, I will review them thank you very much (Y)