zerog2k / stc_diyclock

STC DIY Clock redux (STC15F204EA, STC15W404AS, STC15W408AS)
MIT License
173 stars 66 forks source link

Makefile SDCCOPTS #67

Open j75 opened 6 months ago

j75 commented 6 months ago

Why this option --xram-size 0? According to STC Micro 8051 Microcontroller Notes for STC15W408AS the options should be --iram-size 256 --xram-size

I've tried both (but with a modified version) and it seems to work.

j75 commented 6 months ago

For another model (http://www.diyleyuan.com/jc/082V4.html) that uses a 28 pin STC15W408AS, the define stc15w408as from the src/hwconfig.h seems to be wrong, as this model has only 2 switches.