Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
tlsf_malloc_arch.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2016 Alexandre Bustico, Gautier Hattenberger
3
*
4
* This file is part of paparazzi.
5
*
6
* paparazzi is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; either version 2, or (at your option)
9
* any later version.
10
*
11
* paparazzi is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License
17
* along with paparazzi; see the file COPYING. If not, see
18
* <http://www.gnu.org/licenses/>.
19
*/
20
28
#ifndef TLSF_MALLOC_ARCH_H
29
#define TLSF_MALLOC_ARCH_H
30
#include <ch.h>
31
#include <hal.h>
32
#include "
mcu_periph/ram_arch.h
"
33
34
35
#define HEAP_CCM ccmHeap
36
// F7/H7 has more than twice RAM than others families
37
#if defined(STM32F7XX) || defined(STM32H7XX)
38
#define HEAP_CCM_SIZE 65536
39
#else
40
#define HEAP_CCM_SIZE 16384
41
#endif
42
#define HEAP_CCM_SECTION FAST_SECTION
43
44
#define HEAP_DEFAULT HEAP_CCM
45
46
#endif
47
ram_arch.h
Specific RAM section for DMA usage on F7.
sw
airborne
arch
chibios
modules
tlsf
tlsf_malloc_arch.h
Generated on Fri Nov 8 2024 14:10:44 for Paparazzi UAS by
1.9.1