hujun260 commented on PR #15413: URL: https://github.com/apache/nuttx/pull/15413#issuecomment-2574336604
> Sorry @hujun260 could you check if the PR above is causing these build errors in `sim:segger`? Thanks :-) https://github.com/NuttX/nuttx/actions/runs/12637024742/job/35210493873#step:7:287 > > ``` > Configuration/Tool: sim/segger > In file included from segger/SystemView/SEGGER/SEGGER_SYSVIEW.h:65, > from segger/SystemView/SEGGER/SEGGER_SYSVIEW_Int.h:64, > from segger/SystemView/SEGGER/SEGGER_SYSVIEW.c:146: > segger/SystemView/SEGGER/SEGGER_SYSVIEW.c: In function '_VPrintHost': > Error: segger/SystemView/SEGGER/SEGGER_SYSVIEW_ConfDefaults.h:557:51: error: implicit declaration of function 'SEGGER_RTT_LOCK'; did you mean 'SEGGER_RTT_Read'? [-Werror=implicit-function-declaration] > 557 | #define SEGGER_SYSVIEW_LOCK() SEGGER_RTT_LOCK() > | ^~~~~~~~~~~~~~~ > segger/SystemView/SEGGER/SEGGER_SYSVIEW.c:387:35: note: in expansion of macro 'SEGGER_SYSVIEW_LOCK' > 387 | #define RECORD_START(PacketSize) SEGGER_SYSVIEW_LOCK(); \ > | ^~~~~~~~~~~~~~~~~~~ > segger/SystemView/SEGGER/SEGGER_SYSVIEW.c:1005:5: note: in expansion of macro 'RECORD_START' > 1005 | RECORD_START(SEGGER_SYSVIEW_INFO_SIZE + SEGGER_SYSVIEW_MAX_STRING_LEN + 2 * SEGGER_SYSVIEW_QUANTA_U32 + SEGGER_SYSVIEW_MAX_ARGUMENTS * SEGGER_SYSVIEW_QUANTA_U32); > | ^~~~~~~~~~~~ > Error: segger/SystemView/SEGGER/SEGGER_SYSVIEW_ConfDefaults.h:570:51: error: implicit declaration of function 'SEGGER_RTT_UNLOCK'; did you mean 'SEGGER_RTT_Init'? [-Werror=implicit-function-declaration] > 570 | #define SEGGER_SYSVIEW_UNLOCK() SEGGER_RTT_UNLOCK() > | ^~~~~~~~~~~~~~~~~ > segger/SystemView/SEGGER/SEGGER_SYSVIEW.c:390:35: note: in expansion of macro 'SEGGER_SYSVIEW_UNLOCK' > 390 | #define RECORD_END() SEGGER_SYSVIEW_UNLOCK() > | ^~~~~~~~~~~~~~~~~~~~~ > segger/SystemView/SEGGER/SEGGER_SYSVIEW.c:1015:5: note: in expansion of macro 'RECORD_END' > 1015 | RECORD_END(); > | ^~~~~~~~~~ > ``` > > Also for `at32f437-mini:systemview` https://github.com/NuttX/nuttx/actions/runs/12637024742/job/35210486919#step:7:128 > > ``` > Configuration/Tool: at32f437-mini/systemview,CONFIG_ARM_TOOLCHAIN_GNU_EABI > In file included from segger/SystemView/SEGGER/SEGGER_SYSVIEW.h:65, > from segger/SystemView/SEGGER/SEGGER_SYSVIEW_Int.h:64, > from segger/SystemView/SEGGER/SEGGER_SYSVIEW.c:146: > segger/SystemView/SEGGER/SEGGER_SYSVIEW.c: In function '_VPrintHost': > Error: segger/SystemView/SEGGER/SEGGER_SYSVIEW_ConfDefaults.h:557:51: error: implicit declaration of function 'SEGGER_RTT_LOCK'; did you mean 'SEGGER_RTT_Read'? [-Werror=implicit-function-declaration] > 557 | #define SEGGER_SYSVIEW_LOCK() SEGGER_RTT_LOCK() > | ^~~~~~~~~~~~~~~ > ``` ok -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
