Suppress 'detected changes in source code' warning

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

Suppress 'detected changes in source code' warning

912 Views
simonhaines
Contributor III

Every time I start MCUXpresso v10.2.1 I get the following warnings:

The source file 'board\pin_mux.c' contains different settings than the configuration (.mex) file. Which file do you want to use?

and

The source file 'board\peripherals.c' contains different settings than the configuration (.mex) file. Which file do you want to use?

I always click 'Use config file' because I never edit these files by hand, and instead use the MCUXpresso tools to generate these files.

How do I suppress these warnings, and always use the config file, and remember my decision so I'm not faced with these dialogs every single time?

0 Kudos
1 Reply

871 Views
marek-trmac
NXP Employee
NXP Employee

Hi Simon.

there are several options how to avoid the dialog:

1) regenerate the files from Pins tool and Peripherals tool, so the file content matches with code the tool generates

OR

2) close all Pins/Clocks/Peripherals view and restart MCU IDE, so Config tools are not started (the source files are checked only if Config tools is running)

OR

3) update to latest version of MCU IDE, as this checking was already removed (it was replaced by ability to compare changes in generated source  file by content)

Regards

Marek

Regards,
Marek
0 Kudos