Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
219 commits
Select commit Hold shift + click to select a range
b1fd0bd
add SAMM code from last year
planeflight Mar 31, 2026
effa315
change pinouts in main.c
planeflight Mar 31, 2026
4899164
changed gpio.c and removed the extra pinouts
planeflight Mar 31, 2026
f46c2ec
Automatic Clang-Format: Standardized formatting automatically
github-actions[bot] Mar 31, 2026
8bbfe39
Merge branch 'main' into SensorMigration
dchansen06 Mar 31, 2026
824b55e
Merge branch 'main' into SensorMigration
dchansen06 Mar 31, 2026
8fc611e
Merge branch 'main' into SensorMigration
dchansen06 Mar 31, 2026
8b2d3b3
Merge branch 'main' into SensorMigration
dchansen06 Apr 3, 2026
83e55d0
Added new folders under SAMM
Shrav816 Apr 3, 2026
a87ae15
added and configured IMU
TurtleTest2 Apr 3, 2026
ce994e5
Automatic Clang-Format: Standardized formatting automatically
github-actions[bot] Apr 3, 2026
3ee54ac
Merge branch 'main' into SensorMigration
dchansen06 Apr 7, 2026
b98a494
Merge branch 'main' into SensorMigration
dchansen06 Apr 7, 2026
1faab9c
Merge branch 'main' into SensorMigration
dchansen06 Apr 7, 2026
126385c
Moved some common files, corrected I2C pin for ToF
Shrav816 Apr 7, 2026
a9a8c53
Additions to mag encoder files
Shrav816 Apr 9, 2026
3dcfbe2
Automatic Clang-Format: Standardized formatting automatically
github-actions[bot] Apr 9, 2026
c080b8f
Corrected GPIO pins for SPI and FDCAN
Shrav816 Apr 9, 2026
4bb0eaf
Merge branch 'main' into SensorMigration
dchansen06 Apr 10, 2026
44cfb2a
Reorganized files under IMUandMAG
Shrav816 Apr 10, 2026
5164eee
Further reorganization, modifying some G4 files to H5
Shrav816 Apr 10, 2026
ec1b39d
Renaming g4 files, (partly) setting up cmake
Shrav816 Apr 10, 2026
a31f77a
More cmake changes
Shrav816 Apr 10, 2026
8f31c7c
Automatic CMake Format: Standardized formatting automatically
github-actions[bot] Apr 10, 2026
5e4ee01
Automatic Clang-Format: Standardized formatting automatically
github-actions[bot] Apr 10, 2026
e39de18
Merge branch 'main' into SensorMigration
dchansen06 Apr 10, 2026
e994bd3
Mag updates, set up CMake
Shrav816 Apr 10, 2026
0c66d0f
MAG changes
Shrav816 Apr 10, 2026
25b93fd
Automatic Clang-Format: Standardized formatting automatically
github-actions[bot] Apr 10, 2026
7f97648
Merge branch 'main' into SensorMigration
dchansen06 Apr 13, 2026
1af33bf
Merge branch 'main' into SensorMigration
dchansen06 Apr 14, 2026
d149348
Changed HSE, LSE, CSI clock speeds to match H5
Shrav816 Apr 13, 2026
905881d
Updates to mag functions
Shrav816 Apr 14, 2026
c52ac3a
Automatic Clang-Format: Standardized formatting automatically
github-actions[bot] Apr 14, 2026
8cda034
Changed CMakeLists.txt - SAMM_MAG needs to be changed to SAMM_Mag, MA…
anthony9975 Apr 14, 2026
0dd5d31
Some small fixes hopefully
dchansen06 Apr 14, 2026
2be366b
Automatic Clang-Format: Standardized formatting automatically
github-actions[bot] Apr 14, 2026
c2e2b60
Fixed includes
Shrav816 Apr 14, 2026
d61f2a5
Merge branch 'main' into SensorMigration
dchansen06 Apr 14, 2026
573da1b
Fixed adc issues
Shrav816 Apr 14, 2026
469339a
Automatic Clang-Format: Standardized formatting automatically
github-actions[bot] Apr 14, 2026
05b108c
Fixed some more includes
Shrav816 Apr 14, 2026
ebc6fe4
More debugging for linker problems
Shrav816 Apr 14, 2026
dc5ea22
Automatic Clang-Format: Standardized formatting automatically
github-actions[bot] Apr 14, 2026
7e1c192
Merge branch 'main' into SensorMigration
dchansen06 Apr 14, 2026
8fc1c00
Merge branch 'main' into SensorMigration
dchansen06 Apr 14, 2026
9c9e892
Merge branch 'main' into SensorMigration
dchansen06 Apr 17, 2026
9105460
Merge branch 'main' into SensorMigration
dchansen06 Apr 17, 2026
9343d1b
Removed FDCAN files, removed some linker errors
Shrav816 Apr 17, 2026
8c9fbb7
Automatic Clang-Format: Standardized formatting automatically
github-actions[bot] Apr 17, 2026
14fead5
Modified CMake files to address removing fdcan
Shrav816 Apr 17, 2026
0f3457a
Merge branch 'main' into SensorMigration
dchansen06 Apr 17, 2026
d94d7b7
Added safety and changed read and write, added error checker function…
kiranduriseti Apr 17, 2026
7002bfb
Automatic Clang-Format: Standardized formatting automatically
github-actions[bot] Apr 17, 2026
f032f5d
Merge branch 'main' into SensorMigration
dchansen06 Apr 17, 2026
9229db9
Minor changes
Shrav816 Apr 17, 2026
aa242c3
Automatic Clang-Format: Standardized formatting automatically
github-actions[bot] Apr 17, 2026
54c5725
Merge branch 'main' into SensorMigration
dchansen06 Apr 20, 2026
e6bdda4
Merge branch 'main' into SensorMigration
dchansen06 Apr 21, 2026
55bbce4
Merge branch 'main' into SensorMigration
dchansen06 Apr 21, 2026
2342b87
Merge branch 'main' into SensorMigration
dchansen06 Apr 21, 2026
48973cd
Mag updates + added CubeMX generated SystemClock_Config in main
Shrav816 Apr 21, 2026
f3f7ea7
Added more includes to main.h based on CubeMX generation
Shrav816 Apr 21, 2026
f818d10
Removed Core file (old code), changed HAL to LL for SPI3 and I2C1, cr…
Shrav816 Apr 21, 2026
b18ad72
Automatic Clang-Format: Standardized formatting automatically
github-actions[bot] Apr 21, 2026
dd8bf40
Removed ADC files from Mag and TOF
Shrav816 Apr 21, 2026
61002cc
Modified Mag peripheral files to match TOF (where appropriate)
Shrav816 Apr 21, 2026
a438b13
Automatic Clang-Format: Standardized formatting automatically
github-actions[bot] Apr 21, 2026
6be39c0
Copy logomatic fixes from `CanOnH5` #440
dchansen06 Apr 23, 2026
c49e76a
Manually patch i2s to compile without warnings
dchansen06 Apr 23, 2026
6e31b29
Automatic Clang-Format: Standardized formatting automatically
github-actions[bot] Apr 23, 2026
9047153
Copy manual hal/ll patches from #440 for compilation
dchansen06 Apr 23, 2026
f5051e2
Removed unnecessary files in Extras folder under SAMM_TOF
Shrav816 Apr 23, 2026
a502676
Merge branch 'main' into SensorMigration
dchansen06 Apr 23, 2026
71552a4
Switched I2C1 and SPI3 back to HAL, moved ToF files out of Extras fol…
Shrav816 Apr 23, 2026
cee41be
More fixes in mag.c for mag_init, mag_transmit, and mag_read_device_s…
Shrav816 Apr 23, 2026
88dda05
Automatic Clang-Format: Standardized formatting automatically
github-actions[bot] Apr 23, 2026
ce28a76
Fixed errors in mag files
Shrav816 Apr 24, 2026
959ab05
Add CAN Support For STM32H523 (#440)
dchansen06 Apr 24, 2026
72d8e5d
Automatic Clang-Format: Standardized formatting automatically
github-actions[bot] Apr 24, 2026
732c4b2
Added can_mag files, minor changes to mag.h and mag.c to convert floa…
Shrav816 Apr 24, 2026
deb18a2
Automatic Clang-Format: Standardized formatting automatically
github-actions[bot] Apr 24, 2026
40496d0
Added can init and sending for mag and changed cmake
kiranduriseti Apr 24, 2026
73ea2e9
Automatic Clang-Format: Standardized formatting automatically
github-actions[bot] Apr 24, 2026
ff9ab55
Truncated mag value to be uint8
Shrav816 Apr 24, 2026
ce829cc
Updated can for mag
kiranduriseti Apr 24, 2026
dd02ef9
Updated can for mag
kiranduriseti Apr 24, 2026
cd14fe2
Automatic Clang-Format: Standardized formatting automatically
github-actions[bot] Apr 24, 2026
16b186e
Automatic Clang-Format: Standardized formatting automatically
github-actions[bot] Apr 24, 2026
c3c5e03
Merge branch 'main' into SensorMigration
dchansen06 Apr 25, 2026
ee929dd
Merge branch 'main' into SensorMigration
dchansen06 Apr 26, 2026
d0e3206
Merge branch 'main' into SensorMigration
dchansen06 Apr 26, 2026
87add70
Merge branch 'main' into SensorMigration
dchansen06 Apr 26, 2026
0751f22
Merge branch 'main' into SensorMigration
dchansen06 Apr 27, 2026
79f6cd0
Merge branch 'main' into SensorMigration
dchansen06 Apr 28, 2026
e000b82
Starting to implement CAN
Apr 28, 2026
4b3621c
Co-authored-by: syaakobovitz <syaakobovitz@users.noreply.github.com>
Apr 28, 2026
dbe3350
Automatic Clang-Format: Standardized formatting automatically
github-actions[bot] Apr 28, 2026
834e328
CAN stuff and bugs fixed hopefully
Apr 28, 2026
2420901
Can and bug fixes
Apr 28, 2026
4d55a69
Minor changes?
Shrav816 Apr 28, 2026
7e4227c
Automatic Clang-Format: Standardized formatting automatically
github-actions[bot] Apr 28, 2026
ebd58e7
Renamed SAMM_ToF -> InboardFloor, SAMM_Mag -> SuspensionNodes
Shrav816 Apr 28, 2026
6d756f1
Automatic Clang-Format: Standardized formatting automatically
github-actions[bot] Apr 28, 2026
359fb75
Fix suspected mispelling of can as cna
dchansen06 Apr 28, 2026
6b86f16
Migrate to singular form of suspension node
dchansen06 Apr 28, 2026
b34243a
Preform CMake dark magic
dchansen06 Apr 28, 2026
6fe2282
Automatic CANfigurator: Updated CAN files automatically
github-actions[bot] Apr 28, 2026
6aaa54f
Automatic Clang-Format: Standardized formatting automatically
github-actions[bot] Apr 28, 2026
8554df9
Migrate NODE definition into GR Lib CMake
dchansen06 Apr 28, 2026
cf2c5e0
Add a ton of launch and tasks
dchansen06 Apr 28, 2026
f0f19a9
Automatic CMake Format: Standardized formatting automatically
github-actions[bot] Apr 28, 2026
6141fa2
Bug fixes for now
May 1, 2026
05d1e76
Merge branch 'SensorMigration' of https://github.com/Gaucho-Racing/Fi…
May 1, 2026
d976d72
Adding MillisecondsSinceBoot() to inboardfloor to replace millis func…
Shrav816 May 4, 2026
14ccb94
Automatic Clang-Format: Standardized formatting automatically
github-actions[bot] May 4, 2026
950d4dd
Merge branch 'main' into SensorMigration
dchansen06 May 4, 2026
c164e3f
Merge branch 'main' into SensorMigration
dchansen06 May 4, 2026
b33bb92
Automatic CANfigurator: Updated CAN files automatically
github-actions[bot] May 4, 2026
87416f7
Update `launch.json` to use proper JSON syntax (no commas after last …
dchansen06 May 4, 2026
2523d22
Print internal status in `main.c`
dchansen06 May 4, 2026
ddea006
Use `UNUSED` on `dev` in `VL53L4ED_WaitMs`
dchansen06 May 4, 2026
1882ffa
Merge branch 'main' into SensorMigration
dchansen06 May 4, 2026
7e6fa3e
Fix casting of `temp` in printf
dchansen06 May 4, 2026
9cbba49
Set up sus for 8 Mbps can data bus using PLL1
dchansen06 May 4, 2026
7573f7e
Automatic Clang-Format: Standardized formatting automatically
github-actions[bot] May 4, 2026
f14e8ff
Merge branch 'main' into SensorMigration
dchansen06 May 4, 2026
5bbb753
Automatic CANfigurator: Updated CAN files automatically
github-actions[bot] May 4, 2026
ab3606f
Merge branch 'SensorMigration' of https://github.com/Gaucho-Racing/Fi…
May 5, 2026
bd96efc
Incorporated new CAN funcs
May 5, 2026
f57a91e
Automatic Clang-Format: Standardized formatting automatically
github-actions[bot] May 5, 2026
76fddc3
Fixed merge conflict for code that was already there?? idk lol
Shrav816 May 5, 2026
a115954
Fixed minor merge conflict?
Shrav816 May 5, 2026
552d441
Automatic Clang-Format: Standardized formatting automatically
github-actions[bot] May 5, 2026
25f8862
Included can.h and removed redundant mag code in inboardfloor main file
Shrav816 May 5, 2026
a85e177
Why is mag here
May 5, 2026
af709c7
Automatic Clang-Format: Standardized formatting automatically
github-actions[bot] May 5, 2026
79bdf82
Merge branch 'SensorMigration' of https://github.com/Gaucho-Racing/Fi…
May 5, 2026
258af09
Merge branch 'SensorMigration' of https://github.com/Gaucho-Racing/Fi…
May 5, 2026
ad18c8c
Renamed can_mag to can_sus for suspension node files
Shrav816 May 5, 2026
0af454a
Fixed silly include errors regarding can_mag -> can_sus name change w…
Shrav816 May 5, 2026
66a89db
Don't know why the changes were deleted
May 5, 2026
1e23659
Merge branch 'SensorMigration' of https://github.com/Gaucho-Racing/Fi…
May 5, 2026
84d0e5f
Automatic Clang-Format: Standardized formatting automatically
github-actions[bot] May 5, 2026
c183c54
test
May 5, 2026
abd8198
Automatic Clang-Format: Standardized formatting automatically
github-actions[bot] May 5, 2026
1c2d8c9
I hate CAN
May 5, 2026
303682c
Gr
May 5, 2026
7edd6e5
Automatic Clang-Format: Standardized formatting automatically
github-actions[bot] May 5, 2026
0af103f
started working on sus node can handler function
Shrav816 May 5, 2026
f8292b9
can now receive ping in can handler plus added enum for primary/subne…
Shrav816 May 5, 2026
611a5fc
Automatic Clang-Format: Standardized formatting automatically
github-actions[bot] May 5, 2026
96f9d4c
Merge branch 'main' into SensorMigration
dchansen06 May 5, 2026
9667075
Merge branch 'main' into SensorMigration
dchansen06 May 6, 2026
a0b1ff3
like really minor changes brb
Shrav816 May 8, 2026
a755030
Automatic Clang-Format: Standardized formatting automatically
github-actions[bot] May 8, 2026
ac21c93
Merging
kiranduriseti May 8, 2026
4513720
Resolve conflict: accept deletion of can_mag.c
kiranduriseti May 8, 2026
b788a2a
Some changes
kiranduriseti May 8, 2026
129c771
Automatic Clang-Format: Standardized formatting automatically
github-actions[bot] May 8, 2026
3ccfd88
Merge conflict resolution
Shrav816 May 8, 2026
daa6b35
Deleted mag message id line
Shrav816 May 8, 2026
fb338e1
Additional explanatory comments
Shrav816 May 8, 2026
3965782
Automatic Clang-Format: Standardized formatting automatically
github-actions[bot] May 8, 2026
ea601bd
Merge branch 'main' into SensorMigration
dchansen06 May 10, 2026
2822987
Quick fixes and some comments in can_sus
Shrav816 May 12, 2026
1fe74c9
literally just got started on the can send function
Shrav816 May 12, 2026
a266f63
Automatic Clang-Format: Standardized formatting automatically
github-actions[bot] May 12, 2026
a7dba11
Added function SusNode_CAN_Send + minor fixes to callback functions, …
Shrav816 May 12, 2026
a43ddbc
Removed old can_mag_init function
Shrav816 May 12, 2026
0bb6432
Automatic Clang-Format: Standardized formatting automatically
github-actions[bot] May 12, 2026
085af86
Updated Fancy Library to work with subnet, fixed charging for new ACU…
kiranduriseti May 12, 2026
8ec850d
Merge branch 'main' of https://github.com/Gaucho-Racing/Firmware into…
kiranduriseti May 12, 2026
aa70dcb
Merge branch 'SensorMigration' of https://github.com/Gaucho-Racing/Fi…
kiranduriseti May 12, 2026
69f747c
Automatic Clang-Format: Standardized formatting automatically
github-actions[bot] May 12, 2026
3ab8b00
Corrected node ID
Shrav816 May 12, 2026
28b486d
Merge Conflict
kiranduriseti May 12, 2026
ee34330
Merge branch 'SensorMigration' of https://github.com/Gaucho-Racing/Fi…
kiranduriseti May 12, 2026
cfa71d1
Automatic Clang-Format: Standardized formatting automatically
github-actions[bot] May 12, 2026
da2208c
Merge branch 'main' into SensorMigration
dchansen06 May 12, 2026
df494e3
Merge branch 'main' into SensorMigration
dchansen06 May 12, 2026
daacd58
Merge branch 'main' into SensorMigration
dchansen06 May 12, 2026
3662a86
Merge branch 'main' into SensorMigration
dchansen06 May 14, 2026
559b5f5
Merge branch 'main' into SensorMigration
dchansen06 May 14, 2026
98ea06a
can_sus.h and can_sus.c completed -- untested
kiranduriseti May 15, 2026
3d4e137
compiles, linker failed
kiranduriseti May 15, 2026
f71a140
Minor fixes to main
Shrav816 May 15, 2026
6563b20
Changes to can_sus and main
Shrav816 May 15, 2026
f40ea03
Minor naming changes to variables in can_sus.c
Shrav816 May 18, 2026
40f5d95
Fixed some build errors, moved MillisecondsSinceBoot to bmi323.c from…
Shrav816 May 18, 2026
49af753
Changed binary constants in bmi323.c to hex
Shrav816 May 18, 2026
e6661e4
literally just added (void)status in bmi323.c line 36 to get rid of u…
Shrav816 May 18, 2026
322fb94
Outlined inboardfloor files based on can sus files, still needs finet…
Shrav816 May 18, 2026
cde7bf4
Merge branch 'main' into SensorMigration
dchansen06 May 19, 2026
b1c1949
Added bmi initialization into main for sus node, still needs to be co…
Shrav816 May 19, 2026
c74def3
Merge branch 'main' into SensorMigration
dchansen06 May 19, 2026
30c4e0e
Added accelerometer configuration parameters
Shrav816 May 19, 2026
63c2bc0
Added proper IMU initialization and raw data conversion for testing i…
Shrav816 May 21, 2026
e557644
added hal delay at the end of while loop in main.c susnode
Shrav816 May 22, 2026
d105489
Changed avgnum config to no averaging, copied bmi init + test code in…
Shrav816 May 22, 2026
24600e2
Added to inboard floor main while loop, removed some old TODO comments
Shrav816 May 22, 2026
e664caa
Fixed naming convention in FancyCAN_LoopbackTest bc it was causing a …
Shrav816 May 22, 2026
e3a4159
Added EWMA for inboard floor
Shrav816 May 22, 2026
00bd8df
added ewma for susnode and minor changes
May 22, 2026
a9087be
Merge branch 'main' into SensorMigration
dchansen06 May 23, 2026
3d73753
Fix suspension node naming in node id
dchansen06 May 24, 2026
0da0b91
Configure STM32H523CEU6 to launch using `stlink-dap`
dchansen06 May 24, 2026
e03be2a
Change hal status variable to be a `HAL_StatusTypeDef` instead of a g…
dchansen06 May 24, 2026
0057e76
moved millissinceboot so that susnode builds
Shrav816 May 26, 2026
63ba168
Merge branch 'main' into SensorMigration
dchansen06 May 26, 2026
d9aa35c
Merge branch 'main' into SensorMigration
dchansen06 May 26, 2026
f3dad67
just commenting out imu code for mag testing
Shrav816 May 26, 2026
b4d38f3
Merge branch 'main' into SensorMigration
dchansen06 May 27, 2026
e33af0f
trying to debug the stupid mag encoder
Shrav816 May 27, 2026
f905c84
changed spi3 to 2 edge
Shrav816 May 27, 2026
b1070d0
Fix size of transmitted SPI packet
dchansen06 May 29, 2026
cd4b82c
Merge branch 'main' into SensorMigration
dchansen06 May 29, 2026
1c7220b
Automatic Clang-Format: Standardized formatting automatically
github-actions[bot] May 29, 2026
1b40972
Mag encoder initializes now yay
Shrav816 May 29, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
159 changes: 159 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,134 @@
]
}
},
{
"cwd": "${workspaceFolder}",
"executable": "${command:cmake.buildDirectory}/InboardFloor.elf",
"name": "Inboard Floor FL",
"request": "launch",
"type": "cortex-debug",
"servertype": "openocd",
"configFiles": [
"interface/stlink-dap.cfg",
"target/stm32h5x.cfg"
],
"searchDir": [],
"preLaunchTask": "CMake: configure and build InboardFloor FL",
"showDevDebugOutput": "raw",
"svdPath": "${workspaceFolder}/Lib/Vendor/CMSIS_5/SVD/STM32H523.svd"
},
{
"cwd": "${workspaceFolder}",
"executable": "${command:cmake.buildDirectory}/InboardFloor.elf",
"name": "Inboard Floor FR",
"request": "launch",
"type": "cortex-debug",
"servertype": "openocd",
"configFiles": [
"interface/stlink-dap.cfg",
"target/stm32h5x.cfg"
],
"searchDir": [],
"preLaunchTask": "CMake: configure and build InboardFloor FR",
"showDevDebugOutput": "raw",
"svdPath": "${workspaceFolder}/Lib/Vendor/CMSIS_5/SVD/STM32H523.svd"
},
{
"cwd": "${workspaceFolder}",
"executable": "${command:cmake.buildDirectory}/InboardFloor.elf",
"name": "Inboard Floor RL",
"request": "launch",
"type": "cortex-debug",
"servertype": "openocd",
"configFiles": [
"interface/stlink-dap.cfg",
"target/stm32h5x.cfg"
],
"searchDir": [],
"preLaunchTask": "CMake: configure and build InboardFloor RL",
"showDevDebugOutput": "raw",
"svdPath": "${workspaceFolder}/Lib/Vendor/CMSIS_5/SVD/STM32H523.svd"
},
{
"cwd": "${workspaceFolder}",
"executable": "${command:cmake.buildDirectory}/InboardFloor.elf",
"name": "Inboard Floor RR",
"request": "launch",
"type": "cortex-debug",
"servertype": "openocd",
"configFiles": [
"interface/stlink-dap.cfg",
"target/stm32h5x.cfg"
],
"searchDir": [],
"preLaunchTask": "CMake: configure and build InboardFloor RR",
"showDevDebugOutput": "raw",
"svdPath": "${workspaceFolder}/Lib/Vendor/CMSIS_5/SVD/STM32H523.svd"
},
{
"cwd": "${workspaceFolder}",
"executable": "${command:cmake.buildDirectory}/SuspensionNode.elf",
"name": "Suspension Node FL",
"request": "launch",
"type": "cortex-debug",
"servertype": "openocd",
"configFiles": [
"interface/stlink-dap.cfg",
"target/stm32h5x.cfg"
],
"searchDir": [],
"preLaunchTask": "CMake: configure and build SuspensionNode FL",
"showDevDebugOutput": "raw",
"svdPath": "${workspaceFolder}/Lib/Vendor/CMSIS_5/SVD/STM32H523.svd"
},
{
"cwd": "${workspaceFolder}",
"executable": "${command:cmake.buildDirectory}/SuspensionNode.elf",
"name": "Suspension Node FR",
"request": "launch",
"type": "cortex-debug",
"servertype": "openocd",
"configFiles": [
"interface/stlink-dap.cfg",
"target/stm32h5x.cfg"
],
"searchDir": [],
"preLaunchTask": "CMake: configure and build SuspensionNode FR",
"showDevDebugOutput": "raw",
"svdPath": "${workspaceFolder}/Lib/Vendor/CMSIS_5/SVD/STM32H523.svd"
},
{
"cwd": "${workspaceFolder}",
"executable": "${command:cmake.buildDirectory}/SuspensionNode.elf",
"name": "Suspension Node RL",
"request": "launch",
"type": "cortex-debug",
"servertype": "openocd",
"configFiles": [
"interface/stlink-dap.cfg",
"target/stm32h5x.cfg"
],
"searchDir": [],
"preLaunchTask": "CMake: configure and build SuspensionNode RL",
"showDevDebugOutput": "raw",
"svdPath": "${workspaceFolder}/Lib/Vendor/CMSIS_5/SVD/STM32H523.svd"
},
{
"cwd": "${workspaceFolder}",
"executable": "${command:cmake.buildDirectory}/SuspensionNode.elf",
"name": "Suspension Node RR",
"request": "launch",
"type": "cortex-debug",
"servertype": "openocd",
"configFiles": [
"interface/stlink-dap.cfg",
"target/stm32h5x.cfg"
],
"searchDir": [],
"preLaunchTask": "CMake: configure and build SuspensionNode RR",
"showDevDebugOutput": "raw",
"svdPath": "${workspaceFolder}/Lib/Vendor/CMSIS_5/SVD/STM32H523.svd"
},
{
"cwd": "${workspaceFolder}",
"executable": "${command:cmake.buildDirectory}/G4HELLO.elf",
Expand Down Expand Up @@ -839,6 +967,37 @@
}
]
}
},
{
"cwd": "${workspaceFolder}",
"executable": "${command:cmake.buildDirectory}/H523xx_CAN_BASIC_TEST.elf",
"name": "H523xx_CAN_BASIC_TEST",
"request": "launch",
"type": "cortex-debug",
"servertype": "openocd",
"configFiles": [
"interface/stlink-dap.cfg",
"target/stm32h5x.cfg"
],
"searchDir": [],
"preLaunchTask": "CMake: configure and build H523xx_CAN_BASIC_TEST",
"showDevDebugOutput": "raw",
"svdPath": "${workspaceFolder}/Lib/Vendor/CMSIS_5/SVD/STM32H523.svd",
"swoConfig": {
"enabled": true,
"cpuFrequency": 170000000,
"swoFrequency": 2000000,
"source": "probe",
"decoders": [
{
"type": "console",
"label": "ITM",
"showOnStartup": true,
"port": 0,
"encoding": "ascii"
}
]
}
}
]
}
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@
"files.trimTrailingWhitespace": true,
"files.eol": "\n",
"cmake.useCMakePresets": "always",
"cortex-debug.variableUseNaturalFormat": true
"cortex-debug.variableUseNaturalFormat": false
}
81 changes: 81 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,78 @@
],
"command": "cmake --build --preset ${command:cmake.activeBuildPresetName} --target TireTemp"
},
{
"label": "CMake: configure and build InboardFloor FL",
"type": "shell",
"dependsOrder": "sequence",
"dependsOn": [
"CMake: configure NODE=FL"
],
"command": "cmake --build --preset ${command:cmake.activeBuildPresetName} --target InboardFloor"
},
{
"label": "CMake: configure and build InboardFloor FR",
"type": "shell",
"dependsOrder": "sequence",
"dependsOn": [
"CMake: configure NODE=FR"
],
"command": "cmake --build --preset ${command:cmake.activeBuildPresetName} --target InboardFloor"
},
{
"label": "CMake: configure and build InboardFloor RL",
"type": "shell",
"dependsOrder": "sequence",
"dependsOn": [
"CMake: configure NODE=RL"
],
"command": "cmake --build --preset ${command:cmake.activeBuildPresetName} --target InboardFloor"
},
{
"label": "CMake: configure and build InboardFloor RR",
"type": "shell",
"dependsOrder": "sequence",
"dependsOn": [
"CMake: configure NODE=RR"
],
"command": "cmake --build --preset ${command:cmake.activeBuildPresetName} --target InboardFloor"
},
{
"label": "CMake: configure and build SuspensionNode FL",
"type": "shell",
"dependsOrder": "sequence",
"dependsOn": [
"CMake: configure NODE=FL"
],
"command": "cmake --build --preset ${command:cmake.activeBuildPresetName} --target SuspensionNode"
},
{
"label": "CMake: configure and build SuspensionNode FR",
"type": "shell",
"dependsOrder": "sequence",
"dependsOn": [
"CMake: configure NODE=FR"
],
"command": "cmake --build --preset ${command:cmake.activeBuildPresetName} --target SuspensionNode"
},
{
"label": "CMake: configure and build SuspensionNode RL",
"type": "shell",
"dependsOrder": "sequence",
"dependsOn": [
"CMake: configure NODE=RL"
],
"command": "cmake --build --preset ${command:cmake.activeBuildPresetName} --target SuspensionNode"
},
{
"label": "CMake: configure and build SuspensionNode RR",
"type": "shell",
"dependsOrder": "sequence",
"dependsOn": [
"CMake: configure NODE=RR"
],
"command": "cmake --build --preset ${command:cmake.activeBuildPresetName} --target SuspensionNode"
},
{
"label": "CMake: configure and build AnalogCalibration",
"type": "shell",
Expand Down Expand Up @@ -289,6 +361,15 @@
"CMake: configure"
],
"command": "cmake --build --preset ${command:cmake.activeBuildPresetName} --target G431x8_CAN_BASIC_TEST"
},
{
"label": "CMake: configure and build H523xx_CAN_BASIC_TEST",
"type": "shell",
"dependsOrder": "sequence",
"dependsOn": [
"CMake: configure"
],
"command": "cmake --build --preset ${command:cmake.activeBuildPresetName} --target H523xx_CAN_BASIC_TEST"
}
]
}
7 changes: 7 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,11 @@ add_gr_project(STM32G474xE AnalogCalibration)
add_gr_project(STM32G474xE CANine)
add_gr_project(STM32G431x8 TireTemp)

# SAMM
include("SAMM/samm.cmake")
add_gr_project(STM32H523xE SAMM InboardFloor)
add_gr_project(STM32H523xE SAMM SuspensionNode)

# Development
add_gr_project(STM32G474xE G4PERTESTING)
add_gr_project(STM32G474xE G4SPITESTING)
Expand All @@ -168,7 +173,9 @@ add_gr_project(STM32G474xE G474xE_CAN_TESTING CAN_STRESS_TEST)
add_gr_project(STM32G474xE G474xE_CAN_TESTING CAN_LOST_RX_TEST)
add_gr_project(STM32G474xE G474xE_CAN_TESTING CAN_FILTER_TEST)
add_gr_project(STM32G474xE G474xE_CAN_TESTING PROFILER_TEST)

add_gr_project(STM32G431x8 G431x8_CAN_TESTING G431x8_CAN_BASIC_TEST)
add_gr_project(STM32H523xE H523xx_CAN_TESTING H523xx_CAN_BASIC_TEST)

add_gr_project(STM32G474xE G4FANCYCANTESTING CAN_LOOPBACK_TEST)

Expand Down
Loading
Loading