1diff --git a/teensy4/eeprom.c b/teensy4/eeprom.c 2index dde1809..9cdfcd0 100644 3--- a/teensy4/eeprom.c 4+++ b/teensy4/eeprom.c 5@@ -54,8 +54,8 @@ 6 // Conversation about how this code works & what the upper limits are 7 // https://forum.pjrc.com/threads/57377?p=214566&viewfull=1#post214566 8 9-static void flash_write(void *addr, const void *data, uint32_t len); 10-static void flash_erase_sector(void *addr); 11+void flash_write(void *addr, const void *data, uint32_t len); 12+void flash_erase_sector(void *addr); 13 14 static uint8_t initialized=0; 15 static uint16_t sector_index[FLASH_SECTORS]; 16@@ -217,7 +217,7 @@ void eeprom_write_block(const void *buf, void *addr, uint32_t len) 17 #define PINS1 FLEXSPI_LUT_NUM_PADS_1 18 #define PINS4 FLEXSPI_LUT_NUM_PADS_4 19 20-static void flash_wait() 21+void flash_wait() 22 { 23 FLEXSPI_LUT60 = LUT0(CMD_SDR, PINS1, 0x05) | LUT1(READ_SDR, PINS1, 1); // 05 = read status 24 FLEXSPI_LUT61 = 0; 25@@ -239,7 +239,7 @@ static void flash_wait() 26 } 27 28 // write bytes into flash memory (which is already erased to 0xFF) 29-static void flash_write(void *addr, const void *data, uint32_t len) 30+void flash_write(void *addr, const void *data, uint32_t len) 31 { 32 __disable_irq(); 33 FLEXSPI_LUTKEY = FLEXSPI_LUTKEY_VALUE; 34@@ -279,7 +279,7 @@ static void flash_write(void *addr, const void *data, uint32_t len) 35 } 36 37 // erase a 4K sector 38-static void flash_erase_sector(void *addr) 39+void flash_erase_sector(void *addr) 40 { 41 __disable_irq(); 42 FLEXSPI_LUTKEY = FLEXSPI_LUTKEY_VALUE; 43