Skip to content

CCMeta/cm31

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cm31 README

TAKE CARE

要小心!!这个cm31_api的可执行文件需要这个本地目录 所以我们需要先cd到这个目录 再执行这个 否则就会出现找不到资源的问题

在开始编译之前,需要设定全局的go env,
- GOARCH=arm64 // 目标架构
- GOOS=linux // 目标操作系统
- CGO_ENABLED=0 // 保持静态链接
shell: go env -w CGO_ENABLED=0
shell: go env -w GOARCH=arm64
shell: go env -w GOOS=linux
build: go build  -gcflags=all="-l -B -wb=false" -ldflags="-w -s" -o .\yocto\hello-sagereal\

CONFIGS

  • copy \cm31\yocto\hello-sagereal\cm31_api to Device path /var/cm31/
  • The config file is .toml but content is json. LOL.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors