The purpose of this changelog is to give a good overview of the changes in modm. It is an editorialized version of the git history, with features, PRs and fixes chosen for their importance to modm users as judged by the maintainers. This means that not every small commit makes it in here.
Changelog format
The release summaries are formatted as:
Breaking changes: [list]
Features: [list]
Fixes: [list]
New development boards: [list]
New device drivers: [list]
Known bugs: [list]
Contributors: [list]PR #[GitHub] -> [release tag].
With a more detailed changelog below with this format:
[detailed summary]
PR #[GitHub] -> [sha1] (with [level] impact (on [scope])).
Tested in hardware by [contributor].
Note that -> [sha1]
means "all changes up to and including this commit" which
needs to be interpreted in the context of the git history.
This usually corresponds to the changes in the Pull Request on GitHub though.
This changelog also labels the changes with an impact and usually also scopes them to the relevant subset of modm code or targets. This describes the anticipated impact of these changes on users of modm and has four levels:
- No impact mentioned: No influence. Adds new features and does not touch existing code.
- Low impact: No expected influence. Modifies modm in a backwards compatible way.
- Medium impact: Likely influence. Modifies modm in a non-backwards compatible way.
- High impact: Definite influence. Breaks the API within the scope.
High impact changes are explicitly called out in the release notes for you to pay attention to. Medium impact changes are also worth looking at.
This release covers everything from 2024-01-01 and has been tested with avr-gcc v12.2.0 from Upstream and arm-none-eabi-gcc v12.2.1 from xpack.
Breaking changes:
- TinyUSB v0.16 implements a DFU class in addition to a DFU runtime class.
Therefore the
modm:tinyusb:config:device.dfu
option was renamed todevice.dfu_rt
to align with the TinyUSB naming. - TinyUSB v0.16 improves support for using two USB ports at the same time. A
differnt port can now be chosen for device and host classes. In addition, the
HS peripheral may be operated in FS mode, therefore the
modm:tinyusb:speed
option was renamed tomodm:tinyusb:max-speed
since it now has a different meaning. - Remove the separate
hosted-rpi
Raspberry Pi target in favor of plainhosted-linux
. Its GPIO implementation based on wiringPi is removed.
Features:
- Add USB High-Speed support to all development boards with ULPI interface.
- Catch accidental use of Newlib's printf implementation.
- Fibers are now implemented for ARM64, albeit only on Linux and macOS.
- Add BDMA driver for STM32H7.
- DMA support for ADC driver on STM32F3 and STM32G4.
- Support for ADC conversion sequences on STM32F3 and STM32G4.
- Add Prescaler+Counter constexpr algorithm and use it in
Iwdg::initialize()
. - Add PWM modes, break input and comparator to Timer driver on STM32.
- CMake generator now works with multiple lbuild repositories.
- Allow setting I2C interrupt priority for STM32 and SAMx7x.
Integrated Projects:
- TinyUSB upgraded to v0.16.0.
- STM32G0 headers upgraded to v1.4.4.
- STM32G4 headers upgraded to v1.2.3.
- STM32H5 headers upgraded to v1.2.0.
- STM32H7 headers upgraded to v1.10.4.
- STM32L5 headers upgraded to v1.0.6.
- STM32U5 headers upgraded to v1.4.0.
- STM32WB headers upgraded to v1.12.1.
Fixes:
- Fix
Rcc::enable()
for STM32H7 comparator. - Fix Timer 23 and 24 counter size on STM32H7.
- Fix ADC asynchronous clock on STM32H7.
- Fix DMA enable on STM32G0.
- Fix reconfiguring DMAMUX requests.
- Fix ADC sampling time configuration on STM32F3.
- Separate ULPI clock from USB clock on STM32 to allow using OTGHS in FS mode.
- Stack alignment underneath promise in fiber tasks.
- Move
Iwdg
driver tomodm::platform::Iwdg
namespace. - Fix flash page size for large F103, F105 and F107 devices.
New development boards:
- DISCO-F401VC as
modm:disco-f401vc
. - NUCLEO-G070RB as
modm:nucleo-g070rb
. - DISCO-F411VE as
modm:disco-f411ve
.
New device drivers:
- AS5047 absolute encoder driver as
modm:driver:as5047
.
Known bugs:
- OpenOCD cannot enable SWO on STM32H7 targets. See #1079.
- Compiling Protothreads and Resumable Functions is broken on GCC13. See #1012.
arm-none-eabi-gdb
TUI and GDBGUI interfaces are not supported on Windows. See #591.- STM32F7: D-Cache not enabled by default. See #485.
- Generating modm on Windows creates paths with
\
that are not compatible with Unix. See #310. lbuild build
andlbuild clean
do not remove all previously generated files when the configuration changes. See #285.
Many thanks to all our contributors. A special shoutout to first timers 🎉:
- Carl Treudler (@cajt)
- Christopher Durand (@chris-durand)
- Daniel Waldhäusl
- Dima Barsky (@kapacuk) 🎉
- Henrik Hose (@hshose)
- Michael Jossen (@Javask) 🎉
- Niklas Hauser (@salkinium)
- Raphael Lehmann (@rleh)
- Thomas Sommer (@TomSaw)
- Victor Costa (@victorandrehc)
Detailed changelog
PR #1143 -> 734de07 and PR #1148 -> e1d8a17.
PR #1140 -> 1a89fbe.
Tested in hardware by @Javask.
PR #1134 -> a371df6.
Tested in hardware by @victorandrehc.
PR #1138 -> dbfd93b.
Tested in hardware by @hshose.
PR #1135 -> 009bb06.
Tested in hardware by @tomsaw.
PR #1127 -> 23036e3.
Tested in hardware by @salkinium.
PR #1126 -> fe4cbc5.
Tested in hardware by @chris-durand.
PR #1125 -> 6de70ba.
Tested in hardware by @chris-durand.
PR #1115 -> 2e40ab4.
Tested in hardware by @chris-durand.
New targets with -arm64
suffix, -x86_64
is implicit for backwards
compatibility:
hosted-linux-arm64
hosted-darwin-arm64
Removed hosted-rpi
target, as wiringPi is deprecated and thus the target lost
its only peripheral.
PR #1113 -> 623a13b.
Tested in hardware by @salkinium (Apple Silicon M2) and @rleh (Raspberry Pi).
This previously lead to cryptic linking failures due to a missing heap
implementation. Now any use of printf
without including the modm:printf
module will lead to a linking failure with a proper error description.
PR #1120 -> 7318c28.
Tested by @salkinium.
PR #1116 -> 1f210c1.
Tested in hardware by @salkinium with high impact on TinyUSB configuration.
PR #1117 -> 2381c61.
Tested in hardware by @cajt.
PR #1114 -> 8bcbe25.
Tested in hardware by @chris-durand.
This release covers everything from 2023-10-01 and has been tested with avr-gcc v12.2.0 from Upstream and arm-none-eabi-gcc v12.2.1 from xpack.
Features:
- STM32H7 SPI driver with DMA support.
Integrated Projects:
- ETL upgraded to v20.38.10.
- LVGL upgraded to v8.3.11.
- Nanopb upgraded to v0.4.8.
- STM32G0 headers upgraded to v1.4.3.
- STM32F4 headers upgraded to v2.6.9.
- STM32U5 headers upgraded to v1.3.1.
Fixes:
- Fix SPI clocks on Nucleo-H723ZG boards.
- Do not require protothreads to use SPI with fibers.
- Place main stack in DMA-able SRAM on STM32H7.
New device drivers:
- BMI088 IMU driver as
modm:driver:bmi088
.
Known bugs:
- Fibers are not implemented for ARM64 targets. See #1111.
- OpenOCD cannot enable SWO on STM32H7 targets. See #1079.
- STM32F7: D-Cache not enabled by default. See #485.
lbuild build
andlbuild clean
do not remove all previously generated files when the configuration changes. See #285.- Generating modm on Windows creates paths with
\
that are not compatible with Unix. See #310. arm-none-eabi-gdb
TUI and GDBGUI interfaces are not supported on Windows. See #591.
Many thanks to all our contributors. A special shoutout to first timers 🎉:
- Christopher Durand (@chris-durand)
- Jens Böckmann (@jensboe) 🎉
- Niklas Hauser (@salkinium)
- Sergey Pluzhnikov (@ser-plu)
Detailed changelog
PR #1052 -> 53796b0.
Tested in hardware by @chris-durand.
PR #1052 -> a771042.
Tested in hardware by @chris-durand.
This release covers everything from 2023-07-01 and has been tested with avr-gcc v12.2.0 from Upstream and arm-none-eabi-gcc v12.2.1 from xpack.
Features:
- STM32G0 FD-CAN driver.
- Redirect printf to logger in BSPs that support it.
Integrated Projects:
- CMSIS-DSP upgraded to v1.15.0.
- ETL upgraded to v20.38.2.
- LVGL upgraded to v8.3.10.
- STM32C0 headers upgraded to v1.1.0.
- STM32H5 headers upgraded to v1.1.0.
- STM32L4 headers upgraded to v1.7.3.
- STM32U5 headers upgraded to v1.3.0.
Fixes:
- Place
.data
section in DMA-able memory on STM32H7. - Correct identification register indices for HMC58x3 drivers.
- Fix spurious EXTI interrupt with shared IRQ.
New device drivers:
- IIM-42652 IMU family driver as
modm:driver:ixm42xxx
. - Stacked SPI Flash driver as
modm:driver:block.device:spi.stack.flash
. - SX128x LoRa driver as
modm:driver:sx128x
. - QMC5883L magnetometer driver as
modm:driver:qmc5883l
.
Known bugs:
- STM32F7: D-Cache not enabled by default. See #485.
lbuild build
andlbuild clean
do not remove all previously generated files when the configuration changes. See #285.- Generating modm on Windows creates paths with
\
that are not compatible with Unix. See #310. arm-none-eabi-gdb
TUI and GDBGUI interfaces are not supported on Windows. See #591.
Many thanks to all our contributors. A special shoutout to first timers 🎉:
- Alexander Solovets (@mbait) 🎉
- Christopher Durand (@chris-durand)
- Klaus Schnass (@klsc-zeat) 🎉
- Niklas Hauser (@salkinium)
- Raphael Lehmann (@rleh)
- Rasmus Kleist (@rasmuskleist)
Detailed changelog
PR #1063 -> 7f30961.
Tested in hardware by @mbait.
PR #1066 -> c9e5227.
Tested in hardware by @chris-durand.
PR #1050 -> 517bd84.
Tested in hardware by @rasmuskleist.
PR #1054 -> ba23833.
Tested in hardware by @rasmuskleist.
Also adds support for injected conversions.
PR #1049 -> 4d69227.
Tested in hardware by @chris-durand.
PR #1053 -> 5d03d53.
Tested in hardware by @chris-durand.
PR #1051 -> a05cc62.
Tested in hardware by @klsc-zeat.
PR #1040 -> 8012d82.
Tested in hardware by @rasmuskleist.
PR #1048 -> 027811f.
Tested in hardware by @chris-durand.
This release covers everything from 2023-04-05 and has been tested with avr-gcc v12.2.0 from Upstream and arm-none-eabi-gcc v12.2.1 from xpack.
Breaking changes:
- GCC12 requirement for C++23.
-fsingle-precision-constant
default compile flag has been removed.- Removed deprecated
Timer::setPeriod(uint32_t)
in favor ofstd::chrono
units.
Features:
- SAMx7x DAC, ADC, DMA, and CAN drivers.
- Enabled C++23 and C23.
- STM32 IWDG driver.
- Fibers are now backward compatible with protothreads and resumable functions.
- Support for STM32G0B/C devices with shared interrupts.
Integrated Projects:
- LVGL upgraded to v8.3.7.
- Pico-SDK upgraded to v1.5.1.
- STM32F1 headers upgraded to v4.3.4.
- STM32F2 headers upgraded to v2.2.6.
- STM32L1 headers upgraded to v2.3.3.
- CMSIS-DSP upgraded to v1.14.4.
- SAMx7x upgraded to v3.0.
- TinyUSB upgraded to v0.15.0.
Fixes:
- Moving average type selection.
- SysTick clock access from both cores on RP2040.
- FDCAN driver on STM32 tx message queue.
- STM32 I2C NACK flag is acknowledged for instances >1.
- Fix arithmetic overflow in
Timer::setPeriod
on STM32. - Validate calculated CRC on MS5611 driver.
New development boards:
- Adafruit Feather-M4 as
modm:feather-m4
.
New device drivers:
- MAX31865 temperature sensor as
modm:driver:max31865
. - Internal cycle counter as
modm:driver:cycle_counter
. - MCP3008 ADC driver as
modm:driver:mcp3008
.
Known bugs:
- STM32F7: D-Cache not enabled by default. See #485.
lbuild build
andlbuild clean
do not remove all previously generated files when the configuration changes. See #285.- Generating modm on Windows creates paths with
\
that are not compatible with Unix. See #310. arm-none-eabi-gdb
TUI and GDBGUI interfaces are not supported on Windows. See #591.
Many thanks to all our contributors. A special shoutout to first timers 🎉:
- Christopher Durand (@chris-durand)
- Daniel Waldhäusl 🎉
- Henrik Hose (@hshose)
- Niklas Hauser (@salkinium)
- Raphael Lehmann (@rleh)
- Rasmus Kleist (@rasmuskleist)
- Sascha Schade (@strongly-typed)
- Sergey Pluzhnikov (@ser-plu)
- Thomas Rush (@tarush53)
- Victor Costa (@victorandrehc)
- Vivien Henry (@lukh)
Detailed changelog
PR #1038 -> b05df3e.
Tested in hardware by @tarush53.
PR #1037 -> 2384756 with medium-impact in floating point variables.
Tested in hardware by @salkinium.
PR #1032 -> 81b86be.
Tested in hardware by @tarush53.
PR #1036 -> 768d749.
Tested in hardware by @chris-durand.
PR #1028 -> eda224e.
Tested in hardware by @chris-durand.
PR #1018 -> 45ae68a.
Tested in hardware by @ser-plu.
PR #1001 -> 45ae68a.
Tested in hardware by @salkinium.
PR #1017 -> 9d33843.
Tested in hardware by @ser-plu, @chris-durand, and @rleh.
PR #955 -> bfafcd3.
Tested in hardware by @rleh.
PR #1009 -> d772940.
Tested in hardware by Daniel Waldhäusl.
PR #1010 -> 389a9c3.
Tested in hardware by @salkinium.
PR #993 -> 65bbccf.
Tested in hardware by @hshose.
PR #998 -> c7c4c57.
Tested in hardware by @chris-durand.
PR #987 -> 94580b4.
Tested in hardware by @chris-durand.
PR #994 -> 972b74b.
Tested in hardware by @chris-durand.
This release covers everything from 2023-01-01 and has been tested with avr-gcc v12.2.0 from Upstream and arm-none-eabi-gcc 12.2.rel1 from Arm.
Breaking changes:
- SAMV71 Xplained Ultra button polarity.
Features:
- External main clock on SAMx7x.
- SAMx7x SPI driver.
- SAM GpioInverted.
- CANFD large frame support.
- SAM SoftwareGpioPort.
- SAMx7x Timer/counter driver.
- SAMx7x PWM generator driver.
- GCC 12.
- Ability to coredump from GDB directly.
- JLink support.
- Support for STM32U5 devices.
- Repetition Counter on STM32 Advanced Control Timers.
- ADC scan mode, DMA mode and external trigger for STM32F1/F2/F37/F4/F7/L1.
- SAMx7x I2C driver.
Integrated Projects:
- ETL upgraded to v20.35.14.
Fixes:
- Multiple fixes for I²C NACK handling on STM32.
- On Nucleo-F103RB GpioB4 is now usable.
- Systick frequency on SAMx7x.
- Fix static member variable initialization.
New development boards:
- Nucleo-U575ZI-Q as
modm:nucleo-u575zi-q
. - SAME70 Xplained as
modm:board:same70-xplained
.
New device drivers:
- LSM6DSO imu as
modm:driver:lsm6dso
. - MS5837 pressure/temperature sensor as
modm:driver:ms5837
. - AT24MAC402 I2C Eeprom as
modm:driver:at24mac402
.
Known bugs:
- STM32F7: D-Cache not enabled by default. See #485.
lbuild build
andlbuild clean
do not remove all previously generated files when the configuration changes. See #285.- Generating modm on Windows creates paths with
\
that are not compatible with Unix. See #310. arm-none-eabi-gdb
TUI and GDBGUI interfaces are not supported on Windows. See #591.
Many thanks to all our contributors. A special shoutout to first timers 🎉:
- Christopher Durand (@chris-durand)
- Niklas Hauser (@salkinium)
- Raphael Lehmann (@rleh)
- Victor Costa (@victorandrehc) 🎉
- Sascha Schade (@strongly-typed)
- Vivien Henry (@lukh)
- Luiz Gili (@lgili) 🎉
- Mattis Kieffer (@mat-kie) 🎉
- Rasmus Kleist (@rasmuskleist)
- Sebastian Birke (@se-bi)
Detailed changelog
Fixes __cxa_guard_acquire
to construct a static member variable only once!
PR #995 -> 2023q1.
Tested in hardware by @salkinium.
Including an unittest and examples.
PR #954 -> d1938eb.
Tested in hardware by @chris-durand.
This also adds generic support for I2C eeproms with 8 bit addressing.
PR #954 -> d1938eb.
Tested in hardware by @chris-durand.
PR #982 -> 04ed0a5.
Tested in hardware by @victorandrehc.
PR #986 -> 589aea7.
Tested in hardware by @chris-durand.
PR #981 -> 740fd51.
Tested in hardware by @victorandrehc.
PR #969 -> a38feca.
Tested in hardware by @lgili.
PR #970 -> 2273bae.
Tested in hardware by @se-bi.
Support for all devices of the new STM32U5 family with Cortex-M33 core. UART and RCC platform drivers are adapted and a BSP for the Nucleo-U575ZI-Q is also included.
PR #843 -> 8a3a20b.
Tested in hardware by @rleh.
PR #976 -> 08cd479.
Tested in hardware by @victorandrehc.
- Refactor modm_tools module and debug tooling
- Add JLink debug probe support
- Add ITM and RTT on NUCLEO-64 board
PR #965 -> 241b0d1.
Tested in hardware by @salkinium.
PR #967 -> 416ced6.
Tested in hardware by @strongly-typed.
PR #964 -> d982a85.
Tested in hardware by @strongly-typed.
PR #961 -> eb2748e.
Tested in hardware by @salkinium.
- Adapt code and build system to GCC12
- Split AVR Mega Pro unittests into three
- Fix function call in ADC examples
PR #940 -> 923f9c1.
Tested in hardware by @salkinium.
PR #960 -> 3cee015.
Tested in hardware by @mat-kie and @rleh.
PR #957 -> 190bc78.
Tested in hardware by @chris-durand.
PR #956 -> 95713ee.
Tested in hardware by @chris-durand.
PR #942 -> 8179e6b.
Tested in hardware by @lukh.
Also adds support for inverted pins in GpioSet.
PR #952 -> afdb5ba.
Tested in hardware by @chris-durand.
PR #882 -> e4b1a4a.
Tested in hardware by @rasmuskleist / @twast92.
- Fix stm32-extended I2C driver NACK handling
- Start next I2C transaction also when previous failed with NACK
- Do not set invalid I2C_CR1_NOSTRETCH bit in master mode
PR #947 -> ba61a34 and PR #951 -> c347f00.
Tested in hardware by @chris-durand.
PR #950 -> 13ea578.
Tested in hardware by @rleh.
PR #944 -> 0f0505f.
Tested in hardware by @chris-durand.
PR #941 -> 4f50d00.
Tested in hardware by @chris-durand.
PR #938 -> c93dd2c.
Tested in hardware by @chris-durand.
PR #939 -> 0259ad2.
Tested in hardware by @chris-durand.
This release covers everything from 2022-10-01 and has been tested with avr-gcc v10.2.0 from Upstream and arm-none-eabi-gcc 10.3-2022.07 from Arm.
Breaking changes:
- None.
Features:
- Basic ADC support for SAMx7x devices.
Integrated Projects:
- printf upgraded to v6.1.0.
- CMSIS-DSP upgraded to v1.14.2.
- TinyUSB upgraded to v0.14.0.
- FreeRTOS upgraded to 202212.
- FatFS upgraded to v0.15.
- LVGL upgraded to v8.3.4.
- NanoPB upgraded to v0.4.7.
- ETL upgraded to v20.35.6.
- STM32L5 headers upgraded to v1.12.0.
- STM32H7 headers upgraded to v1.10.3.
Fixes:
- STM32G4 ADC channel mapping.
- Initialize frame buffer memory in MonochromeGraphicDisplay.
- Only configure BDTR register for timers with complementary PWM.
- Fix SAMx7x b-variant USART defines.
New development boards:
- None.
New device drivers:
- None.
Known bugs:
- C++20 is not fully implemented by GCC10 yet, however modm does not use all features yet anyways. See #326.
- STM32F7: D-Cache not enabled by default. See #485.
lbuild build
andlbuild clean
do not remove all previously generated files when the configuration changes. See #285.- Generating modm on Windows creates paths with
\
that are not compatible with Unix. See #310. arm-none-eabi-gdb
TUI and GDBGUI interfaces are not supported on Windows. See #591.
Many thanks to all our contributors. A special shoutout to first timers 🎉:
- Christopher Durand (@chris-durand)
- Niklas Hauser (@salkinium)
- Raphael Lehmann (@rleh)
- Sergey Pluzhnikov (@ser-plu) 🎉
Detailed changelog
PR #935 -> 7330500.
Tested in hardware by @chris-durand.
This release covers everything from 2022-07-01 and has been tested with avr-gcc v10.2.0 from Upstream and arm-none-eabi-gcc 10.3-2022.07 from Arm.
Breaking changes:
Uart
peripheral renamed toUsart
on SAMG5 devices for consistency.GCLK
peripheral has been refactored for all SAM devices.
Features:
- RP2040 external flash size option.
- RP2040 ADC driver.
- Resolution configuration for DS18B20 driver.
- Use GPIO signal to configure STM32 Timers.
- Support for SAMx5x and SAMx7x devices.
Integrated Projects:
- printf upgraded to v6.0.0.
- LVGL upgraded to v8.3.2.
- ETL upgraded to v20.34.0.
- Pico-SDK upgraded to v1.4.0.
- STM32G0 headers upgraded to v1.4.2.
- STM32F7 headers upgraded to v1.2.8.
Fixes:
- SpiMaster compilation with GCC11.
- Using RTT with multiple channels.
- Relocation of lbuild outpath in
modm:build:make
module. - Deadlock RP2040 DMA driver due to counter overflow.
- Fix compilation of moving average for floating-point type.
- SAMD
setInput(InputType)
does not always reset to floating anymore.
New development boards:
- Feather-RP2040 as
modm:board:feather-rp2040
. - ThingPlus-RP2040 as
modm:board:thingplus-rp2040
. - SAMV71 Xplained Ultra as
modm:board:samv71-xplained-ultra
. - SAME54 Xplained Pro as
modm:board:same54-xplained-pro
. - SAMD21 Xplained Pro as
modm:board:samd21-xplained-pro
.
New device drivers:
- ADS7828 ADC as
modm:driver:ads7828
. - MCP9902/3/4 temperature sensor as
modm:driver:mcp990x
. - ST7789 display driver as
modm:driver:st7789
.
Known bugs:
- C++20 is not fully implemented by GCC10 yet, however modm does not use all features yet anyways. See #326.
- STM32F7: D-Cache not enabled by default. See #485.
lbuild build
andlbuild clean
do not remove all previously generated files when the configuration changes. See #285.- Generating modm on Windows creates paths with
\
that are not compatible with Unix. See #310. arm-none-eabi-gdb
TUI and GDBGUI interfaces are not supported on Windows. See #591.
Many thanks to all our contributors. A special shoutout to first timers 🎉:
- Artiom (@Artiom9) 🎉
- Christopher Durand (@chris-durand)
- Jonas Kazem Andersen (@JKazem)
- Lucas Mösch (@lmoesch)
- Niklas Hauser (@salkinium)
- Nikolay Semenov (@cocasema)
- Raphael Lehmann (@rleh)
- Sascha Schade (@strongly-typed)
- Steven Macías (@StevenMacias)
Detailed changelog
Also adds SAMV71 Xplained Ultra and SAME54 Xplained Pro board support packages
and examples. For consistency with other SAM devices, the SAMG Uart
peripheral
has been renamed to Usart
in a breaking change. The GCLK
peripheral has been
refactored for consistency across and to remove hard-coded design choices.
PR #827 -> 8230fef.
Tested in hardware by @chris-durand with high impact on SAM devices.
PR #902 -> 516b2b3.
Tested in hardware by @cocasema.
PR #900 -> 874c8d6.
Tested in hardware by @cocasema.
PR #899 -> 490e868.
Tested in hardware by @cocasema.
Also adds an option to set the flash size of the external flash chip.
PR #898 -> cceb801.
Tested in hardware by @cocasema.
PR #894 -> 0fd53a8.
Tested in hardware by @chris-durand.
This release covers everything from 2022-04-01 and has been tested with avr-gcc v11.2.0 from upstream and arm-none-eabi-gcc 10.3-2021.10 from Arm.
Breaking changes:
- None.
Features:
- Custom OpenOCD binary path.
- IRQ handlers for RP2040.
- Expose transmission complete flag on STM32 UART.
- Half transfer handler for STM32 DMA.
- Timer
SlaveModeTrigger::Internal0
/Internal3
for STM32F4. - UI Button group refactoring.
- MovingAverage filter refactoring.
- Support for std::chrono in STM32 timer API.
Integrated Projects:
- ETL upgraded to v20.29.3.
- CrashCatcher updated to latest version.
Fixes:
- Fix STM32F7 linker script issue causing memory corruption on some devices.
- STM32H7 RCC clock output.
- CAN system clock frequencies for Nucleo-F446RE/Nucleo-F446ZE boards.
- Cortex-M ITM when
buffer.tx
option not set. Rcc::disable()
on STM32 disabling unrelated clocks.- Fix
GpioSampler
difference computation. - Fix missing DMAable capability for DTCM RAM on STM32F7.
New development boards:
- Support for revision B-02 of the DISCO-F469NI development board as
modm:disco-f469ni:b-02
.
New device drivers:
- MAX31855 thermocouple-to-digital converter as
modm:driver:max31855
- ADS101X ADC as
modm:driver:ads101x
- MS5611 pressure sensor as
modm:driver:ms5611
Known bugs:
- Cannot set breakpoints on specific lines in debug profile. See #777.
- C++20 is not fully implemented by GCC10 yet, however modm does not use all features yet anyways. See #326.
- STM32F7: D-Cache not enabled by default. See #485.
lbuild build
andlbuild clean
do not remove all previously generated files when the configuration changes. See #285.- Generating modm on Windows creates paths with
\
that are not compatible with Unix. See #310. arm-none-eabi-gdb
TUI and GDBGUI interfaces are not supported on Windows. See #591.
Many thanks to all our contributors. A special thank you to our first timers 🎉:
- Christopher Durand (@chris-durand)
- Jonas Kazem Andersen (@JKazem) 🎉
- Niklas Hauser (@salkinium)
- Nikolay Semenov (@cocasema) 🎉
- Raphael Lehmann (@rleh)
- Rasmus Kleist (@rasmuskleist)
- Sarah Vilete (@sarahvilete) 🎉
- Sascha Schade (@strongly-typed)
- Sebastian Birke (@se-bi)
- Sebastian Tibor Bakonyvari (@twast92) 🎉
- Thomas Rush (@tarush53) 🎉
- Thomas Sommer (@TomSaw)
- Vivien Henry (@lukh)
- xgzeng 🎉
Detailed changelog
And reset()
function added.
PR #872 -> 7b5827f.
Tested by @TomSaw.
ITM was previously not working when buffer.tx option was not set.
PR #866 -> 90774be.
Tested in hardware by @xgzeng.
PR #864 -> 55d5911.
Tested by @TomSaw.
PR #862 -> 4885c53.
Tested in hardware by @se-bi, @rleh and @salkinium.
PR #861 -> 87b6405.
Tested in hardware by @strongly-typed.
PR #851 -> ab9bcee.
Tested in hardware by @rasmuskleist.
PR #856 -> 0e3d280.
Tested in hardware by @strongly-typed.
PR #854 -> 596eafa.
Tested in hardware by @JKazem.
PR #853 -> 6e7c12f.
Tested in hardware by @chris-durand.
PR #850 -> 2e34b11.
Tested in hardware by @rasmuskleist / @sarahvilete.
This release covers everything from 2022-01-01 and has been tested with avr-gcc v11.2.0 from upstream and arm-none-eabi-gcc 10.3-2021.10 from Arm.
Breaking changes:
- Removed all functions marked deprecated for >1 year.
Features:
- STM32L5 support.
- Raspberry Pi PR2040 support.
- Microchip SAM timer driver.
- Improved project and Doxygen documentation.
- STM32G4 internal flash driver.
- TinyUSB on STM32G4.
Integrated Projects:
- ETL upgraded to v20.27.1.
- TinyUSB upgraded to v0.13.0.
- LVGL upgraded to v8.2.0.
Fixes:
- Issues when using TinyUSB and FreeRTOS together solved.
- Fix TinyUSB crash when reading device descriptor.
- TinyUSB correctly chooses fullspeed port on STM32 by default.
- Fix SPI bug in handling of CPHA/CPOL on Microchip SAM.
- Read unique ID correctly on SAMG55.
- Fix GPIO peripheral connect method on Microchip SAM.
- Heap allocator defaults to Newlib on devices with one continuous RAM section.
- FreeRTOS now always supports static allocation.
New development boards:
- Support for newer revision (B-03) of the DISCO-F469NI development board
as
modm:disco-f469ni:b-03
. - Nucleo-L552ZE-Q as
modm:board:nucleo-l552ze-q
. - RP-PICO as
modm:board:rp-pico
.
New device drivers:
- ADIS16470 inertial measurement unit driver as
modm:driver:adis16470
.
Known bugs:
- Cannot set breakpoints on specific lines in debug profile. See #777.
- C++20 is not fully implemented by GCC10 yet, however modm does not use all features yet anyways. See #326.
- STM32F7: D-Cache not enabled by default. See #485.
lbuild build
andlbuild clean
do not remove all previously generated files when the configuration changes. See #285.- Generating modm on Windows creates paths with
\
that are not compatible with Unix. See #310. arm-none-eabi-gdb
TUI and GDBGUI interfaces are not supported on Windows. See #591.
Many thanks to all our contributors. A special thank you to our first timers 🎉:
- Andrey Kunitsyn (@andryblack)
- Christopher Durand (@chris-durand)
- Jeff McBride (@mcbridejc)
- Kaelin Laundry (@WasabiFan)
- Niklas Hauser (@salkinium)
- Raphael Lehmann (@rleh)
- Rasmus Kleist (@rasmuskleist) 🎉
- Steven Macías (@StevenMacias)
- Thomas Sommer (@TomSaw)
Detailed changelog
PR #838 -> f7dff92.
Tested in hardware by @rasmuskleist.
PR #830 -> 21ba120.
Tested in hardware by @andryblack and @rleh.
PR #823 -> f5cdf6a.
Tested in hardware by @mcbridejc.
PR #822 -> c868f59.
Tested in hardware by @mcbridejc.
PR #824 -> 845840e.
Tested in hardware by @mcbridejc.
PR #821 -> ac46099.
Tested in hardware by @mcbridejc.
PR #816 -> 3f3ff3d.
Tested in hardware by @rleh.
PR #805 -> b153186.
Tested in hardware by @rleh.
Support for the Raspberry Pi microcontroller RP2040 with two ARM Cortex M0+ cores. This includes support platform drivers for clock, DMA, GPIO, UART, SPI, USB (TinyUSB) and a board support package for the Raspberry Pi Pico development board.
PR #806 -> 1c9c0b6.
Tested in hardware by @andryblack, @rleh and @salkinium.
Support for all devices of the new STM32L5 family with Cortex-M33 core. ADC, DMA, FreeRTOS and RCC platform drivers are adapted and a BSP for the Nucleo-L552ZE-Q is also included.
PR #800 -> 187ddd8.
Tested in hardware by @chris-durand.
This release covers everything from 2021-10-01 and has been tested with avr-gcc v10.2.0 from Upstream and arm-none-eabi-gcc 10.3-2021.10 from Arm.
Breaking changes:
modm:driver:encoder_input.bitbang
has changed its API.modm::Saturated
class has been completely refactored.
Features:
- STM32F1 internal flash driver.
- Use FreeRTOS with static memory by default.
- SAMG UART driver.
- SAMG ADC driver.
- STM32F4 Ethernet support via FreeRTOS+TCP.
- STM32F4 and STM32F7 DMA support.
- VSCode IDE support via
modm:ide:vscode
. - Experimental support for fibers.
- Vector table remap into SRAM on Cortex-M0+ and STM32F0.
- STM32H7 DMA driver.
Integrated Projects:
- ETL added at v20.22.0.
- TinyUSB upgraded to v0.12.0.
- FreeRTOS upgraded to 202112.00.
- LVGL upgraded to v8.1.0.
Fixes:
- Remove heap dependency for static virtual destructors.
- Correct STM32G4/L4+ voltage scaling and boost mode.
- Move main stack to DMA-able memory for STM32F4.
- Linkerscript alignment issues for copy sections.
- Zero SRAM after uploading to prevent false positive RTT identifier.
- Off-by-One error in EXTI IRQ handler.
- DMA data fixes for STM32G0, L4, H7 and WL.
- Do not reset STM32 Advanced Timer RCR during configuration.
New development boards:
- NUCLEO-L053R8 as
modm:board:nucleo-l053r8
.
New device drivers:
- TMP12{1,3,5} temperature sensor as
modm:driver:tmp12x
. - Encoder Input via STM32 Timer as
modm:driver:encoder_input
. - MCP7941X RTC driver with EUI-48/64 and EEPROM as
modm:driver:mcp7941x
. - ADS816X ADC diver as
modm:driver:ads816x
.
Known bugs:
- Cannot set breakpoints on specific lines in debug profile. See #777.
- C++20 is not fully implemented by GCC10 yet, however modm does not use all features yet anyways. See #326.
- STM32F7: D-Cache not enabled by default. See #485.
lbuild build
andlbuild clean
do not remove all previously generated files when the configuration changes. See #285.- Generating modm on Windows creates paths with
\
that are not compatible with Unix. See #310. arm-none-eabi-gdb
TUI and GDBGUI interfaces are not supported on Windows. See #591.
Many thanks to all our contributors. A special thank you to our first timers 🎉:
- Andrey Kunitsyn (@andryblack) 🎉
- Christopher Durand (@chris-durand)
- Jacob Schultz Andersen (@jasa)
- Jeff McBride (@mcbridejc)
- Kaelin Laundry (@WasabiFan)
- Niklas Hauser (@salkinium)
- Odin Holmes (@odinthenerd) 🎉
- Pavel Pletenev (@ASMfreaK)
- Raphael Lehmann (@rleh)
- Sebastian Birke (@se-bi)
- Steven Macías (@StevenMacias) 🎉
- Thomas Sommer (@TomSaw)
Detailed changelog
PR #796 -> 3ba71c9.
Tested in hardware by @rleh.
PR #772 -> e3c0321.
Tested in hardware by @chris-durand.
PR #748 -> 5a9ad25.
Tested in hardware by @rleh.
PR #780 -> c0a8c51.
Tested in hardware by @TomSaw with high impact on API.
PR #773 -> fdbb45b.
Tested in hardware by @chris-durand.
PR #775 -> d46c09d.
Tested in hardware by @TomSaw.
You must enable the hidden repository option modm:__fibers
to use them.
PR #743 -> 3936a28.
Tested in hardware by @salkinium.
PR #764 -> 6b4d656.
Tested by @rleh and @salkinium.
PR #629 -> 5dcdf1d.
Tested in hardware by @rleh.
This fixes copying data sections with the wrong alignment.
PR #763 -> b78acd5.
Tested in hardware by @salkinium with high impact on .fastcode
section.
PR #753 -> 82bc4a9.
Tested in hardware by @mcbridejc.
PR #761 -> 6e9f000.
Tested in hardware by @mcbridejc.
PR #756 -> 0d6a937.
Tested in hardware by @salkinium.
PR #757 -> 624ce10.
Tested in hardware by @chris-durand.
Adds static allocation support when used without modm:platform:heap
module.
PR #750 -> 9e50a16.
Tested in hardware by @andryblack and @salkinium.
Static virtual C++ destructors can emit operator delete, this marks the operators as weak which prevents pulling in Newlib.
PR #747 -> 387a625.
Tested in hardware by @delphi and @salkinium.
PR #667 -> 2ef7a29.
Tested in hardware by @rleh and @salkinium.
This release covers everything from 2021-07-01 and has been tested with avr-gcc v10.2.0 from Upstream and arm-none-eabi-gcc 10.3-2021.07 from Arm.
Breaking changes:
- STM32 EXTI configuration moved into separate
modm:platform:exti
module. - STM32F3 ADC flags API made consistent with rest of ADC implementations.
- AVR SPI mode 1/2 was swapped.
- Interface SPI mode 3/4 was swapped.
- Configuration of CMSIS-DSP module is now done via
<arm_math_local.h>
file.
Features:
- STM32H7 support.
- SAMG55 support with USB and SPI drivers.
- SAMV70 support.
- STM32F1 ADC calibration.
- Adding silicon revision to
modm:target
option with/revN
suffix. modm_initialize_platform()
hook called right after startup.- Strict IRQ name validation: Never wonder again why your IRQ isn't called!
- Much faster lbuild generation of
modm:platform:gpio
due to fewer files. - New
modm:platform:exti
module for STM32 with optional IRQ handlers.
Integrated Projects:
- LVGL upgraded to v8.0.2.
- TinyUSB upgraded to v0.11.0.
- FreeRTOS upgraded to 202107.
- CMSIS-DSP upgraded to v5.8.0.
Fixes:
- Longer modm::delay_ms implementation.
- Lower C++ binary size due to not using
atexit
function. - SPI mode 3/4 was swapped in interface, mode 1/2 swapped on AVR.
- Enable FPU in assembly before startup script.
- Fix inconsistent flags API for STM32F3 ADC.
- Refactored GpioConnector to remove
template< Peripheral _ >
signal boilerplate.
New development boards:
- NUCLEO-H743ZI as
modm:board:nucleo-h743zi
. - NUCLEO-H723ZG as
modm:board:nucleo-h723zg
. - Smart Response XE as
modm:board:srxe
. - SAM G55 Xplained Pro as
modm:board:samg55-xplained-pro
. - DevEBox STM32H750VB as
modm:board:devebox-stm32h750vb
.
New device drivers:
- ST7586S display as
modm:driver:st7586s
.
Known bugs:
- C++20 is not fully implemented by GCC10 yet, however modm does not use all features yet anyways. See #326.
- STM32F7: D-Cache not enabled by default. See #485.
lbuild build
andlbuild clean
do not remove all previously generated files when the configuration changes. See #285.- Generating modm on Windows creates paths with
\
that are not compatible with Unix. See #310. arm-none-eabi-gdb
TUI and GDBGUI interfaces are not supported on Windows. See #591.
Many thanks to all our contributors. A special shoutout to first timers 🎉:
- Christopher Durand (@chris-durand)
- Daniel Krebs (@daniel-k)
- Henrik Hose (@hshose) 🎉
- Jakob Riepler (@XDjackieXD) 🎉
- Jeff McBride (@mcbridejc)
- Niklas Hauser (@salkinium)
- Thomas Sommer (@TomSaw)
- Tomasz Wasilczyk (@twasilczyk) 🎉
- Valeriy Osipov (@SgtPepperFTW) 🎉
Detailed changelog
The :cmsis:dsp
module options were removed in favor of letting the user
define them freely using a <arm_math_local.h>
config file.
PR #742 -> 12bb41b.
Tested in hardware by @salkinium with medium impact on config.
New implementation generates fewer files, which speeds up lbuild build
significantly for devices with many pins. EXTI implementation was moved into
its own module with an optional IRQ handler abstraction. Refactored signals
implementation to remove dragging around template< Peripheral _ >
boilerplate.
PR #686 -> 30e24e6.
Tested in hardware by @salkinium with high impact on EXTI code.
On custom hardware.
PR #681 -> 9036666.
Tested in hardware by @twasilczyk.
Validates MODM_ISR(name)
at compile time to you never declare the wrong
IRQ that won't get called.
PR #685 -> 6057873.
Tested in hardware by @salkinium with low impact on MODM_ISR(name)
.
PR #678 -> b4eddeb.
Tested in hardware by @hshose.
PR #680 -> f4d5d6c.
Tested in hardware by @mcbridejc.
PR #679 -> 93bba13.
Tested in hardware by @mcbridejc.
Also adds SAM G55 Xplained Pro board and example.
PR #676 -> c148bf8.
Tested in hardware by @mcbridejc.
PR #673 -> 2c22fae.
Tested in hardware by @twasilczyk.
Adds support for the ATmega128RFA1 and the Smart Response XE board.
PR #669 -> a173bde.
Tested in hardware by @twasilczyk.
Also adds NUCLEO-H743ZI and NUCLEO-H723ZG boards and examples.
PR #652 -> 80ed738.
Tested in hardware @chris-durand and @salkinium.
This release covers everything from 2021-04-01 and has been tested with avr-gcc v10.1.0 from Upstream and arm-none-eabi-gcc 2020q4 from Arm.
Breaking changes:
- TinyUSB updated from v0.8.0 to v0.10.1 with breaking changes to their APIs.
- FreeRTOS configuration must be done by the user via the headers
<FreeRTOSConfigLocal.h>
and<FreeRTOSIPConfigLocal.h>
. modm::GraphicDisplay
API changed due to change in color management.- New color types and API.
- New CMake build system has different API without top-level Makefile.
Features:
- STM32L0 support.
- Real-Time Transport (RTT) support via OpenOCD v0.11.
- FDCAN driver for STM32G4 (only for standard messages).
- DMA support for all STM32 devices, except F2/F4/F7.
- Better graphical display and color support.
- New CMake build system for better IDE integration.
- Top-level build scripts relicensed as BSD to allow easier adaptation.
- LPUART driver for STM32.
- DAC driver with DMA support for STM32.
- Non-allocating util classes
modm::inplace_any
andmodm::inplace_function
.
Integrated Projects:
- LVGL added at v8.0.1.
- Petit FatFs added at v0.03a.
- FatFs upgraded to v0.14b.
- TinyUSB upgraded to v0.10.1.
- FreeRTOS upgraded to 202012 LTS.
Fixes:
- OpenOCD ITM configuration for logging.
- Much more accurate nanosecond delay.
- realloc with NULL pointer calls malloc when using TLSF allocator.
New development boards:
- NUCLEO-L031K6 as
modm:board:nucleo-l031k6
. - NUCLEO-F072RB as
modm:board:nucleo-f072rb
. - NUCLEO-L496ZG-P as
modm:board:nucleo-l496zg-p
. - NUCLEO-F091RC as
modm:board:nucleo-f091rc
.
New device drivers:
- SH1106 display as
modm:driver:sh1106
. - STTS22H thermometer as
modm:driver:stts22h
.
Known bugs:
- C++20 is not fully implemented by GCC10 yet, however modm does not use all features yet anyways. See #326.
- STM32F7: D-Cache not enabled by default. See #485.
lbuild build
andlbuild clean
do not remove all previously generated files when the configuration changes. See #285.- Generating modm on Windows creates paths with
\
that are not compatible with Unix. See #310. arm-none-eabi-gdb
TUI and GDBGUI interfaces are not supported on Windows. See #591.
Many thanks to all our contributors:
- Christopher Durand (@chris-durand)
- Jacob Schultz Andersen (@jasa)
- Niklas Hauser (@salkinium)
- Raphael Lehmann (@rleh)
- Sascha Schade (@strongly-typed)
- Thomas Sommer (@TomSaw)
Detailed changelog
PR #642 -> cc15b1a.
Tested in hardware by @salkinium.
PR #632 -> 8896b5b.
Tested in hardware by @chris-durand.
PR #632 -> 9cbea26.
Tested in hardware by @chris-durand.
PR #616 -> a105072 with high impact on color types.
Tested by @TomSaw.
PR #614 -> 897579e.
Tested in hardware by @rleh.
PR #544 -> 9e7ec34.
Tested in hardware by @chris-durand.
PR #568 -> 98b1337 with high impact on CMake build systems.
Tested by @jasa and @salkinium.
PR #627 -> 7d7490d.
Tested in hardware by @TomSaw.
To enable optimizations for different color formats, the graphic display base classes are refactored into monochrome and color classes.
PR #604 -> 295dbc3 with medium impact on display drivers and graphics code.
Tested in hardware by @TomSaw.
PR #608 -> 8ca2f35.
Tested in hardware by @rleh.
PR #607 -> 2d2199b.
Tested in hardware by @chris-durand.
PR #610 -> 1375ff1.
Tested in hardware by @salkinium.
The default configuration modm provides changed, and now only provides the bare
minimum config and the remainder needs to be user-provided via the headers
<FreeRTOSConfigLocal.h>
and <FreeRTOSIPConfigLocal.h>
PR #566 -> 1375ff1 with high impact on configuration management.
Tested in hardware by @salkinium.
PR #566 -> 1f5d06e.
Tested in hardware by @salkinium.
TinyUSB is breaking their own API quite often, so existing applications must be
adapted. Any modm wrapper APIs are unaffected. See module docs for additional
customization via the <tusb_config_local.h>
header.
PR #566 -> 1f5d06e with high impact on TinyUSB API.
Tested in hardware by @salkinium.
PR #603 -> e0d1327.
Tested in hardware by @rleh and @salkinium.
Also adds NUCLEO-L031K6 board and example.
PR #600 -> 0cf1c65.
Tested in hardware @chris-durand.
This release covers everything from 2021-01-01 and has been tested with avr-gcc v10.1.0 from Upstream and arm-none-eabi-gcc 2020q4 from Arm.
Breaking changes:
Uart::initialize()
arguments and behaviour changed on STM32.- Complete rewrite of TCS34xx color sensor driver.
Features:
- Update AVR libstdc++ to C++20.
- Enable C++20 with GCC10.
- Ethernet support via FreeRTOS-TCP and LAN8720a.
- STM32: optional UART buffers per direction.
- Using relative paths in ELF files to easier archiving.
- Dark mode for Doxypress documentation.
- Makefile build system generator.
- Better Windows installation instructions.
Fixes:
- STM32F4/F7: Overdrive mode.
- STM32G4: TIM2 and TIM5 as 32-bit timer.
- STM32F0: ADC temperature calibration.
- STM32G4: ADC clock.
- SAMD21 Mini BSP fixes.
- Windows: Uploading via AvrDude.
New development boards:
- NUCLEO-F439ZI as
modm:board:nucleo-f439zi
. - NUCLEO-F446ZE as
modm:board:nucleo-f446ze
. - NUCLEO-F767ZI as
modm:board:nucleo-f767zi
. - NUCLEO-L452RE as
modm:board:nucleo-l452re
.
New device drivers:
- MMC5603 compass as
modm:driver:mmc5603
. - LAN8720a ethernet transceiver as
modm:driver:lan8720a
. - STUSB4500 USB-PD controller as
modm:driver:stusb4500
. - Bit-banged encoder input as
modm:driver:encoder_input.bitbang
. - Touch2046/TSC2046 touchscreen controller as
modm:driver:touch2046
.
Known bugs:
- C++20 is not fully implemented by GCC10 yet, however modm does not use all features yet anyways. See #326.
- Nanosecond delay may be inaccurate. See #495.
- STM32F7: D-Cache not enabled by default. See #485.
lbuild build
andlbuild clean
do not remove all previously generated files when the configuration changes. See #285.- Generating modm on Windows creates paths with
\
that are not compatible with Unix. See #310. arm-none-eabi-gdb
TUI and GDBGUI interfaces are not supported on Windows. See #591.
Many thanks to all our contributors. A special shoutout to first timers 🎉:
- Cerem Cem ASLAN (@ceremcem) 🎉
- Christopher Durand (@chris-durand)
- David Hebbeker (@dhebbeker)
- Jacob Schultz Andersen (@jasa) 🎉
- Mike Wolfram (@mikewolfram)
- Nicolai Bruhn (@nicoBruhn) 🎉
- Niklas Hauser (@salkinium)
- Raphael Lehmann (@rleh)
- Sascha Schade (@strongly-typed)
- Thomas Sommer (@TomSaw) 🎉
- Vivien Henry (@lukh)
Detailed changelog
Also adds NUCLEO-L452RE board and example.
PR #600 -> b1e5588.
Tested by @rleh.
PR #557 -> df47974.
Tested by @salkinium.
PR #580 -> df47974.
Tested in hardware by @TomSaw.
Breaking changes: Entire API was rewritten.
PR #578 -> 850b554 with high impact on TCS34xx driver.
Tested in hardware by @TomSaw.
PR #574 -> 1a11b08.
Tested in hardware by @rleh.
PR #571 -> 165adf0.
Tested in hardware by @rleh.
Adds relative paths in ELF file.
PR #558 -> 1fc3805.
Tested by @salkinium.
Makes UART buffers individually optional by setting their size to zero. Breaking changes:
Uart::initialize(IrqPriority, Parity)
->Uart::initialize(Parity, WordLength)
.- Word length is not automatically set to 9-bits when setting parity anymore.
UartHal::setLastBitClockPulse(LastBitClockPulse)
removed.UartHal::setSpiClock(SpiClock)
->UartHal::setSpiClock(SpiClock, LastBitClockPulse)
.- You must now manually call
UartHal::{en,dis}ableOperation()
before modifying UartHal.
PR #564 -> 62b63f5 with high impact on STM32 targets.
Tested in hardware by @salkinium.
Also adds NUCLEO-F767ZI board.
PR #466 -> d8be0a2.
Tested in hardware by @mikewolfram.
PR #556 -> fb2ff58.
Tested in hardware by @salkinium.
PR #526 -> 3ecad35 with low impact on STM32F0 targets.
Tested in hardware by @chris-durand.
PR #533 -> 02b1571.
Tested in hardware by @chris-durand.
PR #521 -> 8c322a2 with low impact on all targets.
Tested in hardware by all.
PR #535 -> 038657c with low impact on AVR targets.
Tested in hardware by @chris-durand.
This is a virtual release only for reference that covers everything from 2020-10-01.
Breaking changes:
- SAMD GPIO connector API is rewritten.
Features:
- Added a
.clang-format
for automated code styling. - Update FatFS from v0.09 to v0.13.
Fixes:
- STM32F3: Fix missing HsiDiv2 in PllSource.
- FreeRTOS: Fix SystemCoreClock linking.
- Proper lookup of all IOStream
operator<<
overloads.
New development boards:
- NUCLEO-F334R8 as
modm:board:nucleo-f334r8
. - NUCLEO-G431KB as
modm:board:nucleo-g431kb
. - NUCLEO-G431RB as
modm:board:nucleo-g431rb
.
No new device drivers.
Known bugs:
- Nanosecond delay may be inaccurate. See #495.
- STM32F7: D-Cache not enabled by default. See #485.
lbuild build
andlbuild clean
do not remove all previously generated files when the configuration changes. See #285.- Generating modm on Windows creates paths with
\
that are not compatible with Unix. See #310.
Many thanks to all our contributors:
- Christopher Durand (@chris-durand)
- Erik Henriksson (@henrikssn)
- Jeff McBride (@mcbridejc)
- Mike Wolfram (@mikewolfram)
- Niklas Hauser (@salkinium)
- Raphael Lehmann (@rleh)
- Sascha Schade (@strongly-typed)
Detailed changelog
PR #490 -> 195f7e1.
Tested in hardware by @rleh.
PR #499 -> 276f5b3.
Tested in hardware by @mcbridejc.
PR #497 -> 7df2e7d with medium impact on all targets.
Tested in hardware by @salkinium.
PR #482 -> dc56af2 with high impact on SAMD targets.
Tested in hardware by @henrikssn.
This is a virtual release only for reference that covers everything from 2020-07-01.
No breaking changes.
Features:
- SAMD21 support with GPIO, UART, External Interrupt.
- A rewritten AMNB protocol.
- RaspberryPi support with GPIO (via Linux/WiringPi).
- Better Windows support incl. CI.
- Compliance with CMSIS SystemCoreClock interface.
- TinyUSB integration!
Fixes:
- STM32F3: Fix
Adc::isConversionFinished()
. - STM32: Add missing BDTR register to TIM14.
- STM32: Fix RCC clock enable for Ethernet.
- STM32L1: Fix CMSIS Header selection for -A variants.
- STM32F0/G0: Add support for remapped pins.
- FreeRTOS: Make malloc thread-safe.
New development boards:
- NUCLEO-F334R8 as
modm:board:nucleo-f334r8
. - Feather-M0 as
modm:board:feather-m0
. - SAMD21 Mini as
modm:board:samd21-mini
. - Raspberry Pi v3 as
modm:board:raspberrypi
. - DevEBox STM32F4xx as
modm:board:devebox-stm32f4xx
. - STM32_F32VE as
modm:board:stm32_f32ve
.
New device drivers:
- LSM6DS33 compass and gyroscope as
modm:driver:lsm6ds33
. - LIS3MDL compass as
modm:driver:lis3mdl
. - GPIO Sampler (STM32-only) as
modm:driver:gpio-sampler
. - IS31FL3733 LED matrix driver as
modm:driver:is31fl3733
. - ILI9341 Parallel/SPI display driver as
modm:driver:ili9341
.
Known bugs:
- STM32F7: D-Cache not enabled by default. See #485.
lbuild build
andlbuild clean
do not remove all previously generated files when the configuration changes. See #285.- Generating modm on Windows creates paths with
\
that are not compatible with Unix. See #310.
Many thanks to all our contributors. A special shoutout to first timers 🎉:
- Benjamin Carrick (@nesos)
- Christopher Durand (@chris-durand)
- delphi (@delphi)
- Erik Henriksson (@henrikssn) 🎉
- Lukas Güldenstein (@gueldenstone) 🎉
- Mike Wolfram (@mikewolfram)
- Niklas Hauser (@salkinium)
- Pavel Pletenev (@ASMfreaK)
- Raphael Lehmann (@rleh)
- Sascha Schade (@strongly-typed)
- Vivien Henry (@lukh)
Detailed changelog
PR #478 -> 3072005.
Tested in hardware by @salkinium.
PR #437 -> 43f32e6.
Tested in hardware by @mikewolfram and @delphi.
PR #475 -> cb82eec with low impact in ARM Cortex-M targets.
Tested in hardware by @strongly-typed and @salkinium.
PR #471 -> 48d73dc with low impact on STM32 targets.
Tested in hardware by @chris-durand and @salkinium.
PR #462 -> 8082f69.
Tested in hardware by @strongly-typed.
Wraps <wiringPi.h>
for GPIO driver.
PR #444 -> d3496a3.
Tested in hardware by @henrikssn.
PR #448 -> 821677b.
Tested in hardware by @mikewolfram.
PR #445 -> 9b6aeee.
Tested in hardware by @salkinium.
PR #96 -> 9d8bbfa.
Tested in hardware by @salkinium.
PR #395 -> 8820d6b.
Tested in hardware by @salkinium.
PR #436 -> cbce428.
Tested in hardware by @henrikssn.
PR #430 -> 04688bc.
Tested in hardware by @henrikssn.
PR #428 -> 0994a55.
Tested in hardware by @nesos.
Also adds Feather-M0 and SAMD21 Mini BSPs.
PR #194 -> d2d38a0.
Tested in hardware by @salkinium and @henrikssn.
This is a virtual release only for reference that covers everything from 2020-04-01.
Breaking changes:
- Move FCPU option to
modm:platform:core:f_cpu
lbuild option. modm::Clock
reimplemented usingstd::chrono
.- ZeroMQ support removed as ZeroMQ is unmaintained.
- STM32 DMA driver rewritten for only STM32L4.
Features:
modm::delay()
is nowstd::chrono
compatible.modm::PreciseClock
with microsecond resolution.- Containers derive from
std::iterator
to work with STL algorithms. - Simple (stateless) CRC8, CRC16, CRC32 implementations.
.ramcode
linker section for Cortex-M.- Use linkerscript via lbuild option.
- Simple Flash driver for STM32G0/F4.
- Basic DAC driver for STM32F4.
Fixes:
- Fix
<cmath>
in AVR libstdc++. - Cortex-M: Explicitly set the stack pointer on startup, since some bootloaders forget to load the stackpointer from the image.
- TLSF
free()
ignores null pointers. - STM32F0/F3: Correct Pll Source selection.
New development boards:
- NUCLEO-F303RE as
modm:board:nucleo-f303re
. - Mega 2560 PRO as
modm:board:mega-2560-pro
.
New device drivers:
- LP503x LED driver as
modm:driver:lp503x
. - Sx1276 LoRa Modem as
modm:driver:sx1276
. - Bit-bang encoder output as
modm:driver:encoder.output
.
Known bugs:
lbuild build
andlbuild clean
do not remove all previously generated files when the configuration changes. See #285.- Generating modm on Windows creates paths with
\
that are not compatible with Unix. See #310.
Many thanks to all our contributors. A special shoutout to first timers 🎉:
- Benjamin Carrick (@nesos) 🎉
- Christopher Durand (@chris-durand)
- Felix Petriconi (@FelixPetriconi) 🎉
- Jeff McBride (@mcbridejc) 🎉
- Kaelin Laundry (@WasabiFan)
- Mike Wolfram (@mikewolfram)
- Niklas Hauser (@salkinium)
- Pavel Pletenev (@ASMfreaK)
- Philipp Graf (@luxarf) 🎉
- Raphael Lehmann (@rleh)
- Sascha Schade (@strongly-typed)
- Vivien Henry (@lukh) 🎉
Detailed changelog
PR #420 -> 78d18f6.
Tested in hardware by @mcbridejc.
PR #153 -> 21af57b.
Tested in hardware by @rleh.
PR #418 -> 7d1f7cc.
Tested in hardware by @nesos.
PR #417 -> 9e285db.
Tested in hardware by @salkinium.
PR #366 -> 6e5ebf4.
Tested in hardware by @chris-durand.
PR #396 -> c38550a.
Tested in hardware by @FelixPetriconi.
PR #396 -> c38550a.
Tested in hardware by @FelixPetriconi.
PR #400 -> 80a9c66 with low impact on STM32 targets.
Tested in hardware by @mikewolfram.
The previous DMA implementation is replaced by a new STM32L4-only one.
PR #371 -> 0217a19 with high impact on STM32 targets.
Tested in hardware by @mikewolfram.
PR #382 -> 11ffe92.
Tested in hardware by @chris-durand.
PR #376 -> 141aa71.
Tested in hardware by @luxarf.
Highly efficient implementation via SysTick on Cortex-M and TC0 on AVR. Breaking changes:
modm::Clock
now usingstd::chrono
compatible interface.
PR #217 -> c63a536 with high impact on AVR and STM32 targets.
Tested in hardware by @salkinium.
PR #374 -> b010775 with low impact on all targets.
Tested in hardware by @salkinium.
This is a virtual release only for reference that covers everything from 2020-01-01.
Breaking changes:
modm_assert()
arguments, behavior and assertion handler arguments.- STM32:
Rcc::enablePll(PllFactors&)
arguments.
Features:
- Doxypress support for API docs generation.
- Support for C11/C++11 atomics on ARMv6-M.
- Make heap module optional with linker failure when accidentally calling malloc.
Fixes:
- I2C NACK handling on STM32.
- Static initialization guard for C++.
No new development boards.
New device drivers:
- CAT24AAxx I2C EEPROM as
modm:driver:cat24aa
.
Known bugs:
lbuild build
andlbuild clean
do not remove all previously generated files when the configuration changes. See #285.- Generating modm on Windows creates paths with
\
that are not compatible with Unix. See #310.
Many thanks to all our contributors:
- Christopher Durand (@chris-durand)
- David Hebbeker (@dhebbeker)
- Mike Wolfram (@mikewolfram)
- Niklas Hauser (@salkinium)
- Raphael Lehmann (@rleh)
- Sascha Schade (@strongly-typed)
Detailed changelog
PR #372 -> d21e991.
Tested in hardware by @strongly-typed.
modm:platform:heap
is optional and will cause the linker to fail if malloc is
called without this module.
PR #364 -> b8648be with medium impact on Cortex-M targets.
Tested in hardware by @salkinium.
Breaking changes:
- Single arguments of
Rcc::enable()
now passed as struct.
PR #361 -> e3ba913 with high impact on STM32 targets.
Tested in hardware by @rleh.
Breaking changes:
modm_assert
signature.- Additional
modm_assert_*
functions with new behaviors. - Assertion handler signature and arguments.
PR #351 -> 23ec952 with high impact on all targets.
Tested in hardware by @salkinium.
PR #346 -> 5332765.
Tested in hardware by @salkinium.
As lbuild options in the modm:stdc++
module.
PR #343 -> 4ff604f.
Tested in hardware by @salkinium.
PR #321 -> b721551.
Tested in hardware by @mikewolfram.
This is a virtual release only for reference that covers everything from 2019-10-01.
Breaking changes:
modm:target
option requires extended identifiers.
Features:
- STM32G4 support!
- DFU programmer support.
- STM32G0: Add ADC driver.
Fixes:
- NUCLEO-F303K8: SystemClock for USART1 and I2C1.
- STM32: I2C NACK interrupt.
New development boards:
- NUCLEO-G474RE as
modm:board:nucleo-g474re
. - Black Pill F401 as
modm:board:mini-f401
- Black Pill F411 as
modm:board:mini-f411
New device drivers:
- SK9822 LED driver (via APA102) as
modm:driver:sk9822
.
Known bugs:
lbuild build
andlbuild clean
do not remove all previously generated files when the configuration changes. See #285.- Generating modm on Windows creates paths with
\
that are not compatible with Unix. See #310.
Many thanks to all our contributors. A special shoutout to first timers 🎉:
- Benjamin Weps (@nesos)
- Mike Wolfram (@mikewolfram) 🎉
- Niklas Hauser (@salkinium)
- Raphael Lehmann (@rleh)
Detailed changelog
PR #318 -> fb21f62.
Tested in hardware by @salkinium.
Breaking changes: modm:target
option requires longer identifier, however, it
will give you a list of ambiguous targets to choose from.
PR #306 -> 62ccc26 with high impact in all targets.
Tested in hardware by @salkinium.
PR #302 -> 64d177a with low impact in STM32 targets.
Tested in hardware by @rleh.
Also adds NUCLEO-G474RE board and examples.
PR #287 -> afaea7f with low impact in STM32 targets.
Tested in hardware by @rleh.
This is a virtual release only for reference that covers everything from 2019-07-01.
Breaking changes:
- Modularized CMSIS-DSP integration.
- Refactored CMake build script generator.
- Refactored NRF24 radio driver.
- Removal of deprecated TIPC XPCC backend.
- Removal of deprecated SDL display driver.
Features:
- Remove hardcoded OpenOCD programmer for some boards.
- AVR: size reporting.
- CMake: Support multi-repository builds.
HARDWARE_INIT
helper macro for linker section.
Fixes:
- STM32: Acknowledge external interrupt flags.
- STM32: Shared ADC interrupt.
New device drivers:
- BNO055 IMU driver as
modm:driver:bno055
. - TLC594x PWM driver as
modm:driver:tlc594x
. - APA102 RGB LED driver as
modm:driver:apa102
. - SK6812 RGB LED driver as
modm:driver:sk6812
.
Known bugs:
lbuild build
andlbuild clean
do not remove all previously generated files when the configuration changes. See #285.
Many thanks to all our contributors. A special shoutout to first timers 🎉:
- Benjamin Weps (@nesos)
- Carl Treudler (@cajt)
- Jörg Hoffmann (@19joho66) 🎉
- Kaelin Laundry (@WasabiFan) 🎉
- Linas Nikiperavicius (@linasnikis) 🎉
- Niklas Hauser (@salkinium)
- Pavel Pletenev (@ASMfreaK)
- Sascha Schade (@strongly-typed)
Detailed changelog
PR #267 -> 72d5ae9.
Tested in hardware by @salkinium.
PR #253 -> 22867e0.
Tested in hardware by @danielk.
PR #254 -> 00471ca.
Tested in hardware by @salkinium.
PR #242 -> b570d07.
Tested in hardware by @linasnikis.
PR #191 -> a8edbe8.
Tested in hardware by @salkinium.
Breaking changes: You need to choose the required submodules.
PR #241 -> 022a60a.
Tested in hardware by @salkinium.
PR #240 -> afbd533.
Tested in hardware by @salkinium.
This is a virtual release only for reference that covers everything from 2019-04-01.
Breaking changes:
- Upgrade to AWS a:FreeRTOS v10 with generic port to all Cortex-M devices.
modm::endl
does not flush the IOStream anymore.
Features:
- New printf implementation with better overall syntax support.
- Simple CRC32 implementation.
- Cortex-M: CrashCatcher integration for post-mortem debugging of HardFaults.
- Cortex-M: ITM driver with UART interface.
- Cortex-M: GNU Build ID integration.
Fixes:
- AVR: UART driver for some devices.
New development boards:
- Arduino NANO as
modm:board:arduino-nano
. - NUCLEO-F446RE as
modm:board:nucleo-f446re
.
New device drivers:
- WS2812 RGB LED driver as
modm:driver:ws2812
.
Many thanks to all our contributors:
- Antal Szabó (@Sh4rK)
- Niklas Hauser (@salkinium)
- Pavel Pletenev (@ASMfreaK)
- Sascha Schade (@strongly-typed)
- Sebastian Birke (@se-bi)
Detailed changelog
PR #228 -> 9381fd0.
Tested in hardware by @se-bi.
PR #219 -> a607613.
Tested in hardware by @salkinium.
PR #218 -> 47adfd6.
Tested in hardware by @salkinium.
Removes previous hard fault LED toggling in favor of much better solution.
PR #210 -> 4ab28fe with low impact on STM32 targets.
Tested in hardware by @salkinium.
Breaking changes: Previous port only worked on STM32F4 with our own patches.
PR #198 -> 66c0868 with high impact on STM32F4 targets.
Tested in hardware by @salkinium.
PR #199 -> 4ce1a47 with low impact on all targets.
Tested in hardware by @salkinium.
PR #190 -> a6b4186.
Tested in hardware by @salkinium.
This is a virtual release only for reference that covers everything from 2019-01-01.
Breaking changes:
- All inheritable lbuild board configs are moved from
modm:board:*
tomodm:*
. - Split
modm:platform:core
module intomodm:platform:cortex-m
module. - Refactor SysTick and RCC module.
Features:
- Black Magic Probe upload support.
- STM32: RCC driver with enable()/disable() functions for clocks.
- Cortex-M: Add option to link with flash offset for bootloaders.
- STM32G0 support!
Fixes:
- HD44780: 4-bit initialization.
- NUCLEO-F303K8: Fix SystemClock for CAN.
New device drivers:
- PAT9125EL motion sensor driver as
modm:driver:pat9125el
. - MAX7219 LED matrix driver as
modm:driver:max7219
.
Many thanks to all our contributors. A special shoutout to first timers 🎉:
- Christopher Durand (@chris-durand)
- Fabian Greif (@dergraaf)
- Niklas Hauser (@salkinium)
- Patrick Servello (@patrick--) 🎉
- Pavel Pletenev (@ASMfreaK) 🎉
- Raphael Lehmann (@rleh)
- Sascha Schade (@strongly-typed)
- Sebastian Birke (@se-bi)
- Thomas Figueroa (@OperativeF) 🎉
- Zawadniak Pedro (@PDR5) 🎉
Detailed changelog
PR #187 -> 5dd598c.
Tested in hardware by @dergraaf.
PR #187 -> 5dd598c.
Tested in hardware by @dergraaf.
PR #167 -> 399a533.
Tested in hardware by @salkinium.
Breaking changes:
modm:platform:clock.cortex
->modm:platform:systick
.Rcc::setFlashLatency(Frequency);
->Rcc::setFlashLatency<Frequency>();
.
PR #180 -> c7b35ca with high impact on STM32 targets.
Tested in hardware by @salkinium.
PR #177 -> 4a82a94 with low impact on STM32 targets.
Tested in hardware by @salkinium.
Breaking changes: Some options move to modm:platform:cortex-m
module.
PR #176 -> dee5ea2 with high impact on STM32 targets.
Tested in hardware by @salkinium.
Breaking changes: Config inheritance renamed from modm:board:*
to modm:*
.
PR #171 -> 564effa with high impact on all targets.
Tested by @salkinium.
PR #136 -> 4f25cdf.
Tested in hardware by @chris-durand.
This is a virtual release only for reference that covers everything from 2018-10-01.
No breaking changes.
Features:
- SCons: Multi-repository build script generation.
- AVR: Add libstdc++
- Doxygen: Refactor Doxygen groups to match lbuild structure.
- STM32F0/F3/F7/L0: Add I2C driver.
- STM32L4: Add SPI (via USART) driver.
- STM32F0: Add ADC driver.
Fixes:
- STM32: Timer dead time register mask.
- STM32L4: ADC driver fixed for L4x2.
New device drivers:
- PCA9548A I2C multiplex driver as
modm:driver:pca9548a
.
Many thanks to all our contributors. A special shoutout to first timers 🎉:
- Antal Szabó (@Sh4rK)
- Benjamin Weps (@nesos) 🎉
- Carl Treudler (@cajt)
- Christopher Durand (@chris-durand)
- Fabian Greif (@dergraaf)
- Jörg Hoffmann (@19joho66) 🎉
- Kaelin Laundry (@WasabiFan) 🎉
- Linas Nikiperavicius (@linasnikis) 🎉
- Mike Wolfram (@mikewolfram) 🎉
- Niklas Hauser (@salkinium)
- Niklas Meyer (@Zweistein885) 🎉
- Patrick Servello (@patrick--) 🎉
- Pavel Pletenev (@ASMfreaK) 🎉
- Raphael Lehmann (@rleh)
- Sascha Schade (@strongly-typed)
- Sebastian Birke (@se-bi)
- Thomas Figueroa (@OperativeF) 🎉
- Zawadniak Pedro (@PDR5) 🎉
Detailed changelog
PR #81 -> 77ae899.
Tested in hardware by @strongly-typed.
PR #132 -> af2b352.
Tested in hardware by @cajt.
PR #122 -> 544f6d3.
Tested in hardware by @chris-durand.
PR #118 -> e46e7df.
Tested in hardware by @chris-durand.
PR #102 -> feb1f3c.
Tested by @salkinium.
PR #82 -> eba68a4.
Tested in hardware by @chris-durand.
This is a virtual release only for reference that covers everything from 2018-07-01.
Breaking changes:
- Move build script generator modules from
modm:build.*
tomodm:build:*
. - Move XPCC generator to own module
modm:communication:xpcc:generator
.
Features:
- Generate LED tables via lbuild.
- STM32F3/L4: Add comparator driver.
- Enable lbuild module for SAB2.
- OpenOCD customization via
openocd.cfg
file. - Improved GDB TUI debugging with automatic background OpenOCD start/stop.
- A new Homepage!
- A lot of new module documentation.
Fixes:
- STM32: Compilation of ADC driver.
- ELF debug section cleanup.
New development boards:
- NUCLEO-F042K6 as
modm:board:nucleo-f042k6
.
Many thanks to all our contributors. A special shoutout to first timers 🎉:
- Amarok McLion (@amarokmclion) 🎉
- Antal Szabó (@Sh4rK)
- Benjamin Weps (@nesos) 🎉
- Carl Treudler (@cajt)
- Christopher Durand (@chris-durand)
- Fabian Greif (@dergraaf)
- Jörg Hoffmann (@19joho66) 🎉
- Kaelin Laundry (@WasabiFan) 🎉
- Linas Nikiperavicius (@linasnikis) 🎉
- Niklas Hauser (@salkinium)
- Niklas Meyer (@Zweistein885) 🎉
- Patrick Servello (@patrick--) 🎉
- Pavel Pletenev (@ASMfreaK) 🎉
- Raphael Lehmann (@rleh)
- Sascha Schade (@strongly-typed)
- Sascha Schade (strongly-typed) 🎉
- Sebastian Birke (@se-bi) 🎉
- Thomas Figueroa (@OperativeF) 🎉
- Zawadniak Pedro (@PDR5) 🎉
Detailed changelog
PR #58 -> cbbf3f6.
Tested by @salkinium.
The predecessor to modm was xpcc, please check the xpcc changelog for releases up to 2018q2.
During the transition from xpcc to modm from 2016 to 2018 there were many breaking changes with an overview available in the porting guide from xpcc to modm.
Please note that contributions from xpcc were continuously ported to modm.