In COnfig Tool Code preview is not being copied in MCUxpresso IDE after click on update code

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

In COnfig Tool Code preview is not being copied in MCUxpresso IDE after click on update code

830 Views
nicomarconi
Contributor II

Hi, Running the evkbmimxrt1170_lpadc_polling_cm4, i am trying to do some change in order to know how the micro works an so on.

When i have changed the LPADC1_0 in GPIO_AD6 to  LPADC2_3 in GPIO_AD12, connected with the A2 arduino pin, using the MCUxpresso config tool, the changes that i made on  pins are not updated in the BOARD_InitPins() after click on update code. However in the code preview the code change but are not updated in the IDE view , even though i click on update code menu.

0 Kudos
Reply
2 Replies

814 Views
Ryan247Zook
Contributor I

Hello!

The MCUxpresso IDE isn't updating the BOARD_InitPins() view after changing LPADC1_0 to LPADC2_3 in the config tool, even though the code preview shows the change. This is likely a caching or synchronization issue within the IDE. Try cleaning and building the project, manually refreshing the project and the board.c file, and restarting MCUxpresso IDE. Crucially, verify the actual board.c file in your project directory with a text editor to confirm if the code was generated correctly on disk. If the file is correct, the problem lies with the IDE's display. Also, check the configuration tool's output for errors and consider testing with a new minimal project.

0 Kudos
Reply

794 Views
nicomarconi
Contributor II

Hi, thanks a lot for your answer. Ok, what i understand after trying diferents  things is some ADCs is seem to has not connection in some PADs, because i was working with CM4, and after seeing that The configtool doesńt change the Board_init () function in the IDE, i did the same with the CM7 micro and , it worked perfectly.

What i mean is, if you are trying to change something that is no allowed to with that micro, the configtool obviously doesn't change anything in the Board_Init() ....

 

thanks a lot for your answer...

0 Kudos
Reply