1 /** @file firmware_dnld.h 2 * 3 * @brief firmware download header file to download connectivity firmwares 4 * 5 * Copyright 2021-2024 NXP 6 * 7 * SPDX-License-Identifier: BSD-3-Clause 8 * 9 */ 10 #ifndef _FIMRWARE_DNLD_H_ 11 #define _FIMRWARE_DNLD_H_ 12 13 #include <osa.h> 14 15 #define fwdnld_io_e(...) wmlog_e("wifi_io", ##__VA_ARGS__) 16 #define fwdnld_io_w(...) wmlog_w("wifi_io", ##__VA_ARGS__) 17 18 #if CONFIG_FWDNLD_IO_DEBUG 19 #define fwdnld_io_d(...) wmlog("wifi_io", ##__VA_ARGS__) 20 #else 21 #define fwdnld_io_d(...) 22 #endif /* ! CONFIG_DWDNLD_IO_DEBUG */ 23 24 int32_t firmware_download(const uint8_t *fw_start_addr, const size_t size, void *intf, uint8_t fw_reload); 25 26 #endif //_FIMRWARE_DNLD_H_ 27