DSO Quad serial port access

jpa, I have been trying to build your “logic” and “test_flash_size” applications from your svn repo, incorporating the code snippet above to output through the serial port. But I can’t get neither to build. “logic” is missing the libfixmath and baselibc libraries. And where is gpio_usart1_tx_mode() defined? I could probably guess what that function is doing and reimplement it but it would be nicer to get the complete code.

BTW is it necessary to set up the GPIO pins explicitly when you enable the USART?

EDIT: Never mind, I found your QuadPawn code on github which has libfixmath and baselibc directories that I can use. I guess you had those softlinked in your tree and not in svn. And I found the DECLARE_GPIO macro in gpio.h for generating gpio_*_mode(). For some reason I had to add ’ __exidx_start’ and ‘__exidx_end’ to the linker script, and an empty abort() function to “logic”, although the Makefile uses --fno-exceptions.