RTEMS | spec/build: remove duplicate key in optmaxuarts.yml and reformat all yaml files (!1122)

Sebastian Huber (@sebhub) gitlab at rtems.org
Fri Mar 13 00:30:27 UTC 2026




Sebastian Huber commented on a discussion on spec/build/bsps/aarch64/a53/abi.yml: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1122#note_145256

 >  SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
 >  actions:
 > -- get-string: null
 > -- split: null
 > -- env-append: null
 > +- get-string:

I removing the `null` is bad for readability. Simply dumping the files using the `yaml` package don't have this issue. The downside is that it changes all integers to decimal representation:
```diff
diff --git a/spec/build/bsps/aarch64/a53/optloadoff.yml b/spec/build/bsps/aarch64/a53/optloadoff.yml
index efdc8a0d8b..e6a7014607 100644
--- a/spec/build/bsps/aarch64/a53/optloadoff.yml
+++ b/spec/build/bsps/aarch64/a53/optloadoff.yml
@@ -9,7 +9,7 @@ copyrights:
 - Copyright (C) 2020 On-Line Applications Research (OAR)
 default:
 - enabled-by: true
-  value: 0x00008000
+  value: 32768
 description: |
   offset of RAM region from memory area base
 enabled-by: true
```
For the option values a workaround could be to turn the values into a special class which use the `format` attribute of the item in their representer.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1122#note_145256
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260313/1381e705/attachment-0001.htm>


More information about the bugs mailing list