Commit Graph

33056 Commits

Author SHA1 Message Date
Sebastian Huber
75d9e79f56 bsp/lpc32xx: Remove unused TESTS_USE_PRINTK
Update #3818.
2019-11-15 07:45:30 +01:00
Sebastian Huber
b882b07e84 Remove BSP_SMALL_MEMORY BSP option
Use the test state configuration instead.

Update #3818.
2019-11-15 07:45:30 +01:00
Sebastian Huber
9c601b00d7 bsp/i386: Remove unused BSP_HAS_SMP
Update #3818.
2019-11-15 07:45:30 +01:00
Sebastian Huber
41ab50e4cd bsp/t32mppc: Rename linker command file
This BSP family uses only one linker command file.  Use the standard
name.

Update #3818.
2019-11-14 15:07:57 +01:00
Sebastian Huber
bc28b65ff4 bsp/beagle: Rename linker command file
This BSP family uses only one linker command file.  Use the standard
name.

Update #3818.
2019-11-14 15:07:53 +01:00
Sebastian Huber
ae5546704d bsp/riscv: Fix format and warnings
Update #3785.
2019-11-14 11:48:33 +01:00
Sebastian Huber
e9ae74369d bsp/riscv: Fix use of uninitialized integer 2019-11-14 11:48:32 +01:00
Sebastian Huber
5a1bc17970 bsp/riscv: Remove bogus Automake conditional
Update #3785.
2019-11-14 11:48:32 +01:00
Sebastian Huber
df9426f970 bsp/riscv: riscv_get_core_frequency()
Always provide this function.  Return 0 by default.  Fix formatting.
Simplify function.

Update #3785.
2019-11-14 11:48:28 +01:00
Sebastian Huber
3dcfee377e bsp/gumstix: Fix warning 2019-11-14 11:47:45 +01:00
Sebastian Huber
984d7443bf bsp/gumstix: Remove ON_SKYEYE Automake conditional
It is fine to build the drivers always.

Update #3818.
2019-11-14 11:47:45 +01:00
Sebastian Huber
90d6a094b5 arm/stm32f4: Fix typo 2019-11-14 09:37:51 +01:00
Hesham Almatary
3a5bc21392 testsuite/dl02: Fix bug to correctly check the handle of the second object file 2019-11-12 10:21:53 +00:00
Hesham Almatary
a4c5da686d riscv: preliminarily support for libdl
Support for targets compiled with -fno-pic and -mno-relax
2019-11-12 10:21:40 +00:00
Sebastian Huber
f51594897c ada/mptests: Make them compile clean
Fix all warnings.

Update #3818.
2019-11-12 09:47:20 +01:00
Sebastian Huber
1a48cbfa16 sptests: Avoid include path magic
Update #3818.
2019-11-12 09:47:20 +01:00
Sebastian Huber
1e343825f4 tests: Simplify fatal error test support
Move system.h to shared init.c.

Update #3818.
2019-11-12 09:47:20 +01:00
Sebastian Huber
6da85f49ea block08: Use local include
Update #3818.
2019-11-12 09:47:17 +01:00
Sebastian Huber
37d509b249 libtests: Remove superfluous include path
Update #3818.
2019-11-12 09:46:26 +01:00
Sebastian Huber
b88c7583b8 fstests: Use tmacros.h instead of pmacros.h
This avoids an extra include path.

Update #3818.
2019-11-12 09:36:21 +01:00
Sebastian Huber
0b520cb718 mptests: Avoid build system defined defines
Update #3818.
2019-11-12 09:36:21 +01:00
Sebastian Huber
786ae3f7df ada/samples: Avoid build system defined defines
Update #3818.
2019-11-12 09:36:20 +01:00
Sebastian Huber
eae263c609 mptests/mp14: Make MAX_LONG_TEST_DURATION constant
If there is a real need, it can be made a configuration option again.

Update #3818.
2019-11-12 09:36:20 +01:00
Sebastian Huber
34cbac1a03 tmtests: Avoid build system defined defines
Update #3818.
2019-11-12 09:36:20 +01:00
Sebastian Huber
6d6719a533 samples/paranoia: Remove <bsp.h> include
This include is superfluous.
2019-11-12 09:36:20 +01:00
Sebastian Huber
c89a5dc821 samples: Avoid build system defined defines
Update #3818.
2019-11-12 09:36:20 +01:00
Sebastian Huber
5ba4f38399 libtests: Avoid build system defined defines
Update #3818.
2019-11-12 09:36:20 +01:00
Sebastian Huber
5176555384 sptests: Remove obsolete semaphore consume driver
This driver is no longer used by a test program.

