Add a C compiler for the XGATE coprocessor #4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
CodeWarrior supported C programming for the XGATE coprocessor found on S12X devices, in addition to the main CPU. This repo ships
binutils-xgate(assembler, linker, objdump forxgate-elf) but no C compiler and no runtime, so application logic for the XGATE must be written in hand assembly.Current state
binutils-xgateis built by re-targetingpkgs/binutils-m68hc11.nixwithtarget = "xgate-elf"(flake.nix).check-xgateonly assembles/links/objdumps hand-written assembly (flake.nix).xgate-elf-gcc, no C runtime, no library.Motivation
m68hc11tree historically experimented with XGATE C support).Proposed scope
xgate-elf(GCC port), or wire an existing minimal C compiler that can emit XGATE.m68hc11-toolchainenv and the tarball.Acceptance criteria
elf32-xgateoutput (verified withxgate-elf-objdump, matchingcheck-xgate).gdb-simtest suite.m68hc11-toolchainand the smoke tarball.References
pkgs/binutils-m68hc11.nix(XGATE re-target)flake.nix:binutils-xgate,check-xgatepatches/sim-model/*(XGATE not yet modeled in the sim)