cancel
Showing results for 
Search instead for 
Did you mean: 

How generate hex file without link files Hal_drivers

Fredolive
Associate II

Hello,

When I builed the project, I had seen the Hal drivers files links in the end file *.HEX.

How can I change the project configuration not to put this links in file because it use flash memory unnecessarily ?

Thanks 

21 REPLIES 21

@Fredolive wrote:

Thanks for your help.

Now, it is Ok, and I haven't the roots names in my Hex File.


You're welcome.

Which one did you go for -  not defining USE_FULL_ASSERT, or editing the assert_param definition to not use __FILE__ ?

I do  not defining USE_FULL_ASSERT  in my project preference MCUGCC compiler Preprocessor define.

Best regards