Changing vscode configuration to fit with the CG-90
This commit is contained in:
parent
35552182e9
commit
1ea9aa6a55
|
@ -3,11 +3,11 @@
|
|||
{
|
||||
"name": "fx-9860G",
|
||||
"compilerPath": "~/.local/bin/sh-elf-gcc",
|
||||
"compilerArgs": [ "-D FX9860G" ],
|
||||
|
||||
"compilerArgs": [
|
||||
"-D FX9860G"
|
||||
],
|
||||
"cStandard": "c17",
|
||||
"cppStandard": "gnu++17",
|
||||
|
||||
"includePath": [],
|
||||
"intelliSenseMode": "${default}",
|
||||
"mergeConfigurations": false,
|
||||
|
@ -19,11 +19,11 @@
|
|||
{
|
||||
"name": "fx-CG50",
|
||||
"compilerPath": "~/.local/bin/sh-elf-gcc",
|
||||
"compilerArgs": [ "-D FXCG50" ],
|
||||
|
||||
"compilerArgs": [
|
||||
"-D FXCG50"
|
||||
],
|
||||
"cStandard": "c17",
|
||||
"cppStandard": "gnu++17",
|
||||
|
||||
"includePath": [],
|
||||
"intelliSenseMode": "${default}",
|
||||
"mergeConfigurations": false,
|
||||
|
@ -34,4 +34,4 @@
|
|||
}
|
||||
],
|
||||
"version": 4
|
||||
}
|
||||
}
|
|
@ -0,0 +1,46 @@
|
|||
{
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Build Send and Debug CG",
|
||||
"type": "cppdbg",
|
||||
"request": "launch",
|
||||
"program": "${workspaceFolder}/build-cg/myaddin",
|
||||
"args": [],
|
||||
"stopAtEntry": false,
|
||||
"cwd": "${workspaceFolder}",
|
||||
"environment": [],
|
||||
"externalConsole": false,
|
||||
"MIMode": "gdb",
|
||||
"miDebuggerPath": "/home/ulysse-cura/.local/bin/fxgdb-wrapper",
|
||||
"setupCommands": [
|
||||
{
|
||||
"description": "Activer la prise en charge de l'impression détaillée",
|
||||
"text": "-enable-pretty-printing",
|
||||
"ignoreFailures": true
|
||||
}
|
||||
],
|
||||
"preLaunchTask": "Build CG and Send"
|
||||
},
|
||||
{
|
||||
"name": "Debug CG",
|
||||
"type": "cppdbg",
|
||||
"request": "launch",
|
||||
"program": "${workspaceFolder}/build-cg/myaddin",
|
||||
"args": [],
|
||||
"stopAtEntry": false,
|
||||
"cwd": "${workspaceFolder}",
|
||||
"environment": [],
|
||||
"externalConsole": false,
|
||||
"MIMode": "gdb",
|
||||
"miDebuggerPath": "/home/ulysse-cura/.local/bin/fxgdb-wrapper",
|
||||
"setupCommands": [
|
||||
{
|
||||
"description": "Activer la prise en charge de l'impression détaillée",
|
||||
"text": "-enable-pretty-printing",
|
||||
"ignoreFailures": true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -7,6 +7,27 @@
|
|||
"stdlib.h": "c",
|
||||
"kmalloc.h": "c",
|
||||
"types.h": "c",
|
||||
"linked_list.h": "c"
|
||||
}
|
||||
"linked_list.h": "c",
|
||||
"ostream": "cpp",
|
||||
"stddef.h": "c",
|
||||
"textures.h": "c",
|
||||
"stdarg.h": "c",
|
||||
"config.h": "c",
|
||||
"exc.h": "c",
|
||||
"util.h": "c",
|
||||
"keydev.h": "c",
|
||||
"keycodes.h": "c",
|
||||
"stdio.h": "c",
|
||||
"printf.h": "c",
|
||||
"game.h": "c",
|
||||
"event.h": "c",
|
||||
"ecs.h": "c",
|
||||
"components.h": "c",
|
||||
"animation_system.h": "c",
|
||||
"display-cg.h": "c",
|
||||
"stdbool.h": "c",
|
||||
"libimg.h": "c",
|
||||
"stdint.h": "c"
|
||||
},
|
||||
"C_Cpp.default.compilerPath": "/home/ulysse-cura/.local/bin/sh-elf-gcc"
|
||||
}
|
|
@ -5,12 +5,18 @@
|
|||
"label": "Build CG",
|
||||
"type": "shell",
|
||||
"command": "fxsdk build-cg",
|
||||
"problemMatcher": ["$gcc"]
|
||||
},
|
||||
{
|
||||
"label": "Send G3A to Calculator",
|
||||
"type": "shell",
|
||||
"command": "fxlink -isw *.g3a",
|
||||
"problemMatcher": []
|
||||
},
|
||||
{
|
||||
"label": "Copy G3A to Calculator",
|
||||
"label": "Build CG and Send",
|
||||
"type": "shell",
|
||||
"command": "cp ${workspaceFolder}/*.g3a /media/$USER/disk/ && udisksctl unmount -b /dev/sdc1 && udisksctl power-off -b /dev/sdc1",
|
||||
"command": "fxsdk build-cg && fxlink -isw *.g3a",
|
||||
"problemMatcher": []
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue