Skip to content

Commit

Permalink
Merge pull request #3 from ctjet/accelerometer
Browse files Browse the repository at this point in the history
Accelerometer to master
  • Loading branch information
ctjet committed Jan 16, 2021
2 parents c00ef12 + a71e8c5 commit f334d48
Show file tree
Hide file tree
Showing 102 changed files with 12,922 additions and 7,005 deletions.
2 changes: 1 addition & 1 deletion .vscode/.cortex-debug.peripherals.state.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[]
[{"node":"ADC","expanded":true,"format":0},{"node":"BLUE_CTRL","expanded":true,"format":0}]
2 changes: 1 addition & 1 deletion .vscode/.cortex-debug.registers.state.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[]
[{"node":"control","expanded":true}]
61 changes: 28 additions & 33 deletions .vscode/c_cpp_properties.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,48 +5,43 @@
"includePath": [
"${workspaceRoot}",
"${workspaceRoot}/inc",
"C:/Users/cmart/ST/BlueNRG-1DKLib/Library/hal/inc",
"C:/Users/cmart/ST/BlueNRG-1DKLib/Library/BlueNRG1_Periph_Driver/inc",
"C:/Users/cmart/ST/BlueNRG-1DKLib/Library/Bluetooth_LE/inc",
"C:/Users/cmart/ST/BlueNRG-1DKLib/Library/CMSIS/Include",
"C:/Users/cmart/ST/BlueNRG-1DKLib/Library/CMSIS/Device/ST/BlueNRG1/Include",
"C:/Users/cmart/ST/BlueNRG-1DKLib/Library/SDK_Eval_BlueNRG1/inc",
"C:/Users/cmart/ST/BlueNRG-1DKLib/Library/BLE_Application/OTA/inc",
"C:/Users/cmart/ST/BlueNRG-1DKLib/Library/BLE_Application/Utils/inc",
"C:/Users/cmart/ST/BlueNRG-1DKLib/Library/BLE_Application/layers_inc",
"C:/armtoolslib/lib/gcc/arm-none-eabi/8.2.1/include",
"C:/armtoolslib/lib/gcc/arm-none-eabi/8.2.1/include-fixed",
"C:/armtoolslib/arm-none-eabi/include",
"C:/armtoolslib/arm-none-eabi/include/machine",
"C:/armtoolslib/arm-none-eabi/include/newlib-nano",
"C:/armtoolslib/arm-none-eabi/include/sys"


"${workspaceRoot}/libinc/Library/hal/inc",
"${workspaceRoot}/libinc/Library/BlueNRG1_Periph_Driver/inc",
"${workspaceRoot}/libinc/Library/Bluetooth_LE/inc",
"${workspaceRoot}/libinc/Library/CMSIS/Include",
"${workspaceRoot}/libinc/Library/CMSIS/Device/ST/BlueNRG1/Include",
"${workspaceRoot}/libinc/Library/SDK_Eval_BlueNRG1/inc",
"${workspaceRoot}/libinc/Library/BLE_Application/OTA/inc",
"${workspaceRoot}/libinc/Library/BLE_Application/Utils/inc",
"${workspaceRoot}/libinc/Library/BLE_Application/layers_inc",
"${config:cortex-debug.armToolchainPath}/../arm-none-eabi/include",
"${config:cortex-debug.armToolchainPath}/../lib/gcc/arm-none-eabi/${config:armToolchainVersion}/include",
"${config:cortex-debug.armToolchainPath}/../lib/gcc/arm-none-eabi/${config:armToolchainVersion}/include-fixed",
"${config:cortex-debug.armToolchainPath}/../arm-none-eabi/include/machine",
"${config:cortex-debug.armToolchainPath}/../arm-none-eabi/include/newlib-nano",
"${config:cortex-debug.armToolchainPath}/../arm-none-eabi/include/sys"
],
"defines": [],
"intelliSenseMode": "clang-x64",
"browse": {
"path": [
"${workspaceRoot}",
"C:/Users/cmart/ST/BlueNRG-1DKLib/Library/hal/inc",
"C:/Users/cmart/ST/BlueNRG-1DKLib/Library/BlueNRG1_Periph_Driver/inc",
"C:/Users/cmart/ST/BlueNRG-1DKLib/Library/Bluetooth_LE/inc",
"C:/Users/cmart/ST/BlueNRG-1DKLib/Library/CMSIS/Include",
"C:/Users/cmart/ST/BlueNRG-1DKLib/Library/CMSIS/Device/ST/BlueNRG1/Include",
"C:/Users/cmart/ST/BlueNRG-1DKLib/Library/SDK_Eval_BlueNRG1/inc",
"C:/Users/cmart/ST/BlueNRG-1DKLib/Library/BLE_Application/OTA/inc",
"C:/Users/cmart/ST/BlueNRG-1DKLib/Library/BLE_Application/Utils/inc",
"C:/Users/cmart/ST/BlueNRG-1DKLib/Library/BLE_Application/layers_inc",
"C:/armtoolslib/lib/gcc/arm-none-eabi/8.2.1/include",
"C:/armtoolslib/lib/gcc/arm-none-eabi/8.2.1/include-fixed",
"C:/armtoolslib/arm-none-eabi/include"
"${workspaceRoot}/libinc//Library/hal/inc",
"${workspaceRoot}/libinc//Library/BlueNRG1_Periph_Driver/inc",
"${workspaceRoot}/libinc//Library/Bluetooth_LE/inc",
"${workspaceRoot}/libinc//Library/CMSIS/Include",
"${workspaceRoot}/libinc//Library/CMSIS/Device/ST/BlueNRG1/Include",
"${workspaceRoot}/libinc//Library/SDK_Eval_BlueNRG1/inc",
"${workspaceRoot}/libinc//Library/BLE_Application/OTA/inc",
"${workspaceRoot}/libinc//Library/BLE_Application/Utils/inc",
"${workspaceRoot}/libinc//Library/BLE_Application/layers_inc",
"${config:cortex-debug.armToolchainPath}/../lib/gcc/arm-none-eabi/${config:armToolchainVersion}/include",
"${config:cortex-debug.armToolchainPath}/../lib/gcc/arm-none-eabi/${config:armToolchainVersion}/include-fixed",
"${config:cortex-debug.armToolchainPath}/../arm-none-eabi/include"
],
"limitSymbolsToIncludedHeaders": true,
"databaseFilename": "${workspaceRoot}/.vscode/browse.vc.db"
},
// "compilerPath": "C:/MinGW/bin/gcc.exe",
// "cppStandard": "c++17",
// "cStandard": "c99"
}
}
],
"version": 4
Expand Down
21 changes: 18 additions & 3 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
"version": "0.2.0",
"configurations": [
{
"name": "Debug (OpenOCD)",
"cwd": "${workspaceRoot}",
"name": "Debug (OpenOCD)",
//Comment prelaunch task to disable building before upload
"preLaunchTask": "Make",
"cwd": "${workspaceRoot}",
"executable": "./bin/blink.elf",
"request": "launch",
"type": "cortex-debug",
Expand All @@ -18,6 +20,19 @@
],
"runToMain": true,
"svdFile": "${workspaceRoot}/pack/SVD/BlueNRG1.svd"
}
},
{
"name": "Debug (JLink)",
//Comment prelaunch task to disable building before upload
"preLaunchTask": "Make",
"cwd": "${workspaceRoot}",
"executable": "./bin/blink.elf",
"request": "launch",
"type": "cortex-debug",
"servertype": "jlink",
"interface": "swd",
"runToMain": true,
"device": "BlueNRG1"
}
]
}
6 changes: 5 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
"url": "schemaURL"
}
],

"armToolchainVersion": "8.2.1",
"cortex-debug.armToolchainPath": "C:/PROGRA~2/GNUTOO~1/82018-~1/bin",
"cortex-debug.openocdPath": "${workspaceRoot}/openocd-0.11.0-rc1/bin/openocd.exe"
"cortex-debug.openocdPath": "${workspaceRoot}/openocd-0.11.0-rc1/bin/openocd.exe",
//Please modify this to your server location if different
"cortex-debug.JLinkGDBServerPath": "C:/Program Files (x86)/SEGGER/JLink_V635c/JLinkGDBServerCL.exe"
}
6 changes: 6 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
{
"version": "2.0.0",
"options":{
"env":{
"ARM_TOOLCHAIN_PATH":"${config:cortex-debug.armToolchainPath}",
"ARM_TOOLCHAIN_VERSION":"${config:armToolchainVersion}"
},
},
"tasks": [
{
"label": "Make",
Expand Down
Loading

0 comments on commit f334d48

Please sign in to comment.