zephyr/boards
Daniel Leung e38fc6de8a cmake: enable -Wshadow partially for in-tree code
This enables -Wshadow to warn about shadow variables on
in tree code under arch/, boards/, drivers/, kernel/,
lib/, soc/, and subsys/.

Note that this does not enable it globally because
out-of-tree modules will probably take some time to fix
(or not at all depending on the project), and it would be
great to avoid introduction of any new shadow variables
in the meantime.

Also note that this tries to be done in a minimally
invasive way so it is easy to revert when we enable
-Wshadow globally. Source files under modules/, samples/
and tests/ are currently excluded because there does not
seem to be a trivial way to add -Wshadow there without
going through all CMakeLists.txt to add the option
(as there are 1000+ files to change).

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2023-08-22 11:39:58 +02:00
..
arc ARC: add scalar VPX port 2023-08-11 19:45:48 +00:00
arm uart_sam0: extend async serial tests to more atsamxxx_xpro boards. 2023-08-21 17:15:29 +02:00
arm64 edtlib: Exclude PCI devices from some inapplicable checks 2023-08-18 10:13:12 +02:00
common west: runner: add support for NXP's linkserver 2023-07-21 14:57:25 -05:00
mips boards: mips: Remove label property from devicetree 2022-08-09 14:17:48 +02:00
nios2 docs: boards: fix capitalization of board architectures 2023-07-06 09:15:59 +02:00
posix native_sim: Update native simulator to latest and align with it 2023-08-16 15:05:12 +02:00
riscv boards: add zephyr,code properties to the various gpio-keys nodes 2023-08-07 11:26:26 +02:00
shields boards: shields: rk055hdmipi4ma0: add probe address to RT595-EVK 2023-08-16 14:53:03 +02:00
sparc dts/sparc/gaisler: add SoC and board compatible strings 2023-05-02 10:53:27 +02:00
x86 boards: intel_adl: Move ACPI specific configuration to Kconfig 2023-08-21 10:55:52 +02:00
xtensa ethernet: phy_mii: get the MDIO bus with DT_INST_BUS 2023-08-17 13:29:45 -05:00
CMakeLists.txt cmake: enable -Wshadow partially for in-tree code 2023-08-22 11:39:58 +02:00
deprecated.cmake boards: mark esp32 board as deprecated 2023-07-25 18:12:33 +02:00
index.rst docs: boards: sort the board architectures alphanumerically 2023-07-06 09:15:59 +02:00
Kconfig boards: kconfig: qemu: introduce QEMU_GDBSERVER_LISTEN_DEV 2023-02-20 09:48:52 +01:00