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
ce093f1785
Don't use whole-archive linking ( #71 )
...
* First attempt at converting to OBJECT libraries. Not working due to more object library limitations
* Only compile the main libraries as OBJECT, because that's all that CMake can be made to do right now.
* Fix availability of target-specific flags
* Missed some usages
* Fix some STM32 ethernet stuff that was not linking correctly
* More fixes for STM32 ethernet and weak symbols
* Fix prebuilt object file linking for MUSCA_S1
* Fix STM32 eth init license headers
2022-10-09 12:16:15 -07:00
Jamie Smith
ffc33676d1
Lots of usability improvements for the I2C API. Better docs and new top-level functions. ( #64 )
...
* Lots of usability improvements for the I2C API. Better docs and new top-level functions.
* Document frequencies
* Tabs to spaces
* More style fixes
* Run astyle
* Clean up docs
* Add note about addressing, change 10 bit to 11 bit
* Fix spellcheck
* Fix paste error
* Oops, fix accidental change
2022-10-02 21:27:33 -07:00
Jay Sridharan
e833ba1701
Add docs generation workflow ( #45 )
...
* Add docs generation workflow
* remove extraneous backslash
2022-09-26 08:15:30 -07:00
Jamie Smith
1d44be27c6
Fix issue with Python exit codes that masked failures ( #56 )
2022-09-25 09:08:56 -07:00
Jamie Smith
7cd7e60df8
Convert mbed-usb target, enable mbed-usb tests ( #49 )
...
* Convert mbed-usb target, enable mbed-usb tests
* Fix ByteBuffer compile error
* Add missing requirements, fix some pyserial issues
* Move CDC_ECM to its own target since it needs RTOS
2022-09-22 00:17:45 -07:00
Jamie Smith
f317dbc335
Print the command when a greentea test is being run. Also fix mbedhtrun not being on PATH causing all tests to pass! ( #51 )
...
* Print the command when a greentea test is being run. Also fix mbedhtrun not being on PATH causing all tests to pass!
* Also remove useless -f argument to mbedhtrun (not used with --skip-flashing)
2022-09-19 21:38:57 -07:00
Jamie Smith
2b6d60e1ac
Oops, missed a file
2022-09-14 00:25:32 -07:00
Jamie Smith
4897b885d6
Change linker script handling logic to use only one linker script target
2022-09-14 00:25:32 -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
b08e9faacc
Install mbed os tools by default so that MBED upload works out of the box
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
2ff0a9829f
Switch to cortex-debug plugin for VS Code to improve debugging experience
2022-09-14 00:25:31 -07:00
Jamie Smith
b60a26526d
Add in mbed-cmake's configuration generators
2022-09-14 00:25:31 -07:00
Jamie Smith
222bf9730e
Clean up detection of failed generation / missing include file
2022-09-14 00:25:31 -07:00
Jamie Smith
e3d717138b
MBED_APP_JSON_PATH should no longer be required, as some projects don't need it
2022-09-14 00:25:31 -07:00
Jamie Smith
eb2bd8672a
Add automatic execution of mbedtools configure
2022-09-14 00:25:30 -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
9ada8fc433
Revert Greentea runner changes, it should stay as is
2022-09-14 00:25:29 -07:00
Jamie Smith
c89876a6ef
Fix assertion failures missed from test log when multiple tests fail
2022-09-14 00:25:29 -07:00
Jamie Smith
f61f3a186f
Add MBED_GREENTEA_SERIAL_PORT also
2022-09-14 00:25:29 -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
ae64b05c15
Fix memap failing to parse map files on linux
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
391163922a
Convert mbed-ble to STATIC
2022-09-14 00:25:28 -07:00
Jamie Smith
87f0272138
Fix memap not running
2022-09-14 00:25:28 -07:00
Jamie Smith
fb4164951c
Fix Mbed OS target's public dependency on the MCU target
2022-09-14 00:25:28 -07:00
Jamie Smith
46205a7a81
Add core flags dependency back to the target flags, making sure that the core flags headers actually work
2022-09-14 00:25:28 -07:00
Jamie Smith
5bddbbc980
Fix PSA target, fix create_distro to not recurse into static libraries
2022-09-14 00:25:28 -07:00
Jamie Smith
fe23ff8d5b
Only support GCC ARM compiler, but reap the benefits of static libraries instead of objects
2022-09-14 00:25:28 -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
e607b7909f
Move mbed-tools to the main requirements.txt
2022-09-14 00:25:27 -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
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
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
Jamie Smith
31d8558d8c
Move CI build requirements to their own file so CMake doesn't get confused about them. They weren't really needed anyway for the CMake build.
2022-09-14 00:25:26 -07:00
Jamie Smith
44ebbbc994
Fix missing requirements
2022-09-14 00:25:26 -07:00
Jamie Smith
34b66e73a7
Remove the legacy Mbed CLI 1 tools!
2022-09-14 00:25:26 -07:00
Jamie Smith
000c7c73c1
Convert the rest of the hal tests, convert mbedtls to an OBJECT library
2022-09-14 00:25:25 -07:00
Jamie Smith
d85c55a493
Fix PSA and MUSCA build
2022-09-14 00:25:25 -07:00