- NUCLEO-L432
- NUCLEO-L476
- Download and install the Arduino IDE (at least version v1.6.8)
- Start the Arduino IDE
- Go into Preferences
- Add
https://grumpyoldpizza.github.io/arduino-STM32L4/package_STM32L4_boards_index.jsonas an "Additional Board Manager URL" - Open the Boards Manager from the Tools -> Board menu and install "STM32L4 Boards by Tlera Corp"
- Select your STM32L4 board from the Tools -> Board menu
- Go to ~/.arduino15/packages/grumpyoldpizza/hardware/stm32l4/
<VERSION>/drivers/linux/ - sudo cp *.rules /etc/udev/rules.d
- reboot
- Download Zadig
- Plugin STM32L4 board and toggle the RESET button while holding down the BOOT button
- Let Windows finish searching for drivers
- Start
Zadig - Select
Options -> List All Devices - Select
STM32 BOOTLOADERfrom the device dropdown - Select
WinUSB (v6.1.7600.16385)as new driver - Click
Replace Driver
- Go to ~/AppData/Local/Arduino15/packages/grumpypoldpizza/hardware/stm32l4/
<VERSION>/drivers/windows - Right-click on
dpinst_x86.exe(32 bit Windows) ordpinst_amd64.exe(64 bit Windows) and selectRun as administrator - Click on
Install this driver software anywayat theWindows Securitypopup as the driver is unsigned
- Plugin NUCLEO board
- Download and install ST-Link USB Drivers
The Tlera Corp boards require an initial bootloader sketch. This is nothing more than a default program that contains the USB Serial device
- Plugin STM32L4 board and toggle the RESET button while holding down the BOOT button
- Select Tools -> Programmer -> STM32 BOOTLOADER
- Select Tools -> Burn Bootloader
- Follow steps from Board Manager section above
cd <SKETCHBOOK>, where<SKETCHBOOK>is your Arduino Sketch folder:
- OS X:
~/Documents/Arduino - Linux:
~/Arduino - Windows:
~/Documents/Arduino
- Create a folder named
hardware, if it does not exist, and change directories to it - Clone this repo:
git clone https://github.com/grumpyoldpizza/arduino-STM32L4.git grumpyoldpizza/stm32l4 - Restart the Arduino IDE
This core is based on the Arduino SAMD Core