EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  <2025 Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  <2025
<== Date ==> <== Thread ==>

Subject: RTEMS uC5282 BSP Issues
From: Joel Sherrill via Tech-talk <tech-talk at aps.anl.gov>
To: Talk EPICS Tech <tech-talk at aps.anl.gov>
Date: Fri, 25 Apr 2025 10:38:09 -0500
Hi

I wanted to let the EPICS community know of some issues specific to the uC5282 BSP and ask for help in getting them resolved.

I have been working on warnings reported while compiling GCC 14 on main. I am working on confirming if these uC5282 warnings were also flagged by GCC 13 and will update RTEMS tickets as I learn more. 

(1) Add support for std::atomic on Coldfire ISA A. This results in the uC5282 getting a linking error for spcxx01. This is https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5230 and that links to a GCC issue.

(2) uC5282 bspstart.c warnings for questionable code. There are warnings for how pointers are treated as arrays and accesses outside the array bounds result. The ticket is  https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5242

(3) uC5282 console.c has warnings for misleading indentation. This file has a mix of tabs and spaces. The area in question has a mix of tabs and spaces. I think converting to spaces will likely resolve this issue. RTEMS issue is https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5243

Help is appreciated especially as I don't have the hardware to test on and these look like warnings that fixing without testing could easily create a breakage.

Also if someone from the EPICS community can advocate for applying the fixes to the 6 branch if that looks necessary.

Thanks.

--Joel Sherrill
RTEMS


Navigate by Date:
Prev: MDrive firmware Steven Weigand via Tech-talk
Next: Use of elog inside Phoebus Andrea Celentano via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  <2025
Navigate by Thread:
Prev: MDrive firmware Steven Weigand via Tech-talk
Next: Use of elog inside Phoebus Andrea Celentano via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  <2025
ANJ, 26 Apr 2025 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions ·
· Download · Search · IRMIS · Talk · Documents · Links · Licensing ·