Giter VIP home page Giter VIP logo

cpputest_stm32_keil_demo's Introduction

Cpputest_stm32_keil_demo

Demo Application of Cpputest (C/C++ Unit Test Framework) on STM32 uC and Keil IDE.

Getting Started

Cpputest Unit Test Framework Links: http://cpputest.github.io/ https://github.com/cpputest/cpputest

This workspace is generated using STM32CubeMX on STM32F746ZGTx microcontroller. User can easily adapt the Unit Test Framework to the embedded project by taking this demo workspace as a reference.

Notes

User do not have to to configure the workspace settings for this demo application but in order to use this framework on the new generated custom workspace, user should pay attention to expressions mention in below.

  • All source and header file of unit test framework is collected at Middlewares\Third_Party\CPPUTEST
  • ARM Compiler version should be changed to the current version that supports C/C++ compiler. In demo workspace, ARM Compiler V6.12 is used.
  • Language C and Language C++ specs should be changed respectively to c99 and C++14 under the Options -> C/C++ (AC6)-> Language/Code Generation
  • The folder path of unit test framework should be added to Options -> C/C++ (AC6) -> Include Paths
  • C++ Exception feature is disabled as a default when user create a new workspace. The keyword (-fexceptions) should be added to Misc Controls under Options -> C/C++ (AC6)
  • Trace settings should be done to monitor the Test Outputs under Options -> Debug -> Trace. Core Clock and ITM Stimulus Ports settings should be set correctly.
  • fputc_debug.c source file is used to direct printf messages to Debug(printf) viewer.

cpputest_stm32_keil_demo's People

Contributors

serbayozkan avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

mruthes esaal

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.