dcgong2917 opened a new pull request, #19575:
URL: https://github.com/apache/nuttx/pull/19575

     ## Summary
   
     Add initial NuttX support for the Realtek RTL8721F, a dual-core
     Cortex-M55 (KM4 TrustZone) + Cortex-M55 (KM4 NS) SoC targeting
     Wi-Fi 6 / Bluetooth 5.3 IoT applications.  The RTL8721F belongs to
     the amebagreen2 SoC family alongside the already-merged RTL8720F;
     chip-specific constants substituted.
   
     - arch/arm/include/rtl8721f/irq.h: full 109-entry IRQ table compiled
       from the RTL8721F TRM; differs from RTL8720F in peripheral numbering.
     - arch/arm/src/rtl8721f/ameba_app_start.c: NuttX-owned image2 entry
       running OS-independent silicon init (cache, BSS clear, LOGUART,
       data-flash high-speed setup, OSC calibration, SDM32K/RTC system
       timer, pinmap, MPU) before calling NuttX main().  Owning this file
       keeps the vendor SDK pristine.
     - arch/arm/src/rtl8721f/: ameba_loguart.c, ameba_irq.c, ameba_start.c,
       ameba_timerisr.c, ameba_allocateheap.c, ameba_ipc.c — standard NuttX
       ARM bring-up adapted to the RTL8721F memory map and boot flow.
     - arch/arm/src/rtl8721f/ameba_board.mk: SDK fwlib source list and
       linker flags for the RTL8721F image2 build.
     - arch/arm/src/rtl8721f/ameba_wifi_init.c: wires the Ameba Wi-Fi upper
       half into NuttX netdev at bring-up.
     - boards/arm/rtl8721f/rtl8721f_evb: board Kconfig, defconfig (nsh),
       board.h pin table, boot and bringup hooks, LittleFS on internal
       4 MiB flash (/dev/mtd0 -> /mnt/lfs).
     - tools/nxstyle.c: whitelist RTL8721F-specific Realtek SDK ROM/HAL
       symbol prefixes (RTC_, EFUSE_, SDM32K_, Get_OSC131_, Set_OSC131_)
       that cannot be renamed without breaking linkage against the vendor
       blob; extends the existing Ameba SDK comment block.
     - Documentation/platforms/arm/rtl8721f/: platform overview (memory map,
       peripheral list, toolchain, flash procedure) and EVB board page.
   
     ## Impact
   
     - New platform: arch/arm/src/rtl8721f/ and boards/arm/rtl8721f/ are
       entirely new directories; no existing platform is modified.
     - tools/nxstyle.c: five new Ameba SDK prefixes added to the whitelist
       inside the existing Ameba comment block; no behavioural change for
       any other platform.
     - arch/arm/Kconfig and boards/Kconfig: new ARCH_CHIP_RTL8721F and
       ARCH_BOARD_RTL8721F_EVB entries appended; no existing entries changed.
   
     ## Testing
   
     Built for `rtl8721f_evb:nsh` and verified on hardware (RTL8721F EVB):
     - NSH boots to prompt over LOGUART at 115200 baud.
     - LittleFS mounts on internal 4 MiB flash; file create/read across
       power cycles confirmed.
     - Wi-Fi association, DHCP lease and ping to 8.8.8.8 pass end-to-end.
     - `tools/checkpatch.sh` clean on all new/changed sources (0 `error:`
       lines); full build produces `nuttx.bin` with no new warnings.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to