Hi,
I have an issue with the ConfigTools integrated in MCUXpresso. It seems to genereate defective code for ADC pins for the LPC55S69.
As an example, I am adding to the USB_VCOM_FREERTOS example an ADC on PIO0_23.
The analog switch input control is set by the tool.
And on the build these errors are thrown.
Looking at the code shows me there is a define missing.
And as visible in the pin_mux.h file it is really missing.
I think there should be an extra line like this (please correct me if this is wrong):
#define BOARD_INITPINS_AN0_GPIO GPIO
Can someone verify this problem and let me know how to fix this correctly?
MCUXpresso IDE v11.1.1 [Build 3241] [2020-03-02]
SDK_2.7.1_(322 2020-02-24) LPC55S69
Thanks!
Tom
I reproduced your issue on my side. I will escalate to config tool team. I will keep you informed.
Thanks,
Jennie
This defect will be fixed in next SDK release. Thank you for bringing the problem to our attention.
Best Regards
Jun Zhang
PIO0_23/ADC0_0 — General-purpose digital input/output pin. It's same pin.
so if you want to use it as ADC0_0, don't define it as PIO0,23 again. they are conflict.
Hi Jennie,
what you are saying is not the issue that I have. Please read the description carefully.
I get a compile error due to a missing define in the automaticly generated pin_mux.h file.
UPDATE: THIS ONLY HAPPENS WHEN A LABEL AND IDNETIFIER ARE ENTERED
Without label/identifier:
With label/identifier:
Hi dingelen
Could you please send me your demo project? I will check this issue directly. Thanks.
Have a nice day,
Jun Zhang