Coder Social home page Coder Social logo

spangej / cmake-stm32-bugfix-arm-none-eabi-gdb Goto Github PK

View Code? Open in Web Editor NEW

This project forked from erbo-engineering/cmake-stm32

0.0 0.0 0.0 16.96 MB

Resolve issue with the error:

C++ 0.09% C 96.92% Assembly 2.98% Makefile 0.01% CMake 0.01% Dockerfile 0.01%

cmake-stm32-bugfix-arm-none-eabi-gdb's Introduction

CMAKE stm32F4 example 2022 Ceedling Test and Code Coverage

To build install:

Run: without vscode magic ;)

  1. git submodule update --init
  2. mkdir build && cd build
  3. cmake ..
  4. cmake --build . -- -j 16
  5. enjoy

Run: With vscode magic

  1. To run and forget (execute the flash task)
  2. To debug F5

Fallback source: https://dev.to/younup/cmake-on-stm32-the-beginning-3766 https://github.com/ObKo/stm32-cmake

If you want to use an older version of openocd (0.10.0) is the one you get by the ubuntu apt archives, Then you need to add a different override regex in your launch.json (Marus/cortex-debug#166)

Testing coverage

Made for the blogpost "Unlock Embedded Software Testing with Ceedling & VSCode" Where we step by step guide you through the process of setting up the ceedling test framework and writing your first tests.

Unlock Embedded Software Testing with Ceedling & VSCode

gcov code coverage

screenshot of testing explorer ceedling

cmake-stm32-bugfix-arm-none-eabi-gdb's People

Contributors

bob-thomas avatar erbo-engineering avatar spangej avatar

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.