diff options
| author | Bernard Xiong <[email protected]> | 2018-09-21 17:09:46 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-09-21 17:09:46 +0800 |
| commit | b5202d17fbd8e226a737caa38d536a4cd7a55956 (patch) | |
| tree | 4df28e82517bc51eb2208933e54848560def5982 /components/drivers/include/rtdevice.h | |
| parent | f7423741f2868cca2a64619a0907668acf02bd5d (diff) | |
| parent | b611f317fe83aa262879a07d77c8102434d3b847 (diff) | |
Merge branch 'master' into dev
Diffstat (limited to 'components/drivers/include/rtdevice.h')
| -rw-r--r-- | components/drivers/include/rtdevice.h | 25 |
1 files changed, 9 insertions, 16 deletions
diff --git a/components/drivers/include/rtdevice.h b/components/drivers/include/rtdevice.h index b7fec50b73..e0499dcd20 100644 --- a/components/drivers/include/rtdevice.h +++ b/components/drivers/include/rtdevice.h @@ -1,21 +1,7 @@ /* - * File : rtdevice.h - * This file is part of RT-Thread RTOS - * COPYRIGHT (C) 2006 - 2012, RT-Thread Development Team + * Copyright (c) 2006-2018, 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. + * SPDX-License-Identifier: Apache-2.0 * * Change Logs: * Date Author Notes @@ -121,6 +107,13 @@ extern "C" { #include "drivers/wlan.h" #endif +#ifdef MTD_USING_NOR +#include "drivers/mtdnor.h" +#endif +#ifdef MTD_USING_NAND +#include "drivers/mtdnand.h" +#endif + #ifdef __cplusplus } #endif |
