Quantcast
Channel: MSP low-power microcontrollers
Viewing all articles
Browse latest Browse all 63758

Forum Post: RE: How to modify uCOS-III source codes when MSP432's FPU is enabled?

$
0
0
The FPU is not enabled after reset. www.ti.com/lit/pdf/slau356 Page 81 www.ti.com/.../slau356d.pdf In the CCS settings the variable is _FPU_USED is defined and in the system_ msp432p401r .c the FPU is enabled. void SystemInit(void) { // Enable FPU if used #if (__FPU_USED == 1) /* __FPU_USED is defined in core_cm4.h */ SCB->CPACR |= ((3UL << 10 * 2) | /* Set CP10 Full Access */ (3UL << 11 * 2)); /* Set CP11 Full Access */ #endif I hope this provides some insight. Regards, Chris

Viewing all articles
Browse latest Browse all 63758

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>