Hello David
thanks for the extensive reply
what I’m aiming for is a remote control camera trigger, with sound recording
I started out coding up in an Arduino, just using the Wixel for the radio comms
then I realise dthat the Wixel is better than that
so decided to try the whole thing using just a Wixel
good news:
the camera end is working just fine
more good news:
I have implemened an SPI and an SD card interface
almost got the FAT32 filing system working too!
then I kept hitting the wall
every time I tried to add something, another segment started whinging
slept on it and had a few senior moments…
a) supporting multiple SPI devices is unlikely
so just support one
b) same for multiple SD cards
so just support one
c) which in turn means only one filing system
d) the reality is I only need one file at a time
so just support one
e) followed your example - and #define which USART to use
I think I’m now back in happy land
code works and there is space to move!
how would I implement another memory model - in case I need to go down that route?
oh - and finally
I’m surprised you guys aren’y pushing the Wixel as a standalone a bit like an Arduino
It hasn’t got quite so much RAM, but it is fairly capable
and I do like the high clock rate - hoping I can manage to sppol audio to SD card
thanks for listening
Mike
PS
I found that making everything __rentrant saved a lot
as much as I can is now in XDATA, too