nuttx/boards
Huang Qi 98415626e3 boards/xtensa/esp32s3: Refactor ES8311 initialization to use I2C handle
Refactor esp32s3_es8311_initialize function to accept I2C handle instead
of port number, moving I2C bus initialization responsibility to the board
bringup code. This change improves flexibility by allowing boards to
manage I2C initialization while the ES8311 driver focuses on audio
codec configuration.

* Updated function signature to accept struct i2c_master_s *i2c parameter
* Removed I2C bus initialization from ES8311 driver
* Updated function documentation to reflect new parameter
* Modified esp32s3-lcd-ev and esp32s3-korvo-2 boards to initialize I2C
  before calling ES8311 initialization
* Added proper error handling for I2C initialization failures
* Moved variable declarations to function start for C89 compliance
* Fixed code style issues including line length and indentation

This change maintains backward compatibility for existing functionality
while providing better separation of concerns between I2C bus management
and audio codec configuration.

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2025-10-02 12:53:35 +02:00
..
arm boards/arm/rp2040/raspberrypi-pico/configs/lcd1602: fix defconfig 2025-10-01 14:17:59 -04:00
arm64 rpi4b/autoleds: Auto-LED implementation 2025-09-28 10:06:02 +08:00
avr arch/avr/avrdx: do not copy const variables into RAM 2025-07-10 12:21:40 -03:00
dummy
hc/m9s12 boards/hc/m9s12: migrate to SPDX identifier 2024-11-12 22:20:59 +08:00
mips drivers/fs:Always use register_mtddriver() to register the MTD device (patch2) 2025-07-21 15:15:30 -03:00
misoc/lm32/misoc boards/misoc/lm32: migrate to SPDX identifier 2024-11-12 22:20:59 +08:00
or1k/mor1kx/or1k boards/defconfig: remove unused config about dd 2025-04-20 00:41:26 +08:00
renesas Make/Toolchain.defs: add the AR_EXTRACT command 2025-08-19 09:47:44 +08:00
risc-v risc-v/espressif/i2c: Update common source code functions 2025-09-27 21:43:33 +08:00
sim/sim/sim Kconfig: Add configurable Stack Canaries protection levels. 2025-09-11 19:56:42 +08:00
sparc style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
tricore/tc397/a2g-tc397-5v-tft Cmake: Provide linker script preprocess for tasking compiler 2025-09-23 20:20:45 +08:00
x86/qemu/qemu-i486 qemu-i486: Simplify Make.defs by include Toolchain.defs 2025-01-27 02:28:39 +08:00
x86_64/intel64/qemu-intel64 boards/x86_64/qemu-intel64: increase stack size for ostest 2025-09-30 17:26:57 -03:00
xtensa boards/xtensa/esp32s3: Refactor ES8311 initialization to use I2C handle 2025-10-02 12:53:35 +02:00
z16/z16f/z16f2800100zcog boards/z16/z16f: migrate to SPDX identifier 2024-11-12 22:20:59 +08:00
z80 drivers/fs:Always use register_mtddriver() to register the MTD device. 2025-07-16 14:11:41 +08:00
.gitignore
Board.mk
boardctl.c libc/elf: rename modlib to libelf 2025-04-11 09:43:22 +08:00
CMakeLists.txt boards: migrate to SPDX identifier 2024-11-12 22:20:59 +08:00
dummy.c boards: migrate to SPDX identifier 2024-11-12 22:20:59 +08:00
Kconfig boards: Fix Kconfig style 2025-09-29 10:56:58 -03:00
Makefile boards: migrate to SPDX identifier 2024-11-12 22:20:59 +08:00