Commit Graph

19 Commits (9c65ad95ccc8c8a8f6fe2eb0bbfef64bb7a2ef80)

Author SHA1 Message Date
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 b91fc218ac
MIMXRT1060_EVK and Teensy 4.0 support (#113)
* Initial attempt at Teensy 4.0 support

* Hide internal target

* Fix some targets.json issues, add boot code for the MIMXRT1060_EVK.  It boots but tests aren't able to run properly yet.

* Disable LPTICKER on MIMXRT1060, fix pin names for newer dev kits

* Enable MIMXRT106x ethernet
2023-01-09 08:48:25 -08:00
Jamie Smith 72832c7bba
Add upload method support for MIMXRT1050 EVK (#84) 2022-11-06 16:13:10 -08:00
Jamie Smith 32a9080c7d
Enable Arduino Nano 33 BLE (#55)
* Add upload target for Arduino Nano 33 BLE, fix linker script preprocessing, add option for USB serial by default

* astyle error

* Use HINTS instead of PATHS so that the Arduino dir is searched first

* Enable OpenOCD and PyOCD for Nano 33 BLE in SWD mode

* Fix missing dependency for USB tests on Windows

* Add RAM defines for nrf52840

* Fix mbed-storage-kv-config depending on SD card library even if said library was not enabled

* Update dsrdtr value

* No longer need to modify linker script now that we aren't using whole-archive!

* Add OPENOCD_ADAPTER_SERIAL

* Add handling for cmsis dap

* Fix typo

* Fix weak symbol issue causing Bluetooth to not work.  In this case, the weak implementation can simply be removed, because there's no legitimate case where it is used.
2022-10-16 10:32:38 -07:00
Jamie Smith d149b84786 Fix OpenOCD not working for L452RE, fix running tests with a non-default baudrate set, add warning about old stlink versions which may not work 2022-09-14 00:25:32 -07:00
Jamie Smith 8296cb6d39 Silence noisy print, fix bug with MBED upload method not working 2022-09-14 00:25:32 -07:00
Jamie Smith 381df1257f Move UploadMethods.md to wiki, add install path guessing to Findstlink for Windows 2022-09-14 00:25:31 -07:00
Jamie Smith 69c1d4a55a Rename inconsistently named testing-related variables. Also fix STM32CUBE not working from application code. 2022-09-14 00:25:29 -07:00
Jamie Smith 3e2e836395 Add support for the open-source stlink uploader 2022-09-14 00:25:29 -07:00
Jamie Smith 6605b42d1c Add out-of-the-box upload support for LPC1768 (OpenOCD and MBED methods only) 2022-09-14 00:25:27 -07:00
Jamie Smith a8523d2ed8 Fix OpenOCD script dir detection on Linux 2022-09-14 00:25:27 -07:00
Jamie Smith db3cdba39c Merge in FindSTLINKTools fixes from mbed-cmake 2022-09-14 00:25:27 -07:00
Jamie Smith 8e17855e46 Add license to python file 2022-09-14 00:25:27 -07:00
Jamie Smith 8e453d028a Response to comments 2022-09-14 00:25:27 -07:00
Jamie Smith 900723fd16 Add docs for new upload method 2022-09-14 00:25:27 -07:00
Jamie Smith 56de278857 Update with new MBED install method 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 3182f41974 Remove NXPPROG from provided upload methods (too specialized). 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