libopencm3-examples
Simple example projects showing how to use libopencm3. (by libopencm3)
libopencm3
Open source ARM Cortex-M microcontroller library (by libopencm3)
Our great sponsors
libopencm3-examples | libopencm3 | |
---|---|---|
7 | 11 | |
472 | 2,934 | |
0.8% | 1.7% | |
0.0 | 5.7 | |
about 1 month ago | 7 days ago | |
Makefile | C | |
- | GNU General Public License v3.0 only |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
libopencm3-examples
Posts with mentions or reviews of libopencm3-examples.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-10.
- Is there a command line process for ST embedded devices?
-
[USB HID] How do USB endpoint transmissions map to report descriptors
What is the relationship between the data packets? I went through a mouse emulation example and the first field seems to be the "mouse" reporting. But, following that example convention, do the buttons come first, needing "my amount" of buttons in bits (in my case, 35 buttons is 6 bytes of data), then the axes with 12 bytes taken up (2 bytes for each value of 6 axes)?
-
Drive PWM with STM32L4 and libopencm3
I have had success creating a PWM using a different general purpose timer on a different GPIO. So I am pretty sure I got the basic configuration correct. What throws me off a little is the fact, that Channel 2N (CH2N) seems to share registers with Channel 2 (CH2). They seem to be complementary somehow. So I stayed close to [this example]([https://github.com/libopencm3/libopencm3-examples/blob/master/examples/stm32/f1/stm32-h103/pwm_6step/pwm_6step.c) for the STM32F1 and configured all necessary settings for both channels CH2N and CH2.
-
What's the ESP32 S3 Floating point performance?
Using libopencm3-examples lcd-serial as the base so that I could print the results to the onboard screen. Quickest way I could think to get the results since I don't know how to get to the serial console off the top of my head.
-
Interfacing with a C64 SID Chip (clone)
STM32, libopencm: https://github.com/libopencm3/libopencm3-examples
-
Why is there such a lack of support for STM and Linux?
eg. see examples for stm32f4 discovery board, as an example, https://github.com/libopencm3/libopencm3-examples/tree/master/examples/stm32/f4/stm32f4-discovery
- SPI DMA using libopencm3?
libopencm3
Posts with mentions or reviews of libopencm3.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-07-12.
- Open source ARM Cortex-M microcontroller library
-
Setting up a good dev environment without recreating the world
Some of the vendor IDEs have the option to generate makefiles for a project. Depending on the processor, you could also opt out to a different system. A lot of the popular cortex-m stuff is supported by libopencm3.
- Is there a command line process for ST embedded devices?
-
Looking for someone interested in designing a HAL
You can also look at examples of HALs such as - libopencm3 (Though this is Cortex only) - RIOT OS (though this requires an RTOS)
- how come there aren't any open source drivers for MCUs?
- Is there a database of peripheral implementations for different STM32 MCU parts?
-
Portable driver libraries or HAL that supports Atmel SAM targets?
Yeah by the looks of it I am going to have to expand my project do creating a portable driver interface as well. Abstracting hardware interfaces to create portable code is fairly common in embedded development. For example, libopencm3 does this and has great support for STM32 parts but very limited support for SAM parts.
-
How can i implement USB interface for an embedded flight controller to enable serial prints, parameter changes AND reading data from an SD card?
TinyUSB or Libopencm3 are probably your best options (although check they support the SAME70).
-
Which uC has the most flexible, feature-packed SPI peripherals?
that is fair. SPI isn't very portable across Arm cpu vendors because all peripherals are vendor specific, i.e. the registers will differ a lot and APIs reflect that. Finding common ground is hard unless using specifically designed portable libraries like https://github.com/libopencm3/libopencm3
- Code organization and modularity