Skip to content

Commit

Permalink
STM32F2 and Particle Electron board support
Browse files Browse the repository at this point in the history
CL: STM32F2 and Particle Electron board support

PUBLISHED_FROM=20dede6546e9f99d2829508177924790d87e985a
  • Loading branch information
Deomid Ryabkov authored and cesantabot committed Feb 12, 2019
1 parent 39eacd3 commit e668cbd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/stm32/stm32f_flash.c
Expand Up @@ -17,7 +17,7 @@

#include "stm32_flash.h"

#if defined(STM32F4) || defined(STM32F7)
#if defined(STM32F2) || defined(STM32F4) || defined(STM32F7)

#include "common/cs_dbg.h"
#include "common/str_util.h"
Expand All @@ -29,7 +29,7 @@
#include "stm32_system.h"

static const size_t s_stm32f_flash_layout[FLASH_SECTOR_TOTAL] = {
#if defined(STM32F4)
#if defined(STM32F2) || defined(STM32F4)
#if STM32_FLASH_SIZE == 524288
16384, 16384, 16384, 16384, 65536,
131072, 131072, 131072
Expand Down

0 comments on commit e668cbd

Please sign in to comment.