xiaoxiang781216 edited a comment on pull request #2320: URL: https://github.com/apache/incubator-nuttx/pull/2320#issuecomment-728942587
> Can this be cascaded with priority of chip -> arch -> system: Yes, you can achieve this by select one of: 1. CONFIG_ARCH_CHIP_DEBUG_H->chip 2. CONFIG_ARCH_DEBUG_H ->arch 3. CONFIG_ARCH_NONE_DEBUG_H->system > > ``` > /* The actual logger function may be overridden in arch/debug.h if needed. > * (Currently only if the pre-processor supports variadic macros) > */ > > #ifndef __arch_syslog > # define __arch_syslog syslog > #endif > ``` > > Would you provide the 2 debug.h files for example. Yes, you can provide two: arch/xxx/include/chip.h arch/xxx/include/yyy/chip.h But only one can be selected by defconfig. If you have better idea, please modify PR directly. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org