diff --git a/boards/arm/cxd56xx/common/src/cxd56_crashdump.c b/boards/arm/cxd56xx/common/src/cxd56_crashdump.c index f23ccad676..3ff34e6310 100644 --- a/boards/arm/cxd56xx/common/src/cxd56_crashdump.c +++ b/boards/arm/cxd56xx/common/src/cxd56_crashdump.c @@ -116,7 +116,7 @@ static void copy_reverse(stack_word_t *dest, stack_word_t *src, int size) ****************************************************************************/ void board_crashdump(uintptr_t currentsp, FAR void *tcb, - FAR const uint8_t *filename, int lineno) + FAR const char *filename, int lineno) { FAR struct tcb_s *rtcb; fullcontext_t *pdump; diff --git a/boards/arm/stm32/nucleo-f429zi/src/stm32_bbsram.c b/boards/arm/stm32/nucleo-f429zi/src/stm32_bbsram.c index 2aa7c8d4c4..0b51b211af 100644 --- a/boards/arm/stm32/nucleo-f429zi/src/stm32_bbsram.c +++ b/boards/arm/stm32/nucleo-f429zi/src/stm32_bbsram.c @@ -379,7 +379,7 @@ int stm32_bbsram_int(void) #if defined(CONFIG_STM32F4_SAVE_CRASHDUMP) void board_crashdump(uintptr_t currentsp, FAR void *tcb, - FAR const uint8_t *filename, int lineno) + FAR const char *filename, int lineno) { fullcontext_t *pdump = (fullcontext_t *)&g_sdata; FAR struct tcb_s *rtcb; diff --git a/boards/arm/stm32f7/nucleo-144/src/stm32_bbsram.c b/boards/arm/stm32f7/nucleo-144/src/stm32_bbsram.c index 2bf4133df4..d8af5c14d8 100644 --- a/boards/arm/stm32f7/nucleo-144/src/stm32_bbsram.c +++ b/boards/arm/stm32f7/nucleo-144/src/stm32_bbsram.c @@ -393,7 +393,7 @@ int stm32_bbsram_int(void) #if defined(CONFIG_STM32F7_SAVE_CRASHDUMP) void board_crashdump(uintptr_t currentsp, FAR void *tcb, - FAR const uint8_t *filename, int lineno) + FAR const char *filename, int lineno) { fullcontext_t *pdump = (fullcontext_t *)&g_sdata; FAR struct tcb_s *rtcb; diff --git a/boards/renesas/rx65n/rx65n-grrose/src/rx65n_sbram.c b/boards/renesas/rx65n/rx65n-grrose/src/rx65n_sbram.c index fcbc2db441..90094c789e 100644 --- a/boards/renesas/rx65n/rx65n-grrose/src/rx65n_sbram.c +++ b/boards/renesas/rx65n/rx65n-grrose/src/rx65n_sbram.c @@ -332,7 +332,7 @@ int rx65n_sbram_int(void) #if defined(CONFIG_RX65N_SAVE_CRASHDUMP) void board_crashdump(uintptr_t currentsp, FAR void *tcb, - FAR const uint8_t *filename, int lineno) + FAR const char *filename, int lineno) { struct fullcontext *pdump ; pdump = (struct fullcontext *)&g_sdata; diff --git a/boards/renesas/rx65n/rx65n-rsk2mb/src/rx65n_sbram.c b/boards/renesas/rx65n/rx65n-rsk2mb/src/rx65n_sbram.c index 4c25271a63..10a69bd1dd 100644 --- a/boards/renesas/rx65n/rx65n-rsk2mb/src/rx65n_sbram.c +++ b/boards/renesas/rx65n/rx65n-rsk2mb/src/rx65n_sbram.c @@ -330,7 +330,7 @@ int rx65n_sbram_int(void) #if defined(CONFIG_RX65N_SAVE_CRASHDUMP) void board_crashdump(uintptr_t currentsp, FAR void *tcb, - FAR const uint8_t *filename, int lineno) + FAR const char *filename, int lineno) { struct fullcontext *pdump ; pdump = (struct fullcontext *)&g_sdata; diff --git a/include/nuttx/board.h b/include/nuttx/board.h index 088147977b..8362b1f722 100644 --- a/include/nuttx/board.h +++ b/include/nuttx/board.h @@ -695,7 +695,7 @@ int board_button_irq(int id, xcpt_t irqhandler, FAR void *arg); #ifdef CONFIG_BOARD_CRASHDUMP void board_crashdump(uintptr_t currentsp, FAR void *tcb, - FAR const uint8_t *filename, + FAR const char *filename, int lineno); #endif