Skip to content

Conversation

@pragmaticQt
Copy link

Hi smikai
I figure it out why there is a HardFault error while running Test target, there is no simulator supported in STM32F4 serial.

Peripheral Simulation for STMicroelectronics STM32F1 Series
http://www.keil.com/support/docs/3726.htm

And I tested it on STM32F103RB, this Test target works fine.

B.T.W. it is an awesome idea to combine unity with keil IDE.

@codinkai
Copy link
Owner

Hi,
it's quite sometime ago that I worked on this project. In our project, we automated our tests with a batch scipt and a Keil multiproject, where every test suite is a separate project.
The integration with the EventRecorder is an interesting approach during development.

With a breakpoint at the end of the unity test, the debugger can be exited, so that no HardFault error occurs.

When I find time, I will update the repository with a batch script and a description how to automate the tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants