Rename fw.h to common.h, for easier sharing with esp32.
@@ -7,7 +7,7 @@
#include <string.h>
#include <stdio.h>
-#include "fw.h"
+#include "common.h"
#include "io.h"
#include "abcio.h"
#include "console.h"
@@ -3,7 +3,7 @@
#include "ff.h"
@@ -4,7 +4,7 @@
* Handle ABC-bus I/O operations
*/
#include "irq.h"
@@ -1,4 +1,4 @@
#include "sys.h"
@@ -5,7 +5,7 @@
#include "compiler.h"
* Very loosely based on the virtual RTC in abc80sim.
#include "systime.h"
#include <stdarg.h>
@@ -2,7 +2,7 @@
* Die while blinking LEDs
void _die(void)
* Simple disk cache
#include "list.h"
#include "sdcard.h"
@@ -1,5 +1,5 @@
#include "esplink.h"
@@ -1,7 +1,7 @@
#ifndef LIST_H
#define LIST_H
typedef uint32_t key_t;
* Simple string operations using longword operations.
* The ones in newlib-nano are bytewise...
void * __hot memset(void *s, int c, size_t n)
{
#include "spiflash.h"
@@ -6,7 +6,7 @@
* Load and switch to test image
#include <stddef.h>
#include <errno.h>
#define HEAP_SIZE (4 << 20) /* 4 MB */
#ifndef SDCARD_H
#define SDCARD_H
#include "picorv32.h"