You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+37Lines changed: 37 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -236,6 +236,43 @@ Codec 2 can be added to the project in the following way.
236
236
237
237
1. Add Codec 2 to the target_link_libraries in the same file.
238
238
239
+
## Building Codec 2 for Microcontrollers
240
+
241
+
Codec 2 requires a hardware Floating Point Unit (FPU) to run in real time.
242
+
243
+
Two build options have been added to support building on microcontrollers:
244
+
1. Setting the `cmake` variable MICROCONTROLLER_BUILD disables position independent code (-fPIC is not used). This was required for the IMRT1052 used in Teensy 4/4.1).
245
+
246
+
1. On ARM machines, setting the C Flag \_\_EMBEDDED\_\_ and linking with the ARM CMSIS library will improve performance on ARM-based microcontrollers. \_\_REAL\_\_ and FDV\_ARM\_MATH are additional ARM-specific options that can be set to improve performance if required, especially with OFDM modes.
247
+
248
+
A CMakeLists.txt example for a microcontroller is below:
0 commit comments