From 5fd4e8e5ae92db72cc921daf1db08623a74fabe8 Mon Sep 17 00:00:00 2001 From: JulioCesarMatias Date: Tue, 12 Sep 2023 17:41:16 -0300 Subject: [PATCH 1/4] Add project to Bitbucket example --- src/main/sensors/compass.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/sensors/compass.c b/src/main/sensors/compass.c index 23d45ed7879..9c7ba99d9f9 100644 --- a/src/main/sensors/compass.c +++ b/src/main/sensors/compass.c @@ -485,4 +485,5 @@ void compassUpdate(timeUs_t currentTimeUs) magUpdatedAtLeastOnce = true; } + #endif From d6fb4fa77e06f578519812901786be8c459af5c5 Mon Sep 17 00:00:00 2001 From: Julio Cesar Date: Mon, 30 Oct 2023 20:58:46 -0300 Subject: [PATCH 2/4] ignore the vscode config --- .gitignore | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index b2c3b9ff546..fa88e1d5adf 100644 --- a/.gitignore +++ b/.gitignore @@ -12,7 +12,7 @@ __pycache__ startup_stm32f10x_md_gcc.s .vagrant/ -#.vscode/ +.vscode/ cov-int* /build/ /build_SITL/ @@ -33,5 +33,3 @@ README.pdf # local changes only make/local.mk launch.json -.vscode/tasks.json -.vscode/c_cpp_properties.json From eb5726a3ad1e84c08b3653f04994b4c0f1a88ff9 Mon Sep 17 00:00:00 2001 From: Julio Cesar Date: Mon, 30 Oct 2023 21:05:44 -0300 Subject: [PATCH 3/4] ignore the vscode config --- .gitignore | 7 ++-- .vscode/c_cpp_properties.json | 66 ----------------------------------- .vscode/settings.json | 12 ------- .vscode/tasks.json | 41 ---------------------- 4 files changed, 2 insertions(+), 124 deletions(-) diff --git a/.gitignore b/.gitignore index fa88e1d5adf..29d96bc9206 100644 --- a/.gitignore +++ b/.gitignore @@ -12,7 +12,7 @@ __pycache__ startup_stm32f10x_md_gcc.s .vagrant/ -.vscode/ +#.vscode/ cov-int* /build/ /build_SITL/ @@ -27,9 +27,6 @@ cov-int* docs/Manual.pdf README.pdf -# build generated files -/settings.json - # local changes only make/local.mk -launch.json +launch.json \ No newline at end of file diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json index 6e7d914b25a..e69de29bb2d 100755 --- a/.vscode/c_cpp_properties.json +++ b/.vscode/c_cpp_properties.json @@ -1,66 +0,0 @@ -{ - "configurations": [ - { - "name": "Linux", - "includePath": [ - "${workspaceRoot}/src/main/**", - "${workspaceRoot}/lib/main/**", - "/usr/include/**" - ], - "browse": { - "limitSymbolsToIncludedHeaders": false, - "path": [ - "${workspaceRoot}/src/main/**", - "${workspaceRoot}/lib/main/**" - ] - }, - "intelliSenseMode": "linux-gcc-arm", - "cStandard": "c11", - "cppStandard": "c++17", - "defines": [ - "MCU_FLASH_SIZE 512", - "USE_NAV", - "NAV_FIXED_WING_LANDING", - "USE_OSD", - "USE_GYRO_NOTCH_1", - "USE_GYRO_NOTCH_2", - "USE_DTERM_NOTCH", - "USE_ACC_NOTCH", - "USE_GYRO_BIQUAD_RC_FIR2", - "USE_D_BOOST", - "USE_SERIALSHOT", - "USE_ANTIGRAVITY", - "USE_ASYNC_GYRO_PROCESSING", - "USE_RPM_FILTER", - "USE_GLOBAL_FUNCTIONS", - "USE_DYNAMIC_FILTERS", - "USE_IMU_BNO055", - "USE_SECONDARY_IMU", - "USE_DSHOT", - "FLASH_SIZE 480", - "USE_I2C_IO_EXPANDER", - "USE_PCF8574", - "USE_ESC_SENSOR", - "USE_PROGRAMMING_FRAMEWORK", - "USE_SERIALRX_GHST", - "USE_TELEMETRY_GHST", - "USE_CMS", - "USE_DJI_HD_OSD", - "USE_GYRO_KALMAN", - "USE_RANGEFINDER", - "USE_RATE_DYNAMICS", - "USE_SMITH_PREDICTOR", - "USE_ALPHA_BETA_GAMMA_FILTER", - "USE_MAG_VCM5883", - "USE_TELEMETRY_JETIEXBUS", - "USE_NAV", - "USE_SDCARD_SDIO", - "USE_SDCARD", - "USE_Q_TUNE", - "USE_GYRO_FFT_FILTER" - ], - "configurationProvider": "ms-vscode.cmake-tools" - } - ], - "version": 4 -} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json index 2cece3ee127..e69de29bb2d 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,12 +0,0 @@ -{ - "files.associations": { - "chrono": "c", - "cmath": "c", - "ranges": "c" - }, - "editor.tabSize": 4, - "editor.insertSpaces": true, - "editor.detectIndentation": false, - "editor.expandTabs": true, - "C_Cpp.clang_format_fallbackStyle": "{ BasedOnStyle: Google, IndentWidth: 4, BreakBeforeBraces: Mozilla }" -} diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 3ca90b787d3..e69de29bb2d 100755 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -1,41 +0,0 @@ -{ - // See https://go.microsoft.com/fwlink/?LinkId=733558 - // for the documentation about the tasks.json format - "version": "2.0.0", - "tasks": [ - { - "label": "Build Matek F722-SE", - "type": "shell", - "command": "make MATEKF722SE", - "group": "build", - "problemMatcher": [], - "options": { - "cwd": "${workspaceFolder}/build" - } - }, - { - "label": "Build Matek F722", - "type": "shell", - "command": "make MATEKF722", - "group": { - "kind": "build", - "isDefault": true - }, - "problemMatcher": [], - "options": { - "cwd": "${workspaceFolder}/build" - } - } - , - { - "label": "CMAKE Update", - "type": "shell", - "command": "cmake ..", - "group": "build", - "problemMatcher": [], - "options": { - "cwd": "${workspaceFolder}/build" - } - } - ] -} \ No newline at end of file From 60c56072af6a17fc0020fde12068e249d81a7fc2 Mon Sep 17 00:00:00 2001 From: Julio Cesar Date: Mon, 30 Oct 2023 21:06:55 -0300 Subject: [PATCH 4/4] ignore vscode paste --- .gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 29d96bc9206..66486ac6757 100644 --- a/.gitignore +++ b/.gitignore @@ -12,7 +12,7 @@ __pycache__ startup_stm32f10x_md_gcc.s .vagrant/ -#.vscode/ +.vscode/ cov-int* /build/ /build_SITL/