cancel
Showing results for 
Search instead for 
Did you mean: 

Should the input of function "GetSectorSize" not be the sector number and not the address as in the flash example in the ST32F4?

tech2399
Associate II
 
2 REPLIES 2

Couldn't you just test the thing using printf?

Size by address would be generally more helpful.​

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
tech2399
Associate II

Have a look at the examples and you'll see. I changed the function and added ADDR_ to FLASH_SECTOR_xx to keep the input. Doesn't work otherwise.

Maybe change in next release.