From 64533b31e7790b705b17224217ee6e93af5339c6 Mon Sep 17 00:00:00 2001 From: Martino Facchin Date: Mon, 29 Jan 2024 19:14:39 +0100 Subject: [PATCH 1/2] backtrace: remove spurious file from compiling On C33 and Minima an HardFault was redirected to a nonexistent serial port. --- cores/arduino/cm_backtrace/fault_handler/gcc/cmb_fault.S | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cores/arduino/cm_backtrace/fault_handler/gcc/cmb_fault.S b/cores/arduino/cm_backtrace/fault_handler/gcc/cmb_fault.S index 9491663f2..ca305c6d3 100644 --- a/cores/arduino/cm_backtrace/fault_handler/gcc/cmb_fault.S +++ b/cores/arduino/cm_backtrace/fault_handler/gcc/cmb_fault.S @@ -26,6 +26,8 @@ * Created on: 2016-12-16 */ +#ifdef BACKTRACE_SUPPORT + .syntax unified .thumb .text @@ -41,3 +43,5 @@ HardFault_Handler: Fault_Loop: BL Fault_Loop /* while(1) */ + +#endif \ No newline at end of file From 663cfa7ca6f178f78b9a11552b69d53ae19afc0c Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Wed, 6 Mar 2024 16:17:08 +0100 Subject: [PATCH 2/2] Add hourglass animation to the LED matrix gallery --- libraries/Arduino_LED_Matrix/src/gallery.h | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/libraries/Arduino_LED_Matrix/src/gallery.h b/libraries/Arduino_LED_Matrix/src/gallery.h index 81a9a3e9d..628b640fa 100644 --- a/libraries/Arduino_LED_Matrix/src/gallery.h +++ b/libraries/Arduino_LED_Matrix/src/gallery.h @@ -572,3 +572,26 @@ constexpr uint32_t LEDMATRIX_ANIMATION_WIFI_SEARCH[][4] = { { 0x0, 0x1f02084, 0xe4110040, 500 }, { 0x3f840, 0x49f22084, 0xe4110040, 500 } }; +constexpr uint32_t LEDMATRIX_ANIMATION_HOURGLASS[][4] = { + { 0xe07f99fe, 0x1fc1fc1f, 0xe1f99e07, 50 }, + { 0xe07f99fe, 0x1ff1fc1f, 0xe1f99e07, 50 }, + { 0xe07f99fe, 0x1ffdfc1f, 0xe1f99e07, 50 }, + { 0xe07f99fe, 0x1ffffc1f, 0xe1f99e07, 50 }, + { 0xe07f99fe, 0x1ffffc3f, 0xe1f99e07, 50 }, + { 0xe07f99fe, 0x1bfffc3f, 0xe1f99e07, 50 }, + { 0xe07f99fe, 0x3bffbc3f, 0xe1f99e07, 50 }, + { 0xe07f9bfe, 0x3bffbc3b, 0xe1f99e07, 50 }, + { 0xe07f9bfe, 0x3bffbc3b, 0xe3f99e07, 50 }, + { 0xe07f9bbe, 0x3bffbc3b, 0xe3f9be07, 50 }, + { 0xe07b9bbe, 0x3bffbc7b, 0xe3f9be07, 50 }, + { 0xe07b9bbe, 0x3bffbc7b, 0xe7b9be07, 50 }, + { 0xe07b9bbe, 0x39ffbc7b, 0xe7b9be07, 50 }, + { 0xe07b9bbe, 0x79ff9c7b, 0xe7b9be07, 50 }, + { 0xe07b9bbe, 0x79ff9c79, 0xe7b9fe07, 50 }, + { 0xe07b9f9e, 0x79ff9c79, 0xe7b9fe07, 50 }, + { 0xe07b9f9e, 0x78ff9cf9, 0xe7b9fe07, 50 }, + { 0xe0799f9e, 0xf8ff8cf9, 0xe799fe07, 50 }, + { 0xe0799f8e, 0xf8ff8cf8, 0xef99fe07, 50 }, + { 0xe0799f87, 0xf87f87f8, 0x7f99fe07, 50 }, + { 0xe0799f87, 0xf83f83f8, 0x7f99fe07, 300 } +};