Going through file stm32f2xx_flash.c, line 620 there is a mention to function FLASH_Status FLASH_ProgramOTP(uint32_t Address, uint32_t Data) but there seems to be no implementation of it ...
As there seems to be no unique device ID in the STM32F2xx (what a pity :( ) I'll need to use the OTP to store a crafted unique id.
Has this function an implementation somewhere, or will I need to implement it myself (which should not be a problem, but I'd prefer to have a supported implementation).
PS : having no unique ID is a pity security wise ... I mean if someone can copy my code, and can put it into a new STM32F2xx chip and write the same OTP data, it will run. With unique ID written in factory, you can prevent the code from running if the unique ID is not the one expected, the copier will have to find a chip with the same unique ID to make it run, what is virtually impossible.