Hi, I am using Stm32F767NIH6 arm chip for my project. I know that this cortex-M7 arm chip supports double precision FPU, but I cannot find it from the panel, options->Target.
I have read similar posts as listed below, but I still don't know how to manually enable double precision FPU in my keil project. http://www.keil.com/support/docs/3716.htm http://www.keil.com/forum/61439/
Could someone tell me the specific steps to manually enable double precision FPU in Keil V5.20? Thank you.
Keil 5.20, Pack Keil.STM32F7xx_DFP.2.7.0, Device STM32F767NIHx Target, Floating Point Hardware, Use Double Precision
Installed Software, Downloaded Pack, modified project with new device, confirmed FPU setting, and bingo. Not remotely complicated, and like the description of how to do it in the first cite.
Hi, thanks for your reply. I have installed what you mentioned, as shown in the picture in the link, www.dropbox.com/.../Xshot-0110.jpg
As you can see, I only see the "Use single precision". What should I do next?
Thank you.
Show the Device Pane/Tab
imagebin.ca/.../2t3BIWtk5lZn imagebin.ca/.../2t3C3zF0259j
Hi,Thank you. I have found where my problem is. That is, the pack I used was the old version, STM32F7xx_DFP 2.6.0. After installation of the latest version of pack, STM32F7xx_DFP 2.7.0, I can use Double precision FPU now.
However, I still have a problem. That is, when I use Stm32 CubeMx to generate the code for my STM32F767NIH6 arm chip, I still don't have the Double precision FPU.
The temporary solution that I use is stated as follows: (1)find the file xxx.uvprojx, where xxx is your project name. (2)copy and paste it in the same folder. (3)use one editor to open file copied. The reason for doing this step is that CubeMx will substitute xxx.uvprojx every time you generate the code (4)Find the line "<Cpu>IROM(0x08000000-0x081FFFFF) IRAM(0x20000000-0x2007FFFF) CPUTYPE("Cortex-M7") FPU3(SFPU) CLOCK(12000000) ELITTLE</Cpu>" (5) In the line above, you can find SFPU. Change it to be DFPU. Then, you can use Double Precision FPU.
If someone finds better solution, please share it with us. Thank you.