<aside> ⭐ Use Visual studio code and Keil together
How to use Visual studio code and Keil together
</aside>
<aside> <img src="/icons/star_yellow.svg" alt="/icons/star_yellow.svg" width="40px" /> Auto-Alignment in Keil
Download Artistic Style
Copy the Astyle.exe file to the Keil installation directory (e.g. C:/Keil_v5/tools/)
Open Keil and under the Tools menu, open the Customize Tools Menu option. Create a new Menu Content, the name can be casual. Command selects the Astyle.exe file in the keil installation directory. Fill in Arguments (e.g. !E)
Style Arguments Reference: https://astyle.sourceforge.net/astyle.html
<aside> <img src="/icons/star_yellow.svg" alt="/icons/star_yellow.svg" width="40px" /> Change the name of a Keil Project
<aside> <img src="/icons/star_yellow.svg" alt="/icons/star_yellow.svg" width="40px" /> Create a CMSIS Pack
<aside> 💡 Keil - Program Size
<aside> ⚠️ MDK uVision crashes when using ST-Link debugger (Error: Failure loading STLinkUSBDriver.dll)
To resolve this issue, download the attached ST-Link driver STLinkUSBDriver.dll file and copy it to the subfolder of your MDK installation directory, such as C:\Keil_v5\ARM\STLink\
This updated ST-Link driver file will be included in the next MDK release newer than v5.38a.
</aside>
<aside> ⚠️ Error: Invalid ROM Table
Fix in Keil:
</aside>
<aside> ⚠️ Runtime Error: HardFault_Handler
Fix in CubeMX: