2017年10月2日 星期一

NANO100: Use CMSIS DSP library in NANO100 series microcontroler

1.Build the arm_cortexM0l_math.lib
   The source project is located on
Nano100B_Series_BSP\Library\CMSIS\DSP_Lib\Source\ARM.
   After build you will find the arm_cortexM0l_math.lib in
Nano100B_Series_BSP \Library\CMSIS\Lib\ARM
view raw gistfile1.txt hosted with ❤ by GitHub
2.Use the arm_cortexM0l_math.lib copy the Template project. And add ARM_MATH_CM0 in 
   Preprocessor Symbols

3.Add the #include "arm_math.h"  and  arm_cortexM0l_math.lib in Template project.

4.Now you can use the CMSIS DSP library to optimized the math function!







Linux driver: How to enable dynamic debug at booting time for built-in driver.

 Dynamic debug is useful for debug driver, and can be enable by: 1. Mount debug fs #>mount -t debugfs none /sys/kernel/debug 2. Enable dy...