Skip to content

Instantly share code, notes, and snippets.

View daniel-p-carvalho's full-sized avatar

Daniel P. Carvalho daniel-p-carvalho

View GitHub Profile
@daniel-p-carvalho
daniel-p-carvalho / 49-stlinkv1.rules
Created June 20, 2022 18:45
udev Rules - ST-LINK
# STM32 discovery boards, with onboard st/linkv1
# ie, STM32VL
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="3744", \
MODE:="0666", \
SYMLINK+="stlinkv1_%n"
# If you share your linux system with other users, or just don't like the
# idea of write permission for everybody, you can replace MODE:="0666" with
# OWNER:="yourusername" to create the device owned by you, or with
@daniel-p-carvalho
daniel-p-carvalho / launch.json
Created June 20, 2022 17:44
Visual Studio Code - NuttX json files
{
// Use o IntelliSense para saber mais sobre os atributos possíveis.
// Focalizar para exibir as descrições dos atributos existentes.
// Para obter mais informações, acesse: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"cwd": "${workspaceRoot}/nuttx",
"executable": "${workspaceRoot}/nuttx/nuttx",
"name": "Debug NUTTX",