nuttx/boards/arm
Mingjie Shen 51c4a5c2d6 gd32f4xx_at24: Fix uninitialized use of local variables i2c and at24
Prior to this commit, i2c and at24 may be used uninitialized on line
113, 117, 129, and 143 when gd32_at24_wr_test() is called the second
time because these two variables are not static. I don't think making
them static is the correct fix because i2c is released at the end of
this function. Fixed by removing the `if (!initialized)` condition
surrounding the initialization of i2c and at24, making them initialized
at every call to this function.

Signed-off-by: Mingjie Shen <shen497@purdue.edu>
2024-08-27 21:32:28 +08:00
..
a1x/pcduino-a10 nuttx/boards:Uniform initialization format for init_array. 2024-08-19 19:48:32 +08:00
am335x/beaglebone-black nuttx/boards:Uniform initialization format for init_array. 2024-08-19 19:48:32 +08:00
at32/at32f437-mini nuttx/boards:Uniform initialization format for init_array. 2024-08-19 19:48:32 +08:00
c5471/c5471evm net: Enable ICMP by default if IPv4 is enabled 2024-07-09 17:08:27 +08:00
cxd56xx nuttx: use sizeof instead of define or number in snprintf 2024-08-25 19:22:15 +08:00
dm320/ntosd-dm320 net: Enable ICMP by default if IPv4 is enabled 2024-07-09 17:08:27 +08:00
efm32 nuttx/boards:Uniform initialization format for init_array. 2024-08-19 19:48:32 +08:00
eoss3/quickfeather nuttx/boards:Uniform initialization format for init_array. 2024-08-19 19:48:32 +08:00
fvp-v8r-aarch32/fvp-armv8r-aarch32 arch: inline up_testset in arm arm64 riscv xtensa 2024-08-21 01:45:10 +08:00
gd32f4 gd32f4xx_at24: Fix uninitialized use of local variables i2c and at24 2024-08-27 21:32:28 +08:00
imx6/sabre-6quad nuttx/boards:Uniform initialization format for init_array. 2024-08-19 19:48:32 +08:00
imxrt boot: fix potential bl jump to app failed issue 2024-08-26 11:54:21 -03:00
kinetis Led and buttons examples 2024-08-27 09:13:35 +08:00
kl nuttx/boards:Uniform initialization format for init_array. 2024-08-19 19:48:32 +08:00
lc823450/lc823450-xgevk nuttx: use sizeof instead of define or number in snprintf 2024-08-25 19:22:15 +08:00
lpc17xx_40xx nuttx/boards:Uniform initialization format for init_array. 2024-08-19 19:48:32 +08:00
lpc31xx nuttx: use sizeof instead of define or number in snprintf 2024-08-25 19:22:15 +08:00
lpc43xx nuttx/boards:Uniform initialization format for init_array. 2024-08-19 19:48:32 +08:00
lpc54xx/lpcxpresso-lpc54628 nuttx/boards:Uniform initialization format for init_array. 2024-08-19 19:48:32 +08:00
lpc214x nuttx/boards:Uniform initialization format for init_array. 2024-08-19 19:48:32 +08:00
lpc2378/olimex-lpc2378 nuttx/boards:Uniform initialization format for init_array. 2024-08-19 19:48:32 +08:00
max326xx/max32660-evsys nuttx/boards:Uniform initialization format for init_array. 2024-08-19 19:48:32 +08:00
moxart/moxa nuttx/boards:Uniform initialization format for init_array. 2024-08-19 19:48:32 +08:00
mps nuttx/mps2: Support NuttX running on qemu cortex-m7 2024-08-25 22:56:46 +08:00
mx8mp/verdin-mx8mp nuttx/boards:Uniform initialization format for init_array. 2024-08-19 19:48:32 +08:00
nrf52 boot: fix potential bl jump to app failed issue 2024-08-26 11:54:21 -03:00
nrf53 boot: fix potential bl jump to app failed issue 2024-08-26 11:54:21 -03:00
nrf91 boot: fix potential bl jump to app failed issue 2024-08-26 11:54:21 -03:00
nuc1xx/nutiny-nuc120 nuttx/boards:Uniform initialization format for init_array. 2024-08-19 19:48:32 +08:00
phy62xx/phy6222 nuttx/boards:Uniform initialization format for init_array. 2024-08-19 19:48:32 +08:00
qemu/qemu-armv7a board/qemu-armv7a: add Cmake support 2024-08-22 15:25:02 +08:00
rp2040 nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
s32k1xx nuttx: use sizeof instead of define or number in snprintf 2024-08-25 19:22:15 +08:00
s32k3xx can: Merge netpacket/can.h into nuttx/can.h 2024-08-26 05:05:31 -04:00
sam34 nuttx/boards:Uniform initialization format for init_array. 2024-08-19 19:48:32 +08:00
sama5 nuttx: use sizeof instead of define or number in snprintf 2024-08-25 19:22:15 +08:00
samd2l2 nuttx/boards:Uniform initialization format for init_array. 2024-08-19 19:48:32 +08:00
samd5e5 nuttx/boards:Uniform initialization format for init_array. 2024-08-19 19:48:32 +08:00
samv7 boot: fix potential bl jump to app failed issue 2024-08-26 11:54:21 -03:00
stm32 BlackPill buttons example 2024-08-27 09:13:35 +08:00
stm32f0l0g0 nuttx/boards:Uniform initialization format for init_array. 2024-08-19 19:48:32 +08:00
stm32f7 nuttx: use sizeof instead of define or number in snprintf 2024-08-25 19:22:15 +08:00
stm32h7 nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
stm32l4 nucleo-l432kc: Revert the USART2 config to be use by virtual COM port 2024-08-21 10:47:37 +08:00
stm32l5 nuttx/boards:Uniform initialization format for init_array. 2024-08-19 19:48:32 +08:00
stm32u5 nuttx/boards:Uniform initialization format for init_array. 2024-08-19 19:48:32 +08:00
stm32wb nuttx/boards:Uniform initialization format for init_array. 2024-08-19 19:48:32 +08:00
stm32wl5/nucleo-wl55jc nuttx/boards:Uniform initialization format for init_array. 2024-08-19 19:48:32 +08:00
str71x/olimex-strp711 nuttx/boards:Uniform initialization format for init_array. 2024-08-19 19:48:32 +08:00
tiva nuttx/boards:Uniform initialization format for init_array. 2024-08-19 19:48:32 +08:00
tlsr82/tlsr8278adk80d boards: Fix board configs after disabling NSH_DISABLE_HELP 2024-04-04 12:27:03 +08:00
tms570 nuttx/boards:Uniform initialization format for init_array. 2024-08-19 19:48:32 +08:00
xmc4 nuttx/boards:Uniform initialization format for init_array. 2024-08-19 19:48:32 +08:00