git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/stable_20.3.x@14662 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
Giovanni Di Sirio 2021-08-17 06:02:25 +00:00
parent aa7b999ba9
commit ebd2702241
3 changed files with 7 additions and 4 deletions

View File

@ -270,8 +270,8 @@ static void n25q_reset_memory(SNORDriver *devp) {
#else #else
/* 2x N25Q_CMD_RESET_ENABLE command.*/ /* 2x N25Q_CMD_RESET_ENABLE command.*/
static const wspi_command_t cmd_reset_enable_2 = { static const wspi_command_t cmd_reset_enable_2 = {
.cfg = WSPI_CFG_CMD(N25Q_CMD_RESET_ENABLE) | .cmd = N25Q_CMD_RESET_ENABLE,
WSPI_CFG_CMD_MODE_TWO_LINES, .cfg = WSPI_CFG_CMD_MODE_TWO_LINES,
.addr = 0, .addr = 0,
.alt = 0, .alt = 0,
.dummy = 0 .dummy = 0
@ -279,8 +279,8 @@ static void n25q_reset_memory(SNORDriver *devp) {
/* 2x N25Q_CMD_RESET_MEMORY command.*/ /* 2x N25Q_CMD_RESET_MEMORY command.*/
static const wspi_command_t cmd_reset_memory_2 = { static const wspi_command_t cmd_reset_memory_2 = {
.cfg = WSPI_CFG_CMD(N25Q_CMD_RESET_MEMORY) | .cmd = N25Q_CMD_RESET_MEMORY,
WSPI_CFG_CMD_MODE_TWO_LINES, .cfg = WSPI_CFG_CMD_MODE_TWO_LINES,
.addr = 0, .addr = 0,
.alt = 0, .alt = 0,
.dummy = 0 .dummy = 0

View File

@ -156,8 +156,10 @@ typedef struct {
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
#if SNOR_SHARED_BUS == TRUE
void bus_acquire(BUSDriver *busp, const BUSConfig *config); void bus_acquire(BUSDriver *busp, const BUSConfig *config);
void bus_release(BUSDriver *busp); void bus_release(BUSDriver *busp);
#endif
void bus_cmd(BUSDriver *busp, uint32_t cmd); void bus_cmd(BUSDriver *busp, uint32_t cmd);
void bus_cmd_send(BUSDriver *busp, uint32_t cmd, size_t n, const uint8_t *p); void bus_cmd_send(BUSDriver *busp, uint32_t cmd, size_t n, const uint8_t *p);
void bus_cmd_receive(BUSDriver *busp, void bus_cmd_receive(BUSDriver *busp,

View File

@ -82,6 +82,7 @@
- NEW: Improved boost settings for STM32G4. - NEW: Improved boost settings for STM32G4.
- NEW: Files mcuconf.h for STM32F746, F767, L432, L452, L476, L496 received - NEW: Files mcuconf.h for STM32F746, F767, L432, L452, L476, L496 received
the missing setting STM32_WSPI_QUADSPI1_PRESCALER_VALUE. the missing setting STM32_WSPI_QUADSPI1_PRESCALER_VALUE.
- FIX: Fixed problem with N25Q driver (bug #1173).
- FIX: Fixed missing constant in ADuCM36x hal_lld.c (bug #1166). - FIX: Fixed missing constant in ADuCM36x hal_lld.c (bug #1166).
- FIX: Fixed invalid STM32 TIM21/TIM22 debug freeze setting (bug #1164). - FIX: Fixed invalid STM32 TIM21/TIM22 debug freeze setting (bug #1164).
- FIX: Fixed I2S-related definitions missing in STM32F3xx registry (bug #1162). - FIX: Fixed I2S-related definitions missing in STM32F3xx registry (bug #1162).