Search found 94 matches

by skoe
Wed Feb 23, 2011 9:18 am
Forum: XMOS Devices
Topic: KiCad libraries for L1?
Replies: 8
Views: 6584

Re: KiCad libraries for L1?

I use KiCad for this project: https://www.xcore.com/projects/open1541

Just click on the download link to get to my repository. There you can get the KiCad files, which contain an L1 64.
by skoe
Wed Oct 13, 2010 10:40 am
Forum: Development Tools and Programming
Topic: Less inline please...
Replies: 2
Views: 3407

Re: Less inline please...

Great, thank you!
by skoe
Wed Oct 13, 2010 9:29 am
Forum: Development Tools and Programming
Topic: Less inline please...
Replies: 2
Views: 3407

Less inline please...

In my project there's a C module which contains a small function. It is used twice in the module. I noticed that the program gets about 30 bytes smaller when I put the function into an external C module. Appearently the function is inlined in the first case which makes the program larger. This all w...
by skoe
Tue Oct 12, 2010 2:50 pm
Forum: Projects
Topic: open1541
Replies: 8
Views: 6709

Re: open1541

by skoe
Mon Oct 11, 2010 8:05 am
Forum: Development Tools and Programming
Topic: GUI Editor
Replies: 2
Views: 3314

Re: GUI Editor

I really prefer to write my programs in a text editor. But if you want a playground: How about a good frontend for the debugger? Something like ddd or insight but with an up-to-date look and feel? Eclipse (XDE) has such a debugger GUI too, but it's bound to an Eclispe project and doesn't work stand-...
by skoe
Thu Oct 07, 2010 8:39 am
Forum: Development Tools and Programming
Topic: Question: How to pass a streaming channel to C function?
Replies: 15
Views: 9386

Re: Question: How to pass a streaming channel to C function?

Nice that you solved the problem already, nevertheless let me show another possibility: #ifdef __XC__ void mos6502_mem_set_via_chanends(streaming chanend mos6502_via1_ce, streaming chanend mos6502_via2_ce); #else void mos6502_mem_set_via_chanends(unsigned mos6502_via1_ce, unsigned mos6502_via2_ce); ...
by skoe
Wed Oct 06, 2010 11:36 am
Forum: Development Tools and Programming
Topic: Question: How to pass a streaming channel to C function?
Replies: 15
Views: 9386

Re: Question: How to pass a streaming channel to C function?

Just use unsigned like for normal channel ends. The streaming modifier only tells the XC compiler how <: and :> have to be implemented. However, take care that ordinary channels and streaming channels have to be handled differently in your C code. There's no token handshake for streaming channels.
by skoe
Fri Oct 01, 2010 5:33 pm
Forum: Development Tools and Programming
Topic: "error: call makes alias" with a scalar value
Replies: 1
Views: 2539

"error: call makes alias" with a scalar value

Can somebody explain the effect seen on IRC? < user> wtf is "error: call makes alias"? < user> but say i have a struct bla { int x; } < user> if i have a function f(struct bla &bla, int x) < user> i cannot do f(bla, bla.x) < user> although bla.x is not a reference at all < skoe> If you...
by skoe
Fri Oct 01, 2010 12:44 pm
Forum: XMOS Devices
Topic: Minimalist XMOS Board- would like someone to review
Replies: 13
Views: 8639

Re: Minimalist XMOS Board- would like someone to review

Can you please also attach a PDF or PNG? I can confirm what Folknology said: A linear regulator for 1V becomes too hot and wastes lots of energy. Because of that my previous board was the first one with a switching regulator (I'm a software developer normally...). I simply copied the reference desig...
by skoe
Thu Sep 30, 2010 9:39 pm
Forum: Development Tools and Programming
Topic: Bootloader for XMOS?
Replies: 2
Views: 3732

Re: Bootloader for XMOS?

A week ago or two I finished a bootloader which can update itself and the main application from an SD-Card. Should be easy to change it to use other sources and other flash ICs.

If anybody is interested, it's in the Easy41 code repository.

Sorry, monk_is_batman, didn't want to hijack your thread.