Now, I have to compile a lib into my low-power application project, to drive a hardware equipment. But I found a crash while linking in keil v5 and I can not get supports from the lib builder team. Clash is as below:
For LPC55, I need a power lib with C/C++ compile option Misc Controls "-fshort-enums -fno-short-whcar" of keil v5.
I have found sdk 2.7.1 provided "short enum/wchar" version (orginal) and "disable short enum/wchar" version (new).
Please, provide a power lib with "-fshort-enums -fno-short-whcar" options. Thank you!
Hi Zhihong Li
Currently, we don't exact compiler option power demo code as you request.
I can escalate it as a new work request if necessary. but for the moment, we don't have that.
Do do it, we need to know why the current demo code is not sufficient to you and why power lib with "-fshort-enums -fno-short-whcar" options are necessary for your project.
I am providing an e-lock program to my clients. The program need low-power function and fingerprint driven by a lib.
The low-power lib for LPC55 built by NXP is required and the fingerprint driver lib is required.The lack of any is impossible.
The "-fshort-enums -fno-short-whcar" options are recommend to the fingerprint driver lib, and they are unchangeable.So, I need a low-power lib with C/C++ compile option Misc Controls "-fshort-enums -fno-short-whcar" of keil v5 for LPC55 built by NXP.
Is fingerprint driver lib NXP product ?
If nxp product, it can be easier to request this feature to development team.
if not, which company's?
In another word, I need a SDK demo named “power_manager_lpc” build and link successfully with "-fshort-enums -fno-short-wchar" options.
Now, I show the link errors with "-fshort-enums -fno-short-wchar" options as below：
If these errors are fixed, my problem is fixed.
the application and lib must keep the same compiler settings. if the settings don't match, compiler will produce the mismatch error. it's normal.
To fix it, you could either
- change the lib project source compiler setting to make it same with the application settings.
- change the application compiler setting to keep it same it as same as lib's. this is this the user's work for now, as nxp doesn't have exact the compiler setting project.
Please let me know more information about the end customer.
1. Project name? scenarios about the application
2. MCU volume
I will attach this information to my internal request.