We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Please somebody help me?
I am trying to write simple led code but ı got error build output is
Build started: Project: Proje*** Using Compiler 'V5.06 update 6 (build 750)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'Build target 'Target 1'linking....\Objects\Proje.axf: Error: L6218E: Undefined symbol assert_param (referred from misc.o).Not enough information to list image symbols.Not enough information to list load addresses in the image map.Finished: 2 information, 0 warning and 1 error messages.".\Objects\Proje.axf" - 1 Error(s), 0 Warning(s).Target not created.Build Time Elapsed: 00:00:00
---------------
and my code is:
#include "stm32f4xx.h" // Device header#include "stm32f4xx_gpio.h" // Keil::Device:StdPeriph Drivers:GPIO#include "stm32f4xx_rcc.h" // Keil::Device:StdPeriph Drivers:RCC
int main(){ GPIO_InitTypeDef GPIO_InitStructure; //Configurations hiding below the structure of TypeDef RCC_AHB1PeriphClockCmd(RCC_AHB1Periph_GPIOD,ENABLE); GPIO_InitStructure.GPIO_Mode = GPIO_Mode_OUT; GPIO_InitStructure.GPIO_Pin = GPIO_Pin_12 | GPIO_Pin_13 | GPIO_Pin_14 | GPIO_Pin_15 ; GPIO_InitStructure.GPIO_OType = GPIO_OType_PP; GPIO_InitStructure.GPIO_Speed = GPIO_Speed_100MHz; GPIO_Init(GPIOD,&GPIO_InitStructure);
GPIO_SetBits(GPIOD,GPIO_Pin_12); GPIO_SetBits(GPIOD,GPIO_Pin_13); GPIO_SetBits(GPIOD,GPIO_Pin_14); GPIO_ResetBits(GPIOD,GPIO_Pin_15); }