Giter Site home page Giter Site logo

lukezsmith / stm32-cli Goto Github PK

View Code? Open in Web Editor NEW
7.0 1.0 1.0 20.57 MB

A FreeRTOS C project for the STM32F407 Discovery board that runs a number of GPIO tasks through a UART-driven command line interface. This project uses GoogleTest for unit testing.

Dockerfile 0.01% Shell 0.01% CMake 0.02% C 96.95% Assembly 2.93% C++ 0.10% Makefile 0.01%
cli freertos googletest gpio interrupts rtos stm32 uart

stm32-cli's Introduction

Hi, I'm Luke 👋

I’m an accomplished software engineer with demonstrated expertise in complex system development, adept application of design patterns, and a proven track record of delivering enhanced product functionality, user experiences, and performance. Proficient in Agile methodologies, problem-solving, and fostering seamless cross-functional collaboration within dynamic multi-disciplinary teams.

You can read my writing at lukezsmith.com.

Reach me on twitter or in my email.

stm32-cli's People

Contributors

lukezsmith avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

lenhatquang2512

stm32-cli's Issues

how to use HAL functions with Gtest module

Hi, thank you for your repo. I am very interested in your project.

As you may know, I utilized your stm32-dev template with my project, and now I need to build some unit tests for it using the Google Test framework. I followed your instructions in the stm32-dev repo, but I can only build the test mode if I don't utilize any HAL functions. I also investigated this repo, but you implemented both the gpio and uart modules without using any built-in HAL functions. I saw that you tried to include stm32f4xx.h in gpio_module.c, but you commented it out. So now my problem is that I need to use HAL functions with the Google Test framework; could you perhaps guide or explain to me how to do so? (For example, how to alter the CMakeLists.txt file, how to configure the modules, etc..). It would be very helpful if you could make some comments in the README file so that future people who are interested in your project and also have similar issues like me can easily follow the guidance. Thank you a lot.

image

Getting errors after following instructions.

Hello Luke,

I've followed the steps in you instruction, but after the docker container has done its thing, I'm stuck with the following errors:
![image](https://user-images.githubusercontent.com/9851541/200527079-c23858db-67ff-4100-bad6-98766ba92973.png

I'm new to this Docker stuff, so forgive me.
The directory names for STM32F401 are missing (or named differently and the build directory for the Googletest is missing

Is this missing in the containier, or is there a setup problem on my sitde?

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.