Marlin 2.0 for Flying Bear 4S/5
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
420 B

4 years ago
#ifndef SHARED_MEM_H
#define SHARED_MEM_H
#include <stdio.h>
#include "../../MarlinCore.h"
#include "../../inc/MarlinConfig.h"
4 years ago
#ifdef STM32F1
3 years ago
#define SHARED_MEM_1KB_COUNT 8
4 years ago
#define SHARED_MEM_SIZE SHARED_MEM_1KB_COUNT*1024
#endif
#ifdef STM32F4
#define SHARED_MEM_1KB_COUNT 16
#define SHARED_MEM_SIZE SHARED_MEM_1KB_COUNT*1024
#endif
4 years ago
extern volatile uint8_t shared_mem[SHARED_MEM_SIZE];
#endif