I am using STM32 Lora and sigfox discovery kit. I am new to STM32 and going though tutorials to use it. I downloaded Keil IDE and after succesfully generating code, I could not see a main function in main.c file. Someone pls help me
I recommend, that with the Pack Installer you install the corresponding Keil::STM32L0xx_DFP to access demonstrating example projects:
http://www2.keil.com/mdk5/packinstaller/
but to also see the helpful Keil MDK video tutorials at:
http://www2.keil.com/video
Note, that during project creation it is possible to select pre-defined User Code Templates from a CMSIS Software pack (i.e. main.c)
Viswa5095 said:I am new to STM32
Do you have experience with any other microcontroller(s)?
Or with programming in general?
I'd say LoRa/Sigfox is a bit advanced to be starting with ...
In addition to rkopsch's suggestions, here are some more Keil learning resources:
http://www2.keil.com/mdk5/learn
http://www.keil.com/books/
And, of course, the ST website is the place to go for specific information about & support for their products - the STM32 and the Discovery board ...
https://www.st.com/en/evaluation-tools/b-l072z-lrwan1.html
https://www.st.com/en/microcontrollers-microprocessors/stm32l072cz.html
There's a whole load of specific resources there - datasheets, User Guides, application notes, examples, etc ...