Commit Graph

34514 Commits (04a76b3882c60fa0686eb03470b5da5a98f52fa4)

Author SHA1 Message Date
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
JohnK1987 7e5066ddad
Add Cmake config files for Disco-F746NG and Disco-F469NI into upload methods (#47) 2022-09-17 11:59:55 -07:00
JohnK1987 810bb312ed
Add Cmake config for Nucleo-L152RE and Nucleo-F303K8 into upload methods (#46) 2022-09-16 07:48:00 -07:00
JohnK1987 2131c7db9e Update NUCLEO_H743ZI2.cmake 2022-09-14 00:25:33 -07:00
JohnK1987 7b9c56f05a Update NUCLEO_L432KC.cmake 2022-09-14 00:25:33 -07:00
JohnK1987 b3b69ce85a Add Cmake config for Nucleo-H743ZI2 into upload methods 2022-09-14 00:25:33 -07:00
JohnK1987 cda6bc85a7 Add Cmake config for Nucleo-L432KC into upload methods 2022-09-14 00:25:32 -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
JohnK1987 967ead5a79 Update of cmake config files for ST targets - ST-link issue 2022-09-14 00:25:32 -07:00
Jamie Smith 02b6bdb295 Fix event queue being stuck in non-RTOS mode, causing all sorts of weird behavior 2022-09-14 00:25:32 -07:00
JohnK1987 92921dc8c5 Add Cmake config for Nucleo-F303RE into upload methods 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
JohnK1987 d82838212b Summary of changes:
This PR adds the cmake config for upload method of Nucleo-F446RE
All methods have been tested (only for flash), but for soem reason ST-link metho is not stable.
2022-09-14 00:25:32 -07:00
JohnK1987 432d55cce6 Update NUCLEO_F767ZI.cmake
J-LINK (ST-link with J-link firmware) tested successfully.
2022-09-14 00:25:32 -07:00
JohnK1987 f79b8285e4 Add Cmake config for Nucleo-F767ZI into upload methods 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 42fd5beb2c Oops fix tabs 2022-09-14 00:25:31 -07:00
Jamie Smith b93af1b95c Disable mbed semihosting interface in tests, so as not to mess up their timing 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 fb9be8eb9d Actually build in test_building_multiple_executables.yml 2022-09-14 00:25:31 -07:00
Jamie Smith 5800b7bac5 Fix paths in test_building_multiple_executables.yml 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 d69ebf4116 Update CI scripts to not use mbedtools configure 2022-09-14 00:25:31 -07:00
Jamie Smith de68d27493 Remove not currently used Mbed CI scripts 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 053176f7f0 Update readme to show that this is Mbed CE, and update templates to show that this is no longer an automated system 2022-09-14 00:25:30 -07:00
Jamie Smith 3dffdf6ba1 Add SingletonPtr.cpp to unittests source 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 0874f74ae9 Allow SDBlockDevice to use either HW or SW chip selects 2022-09-14 00:25:30 -07:00
Jamie Smith abf27dd0e2 OK that didn't help 2022-09-14 00:25:30 -07:00
Jamie Smith 69d1fd9487 Try to make test timing a little more accurate 2022-09-14 00:25:30 -07:00
Jamie Smith d6556c84fc Fix some build errors 2022-09-14 00:25:30 -07:00
Jamie Smith d83dbc2ac4 Fix ABI differences between mbed-baremetal and mbed-os, remove PlatformMutex 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 ecfd698173 Add extra argument 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 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