mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-10 06:54:19 +00:00
62bbf406be
* Debug: use proper hook for handle_exit in flipperapps * fbt: flash firmware for `blackmagic` target Co-authored-by: hedger <hedger@nanode.su> Co-authored-by: Georgii Surkov <37121527+gsurkov@users.noreply.github.com> |
||
---|---|---|
.. | ||
FreeRTOS | ||
PyCortexMDebug | ||
41-flipper.rules | ||
flipperapps.py | ||
flipperversion.py | ||
fw.jflash | ||
gdbinit | ||
README.md | ||
STM32WB55_CM4.svd | ||
stm32wbx.cfg |
Installing udev rules
On Linux, unprivileged users need to be in the dialout
group to access serial ports and other USB devices.
To add your user to the dialout
group, run the following command:
sudo usermod -a -G dialout $USER
To install the udev rules needed for debugging & CLI access to Flipper, run the following command:
sudo cp 41-flipper.rules /etc/udev/rules.d/
sudo udevadm control --reload-rules
sudo udevadm trigger
Note that not all possible debug interfaces are listed the 41-flipper.rules
file. If your interface is not supported out of the box, you may need to add a a rule for it. You can do so by adding a new line to the file according to udev rules syntax. Use lsusb -v
to find the vendor and product IDs of your device.