Microchip
直播中

李晓鹏

7年用户 1263经验值
私信 关注
[问答]

pic32mz的stdlib在哪里?

我使用PIC32 MZ2048 EFH144。XC32编译器版本1.40lab2b示例代码main.c有include;当我导航到它时,它打开到“C:Program Files(x86)Micro.xc32v1.40pic32mxincludestdlib h”PIC32MZ的stdlib在哪里?它是否仍然包含来自PIC32 MX的文件?谢谢您。

以上来自于百度翻译


      以下为原文

    I am using PIC32MZ2048EFH144.  XC32 compiler version 1.40
The lab2b sample code main.c has #include
When I navigate to it, it opens up to "C:Program Files (x86)Microchipxc32v1.40pic32mxincludestdlib.h"

Where is the stdlib for PIC32MZ?  Should it still include files from pic32mx?
Thank you.

回帖(3)

陈晨

2019-7-16 08:29:39
它将是一个库而不是C文件。

以上来自于百度翻译


      以下为原文

    It will be a library not a C file.
 
举报

李丽华

2019-7-16 08:44:42
对不起,我不明白你写的是什么。STDLIB .H是一个头文件,它位于PIC32 MX子DIIR中,并包含在主.c文件中。为什么当选择的设备是PIC32 MZ时,它在PIC32 MX子目录中包括头文件?

以上来自于百度翻译


      以下为原文

   


I am sorry but I don't understand what you wrote.  
 
stdlib.h is a header file that is in pic32mx subdir and it is included in the main.c file.  Why does it include a header file in pic32mx sub directory when the device chosen is a pic32mz?
举报

陈娟

2019-7-16 08:59:28
StefaniM,STDLIB库的内容依赖于编译器(XC32)而不是PIC32特定的部分。因此,MX和MZ部分都可以使用相同的文件。事实上,在C:程序文件(x86)Microchip xC32 V1.40下没有PIC32 MZ目录。

以上来自于百度翻译


      以下为原文

    StefaniM,


The contents of the stdlib library is dependent on the compiler (XC32) and not the PIC32 specific parts.  So the same file can be used for both MX and MZ parts.  In fact there is no pic32mz directory under C:Program Files (x86)Microchipxc32v1.40
举报

更多回帖

发帖
×
20
完善资料,
赚取积分