Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 8 additions & 9 deletions Makefile
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Uncomment the following to enable debug.
DEBUG = y
#DEBUG = y

ifeq ($(DEBUG),y)
DBGFLAGS = -O -g -DML_DEBUG
else
DBGFLAGS = -O2
endif

ccflags-y += $(DBGFLAGS)
#ifeq ($(DEBUG),y)
# DBGFLAGS = -O -g -DML_DEBUG
#else
# DBGFLAGS = -O2
#endif

#ccflags-y += $(DBGFLAGS)
CONFIG_MODULE_SIG=n

ifneq ($(KERNELRELEASE),)
obj-m := ml_driver.o
Expand All @@ -22,6 +22,5 @@ default:

clean:
$(MAKE) -C $(KERNELDIR) M=$(PWD) clean
rm *.symvers

endif
10 changes: 10 additions & 0 deletions README.md
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@

4/16/2023
=================
add userspace control panel program in folder "userspace" by cmake

4/15/2023
==================
had modify the driver to let it workable on ubuntu 20.04;as for rasp pi, not test yet.


ML-driver
=========

Expand Down
Loading