Skip to content

Instantly share code, notes, and snippets.

View robotdad's full-sized avatar

Marc Goodner robotdad

View GitHub Profile
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "0.1.0",
"windows": {
"command": "cmd",
"args": ["/C"]
},
"linux": {
"command": "sh",
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "0.1.0",
"windows": {
"command": "cmd",
"args": ["/C"]
},
"linux": {
"command": "sh",
@robotdad
robotdad / launch.json
Created July 20, 2016 00:00
vscode-arduino-jsons
{
"version": "0.2.0",
"configurations": [
{
"name": "Arduino attach (Windows)",
"type": "cppdbg",
"request": "launch",
"launchOptionType": "Local",
"miDebuggerPath": "C:/Users/mgoodner/AppData/Local/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/arm-none-eabi-gdb.exe",
"targetArchitecture": "ARM",
@robotdad
robotdad / launch.json
Created April 22, 2017 00:29
launch.json for debugging an ARM board
{
"version": "0.2.0",
"configurations": [
{
"name": "C++ Launch",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceRoot}/BUILD/mbed_blinky.elf",
"args": [],
"stopAtEntry": false,
@robotdad
robotdad / debug.xml
Created April 22, 2017 00:32
debug.xml for VS targeting an ARM board with openocd
<?xml version="1.0" encoding="utf-8"?>
<LocalLaunchOptions xmlns="http://schemas.microsoft.com/vstudio/MDDDebuggerOptions/2014"
MIDebuggerPath="c:\tools\armgcc\6-2017-q1-update\bin\arm-none-eabi-gdb.exe"
MIDebuggerServerAddress="localhost:3333"
ExePath="BUILD\mbed_blinky.elf"
TargetArchitecture="arm">
<SetupCommands>
<Command>
target remote localhost:3333
</Command>
@robotdad
robotdad / launch.json
Created June 6, 2017 22:25
Black Magic Probe launch.json for 1bitsy debugging
{
"version": "0.2.0",
"configurations": [
{
"name": "BMP JTAG Launch",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceRoot}/fancyblink.elf",
"args": [],
"stopAtEntry": true,
sudo apt-get update
sudo apt-get install -y git cmake
git clone https://github.com/Kitware/CMake.git
cd CMake
Make sure you are on a supported release
git checkout tags/v3.9.0
mkdir out
cd out
@robotdad
robotdad / tasks.vs.json
Created January 13, 2018 23:09
Visual Studio task to copy mbed output to board
{
"version": "0.2.1",
"tasks": [
{
"taskName": "flash",
"appliesTo": "BUILD/Nucleo_blink_led.bin",
"type": "launch",
"command": "${env.COMSPEC}",
"args": [
"copy BUILD\\Nucleo_blink_led.bin D:"
@robotdad
robotdad / CppCon-Embedded-Links.md
Created September 15, 2022 01:21
Links for CppCon embedded talk
@robotdad
robotdad / embedded_world_2022.md
Last active June 12, 2024 14:00
VS and VS Code embedded development references

This page collects links to embedded development topics related to VS and VS Code from the C++ team at Microsoft.

We are seeking feedback on our embedded experiences from developers, it would be a great help to us if you could take our short survey. Even if you are not using our products today your feedback would be very helpful.