
I can't build with bricks...
Could someone with Keil C51 build a small open-source 8051 project for me?
I'm fixing a power-off bug on an Android car head unit (CVD1810-WJ board, Cmsemicon CMS8S6990 MCU).
There is an MIT-licensed rebuild of its firmware:
https://github.com/NCHILLC/cvd1810-wj-mcu-firmware
The author states it only fits the chip's 12 KB with Keil C51 at OPTIMIZE(9,SIZE). The evaluation linker stops at 2 KB and SDCC gives about 15 KB.
With Keil C51 at C:\Keil_v5, from the repo root in PowerShell:
mkdir obj, lst; .\build_variant.ps1 -Define NOTURNO_SLEEP_FIX
It should report about 12.2 KB and write obj\CM68.hex. Could you send me that file and the "Program Size" line it prints?
u/GitEmbednated — 5 days ago