Update #3818.
2019-11-12 09:36:20 +01:00
Sebastian Huber
e92c495674 spfatal16: Remove obsolete test program
The "TRrc" semaphore was removed in commit
2c12262f9a.
2019-11-12 09:36:20 +01:00
Sebastian Huber
a467f59963 sptests: Avoid build system defined defines
Update #3818.
2019-11-12 09:36:20 +01:00
Sebastian Huber
150fbaf9c9 psxtmtests: Avoid build system defined defines
Update #3818.
2019-11-12 09:36:19 +01:00
Sebastian Huber
f32e119716 psxtests: Avoid build system defined defines
Update #3818.
2019-11-12 09:36:19 +01:00
Sebastian Huber
9f3c558bbc tests: Remove superfluous SMPTESTS define
Update #3818.
2019-11-12 09:36:19 +01:00
Sebastian Huber
224ceb0b95 psxfenv01: Check FE_DIVBYZERO define 2019-11-12 08:50:01 +01:00
Sebastian Huber
94584f17ab heap: Simplify _Heap_Block_allocate()
Determine the next block only once and use it throughout.
2019-11-05 12:58:09 +01:00
Sebastian Huber
5630008257 kill: Fix warning
Include right header file for kill().
2019-11-05 07:29:01 +01:00
sebastian.huber
3859cd63af rtems-5: Improve heap fatal error information
Update #3806.
2019-11-05 07:29:00 +01:00
Sebastian Huber
f9648baf65 bsps/arm: Add support for small pages MMU
The small page MMU support reduces the granularity for memory settings
through the MMU from 1MiB sections to 4KiB small pages.

Enable it by default on the realview_pbx_a9_qemu BSP.
2019-10-31 09:48:05 +01:00
Sebastian Huber
3fb72b0f1e arm: Add defines for small pages MMU 2019-10-31 09:45:46 +01:00
Hesham Almatary
044687d335 bsps/riscv: UART - Read reg-shift from DTB to properly set/get registers 2019-10-30 09:30:09 +00:00
Sebastian Huber
7ec08391fe linkersets: Avoid use of zero-length array
Use RTEMS_DEFINE_GLOBAL_SYMBOL_IN_SECTION() instead.
2019-10-28 10:00:31 +01:00
Sebastian Huber
a7c86ccb25 config: Avoid zero-length array
Use RTEMS_DEFINE_GLOBAL_SYMBOL_IN_SECTION() instead.

Close #3799.
2019-10-28 10:00:31 +01:00
Sebastian Huber
795b167545 score: Add RTEMS_DEFINE_GLOBAL_SYMBOL_IN_SECTION()
Update #3799.
2019-10-28 10:00:31 +01:00
Sebastian Huber
37e9aa69e5 bsp/xilinx-zynqmp: Fix linkcmds config
Bug was introduced by commit 1e1afa3779.
2019-10-28 10:00:31 +01:00
Hesham Almatary
94481cedc4 riscv: Add new BSP cfg variants to be built with llvm/clang 2019-10-27 10:45:31 +00:00
Hesham Almatary
ce5988e10a riscv: Add new offending input sections to the linker script 2019-10-27 10:45:20 +00:00
Hesham Almatary
7f0c41c759 riscv: Add NOLOAD directive to the .work section
ld.lld defaults .work to PROGBITS otherwise
2019-10-27 10:45:14 +00:00
Hesham Almatary
f462bcbb0a riscv: Address differences in the linkerscript between GNU LD and LLVM/LLD
LLVM/LLD does not support STARTUP and ALIGN_WITH_INPUT directives that
GNU LD support. INPUT and ALIGN(8) are supported by LLVM/LLD and can
replace the unsupported STARTUP/ALIGN_WITH_INPUT directives.

The commit conditionally adds the supported directive that linkers
can understand depending on the toolchain used to compile RTEMS
i.e., clang or gcc. Clang is assumed to use LLD by default.
2019-10-27 10:45:00 +00:00
Hesham Almatary
ca82ded785 riscv: Generate linkcmds.base from the shared linkcmds.base.in
This commit moves the existing linkcmds.base to linkcmds.base.in
in order to make it configurable by autotools.
2019-10-27 10:44:52 +00:00
Sebastian Huber
d2efc968e2 bsp/xilinx-zynq: Simplify linkcmds config
Use NULL-pointer protection also for Qemu variant.

Do all calculations in the linker command file.  This is a preparation
for the new build system.
2019-10-23 14:19:47 +02:00