If you’ve already build it, you are fine. What is the question?
Since it is not clear what are the instructions you’ve followed, but I plan something similar, I’ve tried to do it in my system.
- Open a PowerShell
git clone --recursive https://github.com/flipperdevices/flipperzero-firmware.git
cd flipperzero-firmware
.\fbt vscode_dist
- Open VSCode
- Open - Open Folder
- Choose
K:\git\flipper-firmware
(it should be another path on your system)
- Install the down right suggested plugins
- Open ‘Terminal’ in VSCode and enter
.\fbt
[Let the magic happen]
sources:
readme at .vscode tree: flipperzero-firmware/.vscode at dev · flipperdevices/flipperzero-firmware · GitHub
chapter in the Fipper docs: https://github.com/flipperdevices/flipperzero-firmware/blob/dev/documentation/fbt.md
But try this way quick. The flipper-firmware is in a fast development, maybe this will be easier in future. At least i hope better documented in the final release.
Hint: before you’re installing the github.exe, just try winget install --id Git.Git -e --source winget
I’ve installed the VSCode fresh on my system in the Userspace, not the system wide version. But this shouldn’t be a difference in the doing.
Okay, in the end I’ve got an error:
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "K:\git\flipperzero-firmware\lib\nanopb\generator\nanopb_generator.py", line 72, in <module>
import proto.nanopb_pb2 as nanopb_pb2
ModuleNotFoundError: No module named 'proto.nanopb_pb2'
CC applications\storage\storages\storage_int.c
scons: *** [build\f7-firmware-D\assets\compiled\application.pb.c] Error 1
********** ERRORS **********
Failed building build\f7-firmware-D\assets\compiled\application.pb.c: Error 1
I’ll debug it later, maybe. At least the environment is up and running. Looks like a simple dependency error.