Hardfault Exception is triggered after HAL_FLASH_Lock() function
Hi, I want to write into flash on an STM32WB15 mcu. I have this code, where i write two 32 bit variable into the flash. void Write_Flash_Data(uint32_t new_value1, uint32_t new_value2) { HAL_StatusTypeDef status; HAL_FLASH_Unlock(); // Unlo...