Things are really messy right now, but progress has been made on porting over the code to the Arduino Due! Got a basic application to use for testing while porting, which is the hello_world solution. The library will be in the form of an AtmelStudio Library solution, which can be (and currently is) used in another solution without having to build all of the source. This is currently how hello_world is working. Eventually, once the porting is done, hello_world will go away and the source code will live in the AtmelStudio solution's project directory. Currently, the source is in both the previously mentioned location, as well as were it was before (root_dir/src). This is because AtmelStudio doesn't seem to want to create a link to a source file, but rather insist on copying it over. Oh well.
Removed the duplicate files, as they now live in the library AtmelStudio solution. Updated hello_world to include the inc directory in said solution.
Moved all of the USART0 stuff into uart.c (which really should be renamed to usart... oh well). Added list, list_ptr, and queue to library and removed their old files.
Added spi to library for Due.
Moved nrf to library for Due.
Added rtt library.
Added Disabling of watchdog... We'll see if this was a good idea or not.
Fixed up uart. Disabling watchdog fixed reset issue.
Timer now works. Need to add a little bit more functionality to it, though.
Added more funcitonality (delay, oneshot and periodic timers) to timer.
Moved the rest of the things that were in use on the Pi over to the Atmel library. Added sf240320 and tested it, and it's working (woohoo). And, surprise, surprise, it's a hell of a lot faster than the Pi... Sad day.
Changed some buffer malloc size calculations to use sizeof rather than assumptions.
Added ADC library, as well as the beginning of the SRAM library. Currently, I'm doing to PIO pin dance and trying to fit everything in there... Which sucks. Likely, the LCD driver (sf240320) is going to just have to do a few extra instructions to get its data bus set. Too bad. Also, looks like the Due doesn't have A18 (for SRAM) available, meaning likely we won't get all 4Mb of the SRAM chip. Fucking USB OTG...
Changed sf240320 to use 8-bit data bus so we can easily fit in the SRAM stuff.
Removed build files for library and added .gitignore for the Debug output directory (leaving only the linkable .a output build file).
Rebuilt.
Removed build files for library and added .gitignore for the Debug output directory (leaving only the .bin build file).
Rebuilt on last time.
Added documents for Atmel microcontroller, SRAM chip, and SDRAM chip. Finished up SRAM initializer (other functions aren't needed, as addresses are just accessed using a raw address, starting at 0x60000000).
Added document for SPI flash.