Commit Graph

34519 Commits (626b4927e39101d50bcdcb1c475510389f67903c)

Author SHA1 Message Date
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 342165c70a Oops revert accidental linker script change 2022-09-14 00:25:29 -07:00
Jamie Smith 5b469e13c2 Move unit test to match file 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 2e797c3a32 Convert 802.15.4 and nfc to STATIC 2022-09-14 00:25:28 -07:00
Jamie Smith f47bbf82da Convert lorawan to a STATIC library 2022-09-14 00:25:28 -07:00
Jamie Smith 3cf77c2ca1 Convert emac, cellular, and wifi targets, and enable one UDP test 2022-09-14 00:25:28 -07:00
Jamie Smith e97e9424b4 Convert nanostack and lwipstack to STATIC libraries 2022-09-14 00:25:28 -07:00
Jamie Smith dd66013d9c Try and fix host tests 2022-09-14 00:25:28 -07:00
Jamie Smith bc46f5a3af Convert storage/ targets into STATIC libraries 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 093be4d431 Provide MBED_RAM_SIZE define allowing greentea tests to compile 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 8b4ec037d5 Fix dockerfile typo 2022-09-14 00:25:26 -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 ad9d989157 Fix requirements.txt path in docker stuff 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 a268a36547 MUSCA_S1 does not actually implement TRNG 2022-09-14 00:25:26 -07:00
Jamie Smith 50667c88d7 Provide MBED_RAM_SIZE symbol for MUSCA_S1 2022-09-14 00:25:26 -07:00
Jamie Smith 290c2a3df5 Add more missed test skips 2022-09-14 00:25:26 -07:00
Jamie Smith ca6685346d Fix some tests that weren't being skipped 2022-09-14 00:25:26 -07:00
Jamie Smith c21525621d Fix typo preventing unification test from running 2022-09-14 00:25:25 -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 967cccb1e4 Fix a few more HAL tests 2022-09-14 00:25:25 -07:00
Jamie Smith 87625ba033 Enable reset_reason HAL test 2022-09-14 00:25:25 -07:00
Jamie Smith 22b7a45f7b Enable running host tests in Github Actions 2022-09-14 00:25:25 -07:00
Jamie Smith d85c55a493 Fix PSA and MUSCA build 2022-09-14 00:25:25 -07:00
Jamie Smith c11d32fbf4 - Split mbed-core and mbed-rtos into -sources and -flags targets
- Fix some logic errors in top level cmakelists related to building greentea tests
- Fix mbed_create_distro() for OBJECT libraries
2022-09-14 00:25:25 -07:00
Jamie Smith 63aa3360c0 Clean up top-level build file and build options, fix build issues on MinGW 2022-09-14 00:25:25 -07:00
Jamie Smith 6a99a89c26 Write defines into a disk file instead of passing 100s of them on the command line directly. Fixes some issues with build commands on my machine, and makes it a lot easier to view the make VERBOSE=1 output. 2022-09-14 00:25:25 -07:00
Jamie Smith 8080220a40 Switch mbed-baremetal and mbed-os to be OBJECT libraries. Can reuse the existing create_distro function for this. 2022-09-14 00:25:25 -07:00