From 45e7fcd1063de5689d06c5bd12b6949962ff5dfe Mon Sep 17 00:00:00 2001 From: Valeriy Koval Date: Mon, 16 Feb 2015 20:22:29 +0200 Subject: [PATCH] Remove "SERIALNUM" define for Teensy 2 --- platformio/builder/scripts/teensy.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/platformio/builder/scripts/teensy.py b/platformio/builder/scripts/teensy.py index f91eac62..2be3a30d 100644 --- a/platformio/builder/scripts/teensy.py +++ b/platformio/builder/scripts/teensy.py @@ -6,7 +6,6 @@ """ from os.path import isfile, join -from random import randint from SCons.Script import (COMMAND_LINE_TARGETS, AlwaysBuild, Builder, Default, DefaultEnvironment) @@ -33,10 +32,6 @@ if env.get("BOARD_OPTIONS", {}).get("build", {}).get("core") == "teensy": "-mmcu=$BOARD_MCU" ], - CPPDEFINES=[ - "SERIALNUM=-%d" % randint(1000000000, 2000000000) - ], - LINKFLAGS=[ "-mmcu=$BOARD_MCU" ],