mirror of
https://github.com/mytechnotalent/Embedded-Hacking.git
synced 2026-05-17 21:44:45 +02:00
d072ec5946
- Restructure flat files into Inc/ (headers) and Src/ (sources) - Replace constants.h with rp2350.h register layer (datasheet-verified) - Add full Doxygen docstrings on all files, functions, and structs - Replace build.bat/clean.bat with cross-platform Makefile - Fix GPIO_IN offset (0x004), XOSC COUNT offset (0x10), SRAM size (520K) - Rename blink_* API to led_* (name after peripheral, not feature) - Build outputs to build/ directory - Cross-platform .vscode configs (Windows/macOS/Linux)
45 lines
1.4 KiB
JSON
45 lines
1.4 KiB
JSON
{
|
|
"configurations": [
|
|
{
|
|
"name": "ARM GCC",
|
|
"includePath": [
|
|
"${workspaceFolder}/Inc/**"
|
|
],
|
|
"defines": [
|
|
"__GNUC__",
|
|
"__ARM_ARCH_8M_MAIN__",
|
|
"__ARMCC_VERSION"
|
|
],
|
|
"compilerPath": "${userHome}/.pico-sdk/toolchain/14_2_Rel1/bin/arm-none-eabi-gcc",
|
|
"compileCommands": "${workspaceFolder}/compile_commands.json",
|
|
"cStandard": "c11",
|
|
"cppStandard": "c++17",
|
|
"intelliSenseMode": "gcc-arm",
|
|
"compilerArgs": [
|
|
"-mcpu=cortex-m33",
|
|
"-mthumb"
|
|
]
|
|
},
|
|
{
|
|
"name": "ARM GCC (Windows)",
|
|
"includePath": [
|
|
"${workspaceFolder}/Inc/**"
|
|
],
|
|
"defines": [
|
|
"__GNUC__",
|
|
"__ARM_ARCH_8M_MAIN__",
|
|
"__ARMCC_VERSION"
|
|
],
|
|
"compilerPath": "${env:USERPROFILE}/.pico-sdk/toolchain/14_2_Rel1/bin/arm-none-eabi-gcc.exe",
|
|
"compileCommands": "${workspaceFolder}/compile_commands.json",
|
|
"cStandard": "c11",
|
|
"cppStandard": "c++17",
|
|
"intelliSenseMode": "gcc-arm",
|
|
"compilerArgs": [
|
|
"-mcpu=cortex-m33",
|
|
"-mthumb"
|
|
]
|
|
}
|
|
],
|
|
"version": 4
|
|
} |