cancel
Showing results for 
Search instead for 
Did you mean: 

STM32L496 Migration

Ghada Dhibi
Associate II
Posted on May 12, 2017 at 18:53

Hi All,

Actually, I'm using STM32L486RG microcontroler in my project,

I have to migrate from this microcontroler to theSTM32L496RG by modifying project's configuration, so I followed these steps :

  • I upgrated my project CUBE L4 version fromSTM32Cube_FW_L4_V1.6.0 toSTM32Cube_FW_L4_V1.7.0.
  • I removed thestartup_stm32l486xx.s file from my workspace and added thestartup_stm32l496xx.s file from the CMSIS folder of my project .
  • In the project options, I changed my device fromSTM32L486RG toSTM32L496RG.
  • In the Preprocessor options ( under C/C++ Compiler options), I modifiedSTM32L486xx toSTM32L496xx, in defined symbols.
  • finaly, under the Linker options, I attached thestm32l496xx_flash.icf file, with the aproppriate modification of my project.

and Now, when I build my project, only one error occurs : ( attached in this ticket)

Error[Pe020]: identifier 'HSI48_VALUE' is undefined

Can you help me please, I'm in emergency to resolve this problem.

https://my.st.com/tmtrack/tmtrack.dll?AttachmentPage&AttachmentID=33406

Ghada.

stm32l486 stm32 iar stm32l496

1 REPLY 1
Nesrine M_O
Lead II
Posted on May 15, 2017 at 11:56

Hi

DHIBI.Ghada

,

-Nesrine-