cancel
Showing results for 
Search instead for 
Did you mean: 

how to find code have been used in discovery board and change it

chauvoluuhuong
Associate II
Posted on April 20, 2015 at 09:15

hi ! i  am beginner in st  . 

i have stm32f3 discovery board and use keilc to write program 

i downloaded code example for it in this link http://www.st.com/web/catalog/tools/PF254044 ( as specify of st )

i open it and try to change it for learning but i cant , ???!!! i dont know why is it 

second , when use STMCUBEMX to generate code i was told that it can be linked to code example , open source, roughly 

can somebody help me to use it ???

thank very much 
4 REPLIES 4
Posted on April 20, 2015 at 14:51

I'd use this library, not Cube

http://www.st.com/web/en/catalog/tools/PF258154

Should contain demo code, buildable with a Keil project:

STM32F3-Discovery_FW_V1.1.0\Project\Demonstration\MDK-ARM\Demo.uvproj

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..
chauvoluuhuong
Associate II
Posted on April 21, 2015 at 17:41

oh yes !! i am too but keilc message that is read file 

Posted on April 21, 2015 at 19:22

oh yes !! i am too but keilc message that is read file

Not sure what that means, but I'll assume it's that files are ''Read Only'', in which case you go into File Manager and change the properties/attributes to turn that off.

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..
chauvoluuhuong
Associate II
Posted on April 22, 2015 at 06:49

 yes ! that is thing what i want to say ( sorry about my english skill ) . but where can i find File Manager  .and in  main.c file of every project i can find that is included 

'' main.h'' 

etc : in demo project 

main.c file and line 30 

i can to see that 

#include '' main.h''

when i compile this project , it isn't success by error that is Keil C   mark in line 32 

thank you very much