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
|
||||
LIB = libubb.a
|
||||
|
||||
OBJS = ubb.o
|
||||
HDRS = ubb/ubb.h ubb/regbase.h ubb/regs4740.h
|
||||
OBJS = ubb.o swuart.o
|
||||
HDRS = ubb/ubb.h ubb/regbase.h ubb/regs4740.h ubb/swuart.h
|
||||
|
||||
.PHONY: all clean spotless
|
||||
|
||||
|
@ -16,8 +16,7 @@
|
||||
|
||||
#include <ubb/ubb.h>
|
||||
#include <ubb/regs4740.h>
|
||||
|
||||
#include "swuart.h"
|
||||
#include <ubb/swuart.h>
|
||||
|
||||
|
||||
#define TIMER 7
|
@ -4,7 +4,7 @@ LDFLAGS = -static
|
||||
LDLIBS = -L../libubb -lubb
|
||||
|
||||
MAIN = swuart
|
||||
OBJS = test.o swuart.o
|
||||
OBJS = test.o
|
||||
|
||||
.PHONY: all clean spotless
|
||||
|
||||
|
@ -18,8 +18,7 @@
|
||||
#include <string.h>
|
||||
|
||||
#include <ubb/ubb.h>
|
||||
|
||||
#include "swuart.h"
|
||||
#include <ubb/swuart.h>
|
||||
|
||||
|
||||
#define RX UBB_DAT0
|
||||
|
Loading…
Reference in New Issue
Block a user