{"full_name":"modm-io/modm","owner":"modm-io","name":"modm","shard":"1","url":"https://github.com/modm-io/modm","description":"modm: a C++23 library generator for AVR and ARM Cortex-M devices","homepage":"https://modm.io","topics":["avr","cortex-m","cpp","hal","microcontroller","data-driven","generator","stm32","eurobot","modm","microcontrollers","drivers","embedded"],"tag_pages":["avr","cpp","drivers","embedded","generator","microcontroller","stm32"],"language":"C++","license":"MPL-2.0","avatar":"https://avatars.githubusercontent.com/u/16440376?v=4","created_at":"2016-12-27T14:01:35Z","pushed_at":"2026-11-15T23:15:52Z","metrics":{"stars":1000,"forks":180,"watchers":38,"issues":311,"prs":975,"releases":23,"issues_open":11,"issues_closed":300,"prs_open":28,"prs_closed":119,"prs_merged":828,"discussions":134},"growth":{"day":{"stars":0,"forks":0,"base_day":"2026-11-15"}},"history":{"dates":["2026-11-10","2026-11-11","2026-11-12","2026-11-13","2026-11-14","2026-11-15","2026-11-16"],"stars":[996,997,998,998,1000,1000,1000],"forks":[180,180,180,180,180,180,180],"watchers":[null,38,38,38,38,38,38],"issues_open":[null,11,11,11,11,11,11],"prs_open":[null,28,29,28,29,29,28]},"boards":{},"same_owner":[],"issues":[{"number":285,"title":"Changing board configuration leaves behind unnecessary files, even after \"lbuild clean\"","comments":20,"created_at":"2019-09-10T00:08:46Z"},{"number":1160,"title":"Linker issues with newlib version 4.4.0 ","comments":5,"created_at":"2024-05-03T10:54:06Z"},{"number":1079,"title":"OpenOCD cannot configure TPIU/SWO on STM32H7","comments":5,"created_at":"2023-09-13T20:04:03Z"},{"number":488,"title":"Macro/global struct conflicts from CMSIS","comments":3,"created_at":"2020-10-05T21:45:11Z"},{"number":1304,"title":"Fiber causes errors with Ozone","comments":2,"created_at":"2025-12-04T22:21:19Z"},{"number":1276,"title":"CMake project generates incorrect DWARF source paths","comments":2,"created_at":"2025-07-06T11:05:10Z"},{"number":1103,"title":"lbuild fails when relative paths are on different Windows drives","comments":2,"created_at":"2023-12-04T11:39:44Z"},{"number":1178,"title":"CAN messages set to extended by default in only one constructor","comments":1,"created_at":"2024-07-06T00:47:57Z"}],"discussions":[{"number":1368,"title":"J-link session teardown breaks modm::delay/DWT->CYCCNT","comments":2,"category":"General","created_at":"2026-07-19T08:25:27Z"},{"number":1367,"title":"adc support for STM32H5","comments":1,"category":"Ideas","created_at":"2026-07-16T16:18:58Z"},{"number":1364,"title":"Linker errors","comments":1,"category":"Q&A","created_at":"2026-07-06T09:11:37Z"},{"number":1346,"title":"Problems with examples and timings","comments":3,"category":"Q&A","created_at":"2026-03-16T15:31:25Z"},{"number":1316,"title":"Support for ADC oversampling with stm32h7","comments":2,"category":"Q&A","created_at":"2026-01-06T10:39:40Z"},{"number":1292,"title":"Going for more standard C++ on AVR","comments":2,"category":"Ideas","created_at":"2025-09-16T06:07:55Z"},{"number":1286,"title":"Use with ThreadX - SysTick conflict","comments":1,"category":"Q&A","created_at":"2025-08-18T21:54:31Z"},{"number":1272,"title":"Fixes of multiple releated problems in one pull request?","comments":1,"category":"Q&A","created_at":"2025-06-22T20:14:27Z"}],"latest_release":{"name":"2026q3 release","tag":"2026q3","published_at":"2026-10-01T07:34:26Z","body":"This release covers everything from 2026-07-01 and has been tested with avr-gcc\r\nv14.2.0 from upstream and arm-none-eabi-gcc v14.2.1 from xpack.\r\n\r\nBreaking changes:\r\n\r\n`modm::math::crc8_ccitt` discarded the MSB of every input byte on non-AVR\r\ntargets and now computes the correct CRC. This changes the AMNB header CRCs on\r\nthe wire, so AMNB nodes must be updated together.\r\n\r\nFeatures:\r\n\r\n- RP2040 PIO driver with compile-time assembler.\r\n- RP2040 flash driver.\r\n- STM32H7 flash driver with single and dual bank support.\r\n- CMSIS-DAPv2 integration to turn any USB-capable board into a debug probe.\r\n- CRC-8/Maxim implementation.\r\n\r\nIntegrated Projects:\r\n\r\n- CMSIS-DAP added at v2.1.2.\r\n\r\nFixes:\r\n\r\n- Fix PSPLIM triggering during fiber context switch on ARMv8-M.\r\n- 32-bit timer counter size for TIM2 and TIM5 on STM32H5.\r\n- Compilation of STM32 GPIO module with GCC15.\r\n- Flash memory detection for aliased and banked flash on Cortex-M.\r\n- Windows compatibility of TinyUSB descriptors.\r\n\r\nNew device drivers:\r\n\r\n- LTC2497 ADC as `modm:driver:ltc2497`.\r\n- LTC2499 ADC as `modm:driver:ltc2499`.\r\n- MCP23008/MCP23S08 IO expander as `modm:driver:mcp23x08`.\r\n- PCAL6524 IO expander as `modm:driver:pcal6524`.\r\n- MAX14661 analog multiplexer as `modm:driver:max14661`.\r\n- MC33XS2410 power switch as `modm:driver:mc33xs2410`.\r\n- AT21CSx1 single-wire EEPROM as `modm:driver:at21csx1`.\r\n\r\nKnown bugs:\r\n\r\n- OpenOCD cannot enable SWO on STM32H7 targets. See #1079.\r\n- `arm-none-eabi-gdb` TUI and GDBGUI interfaces are not supported on Windows.\r\n  See #591.\r\n- Generating modm on Windows creates paths with `\\` that are not compatible with\r\n  Unix. See #310.\r\n- `lbuild build` and `lbuild clean` do not remove all previously generated files\r\n  when the configuration changes. See #285.\r\n\r\nMany thanks to all our contributors:\r\n\r\n- Andrey Kunitsyn (@andryblack)\r\n- Christopher Durand (@chris-durand)\r\n- Henrik Hose (@hshose)\r\n- Matthias Schuller (@maschull106) 🎉\r\n- Niklas Hauser (@salkinium)\r\n- TudorFanaru18 (@TudorFanaru18) 🎉\r\n\r\nPR #1383 -> 2026q3.\r\n\r\n<details>\r\n<summary>Detailed changelog</summary>\r\n\r\n#### 2026-09-20: Add AT21CSx1 EEPROM and MC33XS2410 power switch drivers\r\n\r\nPR #1378 -> 434ca5c.\r\nTested in hardware by @salkinium.\r\n\r\n#### 2026-08-07: Add ADC, IO expander and analog MUX drivers\r\n\r\nPR #1372 -> 3db0a3d.\r\nTested in hardware by @salkinium.\r\n\r\n#### 2026-07-14: Add STM32H7 flash driver\r\n\r\nPR #1345 -> cb9cff4.\r\nTested in hardware by @hshose.\r\n\r\n#### 2026-07-12: Add CMSIS-DAPv2 integration\r\n\r\nPR #1360 -> 42ae970.\r\nTested in hardware by @salkinium.\r\n\r\n#### 2026-07-05: Add RP2040 flash driver\r\n\r\nPR #1362 -> 4d55600.\r\nTested in hardware by @andryblack.\r\n\r\n#### 2026-07-04: Add RP2040 PIO driver with compile-time assembler\r\n\r\nPR #1358 -> a50e1cc.\r\nTested in hardware by @andryblack.\r\n\r\n</details>\r\n","is_prerelease":false},"readme":true,"readme_zh":false,"news":[],"stale":false,"snapshot_at":"2026-11-16T09:23:14Z","history_start":"2026-09-06"}