Is it possible to flash and run a compiled code (.hex-file) for a specific Microcontroller (for example STM32F205RC) on a Microcontroller from the same family with bigger flash-memory and RAM (without creating a new compiled version.)?
Example: .hex for STM32F205RC (128K flash memory and 64K RAM) on STM32F205RE (512K flash memory and 128K RAM)
(it is obvious that the larger memories is not used)