Hello,
Is it normal for the binary HEX/S19 file generated by Platformio/SDCC to be larger than the code generated by STVD/Cosmic?
The attached codes are complete projects for using serial port with interrupt reception. They are not exactly the same commands, but they are similar.
Platformio (4842 bytes):

STVD (2824 bytes):

Comparing to code generated by SDCC with Makefile (Direct access to registers), it is even smaller than Platformio.
About 8.8 times smaller.
Makefile/SDCC (552 bytes):

Based in this source: https://github.com/rtek1000/W1209-firmware-modified/tree/master/w1209-firmware-modified/Src
W1209_Remote_Serial_SDCC_Makefile.tar.gz
spl-uart-loopback_Platformio.tar.gz
UART Interrupt_Cosmic.tar.gz
Hello,
Is it normal for the binary HEX/S19 file generated by Platformio/SDCC to be larger than the code generated by STVD/Cosmic?
The attached codes are complete projects for using serial port with interrupt reception. They are not exactly the same commands, but they are similar.
Platformio (4842 bytes):

STVD (2824 bytes):

Comparing to code generated by SDCC with Makefile (Direct access to registers), it is even smaller than Platformio.
About 8.8 times smaller.
Makefile/SDCC (552 bytes):

Based in this source: https://github.com/rtek1000/W1209-firmware-modified/tree/master/w1209-firmware-modified/Src
W1209_Remote_Serial_SDCC_Makefile.tar.gz
spl-uart-loopback_Platformio.tar.gz
UART Interrupt_Cosmic.tar.gz