Commit Graph

11 Commits (73b030623033ea0436fda91cf83e5584da40cdb8)

Author SHA1 Message Date
Jamie Smith 05a57dc62c
Replace REDLINK upload method with LINKSERVER (#186)
* Replace REDLINK upload method with LINKSERVER

* Fix sleep test failure on MIMXRT, fix failure to debug

* Remove no longer needed XML files
2023-09-26 23:28:35 -07:00
Jamie Smith a639176603
Fix declaring OSPIFBlockDevice and QSPIFBlockDevice as globals, fix some STM32U585 issues (#167)
* Attempt to fix declaring an OSPIFBlockDevice as a global object

* Astyle format

* Add B_U585_IOT02A upload method support and default OSPIF mappings.  Guard against incorrect case on upload method

* Also fix the same error in QSPIFBlockDevice

* Fix compile error for mbed-wifi

* Provide ScopedMutexLock for unittests mode
2023-07-17 19:52:38 -07:00
Jamie Smith eda766ec8f
Refactor upload methods to streamline the debugging experience (#129)
* Change all debug configurations to not reset and exit on error.  Initial tasks.json implementation.

* st-util working on command line and VS Code!

* Convert STM32CUBE, fix spaces in GDB server task command

* pyocd working!

* Convert OpenOCD

* Convert JLINK

* Convert REDLINK upload method

* Fix CMake typo

* Try and fix some variable scope issues

* Initial CLion implementation.  Need to test with hardware.

* Add a separate task that kicks off a build before each debug session
2023-02-20 00:16:15 -08:00
Jamie Smith 72832c7bba
Add upload method support for MIMXRT1050 EVK (#84) 2022-11-06 16:13:10 -08:00
Jamie Smith 2ff0a9829f Switch to cortex-debug plugin for VS Code to improve debugging experience 2022-09-14 00:25:31 -07:00
Jamie Smith 9ed98244af Fix typo in yaml 2022-09-14 00:25:30 -07:00
Jamie Smith 5442e2405c Use a cleaner CMake method to handle bin and hex file names 2022-09-14 00:25:30 -07:00
Jamie Smith a9be092438 Fix gdbinit and make debug-xxx not working when executables are created outside of Mbed OS.
Also remove "gdb_memory_map disable" command that breaks breakpoints.
2022-09-14 00:25:28 -07:00
Jamie Smith 3976df728c Add default upload method configuration for each target, make greentea tests use cmake upload methods 2022-09-14 00:25:27 -07:00
Jamie Smith 929263c9c8 License header added to all new filed 2022-09-14 00:25:27 -07:00
Jamie Smith d1a8396478 Adapt mbed-cmake's automatic uploading and debugging system 2022-09-14 00:25:27 -07:00