@@ -52,6 +52,123 @@ pay attention to. Medium impact changes are also worth looking at.
52
52
53
53
<!-- releases-->
54
54
55
+ ## 2024-07-01: 2024q2 release
56
+
57
+ This release covers everything from 2024-04-01 and has been tested with avr-gcc
58
+ v12.2.0 from Upstream and arm-none-eabi-gcc v12.2.1 from xpack.
59
+
60
+ Breaking changes:
61
+
62
+ - The STM32 UART peripheral moves the buffer configuration from lbuild to C++.
63
+ - Renames ` modm::fiber::yield() ` to ` modm::this_fiber::yield() ` .
64
+ - Renames ` modm::fiber::sleep() ` to ` modm::this_fiber::sleep_for() ` .
65
+
66
+ Features:
67
+
68
+ - Added ` :platform:cortex-m:linkerscript.flash_reserved ` option to reserve space
69
+ at the end of FLASH.
70
+ - Add DMA capabilities to STM32F0/G0 ADC.
71
+ - Implement full atomics interface for AVR and STM32.
72
+ - Implement C++ concurrency interface for fibers.
73
+ - Add fiber stack overflow detection on ARMv8-M.
74
+
75
+ Integrated Projects:
76
+
77
+ - nlohmann/json added at v3.11.3.
78
+
79
+ Fixes:
80
+
81
+ - Communicate ` :platform:cortex-m:linkerscript.flash_offset ` to dfu-util tool.
82
+ - Fix flash section erasing on STM32G4.
83
+ - Fix static initialization guard implementation.
84
+
85
+ New device drivers:
86
+
87
+ - AS5600 absolute encoder driver as [ ` modm:driver:as5600 ` ] [ ] .
88
+
89
+ Known bugs:
90
+
91
+ - STM32F723 is missing support to use built-in USB HS PHY. See [ #1171 ] [ ] .
92
+ - OpenOCD cannot enable SWO on STM32H7 targets. See [ #1079 ] [ ] .
93
+ - Compiling Protothreads and Resumable Functions is broken on GCC13. See [ #1012 ] [ ] .
94
+ - ` arm-none-eabi-gdb ` TUI and GDBGUI interfaces are not supported on Windows.
95
+ See [ #591 ] [ ] .
96
+ - STM32F7: D-Cache not enabled by default. See [ #485 ] [ ] .
97
+ - Generating modm on Windows creates paths with ` \ ` that are not compatible with
98
+ Unix. See [ #310 ] [ ] .
99
+ - ` lbuild build ` and ` lbuild clean ` do not remove all previously generated files
100
+ when the configuration changes. See [ #285 ] [ ] .
101
+
102
+ Many thanks to all our contributors.
103
+ A special shoutout to first timers 🎉:
104
+
105
+ - Akos Becsey ([ @becseya ] [ ] ) 🎉
106
+ - Christopher Durand ([ @chris-durand ] [ ] )
107
+ - Daniel Waldhäusl
108
+ - Dima Barsky ([ @kapacuk ] [ ] )
109
+ - Hannes Ellinger ([ @el-han ] [ ] ) 🎉
110
+ - Henrik Hose ([ @hshose ] [ ] )
111
+ - Niklas Hauser ([ @salkinium ] [ ] )
112
+ - Thomas Sommer ([ @TomSaw ] [ ] )
113
+
114
+ PR [ #1175 ] [ ] -> [ 2024q2] [ ] .
115
+
116
+ <details >
117
+ <summary >Detailed changelog</summary >
118
+
119
+ #### 2024-06-24: Move buffer configuration from lbuild to C++ for STM32
120
+
121
+ The buffer configuration is now implemented in C++.
122
+ Please replace any ` modm::platform::U(s)artN ` type with:
123
+
124
+ ``` cpp
125
+ using namespace modm ::platform;
126
+ // Using only hardware buffers for Tx and Rx (both 1 symbol)
127
+ using UartN = BufferedUart<U(s)artHalN>;
128
+ // using only TX software buffer
129
+ using UartN = BufferedUart<U(s)artHalN, UartTxBuffer<512>>;
130
+ // using only RX software buffer
131
+ using UartN = BufferedUart<U(s)artHalN, UartRxBuffer<256>>;
132
+ // using both TX and RX software buffers
133
+ using UartN = BufferedUart<U(s)artHalN, UartTxBuffer<512>, UartRxBuffer<256>>;
134
+ ```
135
+
136
+ PR [#1156][] -> [cf7769b][].
137
+ Tested in hardware by [@kapacuk][] and [@salkinium][].
138
+
139
+ #### 2024-06-17: Add AS5600 absolute encoder driver
140
+
141
+ PR [#1166][] -> [55c88ba][].
142
+ Tested in hardware by [@tomsaw][].
143
+
144
+ #### 2024-06-16: Add fiber stack overflow detection on ARMv8-M
145
+
146
+ PR [#1168][] -> [6be3199][].
147
+ Tested in hardware by [@salkinium][].
148
+
149
+ #### 2024-05-20: Implement concurrency interface for fibers
150
+
151
+ PR [#1026][] -> [39a9f4d][].
152
+ Tested in hardware by [@salkinium][].
153
+
154
+ #### 2024-05-20: Implement all atomics for AVR and STM32
155
+
156
+ PR [#1164][] -> [8a924f9][].
157
+ Tested in hardware by [@salkinium][].
158
+
159
+ #### 2024-05-19: Add DMA capabilities to STM32F0/G0 ADC
160
+
161
+ PR [#1136][] -> [901a3dc][].
162
+ Tested in hardware by [@victorandrehc][].
163
+
164
+ #### 2024-05-19: Fix STM32G4 flash erase
165
+
166
+ PR [#1146][] -> [71becdc][].
167
+ Tested in hardware by [@hshose][].
168
+
169
+ </details>
170
+
171
+
55
172
## 2024-04-01: 2024q1 release
56
173
57
174
This release covers everything from 2024-01-01 and has been tested with avr-gcc
@@ -3018,6 +3135,7 @@ Please note that contributions from xpcc were continuously ported to modm.
3018
3135
[2023q3]: https://github.com/modm-io/modm/releases/tag/2023q3
3019
3136
[2023q4]: https://github.com/modm-io/modm/releases/tag/2023q4
3020
3137
[2024q1]: https://github.com/modm-io/modm/releases/tag/2024q1
3138
+ [2024q2]: https://github.com/modm-io/modm/releases/tag/2024q2
3021
3139
3022
3140
[@19joho66]: https://github.com/19joho66
3023
3141
[@ASMfreaK]: https://github.com/ASMfreaK
@@ -3036,6 +3154,7 @@ Please note that contributions from xpcc were continuously ported to modm.
3036
3154
[@Zweistein885]: https://github.com/Zweistein885
3037
3155
[@amarokmclion]: https://github.com/amarokmclion
3038
3156
[@andryblack]: https://github.com/andryblack
3157
+ [@becseya]: https://github.com/becseya
3039
3158
[@cajt]: https://github.com/cajt
3040
3159
[@ceremcem]: https://github.com/ceremcem
3041
3160
[@chris-durand]: https://github.com/chris-durand
@@ -3045,6 +3164,7 @@ Please note that contributions from xpcc were continuously ported to modm.
3045
3164
[@delphi]: https://github.com/delphi
3046
3165
[@dergraaf]: https://github.com/dergraaf
3047
3166
[@dhebbeker]: https://github.com/dhebbeker
3167
+ [@el-han]: https://github.com/el-han
3048
3168
[@gueldenstone]: https://github.com/gueldenstone
3049
3169
[@henrikssn]: https://github.com/henrikssn
3050
3170
[@hshose]: https://github.com/hshose
@@ -3123,6 +3243,7 @@ Please note that contributions from xpcc were continuously ported to modm.
3123
3243
[`modm:driver:ads816x`]: https://modm.io/reference/module/modm-driver-ads816x
3124
3244
[`modm:driver:apa102`]: https://modm.io/reference/module/modm-driver-apa102
3125
3245
[`modm:driver:as5047`]: https://modm.io/reference/module/modm-driver-as5047
3246
+ [`modm:driver:as5600`]: https://modm.io/reference/module/modm-driver-as5600
3126
3247
[`modm:driver:at24mac402`]: https://modm.io/reference/module/modm-driver-at24mac402
3127
3248
[`modm:driver:block.device:spi.stack.flash`]: https://modm.io/reference/module/modm-driver-block-device-spi-stack-flash
3128
3249
[`modm:driver:bmi088`]: https://modm.io/reference/module/modm-driver-bmi088
@@ -3174,6 +3295,7 @@ Please note that contributions from xpcc were continuously ported to modm.
3174
3295
[#1012]: https://github.com/modm-io/modm/pull/1012
3175
3296
[#1017]: https://github.com/modm-io/modm/pull/1017
3176
3297
[#1018]: https://github.com/modm-io/modm/pull/1018
3298
+ [#1026]: https://github.com/modm-io/modm/pull/1026
3177
3299
[#1028]: https://github.com/modm-io/modm/pull/1028
3178
3300
[#102]: https://github.com/modm-io/modm/pull/102
3179
3301
[#1032]: https://github.com/modm-io/modm/pull/1032
@@ -3206,11 +3328,19 @@ Please note that contributions from xpcc were continuously ported to modm.
3206
3328
[#1127]: https://github.com/modm-io/modm/pull/1127
3207
3329
[#1134]: https://github.com/modm-io/modm/pull/1134
3208
3330
[#1135]: https://github.com/modm-io/modm/pull/1135
3331
+ [#1136]: https://github.com/modm-io/modm/pull/1136
3209
3332
[#1138]: https://github.com/modm-io/modm/pull/1138
3210
3333
[#1140]: https://github.com/modm-io/modm/pull/1140
3211
3334
[#1143]: https://github.com/modm-io/modm/pull/1143
3335
+ [#1146]: https://github.com/modm-io/modm/pull/1146
3212
3336
[#1148]: https://github.com/modm-io/modm/pull/1148
3213
3337
[#1153]: https://github.com/modm-io/modm/pull/1153
3338
+ [#1156]: https://github.com/modm-io/modm/pull/1156
3339
+ [#1164]: https://github.com/modm-io/modm/pull/1164
3340
+ [#1166]: https://github.com/modm-io/modm/pull/1166
3341
+ [#1168]: https://github.com/modm-io/modm/pull/1168
3342
+ [#1171]: https://github.com/modm-io/modm/pull/1171
3343
+ [#1175]: https://github.com/modm-io/modm/pull/1175
3214
3344
[#118]: https://github.com/modm-io/modm/pull/118
3215
3345
[#122]: https://github.com/modm-io/modm/pull/122
3216
3346
[#132]: https://github.com/modm-io/modm/pull/132
@@ -3476,6 +3606,7 @@ Please note that contributions from xpcc were continuously ported to modm.
3476
3606
[389a9c3]: https://github.com/modm-io/modm/commit/389a9c3
3477
3607
[3936a28]: https://github.com/modm-io/modm/commit/3936a28
3478
3608
[399a533]: https://github.com/modm-io/modm/commit/399a533
3609
+ [39a9f4d]: https://github.com/modm-io/modm/commit/39a9f4d
3479
3610
[3ba71c9]: https://github.com/modm-io/modm/commit/3ba71c9
3480
3611
[3cee015]: https://github.com/modm-io/modm/commit/3cee015
3481
3612
[3ecad35]: https://github.com/modm-io/modm/commit/3ecad35
@@ -3499,6 +3630,7 @@ Please note that contributions from xpcc were continuously ported to modm.
3499
3630
[5332765]: https://github.com/modm-io/modm/commit/5332765
3500
3631
[53796b0]: https://github.com/modm-io/modm/commit/53796b0
3501
3632
[544f6d3]: https://github.com/modm-io/modm/commit/544f6d3
3633
+ [55c88ba]: https://github.com/modm-io/modm/commit/55c88ba
3502
3634
[55d5911]: https://github.com/modm-io/modm/commit/55d5911
3503
3635
[564effa]: https://github.com/modm-io/modm/commit/564effa
3504
3636
[589aea7]: https://github.com/modm-io/modm/commit/589aea7
@@ -3518,10 +3650,12 @@ Please note that contributions from xpcc were continuously ported to modm.
3518
3650
[66c0868]: https://github.com/modm-io/modm/commit/66c0868
3519
3651
[6b4d656]: https://github.com/modm-io/modm/commit/6b4d656
3520
3652
[6b5b4ce]: https://github.com/modm-io/modm/commit/6b5b4ce
3653
+ [6be3199]: https://github.com/modm-io/modm/commit/6be3199
3521
3654
[6de70ba]: https://github.com/modm-io/modm/commit/6de70ba
3522
3655
[6e5ebf4]: https://github.com/modm-io/modm/commit/6e5ebf4
3523
3656
[6e7c12f]: https://github.com/modm-io/modm/commit/6e7c12f
3524
3657
[6e9f000]: https://github.com/modm-io/modm/commit/6e9f000
3658
+ [71becdc]: https://github.com/modm-io/modm/commit/71becdc
3525
3659
[72d5ae9]: https://github.com/modm-io/modm/commit/72d5ae9
3526
3660
[7318c28]: https://github.com/modm-io/modm/commit/7318c28
3527
3661
[7330500]: https://github.com/modm-io/modm/commit/7330500
@@ -3553,9 +3687,11 @@ Please note that contributions from xpcc were continuously ported to modm.
3553
3687
[8896b5b]: https://github.com/modm-io/modm/commit/8896b5b
3554
3688
[897579e]: https://github.com/modm-io/modm/commit/897579e
3555
3689
[8a3a20b]: https://github.com/modm-io/modm/commit/8a3a20b
3690
+ [8a924f9]: https://github.com/modm-io/modm/commit/8a924f9
3556
3691
[8bcbe25]: https://github.com/modm-io/modm/commit/8bcbe25
3557
3692
[8c322a2]: https://github.com/modm-io/modm/commit/8c322a2
3558
3693
[8ca2f35]: https://github.com/modm-io/modm/commit/8ca2f35
3694
+ [901a3dc]: https://github.com/modm-io/modm/commit/901a3dc
3559
3695
[9036666]: https://github.com/modm-io/modm/commit/9036666
3560
3696
[90774be]: https://github.com/modm-io/modm/commit/90774be
3561
3697
[923f9c1]: https://github.com/modm-io/modm/commit/923f9c1
@@ -3618,6 +3754,7 @@ Please note that contributions from xpcc were continuously ported to modm.
3618
3754
[cbce428]: https://github.com/modm-io/modm/commit/cbce428
3619
3755
[cc15b1a]: https://github.com/modm-io/modm/commit/cc15b1a
3620
3756
[cceb801]: https://github.com/modm-io/modm/commit/cceb801
3757
+ [cf7769b]: https://github.com/modm-io/modm/commit/cf7769b
3621
3758
[d1938eb]: https://github.com/modm-io/modm/commit/d1938eb
3622
3759
[d21e991]: https://github.com/modm-io/modm/commit/d21e991
3623
3760
[d2d38a0]: https://github.com/modm-io/modm/commit/d2d38a0
0 commit comments