Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2022q4 release #937

Merged
merged 8 commits into from
Jan 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,6 @@
[submodule "ext/nanopb/nanopb"]
path = ext/nanopb/nanopb
url = https://github.com/modm-ext/nanopb-partial.git
[submodule "ext/arm/cmsis-dsp"]
path = ext/arm/cmsis-dsp
url = https://github.com/modm-ext/cmsis-dsp-partial.git
5 changes: 3 additions & 2 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ Henrik Hose <henrik.hose@rwth-aachen.de>
Jacob Schultz Andersen <schultz.jacob@gmail.com>
Jakob Riepler <jakob@chaosfield.at>
Jeff McBride <mcbridejc@gmail.com>
Julia Gutheil <julia.gutheil@rwth-aachen.de>
Jonas Kazem Andersen <jonas.kazem.andersen@gmail.com>
Julia Gutheil <julia.gutheil@rwth-aachen.de>
Jörg Hoffmann <joerg.hoffmann@bruker.com>
Kaelin Laundry <wasabifan@outlook.com>
Kevin Läufer <kevin.laeufer@rwth-aachen.de>
Expand Down Expand Up @@ -64,14 +64,15 @@ Pavel Pletenev <cpp.create@gmail.com>
Philipp Graf <luxarf@luxarf.de>
Raphael Lehmann <raphael@rleh.de>
Raphael Lehmann <raphael@rleh.de> <raphael.lehmann@ducktrain.io>
Sarah Vilete <ssmavilete@gmail.com>
Rasmus Kleist <kleist.rasmus@gmail.com>
Sarah Vilete <ssmavilete@gmail.com>
Sascha Schade <stronglytyp3d@gmail.com>
Sascha Schade <stronglytyp3d@gmail.com> <davedwebb8211@gmail.com>
Sascha Schade <stronglytyp3d@gmail.com> <strongly-typed@nan>
Sascha Schade <stronglytyp3d@gmail.com> <stronly@typed.nan>
Sebastian Birke <git@se-bi.de>
Sebastian Tibor Bakonyvari <21312267+twast92@users.noreply.github.com>
Sergey Pluzhnikov <sergey@cartken.com>
Sergiy Yevtushenko <sergiy.yevtushenko@gmail.com>
Steven Macías <ed.steven.macias@gmail.com>
Tarik TIRE <kronos@aspbooster.com>
Expand Down
79 changes: 79 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,80 @@ pay attention to. Medium impact changes are also worth looking at.

<!--releases-->

## 2023-01-01: 2022q4 release

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` and `lbuild 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][]) 🎉

