Trouble building FemtoBasic for the C3
David Betz
Posts: 14,516
I downloaded the "Winbond Flash and Microchip SRAM Driver" project from OBEX and tried building the version of FemtoBasic that it contains for the C3 but got a syntax error from BST. All I did was move the file Winbond_Driver_C3.spin from the "C3 Files" folder to the parent folder so it is at the same level as FemtoBasic.spin. I then changed the line in massStorage.spin to refer to the Winbond_Driver_C3.spin driver instead of the generic Winbond_Driver.spin that is the default. This resulted in the following error from BST:
This is the line I changed in massStorage.spin:
massStorage - Error at (49,42) Expected End of Line, Unary operator or Math OperatorAny idea what I'm doing wrong?
This is the line I changed in massStorage.spin:
win : "Winbond_Driver_C3" ' Driver for files stored on Winbond Flash
Comments
On second thought, I don't want you to go through all of the trouble making a serial C3 version of FemtoBasic. I can hook up a VGA monitor and keyboard to my C3 and use the version you've already posted. Can you tell me if anything needs to be changed to use the C3-specific version of the Winbond driver other than including Winbond_Driver_C3 instead of Winbond_Driver and changing the call to winStart to match the parameters of the C3 version of the driver?
Thanks,
David
Edit: Changed serial I/O to the new improved fullDuplexSerial4port with less jitter and bigger buffers.