C library for programming micros, based specifically on the ez8 XP 4K, not a good micro but will do the trick
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
documentation
README
adc.c
adc.h
defines.h
delay.c
delay.h
ez8_4k_XP.h
generics.h
gpio.c
gpio.h
interrupts.c
interrupts.h
interrupts_old.c
lcd.c
lcd.h
main.c
main.h
memory.c
memory.h
timer.c
timer.h
uart.c
uart.h
watchdog.c
watchdog.h

README

Using the zilog ez8 XP 4K as a low end microcontroller to develop a portable C library, 4Kb is a nice mark for this :-)

Current build output:

------- test  Configuration: Debug -------
src\main.c
src\gpio.c
src\delay.c
src\timer.c
src\lcd.c
src\uart.c
src\adc.c
src\interrupts.c
Linking...

SPACE ALLOCATION:
=================

Space                     Base         Top      Size      Used    Unused
------------------ ----------- ----------- --------- --------- ---------
EDATA                   E:0100      E:044B       768       844       -76
RDATA                     R:20        R:EF       224        17       207
ROM                     C:0000      C:16B0      4096      5809     -1713

OUTPUT CHECKSUM
===============
meter.hex            4066
meter.lod            4066

Build succeeded.

Out of memory(negative unused memory), we can only test the devices one after the other, adcs can be tested together with the LCD. This is the end of the road for the 4K chip.
Next move: to the 64K chip, very few changes ;)