RTEMS | bsps/arm/tms570: fix self-test to work when internal SRAM is tested (!1187)

Sebastian Huber (@sebhub) gitlab at rtems.org
Fri Apr 17 00:56:49 UTC 2026




Sebastian Huber commented on a discussion: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1187#note_148667


I changed it locally like this:
```diff
diff --git a/spec/build/bsps/arm/tms570/optmemsramsize.yml b/spec/build/bsps/arm/tms570/optmemsramsize.yml
index 87536c9364..515819daad 100644
--- a/spec/build/bsps/arm/tms570/optmemsramsize.yml
+++ b/spec/build/bsps/arm/tms570/optmemsramsize.yml
@@ -7,10 +7,7 @@ build-type: option
 copyrights:
 - Copyright (C) 2023 embedded brains GmbH & Co. KG
 default:
-- enabled-by:
-  - arm/tms570lc4357_hdk
-  - arm/tms570lc4357_hdk_intram
-  - arm/tms570lc4357_hdk_sdram
+- enabled-by: TMS570_VARIANT_4357
   value: 0x00080000
 - enabled-by: true
   value: 0x00040000
```
This result looks fine:
```
grep -r TMS570_MEMORY_SRAM_SIZE build/arm/
build/arm/tms570lc4357_hdk/bsps/include/bspopts.h:#define TMS570_MEMORY_SRAM_SIZE 0x00080000
build/arm/tms570ls3137_hdk_intram/bsps/include/bspopts.h:#define TMS570_MEMORY_SRAM_SIZE 0x00040000
```

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1187#note_148667
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/20260417/dbc480eb/attachment-0001.htm>


More information about the bugs mailing list