Commit Graph

3926 Commits (d69ebf4116434ada4221c5ececb71691bdaf66f7)

Author SHA1 Message Date
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
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
byq77 21ca5b62c9 update to mbed_generate_bin_hex cmake function 2022-06-15 17:03:53 +02:00
Jerome Coutant de4ea6ecd2 STM32F334xx wrong RAM size 2022-05-04 10:43:41 +02:00
Martin Kojtal a58f8ddae7
Merge pull request #15232 from jeromecoutant/PR_H753
STM32H7: add MCU_STM32H753xI support
2022-02-16 16:44:52 +01:00
Jerome Coutant 90cbc89532 STM32H7: add MCU_STM32H753xI support 2022-02-15 16:40:04 +01:00
Jerome Coutant 661c5c17af STM32G4: missing files for STM32G491xE and STM32G4A1xE 2022-02-15 14:03:26 +01:00
Jerome Coutant 12757de057 STM32L4 : add MCU_STM32L412xB support 2022-01-28 13:49:49 +01:00
Jerome Coutant 4ecbf935ce STM32L4 : add MCU_STM32L4P5xG support 2022-01-28 11:46:39 +01:00
Deepak V. Shreshti cd4ee72979 Added SPDX Header
Updated PIN Names
Added M4KN MCU Deatils in index.json
Removed Special Chars
2021-12-23 19:19:57 +05:30
Martin Kojtal f69af599d5
Merge pull request #15126 from multiplemonomials/create-distro-reborn
mbed_create_distro() reborn: a function to make adding multiple targets easy
2021-10-19 14:28:06 +02:00
Martin Kojtal 2cd6c70c94
Merge pull request #15117 from JojoS62/fix-memap-diff
CLI2: copy mapfile for diff statistics
2021-10-14 14:44:45 +02:00
Johannes Stratmann 2b7b97340d remove comment for renaming mapfile 2021-10-13 18:15:57 +02:00
Chun-Chieh Li 173e407fed M2354: Fix stdin abnormal on NuMaker-IoT-M2354 with Mbed CLI
Due to post-build script not supporting custom board, both the below UART configurations are enabled on NuMaker-IoT-M2354 board:
-   UART0 PA7/PA6 enabled by bl2.bin
-   UART0 PB9/PB8 enabled by tfm_s.bin and later by mbed
Both PA7/PA6 and PB9/PB8 enabled on UART0, PB8 gets disturbed and stdin mis-behaves on NuMaker-IoT-M2354 board.

NuMaker-M2354       : UART TX/RX = UART0 PA7/PA6
NuMaker-IoT_M2354   : UART TX/RX = UART0 PB9/PB8

This bugfix tries to enable post-build for custom board to some degree (not completely), with Mbed CLI.
NOTE: For Mbed CLI, the build process still sees NuMaker-M2354's partition/ and applies its mcuboot build options. Custom board must align on these.
2021-10-13 17:57:56 +08:00
Johannes Stratmann 73526603dc remove comment 2021-10-13 11:48:38 +02:00