Difference between revisions of "Extend IOP16 minimal example"

From Land Boards Wiki
Jump to navigation Jump to search
Line 9: Line 9:
 
* Requires two GitHub repositories
 
* Requires two GitHub repositories
 
** Clone to same directory level since relative paths are used for source files
 
** Clone to same directory level since relative paths are used for source files
** [https://github.com/douggilliland/IOP16 IOP16 repo]
+
*** [https://github.com/douggilliland/IOP16 IOP16 GitHub repository]
** [https://github.com/douggilliland/Design_A_CPU Design a CPU repo]
+
*** [https://github.com/douggilliland/Design_A_CPU Design a CPU GitHub repository]
  
 
== Steps ==
 
== Steps ==

Revision as of 10:36, 11 April 2022

Overview

Sources

Steps

  • Copy baseline design
  • Select/add peripherals
  • Create new peripherals
  • Write assembly code

Baseline Design

  • Starts from IOP example
    • Similar to Arduino "Blink Sketch" and uses the resources
      • Timer Unit 0 1 second timer
      • On-board LED
    • The Timer unit could be removed if desired
      • Timer makes Blink easier
  • Copy the minimal design to a new folder

Select Peripherals

Create new peripherals

Write Assembly code

Test the build