Commit Graph
2 Commits
Author SHA1 Message Date
kalpak c8f4b69b76 fix(legacy-mcu1): resolve fdrv firmware dirs without CONFIG_PLATFORM_UBUNTU
The chip directory lookup in aic8800_fdrv's aic_request_firmware() is
guarded by CONFIG_PLATFORM_UBUNTU, but the fdrv Makefile never passes
-DCONFIG_PLATFORM_UBUNTU (only aic_load_fw's Makefile does). With
CONFIG_USE_FW_REQUEST=y the Wi-Fi driver therefore requests bare names
such as aic_userconfig_8800d80.txt, which are not found, so the user
config (TX power tables and the rest) is silently skipped.

Guard the lookup with AICWF_USB_SUPPORT only, and make the firmware test
compile each module with the macros its own Makefile defines.
2026-11-02 18:07:27 +04:00
Shen Mintao a482c871d5 fix: resolve chip firmware paths through the firmware API
Follow up issue #117: use each module chip enum and the real Wi-Fi device, preserve flat-layout fallback on missing files, and handle allocation and size failures. Based on the report by ggorbi99-dev.
2026-10-30 09:36:34 +08:00