Kinsey Moore
54de3ac479
bsps/shared/xqspi_flash.c: Add support for sector information
2025-11-10 12:29:31 -06:00
Joel Sherrill
7ab332d86f
bsps/shared/ofw/ofw.c: Correct comparisons of different signedness
...
The GCC warning -Wsign-compare flagged these instances of comparing
signed and unsigned types. A common pair was size_t and int.
2025-11-06 10:26:10 -06:00
Joel Sherrill
88bce4ee7f
grlib/uart/apbuart_cons.c: Correct comparisons of different signedness
...
The GCC warning -Wsign-compare flagged these instances of comparing
signed and unsigned types. A common pair was size_t and int.
2025-11-06 10:25:50 -06:00
Joel Sherrill
a4333a4361
bsps/shared/dev/serial/*.c: Correct comparisons of different signedness
...
The GCC warning -Wsign-compare flagged these instances of comparing
signed and unsigned types. A common pair was size_t and int.
2025-11-06 10:22:51 -06:00
Joel Sherrill
38367143fe
mcf5235/console/console.c: Correct comparisons of different signedness
...
The GCC warning -Wsign-compare flagged these instances of comparing
signed and unsigned types. A common pair was size_t and int.
2025-11-06 10:20:02 -06:00
Thomas Wucher
af75447c1a
bsps/powerpc: Fix ppc_exc_interrupt not saving r3 correctly
...
On SPE enabled builds the extended bits of r3 need to be saved
separately to the stack. Make ppc_exc_interrupt to do that correctly.
Fixes #5389
2025-11-04 13:37:25 +01:00
Aaron Nyholm
9340bf6bad
bsps/xilinx-zynq/dev/spi/jedec_flash.h: Add MT25QL128ABA support
...
Added JEDEC ID table data for MT25QL128ABA and MT25QL128ABB
2025-10-31 17:08:01 +11:00
Sebastian Huber
03ae1fa930
bsps/irq: Fix type limits warnings
...
Set BSP_INTERRUPT_VECTOR_COUNT to 1 to avoid type limits and array
bounds warnings.
Make sure all functions using the default interrupt controller
implementation return a status of RTEMS_UNSATISFIED.
Update #5298 .
Close #5377 .
2025-10-29 07:16:41 +00:00
Sebastian Huber
2770bed227
bsps/tqm8xx: Fix integer expression warnings
...
Make sure we work with unsigned integer interrupt numbers.
Update #5378 .
2025-10-29 05:05:49 +01:00
Joel Sherrill
9e8a8dff2e
bsps/shared/dev/gpio/gpio-support.c: Address type limit warnings
...
GCC generates type limit warnings when comparison is always true or
always false due to the limited range of the data type, This was in a
termios structure. For most of the cases in RTEMS, this was when
a variable of an unsigned type was compared to be < or <= 0.
2025-10-28 19:33:35 +00:00
Joel Sherrill
31de2b300d
bsps/powerpc/shared/irq/openpic.c: Address type limit warnings
...
GCC generates type limit warnings when comparison is always true or
always false due to the limited range of the data type, This was in a
termios structure. For most of the cases in RTEMS, this was when
a variable of an unsigned type was compared to be < or <= 0.
2025-10-28 19:33:35 +00:00
Joel Sherrill
a555b7d292
ss555/dev/console-generic.c: Address missing field initializer warnings
...
This was in a termios structure. The initialization was changed to using
named fields.
Updates #5325 .
2025-10-28 12:55:15 -05:00
Joel Sherrill
ebcfc3db27
powerpc/shared/.../uart.c: Address missing field initializer warnings
...
This was in a structure describing Flash memory configuration.
The initialization was changed to using named fields.
Updates #5325 .
2025-10-28 12:55:15 -05:00
Joel Sherrill
6900b048d8
powerpc/shared/.../uart.c: Address missing field initializer warnings
...
These were in a uart driver configuration structure.
The initialization was changed to using named fields.
Updates #5325 .
2025-10-28 12:55:15 -05:00
Joel Sherrill
0ff1ea4ab4
motorola_powerpc: Address missing field initializer warnings
...
These were in declarations of board information structure with
initialization. The initialization was changed to using named
fields.
Updates #5325 .
2025-10-28 12:55:15 -05:00
Joel Sherrill
2999ec8607
beatnik: Address missing field initializer warnings
...
This was in a structure describing Flash memory configuration.
The initialization was changed to using named fields.
Updates #5325 .
2025-10-28 12:55:15 -05:00
Aaron Nyholm
190899ee61
bsps/shared/jffs2_flashdev.c: Fixed fatal heap error on failed mount
...
Removed double free of mount_data and instance.
Closes #5381
2025-10-28 15:15:08 +11:00
Kinsey Moore
2cb47d2010
bsps/jffs2_flashdev: Return correct value for OOB size
...
Return the actual out of bounds size per page instead of the ioctl
return status. JFFS2 will happily operate with an OOB size of 0 and
instead put cleanmarkers in the normal page space of the flash.
2025-10-23 15:31:57 -05:00
Kinsey Moore
955d36ea47
bsps/qspi: Make flashdev control structure private
...
These structures are not required to be exposed to users for any
functionality and users of the API have no way to make use of them.
2025-10-16 11:26:52 -05:00
Joel Sherrill
62e0865bcc
bsps/powerpc/shared/clock/p_clock.c: Fix compile error
...
The error was referencing a field in the rtems_irq_connect_data
structure which only existed when BSP_SHARED_HANDLER_SUPPORT is
enabled.
Updates #5325 .
2025-10-15 14:34:39 +00:00
Joel Sherrill
f6e7b3bfbf
bsps/powerpc: Address missing field initializer warnings
...
Address missing field initializer warnings.
These were all rtems_irq_connect_data declarations with initialization.
The initialization was changed to using named fields and specifying an
initializer for each field.
2025-10-12 11:33:47 -05:00
Joel Sherrill
d9e156f3a3
pc386/uart_bus_pci.c: Address missing field initializer warnings
...
Address missing field initializer warnings.
This code originated from FreeBSD and only some initializers are
missing the last field. It is best to avoid modifying the code so
the warning is disabled for this array initialization.
2025-10-12 10:42:37 -05:00
Joel Sherrill
243c25d191
bsps ACPI: Address unused parameter warnings
...
Add "(void) param;" annotation to address unused parameter warnings.
Found with GCC's warning -Wunused-parameter.
The ACPI change set includes two headers which define debug macros. When
not building for debug, the instantiated inline functions generate
unused parameter warnings from every file they are included in. The
warning was disabled around the macro instantiations.
2025-10-10 22:04:38 +00:00
Joel Sherrill
eb6af2871e
bsps i386: Address unused parameter warnings
...
Add "(void) param;" annotation to address unused parameter warnings.
Found with GCC's warning -Wunused-parameter.
2025-10-10 22:03:23 +00:00
Joel Sherrill
0c97eb1d48
arm/xilinx-zynqmp-rpu: Address unused parameter warnings
...
Add "(void) param;" annotation to address unused parameter warnings.
Found with GCC's warning -Wunused-parameter.
2025-10-10 22:01:39 +00:00
Joel Sherrill
754b10289c
arm/xilinx-zynqmp: Address unused parameter warnings
...
Add "(void) param;" annotation to address unused parameter warnings.
Found with GCC's warning -Wunused-parameter.
2025-10-10 22:01:39 +00:00
Joel Sherrill
d379aa996b
arm/xilinx-zynq: Address unused parameter warnings
...
Add "(void) param;" annotation to address unused parameter warnings.
Found with GCC's warning -Wunused-parameter.
2025-10-10 22:01:39 +00:00
Joel Sherrill
8acbcad50c
arm/tms570: Address unused parameter warnings
...
Add "(void) param;" annotation to address unused parameter warnings.
Found with GCC's warning -Wunused-parameter.
2025-10-10 22:01:39 +00:00
Joel Sherrill
dcde65029b
arm/stm32u5: Address unused parameter warnings
...
Add "(void) param;" annotation to address unused parameter warnings.
Found with GCC's warning -Wunused-parameter.
2025-10-10 22:01:39 +00:00
Joel Sherrill
94475b3386
arm/stm32h7: Address unused parameter warnings
...
Add "(void) param;" annotation to address unused parameter warnings.
Found with GCC's warning -Wunused-parameter.
2025-10-10 22:01:39 +00:00
Joel Sherrill
004e3b7bbc
arm/stm32f4: Address unused parameter warnings
...
Add "(void) param;" annotation to address unused parameter warnings.
Found with GCC's warning -Wunused-parameter.
2025-10-10 22:01:39 +00:00
Joel Sherrill
c9c04ebdea
arm/smdk2410: Address unused parameter warnings
...
Add "(void) param;" annotation to address unused parameter warnings.
Found with GCC's warning -Wunused-parameter.
2025-10-10 22:01:39 +00:00
Joel Sherrill
2690e9335b
arm/shared: Address unused parameter warnings
...
Add "(void) param;" annotation to address unused parameter warnings.
Found with GCC's warning -Wunused-parameter.
2025-10-10 22:01:39 +00:00
Joel Sherrill
b5c952e6b6
arm/rtl22xx: Address unused parameter warnings
...
Add "(void) param;" annotation to address unused parameter warnings.
Found with GCC's warning -Wunused-parameter.
2025-10-10 22:01:39 +00:00
Joel Sherrill
c9798a0f80
arm/realview-pbx-a9: Address unused parameter warnings
...
Add "(void) param;" annotation to address unused parameter warnings.
Found with GCC's warning -Wunused-parameter.
2025-10-10 22:01:39 +00:00
Joel Sherrill
6666bc0c33
arm/raspberrypi: Address unused parameter warnings
...
Add "(void) param;" annotation to address unused parameter warnings.
Found with GCC's warning -Wunused-parameter.
2025-10-10 22:01:39 +00:00
Joel Sherrill
6a3e1ff889
arm/lpc32xx: Address unused parameter warnings
...
Add "(void) param;" annotation to address unused parameter warnings.
Found with GCC's warning -Wunused-parameter.
2025-10-10 22:01:39 +00:00
Joel Sherrill
ef742b98c7
arm/lpc24xx: Address unused parameter warnings
...
Add "(void) param;" annotation to address unused parameter warnings.
Found with GCC's warning -Wunused-parameter.
2025-10-10 22:01:39 +00:00
Joel Sherrill
d8c188757d
arm/lpc176x: Address unused parameter warnings
...
Add "(void) param;" annotation to address unused parameter warnings.
Found with GCC's warning -Wunused-parameter.
2025-10-10 22:01:39 +00:00
Joel Sherrill
b43936d848
arm/lm3s69xx: Address unused parameter warnings
...
Add "(void) param;" annotation to address unused parameter warnings.
Found with GCC's warning -Wunused-parameter.
2025-10-10 22:01:39 +00:00
Joel Sherrill
1600191ebd
arm/imxrt: Address unused parameter warnings
...
Add "(void) param;" annotation to address unused parameter warnings.
Found with GCC's warning -Wunused-parameter.
2025-10-10 22:01:39 +00:00
Joel Sherrill
172c853ba9
arm/imx: Address unused parameter warnings
...
Add "(void) param;" annotation to address unused parameter warnings.
Found with GCC's warning -Wunused-parameter.
2025-10-10 22:01:39 +00:00
Joel Sherrill
c4fdd4c4cb
arm/edb7312: Address unused parameter warnings
...
Add "(void) param;" annotation to address unused parameter warnings.
Found with GCC's warning -Wunused-parameter.
2025-10-10 22:01:39 +00:00
Joel Sherrill
b62ad8c061
arm fvp: Address unused parameter warnings
...
Add "(void) param;" annotation to address unused parameter warnings.
Found with GCC's warning -Wunused-parameter.
2025-10-10 22:01:39 +00:00
Joel Sherrill
07ad871a8c
arm edb7312: Address unused parameter warnings
...
Add "(void) param;" annotation to address unused parameter warnings.
Found with GCC's warning -Wunused-parameter.
2025-10-10 22:01:39 +00:00
Joel Sherrill
d38f790263
arm mcux-sdk: Address unused parameter warnings
...
Add "(void) param;" annotation to address unused parameter warnings.
Found with GCC's warning -Wunused-parameter.
2025-10-10 22:01:39 +00:00
Joel Sherrill
e9f922fc2b
arm/csb337: Address unused parameter warnings
...
Add "(void) param;" annotation to address unused parameter warnings.
Found with GCC's warning -Wunused-parameter.
2025-10-10 22:01:39 +00:00
Joel Sherrill
e2e825950a
arm/csb336: Address unused parameter warnings
...
Add "(void) param;" annotation to address unused parameter warnings.
Found with GCC's warning -Wunused-parameter.
2025-10-10 22:01:39 +00:00
Joel Sherrill
20e2f4722a
arm/beagle: Address unused parameter warnings
...
Add "(void) param;" annotation to address unused parameter warnings.
Found with GCC's warning -Wunused-parameter.
2025-10-10 22:01:39 +00:00
Joel Sherrill
dbff120b09
arm/atsam: Address unused parameter warnings
...
Add "(void) param;" annotation to address unused parameter warnings.
Found with GCC's warning -Wunused-parameter.
2025-10-10 22:01:39 +00:00