From 538208120635a2e0462e8a521be0ca8c64d6eb2d Mon Sep 17 00:00:00 2001 From: jeromecoutant Date: Fri, 3 Nov 2017 11:05:54 +0100 Subject: [PATCH] NUCLEO_L496ZG_P support --- targets/targets.json | 4 ++++ tools/export/sw4stm32/__init__.py | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/targets/targets.json b/targets/targets.json index dbfaa724fa..97ad2d6562 100644 --- a/targets/targets.json +++ b/targets/targets.json @@ -3396,6 +3396,10 @@ "release_versions": ["2", "5"], "device_name": "STM32L496ZG" }, + "NUCLEO_L496ZG_P": { + "inherits": ["NUCLEO_L496ZG"], + "detect_code": ["0828"] + }, "VBLUNO52": { "supported_form_factors": ["ARDUINO"], "inherits": ["MCU_NRF52"], diff --git a/tools/export/sw4stm32/__init__.py b/tools/export/sw4stm32/__init__.py index ce15e09657..9d55dae8fe 100644 --- a/tools/export/sw4stm32/__init__.py +++ b/tools/export/sw4stm32/__init__.py @@ -259,6 +259,11 @@ class Sw4STM32(GNUARMEclipse): 'name': 'NUCLEO-L496ZG', 'mcuId': 'STM32L496ZGTx' }, + 'NUCLEO_L496ZG_P': + { + 'name': 'NUCLEO-L496ZG', + 'mcuId': 'STM32L496ZGTx' + }, } TARGETS = BOARDS.keys()