nuttx/boards
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
..
arm gd32f4xx_at24: Fix uninitialized use of local variables i2c and at24 2024-08-27 21:32:28 +08:00
arm64 arm64/qemu: Add knsh target for armv8a qemu board 2024-08-23 10:26:34 -03:00
avr at32uc3a0: Initial work for SimpleMachines' Mizar32-A 2024-07-15 20:46:41 +08:00
dummy
hc/m9s12
mips net: Enable ICMP by default if IPv4 is enabled 2024-07-09 17:08:27 +08:00
misoc/lm32/misoc net: Enable ICMP by default if IPv4 is enabled 2024-07-09 17:08:27 +08:00
or1k/mor1kx/or1k nuttx/boards:Uniform initialization format for init_array. 2024-08-19 19:48:32 +08:00
renesas nuttx/boards:Uniform initialization format for init_array. 2024-08-19 19:48:32 +08:00
risc-v nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
sim/sim/sim nuttx: use sizeof instead of define or number in snprintf 2024-08-25 19:22:15 +08:00
sparc
tricore/tc3xx/tc397 tricore/cmake: add support of cmake build for tricore 2024-07-18 13:40:49 +08:00
x86/qemu/qemu-i486
x86_64/intel64/qemu-intel64 arch/intel64: add support for HPET as system clock 2024-08-01 17:49:41 +08:00
xtensa nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
z16/z16f/z16f2800100zcog
z80 net: Enable ICMP by default if IPv4 is enabled 2024-07-09 17:08:27 +08:00
.gitignore
Board.mk
boardctl.c
CMakeLists.txt
dummy.c
Kconfig nuttx/mps2: Support NuttX running on qemu cortex-m7 2024-08-25 22:56:46 +08:00
Makefile