4
0
mirror of https://github.com/armink/FreeModbus_Slave-Master-RTT-STM32.git synced 2025-02-02 22:32:23 +08:00
ZhuTianlong de7bad9245 1、【创建】GIT版本仓库
2、【创建】Eclipse工程,并支持IAR插件调试
3、【创建】Keil工程,位于/RVMDK目录下
4、【创建】IAR工程,位于/EWARM目录下
5、【添加】RT-Thread1.1.1操作系统支持
6、【添加】LED1、LED2系统运行指示灯
7、【修改】Readdme.md文件

Signed-off-by: armink <armink.ztl@gmail.com>
2013-08-02 14:00:55 +08:00

36 lines
947 B
C

/*
* File : rtm.h
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006 - 2012, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rt-thread.org/license/LICENSE
*/
#ifndef __RTM_H__
#define __RTM_H__
#include <rtdef.h>
#include <rtthread.h>
#ifdef RT_USING_MODULE
struct rt_module_symtab
{
void *addr;
const char *name;
};
#define RTM_EXPORT(symbol) \
const char __rtmsym_##symbol##_name[] = #symbol; \
const struct rt_module_symtab __rtmsym_##symbol SECTION("RTMSymTab")= \
{ \
(void *)&symbol, \
__rtmsym_##symbol##_name \
};
#else
#define RTM_EXPORT(symbol)
#endif
#endif