-
-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* added VSCode project settings * fixed tasks. * Added nxlink deployment task. switch.localhost is a hosts file entry to resolve Switch IP's * fixed includePaths. added auto generated settings.json. * added check if writeMemory was successful. fixed the problem that floats couldn't be written (#78). added WriteMemory template function that gets type size automagically. increased the EdiZon build version. * fixed the problem that floats couldn't be written (#78). * added to all write and read memory functions Result object as return for later usage. * formatting * removed WriteMemory. * typo and return fix. * changed switch to if, since we don't check all the cases. * fixed copy & paste error. * Optimization: getting the size at compile time of known type.
- Loading branch information
Showing
8 changed files
with
1,941 additions
and
1,768 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,3 @@ | |
|
||
build/ | ||
out/ | ||
.vscode/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"configurations": [ | ||
{ | ||
"name": "DKP Aarch64", | ||
"includePath": [ | ||
"${workspaceFolder}/**", | ||
"${DEVKITPRO}/devkitA64/include/**", | ||
"${DEVKITPRO}/devkitA64/aarch64-none-elf/include/**", | ||
"${DEVKITPRO}/libnx/include/**", | ||
"${DEVKITPRO}/portlibs/switch/include/**" | ||
], | ||
"defines": [ | ||
"DEBUG", | ||
"SWITCH", | ||
"__SWITCH__" | ||
], | ||
"compilerPath": "${DEVKITPRO}/devkitA64/bin/aarch64-none-elf-g++", | ||
"cStandard": "c11", | ||
"cppStandard": "c++17", | ||
"intelliSenseMode": "gcc-x64" | ||
} | ||
], | ||
"version": 4 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
{ | ||
"files.associations": { | ||
"vector": "cpp", | ||
"iosfwd": "cpp", | ||
"array": "cpp", | ||
"atomic": "cpp", | ||
"*.tcc": "cpp", | ||
"bitset": "cpp", | ||
"cctype": "cpp", | ||
"cfenv": "cpp", | ||
"charconv": "cpp", | ||
"chrono": "cpp", | ||
"cinttypes": "cpp", | ||
"clocale": "cpp", | ||
"cmath": "cpp", | ||
"codecvt": "cpp", | ||
"complex": "cpp", | ||
"condition_variable": "cpp", | ||
"csetjmp": "cpp", | ||
"csignal": "cpp", | ||
"cstdarg": "cpp", | ||
"cstddef": "cpp", | ||
"cstdint": "cpp", | ||
"cstdio": "cpp", | ||
"cstdlib": "cpp", | ||
"cstring": "cpp", | ||
"ctime": "cpp", | ||
"cuchar": "cpp", | ||
"cwchar": "cpp", | ||
"cwctype": "cpp", | ||
"deque": "cpp", | ||
"forward_list": "cpp", | ||
"list": "cpp", | ||
"unordered_map": "cpp", | ||
"unordered_set": "cpp", | ||
"exception": "cpp", | ||
"algorithm": "cpp", | ||
"functional": "cpp", | ||
"iterator": "cpp", | ||
"map": "cpp", | ||
"memory": "cpp", | ||
"memory_resource": "cpp", | ||
"numeric": "cpp", | ||
"optional": "cpp", | ||
"random": "cpp", | ||
"ratio": "cpp", | ||
"regex": "cpp", | ||
"set": "cpp", | ||
"string": "cpp", | ||
"string_view": "cpp", | ||
"system_error": "cpp", | ||
"tuple": "cpp", | ||
"type_traits": "cpp", | ||
"utility": "cpp", | ||
"fstream": "cpp", | ||
"future": "cpp", | ||
"initializer_list": "cpp", | ||
"iomanip": "cpp", | ||
"iostream": "cpp", | ||
"istream": "cpp", | ||
"limits": "cpp", | ||
"mutex": "cpp", | ||
"new": "cpp", | ||
"ostream": "cpp", | ||
"scoped_allocator": "cpp", | ||
"shared_mutex": "cpp", | ||
"sstream": "cpp", | ||
"stdexcept": "cpp", | ||
"streambuf": "cpp", | ||
"thread": "cpp", | ||
"typeindex": "cpp", | ||
"typeinfo": "cpp", | ||
"valarray": "cpp" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
{ | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "build", | ||
"type": "shell", | ||
"command": "make -j8", | ||
"group": { | ||
"kind": "build", | ||
"isDefault": true | ||
}, | ||
"problemMatcher": { | ||
"base": "$gcc", | ||
"fileLocation": "absolute" | ||
} | ||
}, | ||
{ | ||
"label": "rebuild", | ||
"type": "shell", | ||
"command": "make clean all", | ||
"problemMatcher": { | ||
"base": "$gcc", | ||
"fileLocation": "absolute" | ||
} | ||
}, | ||
{ | ||
"label": "clean", | ||
"type": "shell", | ||
"command": "make clean", | ||
"problemMatcher": { | ||
"base": "$gcc", | ||
"fileLocation": "absolute" | ||
} | ||
}, | ||
{ | ||
"label": "deploy", | ||
"type": "shell", | ||
"command": "nxlink", | ||
"args": ["-s","-a","switch.localhost","out\\EdiZon.nro"], | ||
"presentation": { | ||
"echo": true, | ||
"reveal": "always", | ||
"focus": false, | ||
"panel": "dedicated", | ||
"showReuseMessage": true, | ||
"clear": true | ||
}, | ||
"problemMatcher": [] | ||
}, | ||
{ | ||
"label": "addr2line", | ||
"type": "shell", | ||
"command": "${DEVKITPRO}/devkitA64/bin/aarch64-none-elf-addr2line.exe", | ||
"args": [ | ||
"-p", | ||
"-fiCr", | ||
"-e", | ||
"${workspaceRoot}/out/EdiZon.elf" | ||
], | ||
"problemMatcher": [], | ||
"presentation": { | ||
"reveal": "always", | ||
"panel": "shared", | ||
"clear": false | ||
} | ||
} | ||
] | ||
} |
Oops, something went wrong.