You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/09/30 08:56:01 UTC

[GitHub] [incubator-nuttx] csanchezdll opened a new pull request, #7217: s32k1xx: Allow building with debug features and no console.

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-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-nuttx] pkarashchenko merged pull request #7217: s32k1xx: Allow building with debug features and no console.

Posted by GitBox <gi...@apache.org>.
pkarashchenko merged PR #7217:
URL: https://github.com/apache/incubator-nuttx/pull/7217


-- 
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-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org