On 11/02/2021 00:20, Chris Johns wrote:

On 10/2/21 4:20 pm, Sebastian Huber wrote:
On 08/02/2021 10:40, Chris Johns wrote:
It is written in Python 3.6.
We still need to support python 2. Maybe having this file support both could be
part of the project.
I think this BSP builder is a development tool which can use Python 3. It is
useful to maintain RTEMS, but it is not a tool required for end users of RTEMS
to develop applications. Independent of this, the Python 2 end of life was a
year ago.
This idea has real merit and it is pragmatic. Keeping rtems-central as python3
makes sense and it also makes sense to not pollute it with python2 code.

Sebastian are you able to have rtems-central export the needed files to the
rtemstoolkit in rtems-tools?

One option is to simply copy

https://git.rtems.org/rtems-central/tree/rtemsspec/items.py

to somewhere in rtems-tools. This module depends on the yaml module.

Another option would be to use a special waf command (similar to bsp_defaults), to output the information for the BSP builder in JSON format.

--
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.hu...@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/

_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to