Merge branch 'main' into 2300_open
This commit is contained in:
commit
b67854d31e
10 changed files with 33 additions and 10 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -97,3 +97,4 @@ Release/
|
|||
|
||||
# configuration file
|
||||
# *.ini
|
||||
log.txt
|
||||
|
|
9
Dockerfile
Normal file
9
Dockerfile
Normal file
|
@ -0,0 +1,9 @@
|
|||
FROM alpine:3.16
|
||||
LABEL maintainer="Ben V. Brown <ralim@ralimtek.com>"
|
||||
|
||||
RUN apk add --no-cache gcc-arm-none-eabi newlib-arm-none-eabi make git bash
|
||||
WORKDIR /src
|
||||
# Git trust
|
||||
RUN git config --global --add safe.directory /src
|
||||
|
||||
COPY . /src
|
3
README.md
Normal file
3
README.md
Normal file
|
@ -0,0 +1,3 @@
|
|||
# PineBuds Open Source SDK
|
||||
|
||||
This is just the SDK from the wiki, with dockerfile setup to make building easier
|
7
build.sh
Normal file → Executable file
7
build.sh
Normal file → Executable file
|
@ -1,8 +1,7 @@
|
|||
#make -j T=2300_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
|
||||
#!/bin/bash
|
||||
make -j T=open_source DEBUG=1 >log.txt 2>&1
|
||||
|
||||
if [ $? -eq 0 ];then
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "build success"
|
||||
else
|
||||
echo "build failed and call log.txt"
|
||||
|
|
3
clear.sh
Normal file → Executable file
3
clear.sh
Normal file → Executable file
|
@ -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
|
||||
endif
|
||||
|
||||
ifneq ($(ALLOW_WARNING),1)
|
||||
KBUILD_CPPFLAGS += -Werror
|
||||
endif
|
||||
# ifneq ($(ALLOW_WARNING),1)
|
||||
# KBUILD_CPPFLAGS += -Werror
|
||||
# endif
|
||||
|
||||
ifeq ($(PIE),1)
|
||||
ifneq ($(TOOLCHAIN),armclang)
|
||||
|
|
10
docker-compose.yml
Normal file
10
docker-compose.yml
Normal file
|
@ -0,0 +1,10 @@
|
|||
version: "3"
|
||||
services:
|
||||
builder:
|
||||
stdin_open: true
|
||||
tty: true
|
||||
build:
|
||||
context: .
|
||||
command: /bin/bash
|
||||
volumes:
|
||||
- ./:/src:Z
|
2
download.sh
Normal file → Executable file
2
download.sh
Normal file → Executable file
|
@ -3,7 +3,5 @@
|
|||
num=$(ls -l /dev/ttyUSB* | rev | cut -c 1)
|
||||
#num=3
|
||||
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 minicom port$num
|
||||
|
||||
|
|
2
start_dev.sh
Executable file
2
start_dev.sh
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
docker-compose run --rm builder
|
0
uart_log.sh
Normal file → Executable file
0
uart_log.sh
Normal file → Executable file
Loading…
Reference in a new issue