stm32-cmake
amp-embedded-infra-lib
stm32-cmake | amp-embedded-infra-lib | |
---|---|---|
16 | 17 | |
1,103 | 152 | |
- | 2.6% | |
7.2 | 9.3 | |
5 days ago | 7 days ago | |
C | C++ | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
stm32-cmake
-
Why ST is not providing tools for linux?
Check out stm32-cmake
-
PlatformIO as an alternative to stm32cubemx
My suggestion would be to use CMake. There is a great set of CMake tools for STM32 called stm32-cmake. You can use the STMCubeF1 package from GitHub, FreeRTOS from source (or from Cube which is also bundled with their GitHub source).
-
Looking for modern CMake tutorials or good open spurce examples
If your projects use different compilers or you need to compile with different architecture flags then CMake is a good option to manage this. This was an example I used when I first started with CMake and microcontroller developement. https://github.com/ObKo/stm32-cmake
- Packaging for Embedded software
-
How to do STM32 with no abstractions?
I highly suggest https://github.com/ObKo/stm32-cmake Using cmake allows to build using cli commands. If you then onboard people later on, they still can work with their IDE thanks to cmake.
-
Is avr worth learning?
stm32 is really nice for getting into it. id steer clear of their IDE and probably use their code generator as a reference. Learn CMake and go with this https://github.com/ObKo/stm32-cmake
-
Develop STM32 with CubeMX and VSCode
stm32-cmake, for when you don't want to touch STs IDE at all. https://github.com/ObKo/stm32-cmake
-
STM32CubeMX to VSCode for STM32
Have you seen stm32-cmake?
- embedded cmake example?
-
Can I code microcontrollers like STMicroelectronics?
If you master a bit of cmake then https://github.com/ObKo/stm32-cmake will make you start very fast in vscode.
amp-embedded-infra-lib
- Semantic Version GitHub Action
-
Code coverage with clang and gcovr
Have a look here: https://github.com/philips-software/amp-embedded-infra-lib/blob/modern-cmake/cmake/emil_test_helpers.cmake where we use the EMIL_ENABLE_COVERAGE flag.
-
Looking for well written, modern C++ (17/20) example projects for microcontrollers
I can recommend having a look at: - https://github.com/philips-software/amp-embedded-infra-lib (stl-like replacement and utility library including a HAL definition - https://github.com/philips-software/amp-hal-st (HAL implementation for STs based on EMiL HAL) - https://github.com/philips-software/amp-preview (a GUI library for STs based on above mentioned repo's)
- What is on your CI?
-
FreeRTOS-Cpp: C++17 header-only interface to the FreeRTOS kernel API
Not to downplay your work. But, we are in the process, almost finalised, tests and all of adding this kind of support as well. But then to allow freertos to work with c++'s native threading API. https://github.com/philips-software/amp-embedded-infra-lib/tree/feature/add-osal We have a thin wrapper, and during configuration you choose: None, native, freertos or zephyr.
-
What criteria do you use to choose super loop over RTOS
Everything that needs to do something is scheduled using a simple EventDispatcher.schedule(lambda) construction; adding the lambda to the event queue. If you want an example of such a system: https://github.com/philips-software/amp-embedded-infra-lib/blob/modern-cmake/infra/event/EventDispatcher.hpp
-
Looking for a GitHub repo which contains unit tests
You can have a look at https://github.com/philips-software/amp-embedded-infra-lib it is a library project. So not an actual embedded teacher. Although the library is aimed at embedded usage.
-
Implementing callbacks using abstract classes in C++
If you want a good example of a full library then take a look at https://github.com/philips-software/amp-embedded-infra-lib
-
USB HID Device Configuration using nanopb and gRPC
https://github.com/philips-software/amp-embedded-infra-lib had support for RPC over protobuf.
- Looking for modern CMake tutorials or good open spurce examples
What are some alternatives?
libopencm3-examples - Simple example projects showing how to use libopencm3.
EmbeddedProto - Embedded Proto is a C++ Protocol Buffers implementation specifically suitable for microcontrollers. It is small, reliable and easy to use.
stm32_template - Template project for getting started with the STM32F4 microcontroller
etl - Embedded Template Library
stm32-cube-cmake-vscode - STM32, VSCode and CMake detailed tutorial
IoT-For-Beginners - 12 Weeks, 24 Lessons, IoT for All!
fossil_smartwatches_alelec_android
HFSM2 - High-Performance Hierarchical Finite State Machine Framework
pico-sdk
CubeCell-Helium-vindriktning-particle-sensor - Helium LoRaWAN data reporting via a Heltec Cubecell for the Ikea VINDRIKTNING PM2.5 air quality sensor
test_compilers
compile-time-init-build - C++ library for composing modular firmware at compile-time.