You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2021/06/23 04:15:32 UTC

[GitHub] [mynewt-core] ncasaril opened a new pull request #2624: hw/mcu/nrf5340_net: Remove enable/disable from init

ncasaril opened a new pull request #2624:
URL: https://github.com/apache/mynewt-core/pull/2624


   This applies when using bus driver and SPIM0 for the networking core, and SPIM0 is initialised from hal_spi_init_hw. 
   During ```hal_spi_init``` it called ```hal_spi_enable``` which returs an error because the txrx_cb isn't set.
   
   This change makes hal_spi_init similar on networking core to application core where no extra disabling or enabling occurs. 
   
   Without this change the bus device isn't properly initialised and causes a segfault as soon as you try to use the spi. 


-- 
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



[GitHub] [mynewt-core] ncasaril merged pull request #2624: hw/mcu/nrf5340_net: Remove enable/disable from hal_spi_init

Posted by GitBox <gi...@apache.org>.
ncasaril merged pull request #2624:
URL: https://github.com/apache/mynewt-core/pull/2624


   


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

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