From ab974488d5270d41094aff80d73afa17b5d3e925 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sun, 2 Dec 2018 07:58:12 -0600 Subject: [PATCH] arch/arm/src/tiva/hardware: Remove annoying warnings 'No flash dimensions defined for selected chip.' --- arch/arm/src/tiva/hardware/lm/lm3s_flash.h | 3 --- arch/arm/src/tiva/hardware/tm4c/tm4c_flash.h | 3 --- 2 files changed, 6 deletions(-) diff --git a/arch/arm/src/tiva/hardware/lm/lm3s_flash.h b/arch/arm/src/tiva/hardware/lm/lm3s_flash.h index 0e1408db9b..5c603e6b1c 100644 --- a/arch/arm/src/tiva/hardware/lm/lm3s_flash.h +++ b/arch/arm/src/tiva/hardware/lm/lm3s_flash.h @@ -58,9 +58,6 @@ # define TIVA_FLASH_NPAGES 256 # define TIVA_FLASH_PAGESIZE 1024 - -#else -# warning "No flash dimensions defined for selected chip." #endif #define TIVA_FLASH_SIZE (TIVA_FLASH_NPAGES * TIVA_FLASH_PAGESIZE) diff --git a/arch/arm/src/tiva/hardware/tm4c/tm4c_flash.h b/arch/arm/src/tiva/hardware/tm4c/tm4c_flash.h index 3626372a37..3637d627ee 100644 --- a/arch/arm/src/tiva/hardware/tm4c/tm4c_flash.h +++ b/arch/arm/src/tiva/hardware/tm4c/tm4c_flash.h @@ -64,9 +64,6 @@ # define TIVA_FLASH_NPAGES 64 # define TIVA_FLASH_PAGESIZE 16384 # define FLASH_PROTECT_SIZE 2048 - -#else -# warning "No flash dimensions defined for selected chip." #endif #define TIVA_FLASH_SIZE (TIVA_FLASH_NPAGES * TIVA_FLASH_PAGESIZE)