你好,AATencio,下面的错误与CNCONA SFR的SIDL位有关。错误:'OnCNCONAYSIDLILM掩膜'未声明(在这个函数中的第一次使用)PFA,参照以下链接下载的PIC32 MZ EF设备的数据表,确认“SIDL”位不存在于“CNCONA”SFR。ADS/En/DeVICEOC/6000 1320D.PDRAN必须在“PursSpP32 MZ2048 EFH144.h”文件中删除与SIDL位有关的引用,从而解决编译问题:以下步骤:“CnCONA”位的“SIDL”位用于PosisSoxEnoTeCiDeLePiPurtReal5.H.Tunl在“PosisSp32 MZ2048 EFH144.h”文件中,将所有与“CexEnoTeCiDeNeLePiPrIP”相关的API更改为“默认”到“不支持”。对于EX:“PosisSoxOnoTeCeIdEnPielPosial.Health.h”要更改为“PosisSoxEnooTeCeIdIelPrPursixUpFult”。3个API需要更改。与“CuneNoTeCeIdIelPrPurt”相关的函数。在“PosisSp32 MZ2048 EFH144.h”文件中搜索“iN-IDLE”字并删除所有内联函数。40个内联函数将被删除。希望这有助于您的要求。
以上来自于百度翻译
以下为原文
Hi AATencio,
Following error is related to SIDL bit of CNCONA SFR.
error: '_CNCONA_SIDL_MASK' undeclared (first use in this function)
PFA, referring to datasheet of PIC32MZ EF device downloaded form following link, confirms that "SIDL" bit is not present in "CNCONA" SFR.
http://ww1.microchip.com/downloads/en/DeviceDoc/60001320D.pdf
All the references related to SIDL bit has to be removed in "ports_p32mz2048efh144.h" file, so that the compiler issue will go off.
Following steps helps to solve the compilation issue:
- SIDL bit of "CNCONA" bit is used in ports_ChangeNoticeInIdlePerPort_Default.h template file.
In "ports_p32mz2048efh144.h" file, Change all the API's related to "ChangeNoticeInIdlePerPort" from
Default to
Unsupported.
For Ex: "ports_ChangeNoticeInIdlePerPort_Default.h" to be changed to "ports_ChangeNoticeInIdlePerPort_Unsupported.h"
3 more API's need to be changed.
- Delete all Inline Functions related to "ChangeNoticeInIdlePerPort".
Fot this search for "IN_IDLE" word in "ports_p32mz2048efh144.h" file and delete all the Inline functions.
40 Inline functions to be deleted.
Hope this helps your requirement.
Regards,
Mvns_in
Attached Image(s)
你好,AATencio,下面的错误与CNCONA SFR的SIDL位有关。错误:'OnCNCONAYSIDLILM掩膜'未声明(在这个函数中的第一次使用)PFA,参照以下链接下载的PIC32 MZ EF设备的数据表,确认“SIDL”位不存在于“CNCONA”SFR。ADS/En/DeVICEOC/6000 1320D.PDRAN必须在“PursSpP32 MZ2048 EFH144.h”文件中删除与SIDL位有关的引用,从而解决编译问题:以下步骤:“CnCONA”位的“SIDL”位用于PosisSoxEnoTeCiDeLePiPurtReal5.H.Tunl在“PosisSp32 MZ2048 EFH144.h”文件中,将所有与“CexEnoTeCiDeNeLePiPrIP”相关的API更改为“默认”到“不支持”。对于EX:“PosisSoxOnoTeCeIdEnPielPosial.Health.h”要更改为“PosisSoxEnooTeCeIdIelPrPursixUpFult”。3个API需要更改。与“CuneNoTeCeIdIelPrPurt”相关的函数。在“PosisSp32 MZ2048 EFH144.h”文件中搜索“iN-IDLE”字并删除所有内联函数。40个内联函数将被删除。希望这有助于您的要求。
以上来自于百度翻译
以下为原文
Hi AATencio,
Following error is related to SIDL bit of CNCONA SFR.
error: '_CNCONA_SIDL_MASK' undeclared (first use in this function)
PFA, referring to datasheet of PIC32MZ EF device downloaded form following link, confirms that "SIDL" bit is not present in "CNCONA" SFR.
http://ww1.microchip.com/downloads/en/DeviceDoc/60001320D.pdf
All the references related to SIDL bit has to be removed in "ports_p32mz2048efh144.h" file, so that the compiler issue will go off.
Following steps helps to solve the compilation issue:
- SIDL bit of "CNCONA" bit is used in ports_ChangeNoticeInIdlePerPort_Default.h template file.
In "ports_p32mz2048efh144.h" file, Change all the API's related to "ChangeNoticeInIdlePerPort" from
Default to
Unsupported.
For Ex: "ports_ChangeNoticeInIdlePerPort_Default.h" to be changed to "ports_ChangeNoticeInIdlePerPort_Unsupported.h"
3 more API's need to be changed.
- Delete all Inline Functions related to "ChangeNoticeInIdlePerPort".
Fot this search for "IN_IDLE" word in "ports_p32mz2048efh144.h" file and delete all the Inline functions.
40 Inline functions to be deleted.
Hope this helps your requirement.
Regards,
Mvns_in
Attached Image(s)
举报