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 2020/11/03 15:59:37 UTC

[GitHub] [incubator-nuttx] lukegluke commented on pull request #2209: stm32f7/stm32_serial.c: fix console re-initialisation if DMA enabled

lukegluke commented on pull request #2209:
URL: https://github.com/apache/incubator-nuttx/pull/2209#issuecomment-721218363


   > @lukegluke - is this related to the other issues you were seeing?
   
   What do you mean by other issues? Issue with USB console is the separate one.
   
   > IIRC We have RX DMA on, on all the F7 HW, So why were you seeing a hardfault and the PX4 test rack is not?
   
   As I mentioned in issue description:
   > This can leads to hardfault when trying to write with not yet initialized serial dma in case when serial is used for console and something try to write to console on boot (for example board_hardfault_init in px4 can write to syslog (and to console if CONFIG_SYSLOG_CONSOLE defined)
   
   I don't remember details, but it seems that I encountered on hardfault, just when I added CONFIG_SYSLOG_CONSOLE in my board configuration, while non of the px4 boards have this config option.
   (and maybe it was also caused by my misunderstanding of CONFIG_DEV_CONSOLE default value :)
   So in the end I think it's not the problem for current PX4.


----------------------------------------------------------------
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:
users@infra.apache.org