sysdrv:Makefile:modify the method of compiling WiFi/BT drivers
sysdrv:drv_ko:wifi:aic8800dc:optimize Bluetooth transmission
sysdrv:tools:board:buildroot:resolve the issue where the USB cannot automatically obtain an IP address
sysdrv:tools:board:luckfox_config:add an optional setting for UART3M1 on the Luckfox Pico Mini
sysdrv:source:kernel:arch:arm👢dts:eliminate display noise on the LF40-72720-ARK
sysdrv:source:uboot:rkbin:bin:rv11:resolve the issue of certain SD card models not being recognized
Refactor:sysdrv:Makefile:obtain WiFi/BT drivers from source compilation on the Ubuntu system
Perf:sysdrv:drv_ko:wifi:aic8800dc:expand WiFi/Bluetooth rfkill management methods, increase Bluetooth communication baud rate, and reduce communication lag
Fix:sysdrv:tools:board:buildroot:resolve the issue where the `rkipc` program overwrites the IP address of USB0 when the camera is activated on the Luckfox Pico Ultra
Fix:source:uboot:rkbin:bin:rv11:resolve the issue where, in the presence of an image on SPI NAND, romboot prioritizes using `.bin` from SPI NAND, causing the SD card to be unrecognized
Signed-off-by: luckfox-eng29 <eng29@luckfox.com>
63 lines
1.1 KiB
C
Executable File
63 lines
1.1 KiB
C
Executable File
|
|
|
|
#define RWNX_FN_ENTRY_STR ">>> %s()\n", __func__
|
|
|
|
|
|
|
|
/* message levels */
|
|
#define LOGERROR 0x0001
|
|
#define LOGINFO 0x0002
|
|
#define LOGTRACE 0x0004
|
|
#define LOGDEBUG 0x0008
|
|
#define LOGDATA 0x0010
|
|
#define LOGIRQ 0x0020
|
|
#define LOGSDPWRC 0x0040
|
|
#define LOGWAKELOCK 0x0080
|
|
#define LOGRXPOLL 0x0100
|
|
|
|
extern int aicwf_dbg_level;
|
|
void rwnx_data_dump(char* tag, void* data, unsigned long len);
|
|
|
|
#define AICWF_LOG "AICWFDBG("
|
|
|
|
|
|
#ifdef DEBUG
|
|
#define AICWFDBG(level, args, arg...) \
|
|
do { \
|
|
if (aicwf_dbg_level & level) { \
|
|
printk(AICWF_LOG#level")\t" args, ##arg); \
|
|
} \
|
|
} while (0)
|
|
|
|
#define RWNX_DBG(fmt, ...) \
|
|
do { \
|
|
if (aicwf_dbg_level & LOGTRACE) { \
|
|
printk(AICWF_LOG"LOGTRACE)\t"fmt , ##__VA_ARGS__); \
|
|
} \
|
|
} while (0)
|
|
#else
|
|
|
|
#define AICWFDBG(level, args, arg...)
|
|
#define RWNX_DBG(fmt, ...)
|
|
|
|
#endif
|
|
|
|
#if 0
|
|
#define RWNX_DBG(fmt, ...) \
|
|
do { \
|
|
if (aicwf_dbg_level & LOGTRACE) { \
|
|
printk(AICWF_LOG"LOGTRACE"")\t" fmt, ##__VA_ARGS__); \
|
|
} \
|
|
} while (0)
|
|
#define AICWFDBG(args, level) \
|
|
do { \
|
|
if (aicwf_dbg_level & level) { \
|
|
printk(AICWF_LOG"(%s)\t" ,#level); \
|
|
printf args; \
|
|
} \
|
|
} while (0)
|
|
#endif
|
|
|
|
|
|
|