Add USB code

Adds the usb code that we got in ECE 385. It will not work now, and
parts that involve the timer are disabled. It does compile though, with
a few warnings.

The goal will be to add USB MSD support, which is not actually given to
us so I will have to do myself or find some other code to base it off
of.
This commit is contained in:
Byron Lathi
2022-03-10 16:15:08 -06:00
parent aca739338a
commit 5d8c4aab44
15 changed files with 2165 additions and 2 deletions

9
sw/gpio.h Normal file
View File

@@ -0,0 +1,9 @@
#ifndef _GPIO_H
#define _GPIO_H
#include <stdint.h>
#define USB_GPIO (uint8_t*)0x7ff1
extern uint8_t* usb_gpio;
#endif