From 4a0e451285a3bb345d45b1a57d936b4f5907810f Mon Sep 17 00:00:00 2001 From: Jason Kajita Date: Wed, 4 Nov 2015 10:24:31 -0700 Subject: [PATCH] Remove unrelated files --- .../src/c30/LanguageToolSuite.xsd | 92 ----- src48x/c30_resource/src/c30/c30_devices.res | 13 - .../src/c30/c30_flag_definitions.h | 330 ------------------ .../src/c30/c30_header_definition.h | 15 - src48x/c30_resource/src/c30/resource_info.h | 5 - 5 files changed, 455 deletions(-) delete mode 100644 src48x/c30_resource/src/c30/LanguageToolSuite.xsd delete mode 100644 src48x/c30_resource/src/c30/c30_devices.res delete mode 100644 src48x/c30_resource/src/c30/c30_flag_definitions.h delete mode 100644 src48x/c30_resource/src/c30/c30_header_definition.h delete mode 100644 src48x/c30_resource/src/c30/resource_info.h diff --git a/src48x/c30_resource/src/c30/LanguageToolSuite.xsd b/src48x/c30_resource/src/c30/LanguageToolSuite.xsd deleted file mode 100644 index c73df4ba5..000000000 --- a/src48x/c30_resource/src/c30/LanguageToolSuite.xsd +++ /dev/null @@ -1,92 +0,0 @@ - - - - - - - This schema defines the validation requirements of XML documents - of the `LanguageToolSuite' type. Files of this type allow a - language tool suite to publish certain useful characteristics - about themselves in a programmatically accessible way. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src48x/c30_resource/src/c30/c30_devices.res b/src48x/c30_resource/src/c30/c30_devices.res deleted file mode 100644 index 0a6506b00..000000000 --- a/src48x/c30_resource/src/c30/c30_devices.res +++ /dev/null @@ -1,13 +0,0 @@ -/* - * Definitions for C30 supported parts - */ -#include "c30_flag_definitions.h" -#include "c30_header_definition.h" - -#include "c30_DVSdevices.res" - -#include "c30_DVSdevices_IVT.res" - -#include "c30_DVSdevices_CG.res" - -#include "c30_DVSdevices_MEM.res" diff --git a/src48x/c30_resource/src/c30/c30_flag_definitions.h b/src48x/c30_resource/src/c30/c30_flag_definitions.h deleted file mode 100644 index 853aee4cb..000000000 --- a/src48x/c30_resource/src/c30/c30_flag_definitions.h +++ /dev/null @@ -1,330 +0,0 @@ -#ifndef _C30_FLAG_DEFS_H -#define _C30_FLAG_DEFS_H - -/* - * Copyright 2009-2014 Microchip Technology Inc - */ - -/* - * This file is shared with the compiler sources and resource input file - * Comments and pre-processor statements only! - */ - -#define FAMILY_MASK (0x000000FF) -#define CODEGUARD_MASK (0x0FFFFF00) -#define RECORD_TYPE_MASK (0xF0000000) - -/* -** Family-specific flags - bits [0 - 7] -*/ - -/* - * (CAW) - * - * Clearly we have run out of bits... so P33C (and others?) is not valid - * DDT export script will call a P33C a P33E device so that we can proceed - * We should evaluate whether or not these family masks have further value, - * perhaps all future devices will be a 33E or 24E and the device_id flags - * will convey the distinctions - */ - -#define P30F 1 << 0 -#define P30FSMPS 1 << 1 -#define P33F 1 << 2 -#define P24F 1 << 3 -#define P24H 1 << 4 -#define P24FK 1 << 5 -#define P33E 1 << 6 -#define P24E 1 << 7 -#define P24FV P24FK | HAS_5VOLTS - -/* -** Flags that are specific to record types - bits [8 - 27] -*/ - -/* IS_DEVICE_ID flags */ -#define HAS_DSP 1 << 8 -#define HAS_EEDATA 1 << 9 -#define HAS_DMA 1 << 10 -#define HAS_CODEGUARD 1 << 11 -#define HAS_PMP 1 << 12 -#define HAS_EDS 1 << 13 -#define HAS_PMPV2 1 << 14 -#define HAS_ECORE 1 << 15 -#define HAS_DMAV2 1 << 16 -#define HAS_AUXFLASH 1 << 17 -#define HAS_5VOLTS 1 << 18 -#define HAS_GIE 1 << 19 -#define HAS_DUALPARTITION 1 << 20 -#define HAS_DATAFLASH 1 << 21 -#define HAS_ALTREGS 1 << 22 - -/* IS_CODEGUARD_ID flags */ -#define FLASH 1 << 8 -#define RAM 1 << 9 -#define EEPROM 1 << 10 -#define NONE 1 << 11 -#define SMALL 1 << 12 -#define MEDIUM 1 << 13 -#define LARGE 1 << 14 -#define BOOT 1 << 15 -#define SECURE 1 << 16 -#define GENERAL 1 << 17 -#define CODE_PROTECT 1 << 18 -#define WRITE_PROTECT 1 << 19 -#define STANDARD 1 << 20 -#define HIGH 1 << 21 -#define ON 1 << 22 -#define OFF 1 << 23 - -#define ENHANCED 1 << 24 -#define CONFIG 1 << 25 -#define PARTITIONED 1 << 26 - -/* IS_MEM_ID flags */ -#define MEM_FLASH 1 << 8 -#define MEM_RAM 1 << 9 -#define MEM_EEPROM 1 << 10 -#define MEM_DATAFLASH 1 << 11 -#define MEM_PARTITIONED 1 << 12 /* if set - - entry belongs to partitioned memory */ -#define MEM_IS_AIVT_ENABLED 1 << 13 /* identifies fuse location + bit to check - validity of floating AIVT */ -#define MEM_AIVT_LOCATION 1 << 14 /* identifies fuse location for AIVT */ - -/* -** Values that identify record types - bits [28-31] -** -** Once we use a value that has 2-bits set, we will no longer be able to -** support compilers released before 12 Feb 2014 -*/ -#define IS_CODEGUARD_ID 0x10000000 -#define IS_VECTOR_ID 0x20000000 -#define IS_DEVICE_ID 0x40000000 -#define IS_MEM_ID 0x80000000 - - -#ifndef PATH_SEPARATOR_STR -#define PATH_SEPARATOR_STR "|" -#endif -#ifndef DIR_SEPARATOR_STR -#define DIR_SEPARATOR_STR "/" -#endif - -/* - * assembly include paths for each device family - * Multiple paths may be separated by colons - * '/' is converted to the correct directory separator for the OS - */ -#define MPLABC30_PIC30F_INC_PATH ".." DIR_SEPARATOR_STR \ - "support" DIR_SEPARATOR_STR \ - "dsPIC30F" DIR_SEPARATOR_STR \ - "inc" \ - PATH_SEPARATOR_STR \ - ".." DIR_SEPARATOR_STR \ - "support" DIR_SEPARATOR_STR \ - "generic" DIR_SEPARATOR_STR \ - "inc" -#define MPLABC30_PIC33E_INC_PATH ".." DIR_SEPARATOR_STR \ - "support" DIR_SEPARATOR_STR \ - "dsPIC33E" DIR_SEPARATOR_STR \ - "inc" \ - PATH_SEPARATOR_STR \ - ".." DIR_SEPARATOR_STR \ - "support" DIR_SEPARATOR_STR \ - "generic" DIR_SEPARATOR_STR \ - "inc" -#define MPLABC30_PIC33F_INC_PATH ".." DIR_SEPARATOR_STR \ - "support" DIR_SEPARATOR_STR \ - "dsPIC33F" DIR_SEPARATOR_STR \ - "inc" \ - PATH_SEPARATOR_STR \ - ".." DIR_SEPARATOR_STR \ - "support" DIR_SEPARATOR_STR \ - "generic" DIR_SEPARATOR_STR \ - "inc" -#define MPLABC30_PIC33E_INC_PATH ".." DIR_SEPARATOR_STR \ - "support" DIR_SEPARATOR_STR \ - "dsPIC33E" DIR_SEPARATOR_STR \ - "inc" \ - PATH_SEPARATOR_STR \ - ".." DIR_SEPARATOR_STR \ - "support" DIR_SEPARATOR_STR \ - "generic" DIR_SEPARATOR_STR \ - "inc" -#define MPLABC30_PIC24H_INC_PATH ".." DIR_SEPARATOR_STR \ - "support" DIR_SEPARATOR_STR \ - "PIC24H" DIR_SEPARATOR_STR \ - "inc" \ - PATH_SEPARATOR_STR \ - ".." DIR_SEPARATOR_STR \ - "support" DIR_SEPARATOR_STR \ - "generic" DIR_SEPARATOR_STR \ - "inc" -#define MPLABC30_PIC24E_INC_PATH ".." DIR_SEPARATOR_STR \ - "support" DIR_SEPARATOR_STR \ - "PIC24E" DIR_SEPARATOR_STR \ - "inc" \ - PATH_SEPARATOR_STR \ - ".." DIR_SEPARATOR_STR \ - "support" DIR_SEPARATOR_STR \ - "generic" DIR_SEPARATOR_STR \ - "inc" -#define MPLABC30_PIC24F_INC_PATH ".." DIR_SEPARATOR_STR \ - "support" DIR_SEPARATOR_STR \ - "PIC24F" DIR_SEPARATOR_STR \ - "inc" \ - PATH_SEPARATOR_STR \ - ".." DIR_SEPARATOR_STR \ - "support" DIR_SEPARATOR_STR \ - "generic" DIR_SEPARATOR_STR \ - "inc" -#define MPLABC30_PIC24E_INC_PATH ".." DIR_SEPARATOR_STR \ - "support" DIR_SEPARATOR_STR \ - "PIC24E" DIR_SEPARATOR_STR \ - "inc" \ - PATH_SEPARATOR_STR \ - ".." DIR_SEPARATOR_STR \ - "support" DIR_SEPARATOR_STR \ - "generic" DIR_SEPARATOR_STR \ - "inc" -/* - * compiler include paths for each device family - * Multiple paths may be separated by colons - * '/' is converted to the correct directory separator for the OS - */ -#define MPLABC30_COMMON_INCLUDE_PATH ".." DIR_SEPARATOR_STR \ - "include" PATH_SEPARATOR_STR \ - ".." DIR_SEPARATOR_STR \ - "support" DIR_SEPARATOR_STR \ - "generic" DIR_SEPARATOR_STR \ - "h" -#define MPLABC30_LEGACY_COMMON_INCLUDE_PATH ".." DIR_SEPARATOR_STR \ - "include" DIR_SEPARATOR_STR "lega-c" \ - PATH_SEPARATOR_STR \ - ".." DIR_SEPARATOR_STR \ - "support" DIR_SEPARATOR_STR \ - "generic" DIR_SEPARATOR_STR \ - "h" -#define MPLABC30_PIC24F_INCLUDE_PATH ".." DIR_SEPARATOR_STR \ - "support" DIR_SEPARATOR_STR \ - "PIC24F" DIR_SEPARATOR_STR \ - "h" PATH_SEPARATOR_STR \ - ".." DIR_SEPARATOR_STR \ - "support" DIR_SEPARATOR_STR \ - "peripheral_24F" -#define MPLABC30_PIC24H_INCLUDE_PATH ".." DIR_SEPARATOR_STR \ - "support" DIR_SEPARATOR_STR \ - "PIC24H" DIR_SEPARATOR_STR \ - "h" PATH_SEPARATOR_STR \ - ".." DIR_SEPARATOR_STR \ - "support" DIR_SEPARATOR_STR \ - "peripheral_30F_24H_33F" -#define MPLABC30_PIC24E_INCLUDE_PATH ".." DIR_SEPARATOR_STR \ - "support" DIR_SEPARATOR_STR \ - "PIC24E" DIR_SEPARATOR_STR \ - "h" PATH_SEPARATOR_STR \ - ".." DIR_SEPARATOR_STR \ - "support" DIR_SEPARATOR_STR \ - "peripheral_30F_24H_33F" -#define MPLABC30_PIC30F_INCLUDE_PATH ".." DIR_SEPARATOR_STR \ - "support" DIR_SEPARATOR_STR \ - "dsPIC30F" DIR_SEPARATOR_STR \ - "h" PATH_SEPARATOR_STR \ - ".." DIR_SEPARATOR_STR \ - "support" DIR_SEPARATOR_STR \ - "peripheral_30F_24H_33F" -#define MPLABC30_PIC33F_INCLUDE_PATH ".." DIR_SEPARATOR_STR \ - "support" DIR_SEPARATOR_STR \ - "dsPIC33F" DIR_SEPARATOR_STR \ - "h" PATH_SEPARATOR_STR \ - ".." DIR_SEPARATOR_STR \ - "support" DIR_SEPARATOR_STR \ - "peripheral_30F_24H_33F" -#define MPLABC30_PIC33E_INCLUDE_PATH ".." DIR_SEPARATOR_STR \ - "support" DIR_SEPARATOR_STR \ - "dsPIC33E" DIR_SEPARATOR_STR \ - "h" PATH_SEPARATOR_STR \ - ".." DIR_SEPARATOR_STR \ - "support" DIR_SEPARATOR_STR \ - "peripheral_30F_24H_33F" -/* - * linker library paths for each device family - * Multiple paths may be separated by colons - * '/' is converted to the correct directory separator for the OS - */ -#define MPLABC30_COMMON_LIB_PATH ".." DIR_SEPARATOR_STR \ - "lib" PATH_SEPARATOR_STR \ - ".." DIR_SEPARATOR_STR \ - "support" DIR_SEPARATOR_STR \ - "generic" DIR_SEPARATOR_STR \ - "gld" -#define MPLABC30_ERRATA_COMMON_LIB_PATH ".." DIR_SEPARATOR_STR \ - "errata-lib" PATH_SEPARATOR_STR \ - ".." DIR_SEPARATOR_STR \ - "support" DIR_SEPARATOR_STR \ - "generic" DIR_SEPARATOR_STR \ - "gld" -#define MPLABC30_PIC24F_LIB_PATH ".." DIR_SEPARATOR_STR \ - "lib" DIR_SEPARATOR_STR \ - "PIC24F" PATH_SEPARATOR_STR \ - ".." DIR_SEPARATOR_STR \ - "support" DIR_SEPARATOR_STR \ - "PIC24F" DIR_SEPARATOR_STR \ - "gld" PATH_SEPARATOR_STR \ - ".." DIR_SEPARATOR_STR \ - "lib" DIR_SEPARATOR_STR \ - "peripheral_24F" -#define MPLABC30_PIC24H_LIB_PATH ".." DIR_SEPARATOR_STR \ - "lib" DIR_SEPARATOR_STR \ - "PIC24H" PATH_SEPARATOR_STR \ - ".." DIR_SEPARATOR_STR \ - "support" DIR_SEPARATOR_STR \ - "PIC24H" DIR_SEPARATOR_STR \ - "gld" PATH_SEPARATOR_STR \ - ".." DIR_SEPARATOR_STR \ - "lib" DIR_SEPARATOR_STR \ - "peripheral_30F_24H_33F" -#define MPLABC30_PIC24E_LIB_PATH ".." DIR_SEPARATOR_STR \ - "lib" DIR_SEPARATOR_STR \ - "PIC24E" PATH_SEPARATOR_STR \ - ".." DIR_SEPARATOR_STR \ - "support" DIR_SEPARATOR_STR \ - "PIC24E" DIR_SEPARATOR_STR \ - "gld" PATH_SEPARATOR_STR \ - ".." DIR_SEPARATOR_STR \ - "lib" DIR_SEPARATOR_STR \ - "peripheral_30F_24H_33F" -#define MPLABC30_PIC30F_LIB_PATH ".." DIR_SEPARATOR_STR \ - "lib" DIR_SEPARATOR_STR \ - "dsPIC30F" PATH_SEPARATOR_STR \ - ".." DIR_SEPARATOR_STR \ - "support" DIR_SEPARATOR_STR \ - "dsPIC30F" DIR_SEPARATOR_STR \ - "gld" PATH_SEPARATOR_STR \ - ".." DIR_SEPARATOR_STR \ - "lib" DIR_SEPARATOR_STR \ - "peripheral_30F_24H_33F" -#define MPLABC30_PIC33F_LIB_PATH ".." DIR_SEPARATOR_STR \ - "lib" DIR_SEPARATOR_STR \ - "dsPIC33F" PATH_SEPARATOR_STR \ - ".." DIR_SEPARATOR_STR \ - "support" DIR_SEPARATOR_STR \ - "dsPIC33F" DIR_SEPARATOR_STR \ - "gld" PATH_SEPARATOR_STR \ - ".." DIR_SEPARATOR_STR \ - "lib" DIR_SEPARATOR_STR \ - "peripheral_30F_24H_33F" -#define MPLABC30_PIC33E_LIB_PATH ".." DIR_SEPARATOR_STR \ - "lib" DIR_SEPARATOR_STR \ - "dsPIC33E" PATH_SEPARATOR_STR \ - ".." DIR_SEPARATOR_STR \ - "support" DIR_SEPARATOR_STR \ - "dsPIC33E" DIR_SEPARATOR_STR \ - "gld" PATH_SEPARATOR_STR \ - ".." DIR_SEPARATOR_STR \ - "lib" DIR_SEPARATOR_STR \ - "peripheral_30F_24H_33F" - - -#endif diff --git a/src48x/c30_resource/src/c30/c30_header_definition.h b/src48x/c30_resource/src/c30/c30_header_definition.h deleted file mode 100644 index 86649bed6..000000000 --- a/src48x/c30_resource/src/c30/c30_header_definition.h +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Header for C30 - */ - -#ifndef _C30_HEADER_DEF -#define _C30_HEADER_DEF - -tool_chain = "C30" -tool_version = MCHP_VERSION -resource_version = MCHP_RESOURCE -field_count = 6 -field_sizes = { 32, 4, 4, 4, 4, 4 } -resource_info_start - -#endif diff --git a/src48x/c30_resource/src/c30/resource_info.h b/src48x/c30_resource/src/c30/resource_info.h deleted file mode 100644 index 7e8652612..000000000 --- a/src48x/c30_resource/src/c30/resource_info.h +++ /dev/null @@ -1,5 +0,0 @@ -#include "../generator/resource_types.h" -#include "c30_flag_definitions.h" -#ifndef C30_DONT_DEFINE_RESOURCES -#include "../generator/resource.c" -#endif