mirror of
git://projects.qi-hardware.com/ben-blinkenlights.git
synced 2024-11-23 21:59:21 +02:00
swuart/: merge library part into libubb
This commit is contained in:
parent
2e749f901c
commit
1c51cc6757
@ -17,8 +17,8 @@ CC = $(TARGET)gcc
|
|||||||
CFLAGS = -g -Wall -Iinclude
|
CFLAGS = -g -Wall -Iinclude
|
||||||
LIB = libubb.a
|
LIB = libubb.a
|
||||||
|
|
||||||
OBJS = ubb.o
|
OBJS = ubb.o swuart.o
|
||||||
HDRS = ubb/ubb.h ubb/regbase.h ubb/regs4740.h
|
HDRS = ubb/ubb.h ubb/regbase.h ubb/regs4740.h ubb/swuart.h
|
||||||
|
|
||||||
.PHONY: all clean spotless
|
.PHONY: all clean spotless
|
||||||
|
|
||||||
|
@ -16,8 +16,7 @@
|
|||||||
|
|
||||||
#include <ubb/ubb.h>
|
#include <ubb/ubb.h>
|
||||||
#include <ubb/regs4740.h>
|
#include <ubb/regs4740.h>
|
||||||
|
#include <ubb/swuart.h>
|
||||||
#include "swuart.h"
|
|
||||||
|
|
||||||
|
|
||||||
#define TIMER 7
|
#define TIMER 7
|
@ -4,7 +4,7 @@ LDFLAGS = -static
|
|||||||
LDLIBS = -L../libubb -lubb
|
LDLIBS = -L../libubb -lubb
|
||||||
|
|
||||||
MAIN = swuart
|
MAIN = swuart
|
||||||
OBJS = test.o swuart.o
|
OBJS = test.o
|
||||||
|
|
||||||
.PHONY: all clean spotless
|
.PHONY: all clean spotless
|
||||||
|
|
||||||
|
@ -18,8 +18,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include <ubb/ubb.h>
|
#include <ubb/ubb.h>
|
||||||
|
#include <ubb/swuart.h>
|
||||||
#include "swuart.h"
|
|
||||||
|
|
||||||
|
|
||||||
#define RX UBB_DAT0
|
#define RX UBB_DAT0
|
||||||
|
Loading…
Reference in New Issue
Block a user