STM32F7 HAL using the official STM32 Arduino Core (#11750)
This commit is contained in:
@ -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)
|
||||
|
@ -53,7 +53,7 @@
|
||||
|
||||
#include "../../inc/MarlinConfig.h"
|
||||
|
||||
#if HAS_SERVOS && !(IS_32BIT_TEENSY || defined(TARGET_LPC1768) || defined(STM32F1) || defined(STM32F1xx) || defined(STM32F4) || defined(STM32F4xx))
|
||||
#if HAS_SERVOS && !(IS_32BIT_TEENSY || defined(TARGET_LPC1768) || defined(STM32F1) || defined(STM32F1xx) || defined(STM32F4) || defined(STM32F4xx) || defined(STM32F7xx))
|
||||
|
||||
//#include <Arduino.h>
|
||||
#include "servo.h"
|
||||
|
@ -74,10 +74,12 @@
|
||||
#include "../HAL_TEENSY35_36/HAL_Servo_Teensy.h"
|
||||
#elif defined(TARGET_LPC1768)
|
||||
#include "../HAL_LPC1768/LPC1768_Servo.h"
|
||||
#elif defined(STM32F1) || defined(STM32F1xx)
|
||||
#elif defined(__STM32F1__) || defined(TARGET_STM32F1)
|
||||
#include "../HAL_STM32F1/HAL_Servo_STM32F1.h"
|
||||
#elif defined(STM32F4) || defined(STM32F4xx)
|
||||
#elif defined(STM32GENERIC) && defined(STM32F4)
|
||||
#include "../HAL_STM32F4/HAL_Servo_STM32F4.h"
|
||||
#elif defined(ARDUINO_ARCH_STM32)
|
||||
#include "../HAL_STM32/HAL_Servo_STM32.h"
|
||||
#else
|
||||
#include <stdint.h>
|
||||
|
||||
|
Reference in New Issue
Block a user