Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of X_NUCLEO_IDB0XA1 by
compiler.h
00001 /******************** (C) COPYRIGHT 2012 STMicroelectronics ******************** 00002 * File Name : compiler.h 00003 * Author : AMS - HEA&RF BU 00004 * Version : V1.0.0 00005 * Date : 19-July-2012 00006 * Description : Compiler-dependent macros. 00007 ******************************************************************************** 00008 * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS 00009 * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME. 00010 * AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT, 00011 * INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE 00012 * CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING 00013 * INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. 00014 *******************************************************************************/ 00015 00016 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00017 00018 #ifdef __ICCARM__ 00019 #define PACKED 00020 #else 00021 #ifdef __GNUC__ 00022 #undef __packed 00023 #define __packed 00024 #define PACKED __attribute__((packed)) 00025 #else 00026 #define PACKED 00027 #define __packed 00028 #endif 00029 #endif 00030 00031 /* Change this define to 1 if zero-length arrays are not supported by your compiler. */ 00032 #define VARIABLE_SIZE 1 00033 00034 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
Generated on Tue Jul 12 2022 16:31:45 by
