summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2023-12-21 15:16:47 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2024-01-15 10:32:42 +0100
commit72ec63e7d863f5f8e4aeb1e81d4700df1233ced5 (patch)
tree1203345d7f2229ab2b0bbeb3078f118c1651941f
parentbsp/tms570: Remove empty <bsp/tms570-rti.h> (diff)
downloadrtems-72ec63e7d863f5f8e4aeb1e81d4700df1233ced5.tar.bz2
bsp/tms570: Remove empty <bsp/tms570-sci.h>
Update #4982.
-rw-r--r--bsps/arm/tms570/console/printk-support.c1
-rw-r--r--bsps/arm/tms570/console/tms570-sci.c1
-rw-r--r--bsps/arm/tms570/include/bsp/tms570-sci-driver.h2
-rw-r--r--bsps/arm/tms570/include/bsp/tms570-sci.h45
-rw-r--r--bsps/powerpc/t32mppc/make.cmm19
-rw-r--r--bsps/powerpc/t32mppc/win.cmm36
-rw-r--r--spec/build/bsps/arm/tms570/obj.yml1
7 files changed, 56 insertions, 49 deletions
diff --git a/bsps/arm/tms570/console/printk-support.c b/bsps/arm/tms570/console/printk-support.c
index 8269e959ac..bd6b7e1c89 100644
--- a/bsps/arm/tms570/console/printk-support.c
+++ b/bsps/arm/tms570/console/printk-support.c
@@ -27,7 +27,6 @@
#include <rtems/sysinit.h>
#include <stdint.h>
#include <string.h>
-#include <bsp/tms570-sci.h>
#include <bsp/tms570-sci-driver.h>
#define TMS570_CONSOLE (&driver_context_table[0])
diff --git a/bsps/arm/tms570/console/tms570-sci.c b/bsps/arm/tms570/console/tms570-sci.c
index 768770a4c8..099218472a 100644
--- a/bsps/arm/tms570/console/tms570-sci.c
+++ b/bsps/arm/tms570/console/tms570-sci.c
@@ -26,7 +26,6 @@
#include <bspopts.h>
#include <termios.h>
#include <rtems/termiostypes.h>
-#include <bsp/tms570-sci.h>
#include <bsp/tms570-sci-driver.h>
#include <rtems/console.h>
#include <bsp.h>
diff --git a/bsps/arm/tms570/include/bsp/tms570-sci-driver.h b/bsps/arm/tms570/include/bsp/tms570-sci-driver.h
index 5ebb29381d..1e935670ec 100644
--- a/bsps/arm/tms570/include/bsp/tms570-sci-driver.h
+++ b/bsps/arm/tms570/include/bsp/tms570-sci-driver.h
@@ -28,7 +28,7 @@
#include <rtems/termiostypes.h>
#include <rtems/irq.h>
-#include <bsp/tms570-sci.h>
+#include <bsp/tms570.h>
#ifdef __cplusplus
extern "C" {
diff --git a/bsps/arm/tms570/include/bsp/tms570-sci.h b/bsps/arm/tms570/include/bsp/tms570-sci.h
deleted file mode 100644
index 1ac482a79f..0000000000
--- a/bsps/arm/tms570/include/bsp/tms570-sci.h
+++ /dev/null
@@ -1,45 +0,0 @@
-/**
- * @file
- *
- * @ingroup RTEMSBSPsARMTMS570
- *
- * @brief Serial Communication Interface (SCI) header file.
- */
-
-/*
- * Copyright (c) 2014 Premysl Houdek <kom541000@gmail.com>
- *
- * Google Summer of Code 2014 at
- * Czech Technical University in Prague
- * Zikova 1903/4
- * 166 36 Praha 6
- * Czech Republic
- *
- * Based on LPC24xx and LPC1768 BSP
- * by embedded brains GmbH & Co. KG and others
- *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.rtems.org/license/LICENSE.
- */
-
-#ifndef LIBBSP_ARM_TMS570_SCI_H
-#define LIBBSP_ARM_TMS570_SCI_H
-
-#include <libchip/serial.h>
-
-#include <rtems.h>
-#include <stdint.h>
-#include <bsp/tms570.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-/** @} */
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif
diff --git a/bsps/powerpc/t32mppc/make.cmm b/bsps/powerpc/t32mppc/make.cmm
new file mode 100644
index 0000000000..a8e9e1e605
--- /dev/null
+++ b/bsps/powerpc/t32mppc/make.cmm
@@ -0,0 +1,19 @@
+; Set CPU
+system.cpu mpc8540
+system.up
+
+; Set PVR
+per.s spr:0x11f %long %be 0x80200000
+
+; Load application
+Data.LOAD.Elf /home/EB/sebastian_h/src/rtems/build/powerpc/t32mppc/testsuites/validation/ts-validation-intr.exe
+
+; Configure memory-based terminal
+term.reset
+term.method buffere v.address("messagebufferout") v.address("messagebufferin")
+term.gate
+
+; Initialize RTOS support
+task.config ~~/demo/powerpc/kernel/rtems/rtems.t32
+menu.reprogram ~~/demo/powerpc/kernel/rtems/rtems.men
+task.stack.pattern 0xa5
diff --git a/bsps/powerpc/t32mppc/win.cmm b/bsps/powerpc/t32mppc/win.cmm
new file mode 100644
index 0000000000..b65d22ab67
--- /dev/null
+++ b/bsps/powerpc/t32mppc/win.cmm
@@ -0,0 +1,36 @@
+// T32 Thu Oct 12 15:59:29 2023
+
+B::
+
+TOOLBAR ON
+STATUSBAR ON
+FramePOS 0.0,72.0,,,Maximized
+WinPAGE.RESet
+
+WinPAGE.Create P000
+WinCLEAR
+
+WinPOS 0.0 0.0 77. 21. 0. 0. W001
+wl.Register
+
+WinPOS 0.0 24.533 133. 47. 14. 1. W002
+WinTABS 10. 10. 25.
+wl.List
+
+WinPOS 275.57 23.0 80. 24. 0. 0. W000
+wl.term.gate
+
+WinPOS 136.57 0.0 105. 25. 5. 0. W003
+wl.Frame
+
+WinPOS 136.43 30.4 106. 13. 24. 1. W004
+WinTABS 13. 0. 0. 0. 0. 0. 0. 0. 0. 54.
+wl.Break.List
+
+WinPOS 136.57 50.0 106. 23. 0. 1. W005
+WinTABS 41. 31.
+wl.sYmbol.Browse.sYmbol
+
+WinPAGE.select P000
+
+ENDDO
diff --git a/spec/build/bsps/arm/tms570/obj.yml b/spec/build/bsps/arm/tms570/obj.yml
index d51612faf6..ec13a1b817 100644
--- a/spec/build/bsps/arm/tms570/obj.yml
+++ b/spec/build/bsps/arm/tms570/obj.yml
@@ -19,7 +19,6 @@ install:
- bsps/arm/tms570/include/bsp/tms570-pins.h
- bsps/arm/tms570/include/bsp/tms570-pom.h
- bsps/arm/tms570/include/bsp/tms570-sci-driver.h
- - bsps/arm/tms570/include/bsp/tms570-sci.h
- bsps/arm/tms570/include/bsp/tms570-vim.h
- bsps/arm/tms570/include/bsp/tms570.h
- bsps/arm/tms570/include/bsp/tms570_hwinit.h