2015-05-04 16:30:05 +08:00
|
|
|
/*
|
2018-06-04 13:34:45 +08:00
|
|
|
* File : rt_low_level_init.h
|
2015-05-04 16:30:05 +08:00
|
|
|
* This file is part of RT-Thread RTOS
|
|
|
|
* COPYRIGHT (C) 2006 - 2015, RT-Thread Development Team
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License along
|
|
|
|
* with this program; if not, write to the Free Software Foundation, Inc.,
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*
|
|
|
|
* Change Logs:
|
|
|
|
* Date Author Notes
|
2018-06-04 13:34:45 +08:00
|
|
|
* 2018-06-04 ArdaFu first version
|
2015-05-04 16:30:05 +08:00
|
|
|
*/
|
2018-06-04 13:34:45 +08:00
|
|
|
#ifndef __RT_LOW_LEVEL_INIT_H__
|
|
|
|
#define __RT_LOW_LEVEL_INIT_H__
|
2015-05-04 16:30:05 +08:00
|
|
|
|
|
|
|
/*-------- Stack size of CPU modes -------------------------------------------*/
|
|
|
|
#define UND_STK_SIZE 512
|
|
|
|
#define SVC_STK_SIZE 4096
|
|
|
|
#define ABT_STK_SIZE 512
|
|
|
|
#define IRQ_STK_SIZE 1024
|
|
|
|
#define FIQ_STK_SIZE 1024
|
|
|
|
#define SYS_STK_SIZE 512
|
2018-06-04 13:34:45 +08:00
|
|
|
#define Heap_Size 512
|
|
|
|
#endif
|