If somebody is looking for unit testing inside Keil for STM32, please look this example.
github.com/.../UnityKeilSTM32
This will be useful for people new to Test Driven Development. Also a help file is placed inside the git repository.
This has be adopted/extension from original document by Niall Cooling (blog.feabhas.com).
Also check github.com/.../blinky for more information.
Hello vigneswaranj,
this looks interesting. Unfortunately, your project is not using the latest MDK version (http://www.keil.com/mdk5). Also, you could put the code for Unity into a software pack (http://www.keil.com/cmsis/pack), which would make it available to all users of MDK when indexed on our server. Maybe you can think about it.
Kind regards,
Christopher
I have created an example project using the latest MDK version. github.com/.../stm32f4-keil-unity
I have gotten your example to run, thanks for the sample. Can you tell me how to get CMOCK to be used in the same project?
I was able to get cmock to run with the project, did you ever find out why the hard fault was created on the simulator?