Search found 4 matches

by sam0737
Sun Feb 23, 2014 9:27 pm
Forum: Development and Feedback
Topic: [DONE] Interested only at specific flags in a Event [patch]
Replies: 2
Views: 2707

[DONE] Interested only at specific flags in a Event [patch]

I am on 2.5.2.
I am using chEvtWaitAnyTimeout to wait for serial event and some other application events. For the serial, I am only interested at CHN_CONNECTED | CHN_INPUT_AVAILABLE. I don't want the thread to be waken up by the CHN_OUTPUT_EMPTY.
The problem is exaggerated when combined with Win32's ...
by sam0737
Sun May 05, 2013 7:34 pm
Forum: User Projects
Topic: serial_usb: supporting multiple instance
Replies: 1
Views: 2737

serial_usb: supporting multiple instance

Hi,

I have patched the HAL serial_usb to support multiple serial_usb instance.

m

There is no breaking change to the user interface (old code should work as is), the changes are:
* remove the dependency from usbp->param
* User wishing to use multiple instance should specify the interrupt, tx, rx ...
by sam0737
Tue Apr 16, 2013 2:23 am
Forum: User Projects
Topic: Arduino Due port (GCC SAM3X8E)
Replies: 8
Views: 10774

Re: Arduino Due port (GCC SAM3X8E)

Oh thanks.
I didn't realize 0x20080000 - 0x20070000 is actually NOT 64K. LOL.

I recheck the spect and have just found this in chapter 9.1.1:
The SRAM0 is accessible over System Cortex-M3 bus at address 0x2000 0000 and SRAM1 at
address 0x2008 0000. The user can see the SRAM as contiguous thanks to ...
by sam0737
Sun Apr 14, 2013 5:12 am
Forum: User Projects
Topic: Arduino Due port (GCC SAM3X8E)
Replies: 8
Views: 10774

Arduino Due port (GCC SAM3X8E)

Hi there. First of all, this is the git repro with my commits.

m

I have ported the SAM3X8E (Cortex M3), SAM3X8E platform, Arduino Due board. As well as a corresponding demo wire everything up.
My dev environment is Windows with the chaintool shipped with Arduino 1.5.x, which is CodeSourcery GCC ...