- This article will be an overview of how to configure a Windows Development Environment for Flipper Zero
- A summary of required tools for Windows and highly suggested tools to assist with development
- How to clone the Official Firmware to begin development
- How to build the firmware on Windows VIA Docker in CMD or Docker in WSL2
-
You're going to need to start by downloading and installing the appropriate tools for development. I've listed a selection of tools for you to choose from and highlighted the ones that I specifically use with a 🐸. Any of the below tools will work for your required purposes. Please review the
Required Tools
section first. -
Once you've installed the appropriate tools you're ready to hop into some development! We're going to start by cloning the Flipper Zero Firmware we want to modify.
-
Open CMD and navigate to a directory you want to clone the firmware into. Mine is stored in F:\Projects you'll note in the below command I include /d switch this is to change from the C: drive to the F: drive.
cd /d F:\Projects
- Next we're going to actually clone the Firmware we're going to modify.
git clone https://github.com/flipperdevices/flipperzero-firmware.git
-
Once this is done you make the neccesary changes that you want to the firmware files. If you need more information on how to do this I suggest you take a look at
Hello World Plugin Tutorial
to start -
Once you've completed your changes you're ready to build your firmware!
- Open CMD as an adminsitrator
- Navigate to the root of your Firmware Directory
cd /d F:\Projects\flipperzero-firmware
- Start the Docker Instance
docker-compose up -d
- Build the Firmware
docker-compose exec dev make
- You should find the newly built firmware files located in <YourSaveLocation>\flipperzero-firmware\dist\f7
- Open WSL2 VIA the Windows Start Menu
- Navigate to the root of your Firmware Directory
cd /mnt/f/Projects/flipperzero-kokoe-firmware
- Start the Docker Instance you will be prompted for admin credentials based on the account you setup when configuring WSL2
sudo docker-compose up -d
- Build the Firmware
docker-compose exec dev make
- You should find the newly built firmware files located in <YourSaveLocation>\flipperzero-firmware\dist\f7
WSL2
Windows Subsystem for Linux- While WSL2 is not strictly required, I've found at times just Docker Desktop has failed, so I do recommended you setup both. Docker Desktop will ask to install WSL2 along side, it is suggested you do this.
- Options with a 🐸 next to them are my personal choice
VS Code
A community plugin based text editor from Microsoft 🐸Notepad++
A source code editor for Windows 🐸- I have both of these text editors installed, I find they both work great for different purposes.
Atom
A hackable text editor for the 21st century- Microsoft has depreciated this text editor in favor of VS Code.