@@ -3,7 +3,7 @@
#include "hardware_id.h"
-hardware_id_t get_hardware_id(void) {
+__attribute__((weak)) hardware_id_t get_hardware_id(void) {
hardware_id_t id = {0};
return id;
}
@@ -10,7 +10,7 @@
#include <avr/boot.h>
for (uint8_t i = 0; i < 10; i += 1) {
((uint8_t*)&id)[i] = boot_signature_byte_get(i + 0x0E);
@@ -4,7 +4,7 @@
#include <ch.h>
#if defined(RP2040)
// Forward declare as including "hardware/flash.h" here causes more issues...