完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
在PIC32 MZ上使用软浮点的项目/编译器选项是什么?我所尝试的所有组合都是在FPU指令中产生的,这是因为我没有FPU开启。我希望编译器在支持这个的库中生成仿真浮点和链接。
以上来自于百度翻译 以下为原文 What are the project/compiler options to use soft floating point on a PIC32MZ? All of the combinations I've tried results in FPU instructions being generated, which fault because I don't have the FPU turned on. I'd like the compiler to generate emulated floating point and link in libraries that support this. |
|
相关推荐
3个回答
|
|
|
也许在项目设置的“附加选项”字段中尝试将“-MpStand浮动”传递给编译器和链接器?
以上来自于百度翻译 以下为原文 Maybe try passing "-msoft-float" to both the compiler and linker in the "Additional Options" field of your project settings? |
|
|
|
|
|
这里有一个讨论的链接,
以上来自于百度翻译 以下为原文 Here is a link to a discussion on this, www . microchip . com/forums/m991376.aspx |
|
|
|
|
|
将MSOFT浮点传递给XC32 GCC和XC32 LD(在附加驱动程序选项中,而不是后者的附加选项字段)将在非FPU库中生成非FPU代码和链接。然而,您将得到一个S%$$T警告,我认为这些警告不能被禁用。你禁用FPU吗?我个人想不出有什么好的理由来做这件事。
以上来自于百度翻译 以下为原文 Passing -msoft-float to both xc32-gcc and xc32-ld (in the Additional driver options, not the Additional options field for the latter) will generate non-fpu code and link in the non-fpu libraries. However you will get a sh%$ ton of warnings which I think cannot be disabled. I have to ask, but why are you disabling the FPU? I personally cannot think of any good reason to do this. |
|
|
|
|
只有小组成员才能发言,加入小组>>
MPLAB X IDE V6.25版本怎么对bootloader和应用程序进行烧录
473 浏览 0 评论
5793 浏览 9 评论
2334 浏览 8 评论
2224 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3530 浏览 3 评论
1124浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
1095浏览 1评论
我是Microchip 的代理商,有PIC16F1829T-I/SS 技术问题可以咨询我,微信:A-chip-Ti
873浏览 1评论
MPLAB X IDE V6.25版本怎么对bootloader和应用程序进行烧录
475浏览 0评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-2 03:28 , Processed in 0.701022 second(s), Total 76, Slave 59 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
1333