From 17ed003bb841e621bf8452213d1985e5e1739611 Mon Sep 17 00:00:00 2001 From: Leszek Rusinowicz Date: Fri, 8 Mar 2019 12:57:34 +0100 Subject: [PATCH] Removed cymetadata section from FUTURE_SEQUANA targets This data, placed at physically not existing addresses (0x9xxxxxxx) was used only by PSoC Programmer and KitProg2 and is no longer needed, but was causing issues with standard hex file processing tools like srecord (srec_cat). --- .../TARGET_CY8C63XX/device/cymetadata.c | 56 ------------------- 1 file changed, 56 deletions(-) delete mode 100644 targets/TARGET_Cypress/TARGET_PSOC6_FUTURE/TARGET_CY8C63XX/device/cymetadata.c diff --git a/targets/TARGET_Cypress/TARGET_PSOC6_FUTURE/TARGET_CY8C63XX/device/cymetadata.c b/targets/TARGET_Cypress/TARGET_PSOC6_FUTURE/TARGET_CY8C63XX/device/cymetadata.c deleted file mode 100644 index ca605b521a..0000000000 --- a/targets/TARGET_Cypress/TARGET_PSOC6_FUTURE/TARGET_CY8C63XX/device/cymetadata.c +++ /dev/null @@ -1,56 +0,0 @@ -/******************************************************************************* -* File Name: cymetadata.c -* -* PSoC Creator 4.1 -* -* Description: -* This file defines all extra memory spaces that need to be included. -* This file is automatically generated by PSoC Creator. -* -******************************************************************************** -* Copyright 2007-2018, Cypress Semiconductor Corporation. All rights reserved. -* SPDX-License-Identifier: Apache-2.0 -********************************************************************************/ - - -#include "stdint.h" - - -#if defined(__GNUC__) || defined(__ARMCC_VERSION) -#ifndef CY_META_SECTION -#define CY_META_SECTION __attribute__ ((__section__(".cymeta"), used)) -#endif -CY_META_SECTION -#elif defined(__ICCARM__) - -#pragma location=".cymeta" -#else -#error "Unsupported toolchain" -#endif -const uint8_t cy_metadata[] = { -#if defined(CY8C637BZI_BLD74) - 0x00u, 0x05u, 0xE2u, 0x01u, 0x11u, 0x00u, 0x00u, 0x01u, - 0x00u, 0x00u, 0x00u, 0x00u -#elif defined(CY8C6347BZI_BLD53) - 0x00u, 0x05u, 0xE2u, 0x07u, 0x21u, 0x00u, 0x21u, 0x01u, - 0x00u, 0x00u, 0x00u, 0x00u -#else -#error "Unknown target device" -#endif -}; - -#if defined(CY8C637BZI_BLD74) -#if defined(__GNUC__) || defined(__ARMCC_VERSION) -#ifndef CY_CHIP_PROT_SECTION -#define CY_CHIP_PROT_SECTION __attribute__ ((__section__(".cychipprotect"), used)) -#endif -CY_CHIP_PROT_SECTION -#elif defined(__ICCARM__) -#pragma location=".cychipprotect" -#else -#error "Unsupported toolchain" -#endif -const uint8_t cy_meta_chipprotect[] = { - 0x01u -}; -#endif