From eafbe71a9a7b843cc84bd832cf4e2c895881e4b3 Mon Sep 17 00:00:00 2001 From: Cristian Maglie Date: Fri, 4 Mar 2016 14:56:29 +0100 Subject: [PATCH] Added check for mismatching core release (AVR bundle) Now adding a "-Drevision.check=enforce" to the "dist" task of ant will cause the build script to fail if the bundled AVR core doesn't match the latest available from library manager. Fix #4633 --- build/build.xml | 46 ++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 42 insertions(+), 4 deletions(-) diff --git a/build/build.xml b/build/build.xml index 15d9d7887..03f6ddf1c 100644 --- a/build/build.xml +++ b/build/build.xml @@ -234,8 +234,46 @@ - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Mismatching versions for bundled AVR core and package_index.json. + Please check your platform.txt and package_index.json. + + + @@ -251,9 +289,8 @@ - - + @@ -264,6 +301,7 @@ +