csanchezdll opened a new pull request, #7217: URL: https://github.com/apache/incubator-nuttx/pull/7217
## Summary If no LPUART console is selected, but DEBUG_FEATURES is enabled, building fails for s32k1xx boards. ## Impact This prevents using custom consoles different from LPUART based ones. ## Testing 1. `tools/configure.sh s32k148evb:nsh` 2. `make menuconfig` - Device Drivers -> Serial Driver Support -> Serial console: select "No serial console" - Build Setup -> Debug Options -> Enable Debug Features: check 3. make Build fails: ```In file included from chip/s32k1xx_pin.h:37, from chip/s32k1xx_lowputc.c:36: chip/s32k1xx_lowputc.c: In function 's32k1xx_lowputc': chip/s32k1xx_lowputc.c:391:20: error: 'S32K1XX_CONSOLE_BASE' undeclared (first use in this function); did you mean 'S32K1XX_GPIOE_BASE'? 391 | while ((getreg32(S32K1XX_CONSOLE_BASE + S32K1XX_LPUART_STAT_OFFSET) & | ^~~~~~~~~~~~~~~~~~~~``` After applying the PR, build succeeds with the same procedure. -- 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: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org