1 /** 2 * \file 3 * 4 * \brief Missing Toolchain Definition for UC3 D header files 5 * 6 * Copyright (c) 2011-2018 Microchip Technology Inc. and its subsidiaries. 7 * 8 * \asf_license_start 9 * 10 * \page License 11 * 12 * Subject to your compliance with these terms, you may use Microchip 13 * software and any derivatives exclusively with Microchip products. 14 * It is your responsibility to comply with third party license terms applicable 15 * to your use of third party software (including open source software) that 16 * may accompany Microchip software. 17 * 18 * THIS SOFTWARE IS SUPPLIED BY MICROCHIP "AS IS". NO WARRANTIES, 19 * WHETHER EXPRESS, IMPLIED OR STATUTORY, APPLY TO THIS SOFTWARE, 20 * INCLUDING ANY IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY, 21 * AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT WILL MICROCHIP BE 22 * LIABLE FOR ANY INDIRECT, SPECIAL, PUNITIVE, INCIDENTAL OR CONSEQUENTIAL 23 * LOSS, DAMAGE, COST OR EXPENSE OF ANY KIND WHATSOEVER RELATED TO THE 24 * SOFTWARE, HOWEVER CAUSED, EVEN IF MICROCHIP HAS BEEN ADVISED OF THE 25 * POSSIBILITY OR THE DAMAGES ARE FORESEEABLE. TO THE FULLEST EXTENT 26 * ALLOWED BY LAW, MICROCHIP'S TOTAL LIABILITY ON ALL CLAIMS IN ANY WAY 27 * RELATED TO THIS SOFTWARE WILL NOT EXCEED THE AMOUNT OF FEES, IF ANY, 28 * THAT YOU HAVE PAID DIRECTLY TO MICROCHIP FOR THIS SOFTWARE. 29 * 30 * \asf_license_stop 31 * 32 */ 33 /* 34 * Support and FAQ: visit <a href="https://www.microchip.com/support/">Microchip Support</a> 35 */ 36 37 #ifndef _UC3D_DEFINES_FIX_ 38 #define _UC3D_DEFINES_FIX_ 39 40 #include <parts.h> 41 42 #if (UC3D) 43 44 // These defines are missing from or wrong in the toolchain header file ip_xxx.h or part.h 45 #ifndef AVR32_SCIF_GC_NO_DIV_CLOCK 46 #define AVR32_SCIF_GC_NO_DIV_CLOCK 0 47 #else 48 #warning "Duplicate define(s) to remove from the ASF" 49 #endif // end AVR32_SCIF_GC_NO_DIV_CLOCK 50 51 #ifndef AVR32_SCIF_GCLK_ADCIFD 52 #define AVR32_SCIF_GCLK_ADCIFD 8 53 #else 54 #warning "Duplicate define(s) to remove from the ASF" 55 #endif // end AVR32_SCIF_GCLK_ADCIFD 56 57 #ifndef AVR32_SCIF_GCLK_AST 58 #define AVR32_SCIF_GCLK_AST 6 59 #else 60 #warning "Duplicate define(s) to remove from the ASF" 61 #endif // end AVR32_SCIF_GCLK_AST 62 63 #ifndef AVR32_SCIF_GCLK_GLOC 64 #define AVR32_SCIF_GCLK_GLOC 0 65 #else 66 #warning "Duplicate define(s) to remove from the ASF" 67 #endif // end AVR32_SCIF_GCLK_GLOC 68 69 #ifndef AVR32_SCIF_GCLK_IISC 70 #define AVR32_SCIF_GCLK_IISC 5 71 #else 72 #warning "Duplicate define(s) to remove from the ASF" 73 #endif // end AVR32_SCIF_GCLK_IISC 74 75 #ifndef AVR32_SCIF_GCLK_PWMA 76 #define AVR32_SCIF_GCLK_PWMA 4 77 #else 78 #warning "Duplicate define(s) to remove from the ASF" 79 #endif // end AVR32_SCIF_GCLK_PWMA 80 81 #ifndef AVR32_SCIF_GCLK_USBC 82 #define AVR32_SCIF_GCLK_USBC 3 83 #else 84 #warning "Duplicate define(s) to remove from the ASF" 85 #endif // end AVR32_SCIF_GCLK_USBC 86 87 #ifndef AVR32_PM_CPU_MAX_FREQ 88 #define AVR32_PM_CPU_MAX_FREQ 48000000 89 #else 90 #warning "Duplicate define(s) to remove from the ASF" 91 #endif // AVR32_PM_CPU_MAX_FREQ 92 93 #ifndef AVR32_PM_HSB_MAX_FREQ 94 #define AVR32_PM_HSB_MAX_FREQ 48000000 95 #else 96 #warning "Duplicate define(s) to remove from the ASF" 97 #endif // AVR32_PM_HSB_MAX_FREQ 98 99 #ifndef AVR32_PM_PBA_MAX_FREQ 100 #define AVR32_PM_PBA_MAX_FREQ 48000000 101 #else 102 #warning "Duplicate define(s) to remove from the ASF" 103 #endif // AVR32_PM_PBA_MAX_FREQ 104 105 #ifndef AVR32_PM_PBB_MAX_FREQ 106 #define AVR32_PM_PBB_MAX_FREQ 48000000 107 #else 108 #warning "Duplicate define(s) to remove from the ASF" 109 #endif // AVR32_PM_PBB_MAX_FREQ 110 111 #endif // end UC3D 112 113 #endif // _UC3D_DEFINES_FIX 114