Add docker
This commit is contained in:
parent
dca862b42a
commit
5298530c80
|
@ -0,0 +1,3 @@
|
||||||
|
# PineBuds Open Source SDK
|
||||||
|
|
||||||
|
This is just the SDK from the wiki, with dockerfile setup to make building easier
|
3
build.sh
3
build.sh
|
@ -1,6 +1,5 @@
|
||||||
#make -j T=2300_open_source DEBUG=1 > log.txt 2>&1
|
#!/bin/bash
|
||||||
make -j T=open_source DEBUG=1 >log.txt 2>&1
|
make -j T=open_source DEBUG=1 >log.txt 2>&1
|
||||||
#make -j T=best2300p_ibrt_anc DEBUG=1 > log.txt 2>&1
|
|
||||||
|
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
echo "build success"
|
echo "build success"
|
||||||
|
|
3
clear.sh
3
clear.sh
|
@ -1 +1,2 @@
|
||||||
make T=mic_back -j DEBUG=1 clean
|
#!/bin/bash
|
||||||
|
make T=open_source -j DEBUG=1 clean
|
||||||
|
|
|
@ -2608,9 +2608,9 @@ else
|
||||||
CPU_CFLAGS += -mfloat-abi=soft
|
CPU_CFLAGS += -mfloat-abi=soft
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(ALLOW_WARNING),1)
|
# ifneq ($(ALLOW_WARNING),1)
|
||||||
KBUILD_CPPFLAGS += -Werror
|
# KBUILD_CPPFLAGS += -Werror
|
||||||
endif
|
# endif
|
||||||
|
|
||||||
ifeq ($(PIE),1)
|
ifeq ($(PIE),1)
|
||||||
ifneq ($(TOOLCHAIN),armclang)
|
ifneq ($(TOOLCHAIN),armclang)
|
||||||
|
|
|
@ -3,7 +3,5 @@
|
||||||
num=$(ls -l /dev/ttyUSB* | rev | cut -c 1)
|
num=$(ls -l /dev/ttyUSB* | rev | cut -c 1)
|
||||||
#num=3
|
#num=3
|
||||||
echo com is:$num
|
echo com is:$num
|
||||||
#sudo -S dldtool -c $num -f out/2300_open_source/2300_open_source.bin
|
sudo -S dldtool -c $num -f out/open_source/open_source.bin
|
||||||
sudo -S dldtool -c $num -f out/mic_alg/mic_alg.bin
|
|
||||||
sudo minicom port$num
|
sudo minicom port$num
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue