Skip to content

Commit

Permalink
added F415_128K
Browse files Browse the repository at this point in the history
useful for AT-START-F415 which has 2k sectors
  • Loading branch information
tridge committed Aug 20, 2024
1 parent 2f5e285 commit 739f5b1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ ROOT := $(patsubst %/,%,$(dir $(lastword $(MAKEFILE_LIST))))
include $(ROOT)/make/tools.mk

# MCU builds, if with _xxK then adds build with given flash size
MCU_BUILDS := E230 F031 F051 F415 F421 G071 G071_64K L431
MCU_BUILDS := E230 F031 F051 F415 F415_128K F421 G071 G071_64K L431

# we support bootloader comms on a list of possible pins
BOOTLOADER_PINS = PB4 PA2 PA15
Expand Down
5 changes: 4 additions & 1 deletion Mcu/f415/Inc/blutil.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,12 @@
#define STACK_TOP RAM_BASE+RAM_SIZE

/*
use 32k flash
use 32k flash by default. We allow for 128k as well so we can test
2k sectors with the AT-START-F415 devel board
*/
#ifndef BOARD_FLASH_SIZE
#define BOARD_FLASH_SIZE 32
#endif


#define GPIO_PIN(n) (1U<<(n))
Expand Down

0 comments on commit 739f5b1

Please sign in to comment.