PR [#937][] -> [2022q4][].

<details>
<summary>Detailed changelog</summary>

#### 2022-12-04: Add basic SAMx7x ADC driver

PR [#935][] -> [7330500][].
Tested in hardware by [@chris-durand][].

</details>


## 2022-10-01: 2022q3 release

This release covers everything from 2022-07-01 and has been tested with avr-gcc
Expand Down Expand Up @@ -2186,6 +2260,7 @@ Please note that contributions from xpcc were continuously ported to modm.
[2022q1]: https://github.com/modm-io/modm/releases/tag/2022q1
[2022q2]: https://github.com/modm-io/modm/releases/tag/2022q2
[2022q3]: https://github.com/modm-io/modm/releases/tag/2022q3
[2022q4]: https://github.com/modm-io/modm/releases/tag/2022q4

[@19joho66]: https://github.com/19joho66
[@ASMfreaK]: https://github.com/ASMfreaK
Expand Down Expand Up @@ -2231,6 +2306,7 @@ Please note that contributions from xpcc were continuously ported to modm.
[@salkinium]: https://github.com/salkinium
[@sarahvilete]: https://github.com/sarahvilete
[@se-bi]: https://github.com/se-bi
[@ser-plu]: https://github.com/ser-plu
[@strongly-typed]: https://github.com/strongly-typed
[@tarush53]: https://github.com/tarush53
[@twasilczyk]: https://github.com/twasilczyk
Expand Down Expand Up @@ -2482,6 +2558,8 @@ Please note that contributions from xpcc were continuously ported to modm.
[#900]: https://github.com/modm-io/modm/pull/900
[#902]: https://github.com/modm-io/modm/pull/902
[#917]: https://github.com/modm-io/modm/pull/917
[#935]: https://github.com/modm-io/modm/pull/935
[#937]: https://github.com/modm-io/modm/pull/937
[#96]: https://github.com/modm-io/modm/pull/96

[00471ca]: https://github.com/modm-io/modm/commit/00471ca
Expand Down Expand Up @@ -2558,6 +2636,7 @@ Please note that contributions from xpcc were continuously ported to modm.
[6e7c12f]: https://github.com/modm-io/modm/commit/6e7c12f
[6e9f000]: https://github.com/modm-io/modm/commit/6e9f000
[72d5ae9]: https://github.com/modm-io/modm/commit/72d5ae9
[7330500]: https://github.com/modm-io/modm/commit/7330500
[77ae899]: https://github.com/modm-io/modm/commit/77ae899
[78d18f6]: https://github.com/modm-io/modm/commit/78d18f6
[7b5827f]: https://github.com/modm-io/modm/commit/7b5827f
Expand Down
72 changes: 72 additions & 0 deletions docs/release/2022q4.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
## 2023-01-01: 2022q4 release

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` and `lbuild 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) 🎉

PR #937 -> 2022q4.

<details>
<summary>Detailed changelog</summary>

#### 2022-12-04: Add basic SAMx7x ADC driver

PR #935 -> 7330500.
Tested in hardware by @chris-durand.

</details>
2 changes: 1 addition & 1 deletion examples/nucleo_f429zi/cmsis_dsp/bayes/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

#define main arm_cmsis_dsp_example
#define while return index; void
#include "../../../../ext/arm/cmsis/CMSIS/DSP/Examples/ARM/arm_bayes_example/arm_bayes_example_f32.c"
#include "../../../../ext/arm/cmsis-dsp/CMSIS-DSP/Examples/ARM/arm_bayes_example/arm_bayes_example_f32.c"
#undef while
#undef main

Expand Down
2 changes: 1 addition & 1 deletion examples/nucleo_f429zi/cmsis_dsp/class_marks/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#define main arm_cmsis_dsp_example
#define std var_std
#define while return ARM_MATH_SUCCESS; void // has no status variable
#include "../../../../ext/arm/cmsis/CMSIS/DSP/Examples/ARM/arm_class_marks_example/arm_class_marks_example_f32.c"
#include "../../../../ext/arm/cmsis-dsp/CMSIS-DSP/Examples/ARM/arm_class_marks_example/arm_class_marks_example_f32.c"
#undef while
#undef main
#undef std
Expand Down
6 changes: 3 additions & 3 deletions examples/nucleo_f429zi/cmsis_dsp/convolution/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wsign-compare"
#define main arm_cmsis_dsp_example
#include "../../../../ext/arm/cmsis/CMSIS/DSP/Examples/ARM/arm_convolution_example/math_helper.h"
#include "../../../../ext/arm/cmsis/CMSIS/DSP/Examples/ARM/arm_convolution_example/math_helper.c"
#include "../../../../ext/arm/cmsis-dsp/CMSIS-DSP/Examples/ARM/arm_convolution_example/math_helper.h"
#include "../../../../ext/arm/cmsis-dsp/CMSIS-DSP/Examples/ARM/arm_convolution_example/math_helper.c"
#define while return status; void
#include "../../../../ext/arm/cmsis/CMSIS/DSP/Examples/ARM/arm_convolution_example/arm_convolution_example_f32.c"
#include "../../../../ext/arm/cmsis-dsp/CMSIS-DSP/Examples/ARM/arm_convolution_example/arm_convolution_example_f32.c"
#undef while
#undef main
#pragma GCC diagnostic pop
Expand Down
2 changes: 1 addition & 1 deletion examples/nucleo_f429zi/cmsis_dsp/dotproduct/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

#define main arm_cmsis_dsp_example
#define while return status; void
#include "../../../../ext/arm/cmsis/CMSIS/DSP/Examples/ARM/arm_dotproduct_example/arm_dotproduct_example_f32.c"
#include "../../../../ext/arm/cmsis-dsp/CMSIS-DSP/Examples/ARM/arm_dotproduct_example/arm_dotproduct_example_f32.c"
#undef while
#undef main

Expand Down
4 changes: 2 additions & 2 deletions examples/nucleo_f429zi/cmsis_dsp/fft_bin/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
#include <arm_math.h>

#define main arm_cmsis_dsp_example
#include "../../../../ext/arm/cmsis/CMSIS/DSP/Examples/ARM/arm_fft_bin_example/arm_fft_bin_data.c"
#include "../../../../ext/arm/cmsis-dsp/CMSIS-DSP/Examples/ARM/arm_fft_bin_example/arm_fft_bin_data.c"
#define while return status; void
#include "../../../../ext/arm/cmsis/CMSIS/DSP/Examples/ARM/arm_fft_bin_example/arm_fft_bin_example_f32.c"
#include "../../../../ext/arm/cmsis-dsp/CMSIS-DSP/Examples/ARM/arm_fft_bin_example/arm_fft_bin_example_f32.c"
#undef while
#undef main

Expand Down
8 changes: 4 additions & 4 deletions examples/nucleo_f429zi/cmsis_dsp/fir/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wsign-compare"
#define main arm_cmsis_dsp_example
#include "../../../../ext/arm/cmsis/CMSIS/DSP/Examples/ARM/arm_fir_example/math_helper.h"
#include "../../../../ext/arm/cmsis/CMSIS/DSP/Examples/ARM/arm_fir_example/math_helper.c"
#include "../../../../ext/arm/cmsis/CMSIS/DSP/Examples/ARM/arm_fir_example/arm_fir_data.c"
#include "../../../../ext/arm/cmsis-dsp/CMSIS-DSP/Examples/ARM/arm_fir_example/math_helper.h"
#include "../../../../ext/arm/cmsis-dsp/CMSIS-DSP/Examples/ARM/arm_fir_example/math_helper.c"
#include "../../../../ext/arm/cmsis-dsp/CMSIS-DSP/Examples/ARM/arm_fir_example/arm_fir_data.c"
#define while return status; void
#include "../../../../ext/arm/cmsis/CMSIS/DSP/Examples/ARM/arm_fir_example/arm_fir_example_f32.c"
#include "../../../../ext/arm/cmsis-dsp/CMSIS-DSP/Examples/ARM/arm_fir_example/arm_fir_example_f32.c"
#undef while
#undef main
#pragma GCC diagnostic pop
Expand Down
8 changes: 4 additions & 4 deletions examples/nucleo_f429zi/cmsis_dsp/graphic_equalizer/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wsign-compare"
#define main arm_cmsis_dsp_example
#include "../../../../ext/arm/cmsis/CMSIS/DSP/Examples/ARM/arm_graphic_equalizer_example/math_helper.h"
#include "../../../../ext/arm/cmsis/CMSIS/DSP/Examples/ARM/arm_graphic_equalizer_example/math_helper.c"
#include "../../../../ext/arm/cmsis/CMSIS/DSP/Examples/ARM/arm_graphic_equalizer_example/arm_graphic_equalizer_data.c"
#include "../../../../ext/arm/cmsis-dsp/CMSIS-DSP/Examples/ARM/arm_graphic_equalizer_example/math_helper.h"
#include "../../../../ext/arm/cmsis-dsp/CMSIS-DSP/Examples/ARM/arm_graphic_equalizer_example/math_helper.c"
#include "../../../../ext/arm/cmsis-dsp/CMSIS-DSP/Examples/ARM/arm_graphic_equalizer_example/arm_graphic_equalizer_data.c"
#define while return status; void
#include "../../../../ext/arm/cmsis/CMSIS/DSP/Examples/ARM/arm_graphic_equalizer_example/arm_graphic_equalizer_example_q31.c"
#include "../../../../ext/arm/cmsis-dsp/CMSIS-DSP/Examples/ARM/arm_graphic_equalizer_example/arm_graphic_equalizer_example_q31.c"
#undef while
#undef main
#pragma GCC diagnostic pop
Expand Down
8 changes: 4 additions & 4 deletions examples/nucleo_f429zi/cmsis_dsp/linear_interp/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wsign-compare"
#define main arm_cmsis_dsp_example
#include "../../../../ext/arm/cmsis/CMSIS/DSP/Examples/ARM/arm_linear_interp_example/math_helper.h"
#include "../../../../ext/arm/cmsis/CMSIS/DSP/Examples/ARM/arm_linear_interp_example/math_helper.c"
#include "../../../../ext/arm/cmsis/CMSIS/DSP/Examples/ARM/arm_linear_interp_example/arm_linear_interp_data.c"
#include "../../../../ext/arm/cmsis-dsp/CMSIS-DSP/Examples/ARM/arm_linear_interp_example/math_helper.h"
#include "../../../../ext/arm/cmsis-dsp/CMSIS-DSP/Examples/ARM/arm_linear_interp_example/math_helper.c"
#include "../../../../ext/arm/cmsis-dsp/CMSIS-DSP/Examples/ARM/arm_linear_interp_example/arm_linear_interp_data.c"
#define while return status; void
#include "../../../../ext/arm/cmsis/CMSIS/DSP/Examples/ARM/arm_linear_interp_example/arm_linear_interp_example_f32.c"
#include "../../../../ext/arm/cmsis-dsp/CMSIS-DSP/Examples/ARM/arm_linear_interp_example/arm_linear_interp_example_f32.c"
#undef while
#undef main
#pragma GCC diagnostic pop
Expand Down
6 changes: 3 additions & 3 deletions examples/nucleo_f429zi/cmsis_dsp/matrix/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wsign-compare"
#define main arm_cmsis_dsp_example
#include "../../../../ext/arm/cmsis/CMSIS/DSP/Examples/ARM/arm_matrix_example/math_helper.h"
#include "../../../../ext/arm/cmsis/CMSIS/DSP/Examples/ARM/arm_matrix_example/math_helper.c"
#include "../../../../ext/arm/cmsis-dsp/CMSIS-DSP/Examples/ARM/arm_matrix_example/math_helper.h"
#include "../../../../ext/arm/cmsis-dsp/CMSIS-DSP/Examples/ARM/arm_matrix_example/math_helper.c"
#define while return status; void
#include "../../../../ext/arm/cmsis/CMSIS/DSP/Examples/ARM/arm_matrix_example/arm_matrix_example_f32.c"
#include "../../../../ext/arm/cmsis-dsp/CMSIS-DSP/Examples/ARM/arm_matrix_example/arm_matrix_example_f32.c"
#undef while
#undef main
#pragma GCC diagnostic pop
Expand Down
8 changes: 4 additions & 4 deletions examples/nucleo_f429zi/cmsis_dsp/signal_converge/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wsign-compare"
#define main arm_cmsis_dsp_example
#include "../../../../ext/arm/cmsis/CMSIS/DSP/Examples/ARM/arm_signal_converge_example/math_helper.h"
#include "../../../../ext/arm/cmsis/CMSIS/DSP/Examples/ARM/arm_signal_converge_example/math_helper.c"
#include "../../../../ext/arm/cmsis/CMSIS/DSP/Examples/ARM/arm_signal_converge_example/arm_signal_converge_data.c"
#include "../../../../ext/arm/cmsis-dsp/CMSIS-DSP/Examples/ARM/arm_signal_converge_example/math_helper.h"
#include "../../../../ext/arm/cmsis-dsp/CMSIS-DSP/Examples/ARM/arm_signal_converge_example/math_helper.c"
#include "../../../../ext/arm/cmsis-dsp/CMSIS-DSP/Examples/ARM/arm_signal_converge_example/arm_signal_converge_data.c"
#define while return status; void
#include "../../../../ext/arm/cmsis/CMSIS/DSP/Examples/ARM/arm_signal_converge_example/arm_signal_converge_example_f32.c"
#include "../../../../ext/arm/cmsis-dsp/CMSIS-DSP/Examples/ARM/arm_signal_converge_example/arm_signal_converge_example_f32.c"
#undef while
#undef main
#pragma GCC diagnostic pop
Expand Down
2 changes: 1 addition & 1 deletion examples/nucleo_f429zi/cmsis_dsp/sin_cos/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

#define main arm_cmsis_dsp_example
#define while return status; void
#include "../../../../ext/arm/cmsis/CMSIS/DSP/Examples/ARM/arm_sin_cos_example/arm_sin_cos_example_f32.c"
#include "../../../../ext/arm/cmsis-dsp/CMSIS-DSP/Examples/ARM/arm_sin_cos_example/arm_sin_cos_example_f32.c"
#undef while
#undef main

Expand Down
2 changes: 1 addition & 1 deletion examples/nucleo_f429zi/cmsis_dsp/svm/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

#define main arm_cmsis_dsp_example
#define while return result; void
#include "../../../../ext/arm/cmsis/CMSIS/DSP/Examples/ARM/arm_svm_example/arm_svm_example_f32.c"
#include "../../../../ext/arm/cmsis-dsp/CMSIS-DSP/Examples/ARM/arm_svm_example/arm_svm_example_f32.c"
#undef while
#undef main

Expand Down
2 changes: 1 addition & 1 deletion examples/nucleo_f429zi/cmsis_dsp/variance/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

#define main arm_cmsis_dsp_example
#define while return status; void
#include "../../../../ext/arm/cmsis/CMSIS/DSP/Examples/ARM/arm_variance_example/arm_variance_example_f32.c"
#include "../../../../ext/arm/cmsis-dsp/CMSIS-DSP/Examples/ARM/arm_variance_example/arm_variance_example_f32.c"
#undef while
#undef main

Expand Down
2 changes: 1 addition & 1 deletion ext/arm/cmsis
Submodule cmsis updated 646 files
1 change: 1 addition & 0 deletions ext/arm/cmsis-dsp
Submodule cmsis-dsp added at 2a1e65
2 changes: 1 addition & 1 deletion ext/arm/core.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ peripherals:

Please [see the API documentation][docs] for their content and how to use them.

[docs]: http://arm-software.github.io/CMSIS_5/Core/html/modules.html
[docs]: https://arm-software.github.io/CMSIS_5/Core/html/modules.html
Loading