2017-11-01 13:30:17 +08:00
|
|
|
/*
|
2018-10-22 11:02:14 +08:00
|
|
|
* Copyright (c) 2006-2018, RT-Thread Development Team
|
2017-11-01 13:30:17 +08:00
|
|
|
*
|
2018-10-22 11:02:14 +08:00
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
2017-11-01 13:30:17 +08:00
|
|
|
*
|
|
|
|
* Change Logs:
|
|
|
|
* Date Author Notes
|
|
|
|
* 2013-07-06 Bernard the first version
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __BOARD_H__
|
|
|
|
#define __BOARD_H__
|
|
|
|
|
|
|
|
#include <registers.h>
|
|
|
|
#include <irq_numbers.h>
|
2019-04-26 10:50:48 +08:00
|
|
|
#include "imx6ul.h"
|
2017-11-01 13:30:17 +08:00
|
|
|
|
|
|
|
#define CONFIG_MX6
|
|
|
|
#define CONFIG_MX6UL
|
|
|
|
|
|
|
|
#if defined(__CC_ARM)
|
|
|
|
extern int Image$$RW_IRAM1$$ZI$$Limit;
|
|
|
|
#define HEAP_BEGIN ((void*)&Image$$RW_IRAM1$$ZI$$Limit)
|
|
|
|
#elif defined(__GNUC__)
|
|
|
|
extern int __bss_end;
|
|
|
|
#define HEAP_BEGIN ((void*)&__bss_end)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#define HEAP_END (void*)(0x80000000 + 32 * 1024 * 1024)
|
|
|
|
|
|
|
|
void rt_hw_board_init(void);
|
|
|
|
|
|
|
|
#endif
|