Commit Graph

9 Commits (722c2f119647e14f1f44d6e1e54041b4442e63b4)

Author SHA1 Message Date
Jamie Smith 722c2f1196
Set up CMake configure dependencies on all JSON files used in the configuration (#409)
* Set up CMake configure dependencies on all JSON files used in the configuration

* Remove unneeded cmake-build-dir option, we already have output

* Oops use namespace

* Fix comment

* Don't explode if given paths outside the root dir
2024-12-30 00:02:25 -08:00
Jamie Smith 232d767225
Supply memory bank information from the configuration script (#326)
* New version of memory bank information system

* Start upconverting linker scripts and target definitions

* Augh my script was being gitignored

* Add tests, update Cypress and STM32 linker scripts and target definitions

* Fix some CI issues

* Fix warning spam on LPC1768

* Fix STM32H745 family compile failure due to failure to include cmsis_nvic.h

* Respond to easy comments

* Break up function into pieces

* Improve type hints, don't write out a JSON file as a side effect

* Two more comments
2024-09-12 20:35:03 -07:00
Jamie Smith 862f46233c
Use a virtual environment for Python packages by default (#261)
* Use a virtual environment for Python packages by default

* Install python3-venv in CI

* Don't use sudo

* Oops missed a "STATUS"

* Fix second build dir not using venv
2024-03-14 10:13:23 -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 af6d50aefe
Teensy 4.1 port with Ethernet support (#144)
* Start porting to Teensy 4.1, also fix some compiler warnings in FSL HAL

* Add hardware init for Teensy, refactor phy drivers, rework IMX EMAC autonegotiate code

* Revert some testing changes

* Fix incorrect phy address used outside of low_level_init_successful()

* Ethernet operational!

* Turn off DEBUG_IMX_EMAC

* Style fixes

* Style again

* Bugfix: mbed_lib.json files in project source dir were not getting picked up

* Bugfix: CLion debug configurations not generated properly due to variables going out of scope

* Support Teensy OTP MAC address
2023-03-08 20:18:33 -08:00
Jamie Smith 1d44be27c6
Fix issue with Python exit codes that masked failures (#56) 2022-09-25 09:08:56 -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