From f16286f3ebea8842ad3a86587cda25568c99f22e Mon Sep 17 00:00:00 2001 From: Peter van der Perk Date: Mon, 28 Nov 2022 10:19:07 +0100 Subject: [PATCH] Add jlink-nuttx build command for gdb helper for multi-task debugging --- .gitignore | 2 ++ Makefile | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/.gitignore b/.gitignore index 9519aeb837..7667095ab7 100644 --- a/.gitignore +++ b/.gitignore @@ -47,6 +47,8 @@ GTAGS *.files *.includes +Tools/jlink-nuttx.so + # CLion ignores .idea cmake-build-*/ diff --git a/Makefile b/Makefile index 86b6239ab1..287fffcb14 100644 --- a/Makefile +++ b/Makefile @@ -324,6 +324,10 @@ px4io_update: cp build/cubepilot_io-v2_default/cubepilot_io-v2_default.bin boards/cubepilot/cubeyellow/extras/cubepilot_io-v2_default.bin git status +jlink-nuttx: + $(CC) -shared -fPIC platforms/nuttx/NuttX/nuttx/tools/jlink-nuttx.c -o Tools/jlink-nuttx.so + + bootloaders_update: ark_fmu-v6x_bootloader cuav_nora_bootloader cuav_x7pro_bootloader cubepilot_cubeorange_bootloader holybro_durandal-v1_bootloader holybro_kakuteh7_bootloader matek_h743_bootloader matek_h743-mini_bootloader matek_h743-slim_bootloader modalai_fc-v2_bootloader mro_ctrl-zero-classic_bootloader mro_ctrl-zero-h7_bootloader mro_ctrl-zero-h7-oem_bootloader mro_pixracerpro_bootloader px4_fmu-v6c_bootloader px4_fmu-v6u_bootloader px4_fmu-v6x_bootloader git status