Skip to main content
KHenr.1
Visitor II
January 18, 2021
Question

Secure 'some' peripherals error from code generation

  • January 18, 2021
  • 0 replies
  • 421 views

When I use STM32CubeIDE (version 1.5.0) to generate a new secure project for the STM32L562 Discovery Board.... I get a warning when I try and generate code from the device configuration. It says:

It is recommended to secure some peripheral(s).

And points me to the reference manual, specifically the section on: Summary of the I/Os that can be secured and connected to a non-secure peripheral 

The warning makes sense, of course, but I don't understand:

  1. Why I'm getting this on a new project when I haven't made any changes.
  2. How I'm supposed to figure out which peripheral is causing the problem.

I've tried flipping a lot of settings, and nothing seems to make that error go away.

This topic has been closed for replies.