cancel
Showing results for 
Search instead for 
Did you mean: 

board.c generation

ilcontefabio
Associate II

Hi

I have an imported project and I would like to modificy the GPIO configuration inside board.c

I saw board.c is a file generated from pinMapEditor configuration but is I open the project and the PinMapEditor page I'm not able to modify anything because the pin configuration setting does not open and clicking on the pin name does nothing happen.

Any suggestion?

Thanks

Fabio

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Max VIZZINI
ST Employee

Hi,

If you imported the project from existing samples, you cannot modify it.

You need to create a new project adding the same components and configuration. 

Then in the PinMap editor you will be able to right-click and change the pin assignment.

Make sure to keep the same pin name otherwise you need to change the pin name in the source code too.

Best Regards,

AutoDevKit Team

View solution in original post

2 REPLIES 2
Max VIZZINI
ST Employee

Hi,

If you imported the project from existing samples, you cannot modify it.

You need to create a new project adding the same components and configuration. 

Then in the PinMap editor you will be able to right-click and change the pin assignment.

Make sure to keep the same pin name otherwise you need to change the pin name in the source code too.

Best Regards,

AutoDevKit Team

Thanks Max,

 

I directly changed the configuration.xml

 

Fabio