On 9/21/07, Frieder Ferlemann <frieder.ferlemann@...> wrote:
> thanks for sharing this. The problem you have solved is partly due to SDCC
> not having a header file cy7c6801x.h within the distribution.
> If there had been one you probably would not have (temporarily:) fallen
> in that trap.
Indeed this is true. When I started this project of mine there
wasn't any FX2 headers that had a clear license in them, so I started
building my own custom one with definitions as I needed them. I think
I ran into a free, clearly licensed one on the mailing list archives,
but I haven't switched over to it yet. Heck, I haven't even upgraded
to SDCC 2.7 yet.
> At some point (feature request 780570) there was a header file submitted
> but it did not end up in the distribution.
> (today a header file making use of compiler.h would be preferred)
Sounds like a good solution to me. I might submit an improved header
once I get my code stabilized a bit.
- Tristan -