Hi @Frogram
I hope that you are doing well!
The AN12374 comes with associated software that it needs to be installed in windows using an exe. Please download and install >AN12374SW
If I understood properly your first question. In the path selected for the installation of the software , there are sub-folders corresponding to what the AN mentions as PMSM package structure.

Regarding your second question about the pin map.
There is a file called pin_mux.c , where you can consult the pins that are initialized for the projects of the AN.

Note: To get the pin_mux file you will need to install the AN SW.
I hope this could help you.
All the best,
Diego.