diff --git a/evalcompat.h b/evalcompat.h
deleted file mode 100644
--- a/evalcompat.h
+++ /dev/null
@@ -1,98 +0,0 @@
-/** EMZ we only really need COM1, EVAL_COM1,
- ******************************************************************************
- * @file stm32l152d_eval.h
- * @author MCD Application Team
- * @version V1.0.1
- * @date 09-March-2012
- * @brief This file contains definitions for STM32L152D_EVAL's Leds, push-buttons
- * COM ports and Temperature Sensor LM75 (on I2C) hardware resources.
- ******************************************************************************
- * @attention
- *
- *
© COPYRIGHT 2012 STMicroelectronics
- *
- * Licensed under MCD-ST Liberty SW License Agreement V2, (the "License");
- * You may not use this file except in compliance with the License.
- * You may obtain a copy of the License at:
- *
- * http://www.st.com/software_license_agreement_liberty_v2
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *a
- ******************************************************************************
- */
-
-/* Define to prevent recursive inclusion -------------------------------------*/
-#ifndef __STM32L152D_EVAL_H
-#define __STM32L152D_EVAL_H
-
-#ifdef __cplusplus
- extern "C" {
-#endif
-
-/* Includes ------------------------------------------------------------------*/
-#include "stm32l1xx.h"
-
-typedef enum
-{
- COM1 = 0,
- COM2 = 1
-} COM_TypeDef;
-/**
- * @}
- */
-
-#define COMn 1
-
-/**
- * @brief Definition for COM port1, connected to USART1
- */
-#define EVAL_COM1 USART1
-#define EVAL_COM1_CLK RCC_APB2Periph_USART1
-
-#define EVAL_COM1_TX_PIN GPIO_Pin_9
-#define EVAL_COM1_TX_GPIO_PORT GPIOA
-#define EVAL_COM1_TX_GPIO_CLK RCC_AHBPeriph_GPIOA
-#define EVAL_COM1_TX_SOURCE GPIO_PinSource9
-#define EVAL_COM1_TX_AF GPIO_AF_USART1
-
-#define EVAL_COM1_RX_PIN GPIO_Pin_10
-#define EVAL_COM1_RX_GPIO_PORT GPIOA
-#define EVAL_COM1_RX_GPIO_CLK RCC_AHBPeriph_GPIOA
-#define EVAL_COM1_RX_SOURCE GPIO_PinSource10
-#define EVAL_COM1_RX_AF GPIO_AF_USART1
-
-#define EVAL_COM1_IRQn USART1_IRQn
-
-
-/** @defgroup STM32L152D_EVAL_LOW_LEVEL_Exported_Functions
- * @{
- */
-void STM_EVAL_COMInit(COM_TypeDef COM, USART_InitTypeDef* USART_InitStruct);
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* __STM32L152D_EVAL_H */
-/**
- * @}
- */
-
-/**
- * @}
- */
-
-/**
- * @}
- */
-
-/**
- * @}
- */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
-
diff --git a/platform_config.h b/platform_config.h
--- a/platform_config.h
+++ b/platform_config.h
@@ -36,27 +36,10 @@
/* Exported types ------------------------------------------------------------*/
/*Unique Devices IDs register set*/
-
-#if defined(STM32L1XX_MD) || defined(STM32L1XX_HD) || defined(STM32L1XX_MD_PLUS)
-
#define ID1 (0x1FF80050)
#define ID2 (0x1FF80054)
#define ID3 (0x1FF80064)
-#elif defined (STM32F37X) || defined(STM32F30X)
-
-#define ID1 (0x1FFFF7AC)
-#define ID2 (0x1FFFF7B0)
-#define ID3 (0x1FFFF7B4)
-
-#else /*STM32F1x*/
-
-#define ID1 (0x1FFFF7E8)
-#define ID2 (0x1FFFF7EC)
-#define ID3 (0x1FFFF7F0)
-
-#endif
-
#if !defined(USB_USE_EXTERNAL_PULLUP)
#define STM32L15_USB_CONNECT SYSCFG_USBPuCmd(ENABLE)
#define STM32L15_USB_DISCONNECT SYSCFG_USBPuCmd(DISABLE)