Merge pull request #212 from oliver-joos/allow-custom-app_start

Allow for a custom application start vector on stm32 boards
This commit is contained in:
Ha Thach 2022-06-08 17:52:24 +07:00 committed by GitHub
commit a2bfccc87e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View file

@ -35,7 +35,9 @@
#include "board.h"
// Flash Start Address of Application
#ifndef BOARD_FLASH_APP_START
#define BOARD_FLASH_APP_START 0x08004000
#endif
#define BOARD_RAM_START 0x20000000
#define BOARD_RAM_SIZE 0x9FFF

View file

@ -35,7 +35,9 @@
#include "board.h"
// Flash Start Address of Application
#ifndef BOARD_FLASH_APP_START
#define BOARD_FLASH_APP_START 0x08010000
#endif
// Double Reset tap to enter DFU
#define TINYUF2_DFU_DOUBLE_TAP 1