Skip to content

Commit f357a7f

Browse files
committed
lib(eeprom): add STM32WBAxx support
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent 93efc53 commit f357a7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/EEPROM/src/utility/stm32_eeprom.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ extern "C" {
2626
#endif
2727

2828
/* Be able to change FLASH_BANK_NUMBER to use if relevant */
29-
#if !defined(FLASH_BANK_NUMBER) && defined(FLASH_BANK_1)
29+
#if !defined(FLASH_BANK_NUMBER) && defined(FLASH_BANK_1) && !defined(STM32WBAxx)
3030
#if defined(FLASH_BANK_2)
3131
#define FLASH_BANK_NUMBER FLASH_BANK_2
3232
#else /* FLASH_BANK_1 */

0 commit comments

Comments
 (0)