Setup Overview
Start coding in just a few minutes (3/3)
16
2. How Install the code after compiling the project:
• Compile the project with your preferred IDE
• On Windows: for each IDE and for each platform there is one batch script:
• IAR toolchain Embedded Workbench V8.50.5:
• CleanFLIGHT1_IAR_F401.bat
• CleanFLIGHT1_IAR_L476.bat
• µVision toolchain - MDK-ARM Professional Version: 5.31.0:
• CleanFLIGHT1_MDK_ARM_ F401.bat
• CleanFLIGHT1_MDK_ARM_ L476.bat
• STM32CubeIDE Version 1.4.2:
• CleanFLIGHT1_STM32CubeIDE_F401.bat
• CleanFLIGHT1_STM32CubeIDE_L476.bat
• For Linux/iOS: only for STM32CubeIDE and for each platform there is one OpenOCD:
• For Nucleo F401/L476:
• CleanFLIGHT1_STM32CubeIDE_F401.sh
• CleanFLIGHT1_STM32CubeIDE_L476.sh
• It’s necessary to edit this file for setting the right installation and Library path
• These scripts perform the following steps:
• Full Flash Erase
• Flash the right BootLoader at the right position (0x08000000)
• Flash the FLIGHT1 firmware at the right position (0x08004000)
➢ This is the firmware that was compiled with the IDE
➢ This firmware is compatible with the FOTA update procedure
• Save a complete Binary FW that includes both FLIGHT1 and the BootLoader
➢ This binary can be directly flashed to a supported STM32 board using the ST-Link or by doing “Drag & Drop”
➢ Important Note: this additional pre-compiled binary is not compatible with the FOTA update procedure