STM32F7 HAL using the official STM32 Arduino Core (#11750)

This commit is contained in:
Scott Lahteine
2018-10-03 03:26:07 -05:00
committed by GitHub
parent 3e58b3a5d4
commit 348004c34f
24 changed files with 1436 additions and 6 deletions

View File

@@ -15,6 +15,7 @@
#if defined(__arm__) || defined(__thumb__)
#include "unwmemaccess.h"
#include "../../../inc/MarlinConfig.h"
/* Validate address */
@@ -73,7 +74,7 @@
#define END_FLASH_ADDR 0x08080000
#endif
#ifdef STM32F7
#if MB(THE_BORG)
// For STM32F765 in BORG
// SRAM (0x20000000 - 0x20080000) (512kb)
// FLASH (0x08000000 - 0x08100000) (1024kb)
@@ -84,6 +85,17 @@
#define END_FLASH_ADDR 0x08100000
#endif
#if MB(REMRAM_V1)
// For STM32F765VI in RemRam v1
// SRAM (0x20000000 - 0x20080000) (512kb)
// FLASH (0x08000000 - 0x08200000) (2048kb)
//
#define START_SRAM_ADDR 0x20000000
#define END_SRAM_ADDR 0x20080000
#define START_FLASH_ADDR 0x08000000
#define END_FLASH_ADDR 0x08200000
#endif
#ifdef __MK20DX256__
// For MK20DX256 in TEENSY 3.1 or TEENSY 3.2
// SRAM (0x1FFF8000 - 0x20008000) (64kb)