简体   繁体   中英

Enabling floating point support with TMS570

We are porting Azure OS https://github.com/azure-rtos/threadx/tree/v6.1.11_rel to TMS570 hardware https://github.com/azure-rtos/threadx/tree/v6.1.11_rel/ports/cortex_r5 . We have requirement of floating point calculations on application side. Can anyone tell me how do we can enable floating point support.

Make sure floating point is enabled in the compiler and assembler options when you build ThreadX and your application. For each thread using the VFP, call tx_thread_vfp_enable() before using the VFP.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

Related Question
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM