Skip to content

Commit 3b34f80

Browse files
authored
Add cygwin option for compilation (FreeRTOS#1230)
Add Cygwin option for compilation
1 parent 059165f commit 3b34f80

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

FreeRTOS/Demo/Posix_GCC/.vscode/launch.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,19 @@
3030
"MIMode": "gdb",
3131
"preLaunchTask": "${defaultBuildTask}"
3232
},
33+
{
34+
"name": "Launch GDB Cygwin",
35+
"type": "cppdbg",
36+
"request": "launch",
37+
"program": "${workspaceFolder}/build/posix_demo",
38+
"args": [],
39+
"stopAtEntry": true,
40+
"cwd": "${workspaceFolder}",
41+
"environment": [],
42+
"externalConsole": true,
43+
"MIMode": "gdb",
44+
"preLaunchTask": "${defaultBuildTask}"
45+
},
3346
{
3447
"name": "Launch GDB MSYS2",
3548
"type": "cppdbg",

FreeRTOS/Demo/Posix_GCC/.vscode/settings.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{
1+
{
22
"terminal.integrated.profiles.windows": {
33
"Ubuntu (WSL)": {
44
"path": "C:\\Windows\\Sysnative\\bash.exe",
@@ -10,6 +10,14 @@
1010
"MSYSTEM": "MSYS",
1111
"CHERE_INVOKING": "1",
1212
}
13+
},
14+
"Cygwin": {
15+
"path": "C:\\cygwin64\\bin\\bash.exe",
16+
"args": ["--login", "-i"],
17+
"env": {
18+
"MSYSTEM": "Cygwin",
19+
"CHERE_INVOKING": "1",
20+
}
1321
}
1422
},
1523
"terminal.integrated.defaultProfile.windows": "MSYS2",

0 commit comments

Comments
 (0)