cancel
Showing results for 
Search instead for 
Did you mean: 

Weird wording in the copyright notice of the generated source code.

T392
Associate

I just created some code using STM32CubeMX. And I was reading throught the copyright notice in the beginning of the main.c file. This notice starts with the words:

** This notice applies to any and all portions of this file

 * that are not between comment pairs USER CODE BEGIN and

 * USER CODE END. Other portions of this file, whether 

 * inserted by the user or by software development tools

 * are owned by their respective copyright owners

And then a few lines down it says:

 *  1. Redistributions of source code must retain the above copyright notice,

 *   this list of conditions and the following disclaimer.

But this copyright notice is in between a "USER CODE BEGIN" and a "USER CODE END" comment. Therefore shouldn't I legally be able to remove this copyright notice because it is in between these "USER CODE" comments.

0 REPLIES 0