8000 GitHub - LHLaurini/sdcc-zr16 · GitHub
[go: up one dir, main page]

Skip to content
LHLauriniPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

7,331 Commits

Folders and files

Repository files navigation

This is a slightly cleaned-up copy of the zr16 sdcc port by Rafael Billig Tonetto, but with a complete commit history and support for building with make.

Building

To build only the zr16 and mcs51 ports:

CXXFLAGS=-std=c++98 \
../configure --disable-device-lib \
             --disable-werror \
             --disable-z80-port \
             --disable-z180-port \
             --disable-r2k-port \
             --disable-r3ka-port \
             --disable-gbz80-port \
             --disable-tlcs90-port \
             --disable-ds390-port \
             --disable-ds400-port \
             --disable-pic14-port \
             --disable-pic16-port \
             --disable-hc08-port \
             --disable-s08-port \
             --disable-stm8-port

Note that the mcs51 port cannot be disabled, as the zr16 port depends on it. Flex and Bison are required, as well as the Boost library (version 1.84 and later will be dropping support for C++03, so an older version must be used).

Caveats

  • The generated code is sometimes poorly optimized;
  • The assembler and linker steps are non-functional - use the assembler from the ZR16 SDK to generate the final binary;
  • To access peripheral addresses, a definition such as char IO[256]; must be added;
  • There is no device library for the ZR16.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

0