npcomplete415 opened a new issue #2448:
URL: https://github.com/apache/mynewt-core/issues/2448


   the baud rate in 
https://github.com/apache/mynewt-core/blob/master/hw/drivers/mmc/src/mmc.c is 
fixed to 100 on line 73.
   
   would be nice to have it be defined in a way that can be changed without 
modifying the file directly
   
   ```c++
   static struct hal_spi_settings mmc_settings = {
       .data_order = HAL_SPI_MSB_FIRST,
       .data_mode  = HAL_SPI_MODE0,
       /* XXX: MMC initialization accepts clocks in the range 100-400KHz */
       /* TODO: switch to high-speed aka 25MHz after initialization. */
       .baudrate   = 100,
       .word_size  = HAL_SPI_WORD_SIZE_8BIT,
   };
   ```
   
   this clashes with "apache-mynewt-core/hw/mcu/nordic/nrf52xxx/src/hal_spi.c" 
where the value cannot be 100
   


----------------------------------------------------------------
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:
[email protected]


Reply via email to