2017-08-17 3:59 AM
Dear all,
the readout protection of the L4, F4 and F7 MCUs is supported with build-tools form Keil and IAR. The 3 application notes, i have read, states that one of these IDEs must be used. Since the newer arm-none-eabi-gcc also supports -mpure-code parameter, i wonder is someone can use the gcc based tools as well to use the PCROP features.
1) Is the arm-none-eabi-gcc -mpure-code switch equal to the Keil/IAR code switches?
2) Is ST Micro planning to show an example of PCROP with ether F4/L4/F7 with a gcc based tool chain?
It would be great for us, if we not need to change the tool chain, and could use the gcc based tool chain to PCROP-protect out code.
best regards,
Michael
#pcrop #pcrop-code-protection-gcc #code-protection #stm32f7 #stm32l4 #stm32f42017-08-17 7:41 AM
Hi
schmid.michael.002
,There are 3 separate PCROP related application notes: AN4701 (F4), AN4758 5L4) and
(F7).The F7 application note describes the required configuration to use PCROP with the 3 toolchains:IAR Embedded Workbench®, Keil® µvision IDE andSW4STM32.
So the GCC compiler is already supported.
The dedicated example with gcc based toolchainis located underX-CUBE-PCROP\STM32CubeExpansion_AN4968_F7_V1.0.0\Projects\STM32F722ZE-Nucleo\Step1-ST_Customer_level_n\SW4STM32 orX-CUBE-PCROP\STM32CubeExpansion_AN4968_F7_V1.0.0\Projects\STM32F722ZE-Nucleo\Step2-ST_Customer_level_n+1\SW4STM
-Amel
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.