For the application configuration option
CONFIGURE_RECORD_INTERRUPTS_ENABLED, define
bsp_interrupt_get_dispatch_table_slot() in the application configuration
to avoid issues with the object link order within the RTEMS libraries.
Enable this option in an associated test.
Close#5244.
Use numeric value of cr0 to fix the following warnings:
ppc_exc_asm_macros.h: Assembler messages:
ppc_exc_asm_macros.h:242: Warning: invalid register expression
ppc_exc_asm_macros.h:730: Info: macro invoked from here
ppc_exc.S:134: Info: macro invoked from here
ppc_exc_asm_macros.h:242: Warning: invalid register expression
ppc_exc_asm_macros.h:730: Info: macro invoked from here
ppc_exc.S:137: Info: macro invoked from here
The RTEMS Software Engineering Guide specifies that the SPDX license
annotation shouldbe the first line of the file and not part of the
copyright/license comment block.
The RTEMS Software Engineering Guide specifies that the SPDX license
annotation shouldbe the first line of the file and not part of the
copyright/license comment block.
The RTEMS Software Engineering Guide specifies that the SPDX license
annotation shouldbe the first line of the file and not part of the
copyright/license comment block.
The RTEMS Software Engineering Guide specifies that the SPDX license
annotation shouldbe the first line of the file and not part of the
copyright/license comment block.
The RTEMS Software Engineering Guide specifies that the SPDX license
annotation shouldbe the first line of the file and not part of the
copyright/license comment block.
The RTEMS Software Engineering Guide specifies that the SPDX license
annotation shouldbe the first line of the file and not part of the
copyright/license comment block.
The RTEMS Software Engineering Guide specifies that the SPDX license
annotation shouldbe the first line of the file and not part of the
copyright/license comment block.
This resolves a missing prototype by making a file used in the arm/imx
BSP family shared so that it can be used by the arm/imxrt BSP family to
provide the missing prototypes.
ILP32 can't represent 4GB in uintptr_t. Avoid the warning that this
assignment generates and update MMU config processing to avoid overflow
when ILP32 is in use.
Fixed missing prototype for SystemInit_ExtMemCtl(). This file is
STM code and SystemInit_ExtMemCtl() is protyped for BSP use in
bsp.h. We do not want to include that in this file to avoid
potential conflicts.
The inport_[byte|word|long] and outport_[byte|word|long] methods
assume that the port is an address. The Beatnick definitions just
pass through the offset into IO Space. These are broken until they
do that. They do not appear to be used in anything this BSP actually
uses so disabling them works. Code is disabled with a lengthy comment
added if someone needs them to work in the future.
RCC_CFGR_PPRE2 was defined three times. Deleted the second and
third definitions. The second appeared to be wrong and the third
looked to be an alternate way to express the first.
STM32F4_FLASH was defined in two places. The first used a hard
coded full address while the second used a more appropriate
base address and offset. Kept the second.
GCC currently has issues with false positive warnings about array bounds
violations when the value used as the index is a pointer. This slightly
reworks the code to make it cleaner and to avoid this warning.
The use of an array of zero length at the end of a structure needs to
be careful to use RTEMS_ZERO_LENGTH_ARRAY since the accepted syntax
varies across C language versions.
Also add new build locations and include directories.
This renames 4 files to their original names that had no changes:
stm32u5xx_hal_msp.c ->
stm32u5xx_hal_msp_template.c
stm32u5xx_hal_timebase_rtc_wakeup.c ->
stm32u5xx_hal_timebase_rtc_wakeup_template.c
stm32u5xx_hal_timebase_tim.c ->
stm32u5xx_hal_timebase_tim_template.c
stm32u5xx_hal_timebase_rtc_alarm.c ->
stm32u5xx_hal_timebase_rtc_alarm_template.c
There is one file left behind that will be sorted out in the future:
stm32u5/hal/system_stm32u5xx.c
It comes from
07b6fedf4b/Projects/NUCLEO-U575ZI-Q/Applications/ThreadX/Tx_LowPower/Src/system_stm32u5xx.c
As per Christian on Discord.
These have now moved to:
contrib/bsps/arm/stm32h7/cmsis-device-h7
contrib/bsps/arm/stm32h7/stm32h7xx_hal_driver
Also add include directories to the build.
GCC warnings when comparing the starting addresses of two arrays when
using just the name of the array. Changes to use the address of
element 0 which resolved the warning.