mirror of https://github.com/ARMmbed/mbed-os.git
Enabling QSPI headers in Nordic HAL implementation and fix for UART STDIO definitions
parent
2df58e2d25
commit
009cc8b474
|
@ -144,11 +144,11 @@ struct flash_s {
|
|||
|
||||
#if DEVICE_QSPI
|
||||
|
||||
// #include "nrf_drv_qspi.h"
|
||||
#include "nrf_drv_qspi.h"
|
||||
|
||||
struct qspi_s {
|
||||
uint32_t placeholder;
|
||||
// nrf_drv_qspi_config_t config;
|
||||
nrf_drv_qspi_config_t config;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
@ -122,10 +122,10 @@ ret_code_t nrf_drv_qspi_init(nrf_drv_qspi_config_t const * p_config,
|
|||
nrf_drv_qspi_handler_t handler,
|
||||
void * p_context)
|
||||
{
|
||||
if (m_cb.state != NRF_DRV_STATE_UNINITIALIZED)
|
||||
/*if (m_cb.state != NRF_DRV_STATE_UNINITIALIZED)
|
||||
{
|
||||
return NRF_ERROR_INVALID_STATE;
|
||||
}
|
||||
}*/
|
||||
|
||||
if (!qspi_pins_configure(&p_config->pins))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue