Commit Graph

11 Commits (71cb8129af5803b3268eadbe56e20e10a42183aa)

Author SHA1 Message Date
Jamie Smith 71cb8129af
Fix deprecation issues with older Python code (#296)
* Fix deprecation issues with older Python code

* Remove mbed_greentea package
2024-07-06 01:19:25 -07:00
Jamie Smith 47ee2ce2bb
Re-add CMSIS MCU description file and a utility to manage it (#282)
* Start adding CMSIS MCU description tool

* Add 'add-missing'

* Switch MCU descriptions to JSON5

* Add new MCU after rebase

* Use virtualenv instead of APT for installing packages

* Also remove apt requirements files

* Wrong command!

* Check if index file exists before checking update time

* Respond to comments

* Make must_exist keyword only

---------

Co-authored-by: Victor Tang <me@victorwtang.dev>
2024-06-09 20:43:27 -07:00
Jamie Smith 7e9d658ae9
Allow Mbed config files to be json5 in addition to json (#194)
* Allow Mbed config files to be json5 in addition to json

* Also handle custom_targets.json

* Add missing "install python packages" step
2023-10-26 09:48:33 -07:00
Jamie Smith 7c61babb10
Fix incorrect requirements line for dotenv (#193)
* Fix incorrect requirements line for dotenv

* Also use requirements.txt in CI jobs
2023-10-10 13:00:03 -07:00
Jamie Smith 3af1c75ca8
Bring python packages into the mbed-os source (#192)
* Initial import of python packages

* Move tests to subfolder, use tests in generate_configuration.cmake

* Bring python packages into the source tree instead of needing to be installed separately

* Use python3

* Just use distro default python

* Install all the requirements with apt-get

* unittests is part of Python now

* Add appdirs, set python version

* Add some missing dependencies

* Add more packages

* Add requirements.apt.txt files, fix relative paths with scancode_evaluate.py

* Fix return code handling for license scan errors

* ok let's try that again, also improve error output from scancode evaluate

* Add missing license headers
2023-10-10 09:54:53 -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 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 e607b7909f Move mbed-tools to the main requirements.txt 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