AFAIK none of this is possible. Especially the latter: since all of the internal hardware routing heavily depends on the actual MCU, you cannot easily use the same binary for different hardware.
Ping team Cypress,
any ways to do this? I believe the actual contents of a 128KB vs 256KB .hex is really 1:1 for the same cpu.
would be fantastic if we could get support for:
- bootloader supports multiple bootloatable targets (within the same cpu family)
- there is a way to have multiple build-targets to generate "-L478 -L489" hex files from within the same project