forked from xuos/xiuos
				
			fix XiZi/cortex-m4-emulator compile error from Wang_guozhu
it is OK
This commit is contained in:
		
						commit
						b763062040
					
				| 
						 | 
				
			
			@ -1,21 +1,7 @@
 | 
			
		|||
/*
 | 
			
		||||
 * File      : spi_flash_sfud.c
 | 
			
		||||
 * This file is part of RT-Thread RTOS
 | 
			
		||||
 * COPYRIGHT (C) 2006 - 2016, RT-Thread Development Team
 | 
			
		||||
 * Copyright (c) 2006-2021, 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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -7,7 +7,7 @@ endif
 | 
			
		|||
 | 
			
		||||
ifeq ($(CONFIG_BOARD_STM32F103_NANO),y)
 | 
			
		||||
SRC_DIR := shared
 | 
			
		||||
SRC_DIR +=cortex-m3
 | 
			
		||||
SRC_DIR += cortex-m3
 | 
			
		||||
endif
 | 
			
		||||
 | 
			
		||||
ifeq ($(CONFIG_BOARD_STM32F407_EVB),y)
 | 
			
		||||
| 
						 | 
				
			
			@ -15,6 +15,11 @@ SRC_DIR := shared
 | 
			
		|||
SRC_DIR += cortex-m4
 | 
			
		||||
endif
 | 
			
		||||
 | 
			
		||||
ifeq ($(CONFIG_BOARD_CORTEX_M4_EVB),y)
 | 
			
		||||
SRC_DIR := shared
 | 
			
		||||
SRC_DIR += cortex-m4
 | 
			
		||||
endif
 | 
			
		||||
 | 
			
		||||
ifeq ($(CONFIG_BOARD_CORTEX_M7_EVB),y)
 | 
			
		||||
SRC_DIR := shared
 | 
			
		||||
SRC_DIR += cortex-m7
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue