[PATCH 4/6] build: Add support to make bootloader images

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Mar 7 06:27:07 UTC 2024


On 07.03.24 02:09, Chris Johns wrote:
> On 6/3/2024 8:33 am, Gedare Bloom wrote:
>> If script generation needs to be done, it should be implemented in
>> Python with input from the yml spec item as necessary to fill out a
>> templated script with variables to customize for the BSP, and with
>> appropriate injection of comments etc to allow traceability backward
>> to the original source data and source program that generated the
>> script.
> We cannot import the YML data in external code without coping it as it all
> resides in the wscript file. I would prefer seeing the YML python support moved
> into `spec` as modules with unitests that can be imported. This would allow us
> to add eco-system tools to support, manage and use the YML data.

The module to work with specification items is here:

https://github.com/RTEMS/rtems-central/blob/master/rtemsspec/items.py

This stuff has tests, code formatting, static analysis, and even a CI 
script.

Independent of this, working with the build specification items would be 
the wrong approach. You need the input of a configured BSP.

-- 
embedded brains GmbH & Co. KG
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber at embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/


More information about the devel mailing list