You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ac...@apache.org on 2026/10/10 13:01:25 UTC
(nuttx) 01/05: tools/nxstyle: allow the PIC32MZ-W1 WLAN library callback names.
This is an automated email from the ASF dual-hosted git repository.
acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit f9e4759c443ea2ed09aa92e74625dffcadf04540
Author: Daniel P. Carvalho <da...@gmail.com>
AuthorDate: Fri Oct 9 08:38:47 2026 -0300
tools/nxstyle: allow the PIC32MZ-W1 WLAN library callback names.
Microchip's closed PIC32MZ-W1 WLAN library calls back into the host
through functions named DRV_PIC32MZW_*, which the driver must define with
exactly these names.
Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Daniel P. Carvalho <da...@gmail.com>
---
tools/nxstyle.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/tools/nxstyle.c b/tools/nxstyle.c
index 22cd78a955c..aadeaf69b59 100644
--- a/tools/nxstyle.c
+++ b/tools/nxstyle.c
@@ -336,6 +336,12 @@ static const char *g_white_prefix[] =
"kSE05x_",
"smStatus_t",
"pScp03_",
+
+ /* Ref: arch/mips/src/pic32mz/pic32mz_w1_wlan.c, callbacks of Microchip's
+ * PIC32MZ-W1 WLAN library
+ */
+
+ "DRV_PIC32MZW_",
NULL
};