[SUP] Add support for stm32l152c-discovery board

This commit is contained in:
Frantisek Burian 2014-01-04 17:24:32 +01:00
parent 72ae78a185
commit 88a80e25d5
1 changed files with 2 additions and 1 deletions

View File

@ -92,7 +92,8 @@ bool stm32l1_probe(struct target_s *target)
idcode = adiv5_ap_mem_read(adiv5_target_ap(target), STM32L1_DBGMCU_IDCODE);
switch(idcode & 0xFFF) {
case 0x416: /* Medium density */
case 0x436: /* High density */
case 0x427: /* Medium+ density*/
case 0x436: /* Medium+/High density */
target->driver = stm32l1_driver_str;
target->xml_mem_map = stm32l1_xml_memory_map;
target->flash_erase = stm32l1_flash_erase;