From d6997accf6f4b57908aaa6f46a0200abefe8a725 Mon Sep 17 00:00:00 2001 From: oclyke Date: Tue, 5 May 2020 08:52:06 -0600 Subject: [PATCH 1/3] back to 8-2018-q4-major compiler version this is an emergency fix so I am bypassing the standard review process this compiler version (8-2018-q4-major) allows floating point operations but produces a linker error (BFD assertion) when compiling the Arduino TensorFlow Lite library for the Edge board --- platform.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform.txt b/platform.txt index 20bc77d6..87d562a2 100644 --- a/platform.txt +++ b/platform.txt @@ -63,7 +63,7 @@ defines.variant={build.defs} ## Compiler and Toolchain -compiler.path={runtime.tools.arm-none-eabi-gcc-7-2017q4.path}/bin +compiler.path={runtime.tools.arm-none-eabi-gcc-8-2018-q4-major.path}/bin compiler.cmd.cpp=arm-none-eabi-g++ compiler.cmd.c=arm-none-eabi-gcc compiler.cmd.S=arm-none-eabi-gcc From ec031d9195f6c2983965100a9a057299f7eac703 Mon Sep 17 00:00:00 2001 From: oclyke Date: Tue, 5 May 2020 14:20:39 -0600 Subject: [PATCH 2/3] Update ap3_gpio.cpp --- cores/arduino/ard_sup/gpio/ap3_gpio.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/cores/arduino/ard_sup/gpio/ap3_gpio.cpp b/cores/arduino/ard_sup/gpio/ap3_gpio.cpp index 4d56230e..1ce8b078 100644 --- a/cores/arduino/ard_sup/gpio/ap3_gpio.cpp +++ b/cores/arduino/ard_sup/gpio/ap3_gpio.cpp @@ -320,6 +320,7 @@ extern void detachInterrupt(uint8_t pin) gpio_isr_entries[gpio_num_isr].callback = NULL; gpio_isr_entries[gpio_num_isr].mode = LOW; gpio_isr_entries[gpio_num_isr].arg = NULL; + gpio_num_isr--; } uint32_t ap3_gpio_enable_interrupts(uint32_t ui32Pin, uint32_t eIntDir) From 20e99fe068059768f9aa8cd136db7868b679947c Mon Sep 17 00:00:00 2001 From: oclyke Date: Tue, 5 May 2020 16:22:27 -0600 Subject: [PATCH 3/3] undo an accidental change --- platform.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform.txt b/platform.txt index 87d562a2..20bc77d6 100644 --- a/platform.txt +++ b/platform.txt @@ -63,7 +63,7 @@ defines.variant={build.defs} ## Compiler and Toolchain -compiler.path={runtime.tools.arm-none-eabi-gcc-8-2018-q4-major.path}/bin +compiler.path={runtime.tools.arm-none-eabi-gcc-7-2017q4.path}/bin compiler.cmd.cpp=arm-none-eabi-g++ compiler.cmd.c=arm-none-eabi-gcc compiler.cmd.S=arm-none-eabi-gcc