It's custom board with teensy LC core, so easiest way is just processor swap, linker file does include ram and flash start adress and size.It’s not as simple as that, since the bigger Flash induces probably different start addresses of the RAM, of some internal peripherals, and so on. Why not upgrade with a Teensy 3.2 to have a plug and play solution?