cancel
Showing results for 
Search instead for 
Did you mean: 

STPackCreator Global/Project define.

pywtk
Associate II

Hi all.

Working with the Pack Creator I know I can create a header file that contains defines that are editable in the CubeMX view.

I'd like to know if it's possible to have a pack that places defines in the project settings instead of a header file?

 

2 REPLIES 2
Semer CHERNI
ST Employee

Hello @pywtk 

First let me thank you for posting.

This could be done with STM32CubeMX via the .extSettings file.

Check the "6.4 Additional settings for C project generation" section of the STM32CubeMX User Manual

BR,
Semer.

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

thanks for the tip!

Say then that I include a .extSettings file with my pack.

Say also that there's a pre-existing .extSettings file within the project before I import/enable my pack.

Will the extSettings file in my pack overwrite the pre-existing one?