GithubHelp home page GithubHelp logo

things's People

Contributors

aykevl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

things's Issues

Fatal Error building adv.go

Hi,

I thought it would be cool to try this out on my nrf52840-mdk and when I use the code in adv.go I get this:

fatal error: unexpected signal during runtime execution
[signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0x25cdbfe]

runtime stack:
runtime.throw(0x346e583, 0x2a)
	/usr/local/go/src/runtime/panic.go:617 +0x72
runtime.sigpanic()
	/usr/local/go/src/runtime/signal_unix.go:374 +0x4a9

goroutine 1 [syscall]:
runtime.cgocall(0xbeb8a0, 0xc001f61608, 0xc001bba1b0)
	/usr/local/go/src/runtime/cgocall.go:128 +0x5b fp=0xc001f615d8 sp=0xc001f615a0 pc=0x89ba2b
github.com/tinygo-org/tinygo/vendor/tinygo.org/x/go-llvm._Cfunc_LLVMTargetMachineEmitToMemoryBuffer(0x643e2c0, 0x6440670, 0xc000000001, 0xc001bba1a8, 0xc001bba1b0, 0xc000000000)
	_cgo_gotypes.go:8970 +0x4d fp=0xc001f61608 sp=0xc001f615d8 pc=0xa6c7fd
github.com/tinygo-org/tinygo/vendor/tinygo.org/x/go-llvm.TargetMachine.EmitToMemoryBuffer.func1(0x643e2c0, 0x6440670, 0x1, 0xc001bba1a8, 0xc001bba1b0, 0x0)
	/go/src/github.com/tinygo-org/tinygo/vendor/tinygo.org/x/go-llvm/target.go:274 +0x18b fp=0xc001f61648 sp=0xc001f61608 pc=0xa94adb
github.com/tinygo-org/tinygo/vendor/tinygo.org/x/go-llvm.TargetMachine.EmitToMemoryBuffer(0x643e2c0, 0x6440670, 0x1, 0xc0019c3cc0, 0x1b, 0x1)
	/go/src/github.com/tinygo-org/tinygo/vendor/tinygo.org/x/go-llvm/target.go:274 +0x84 fp=0xc001f616b0 sp=0xc001f61648 pc=0xa7a324
github.com/tinygo-org/tinygo/compiler.(*Compiler).EmitObject(0xc0000b0b00, 0xc0019c3cc0, 0x1b, 0xc0019c3cc0, 0x1b)
	/go/src/github.com/tinygo-org/tinygo/compiler/compiler.go:2768 +0x4a fp=0xc001f61700 sp=0xc001f616b0 pc=0xb8426a
main.Compile(0x7fff5c7ecf1c, 0xc, 0x7fff5c7ecee6, 0x14, 0xc0000b02c0, 0xc001f61f10, 0xc001f61da0, 0x0, 0x0)
	/go/src/github.com/tinygo-org/tinygo/main.go:176 +0x85d fp=0xc001f61d58 sp=0xc001f61700 pc=0xbd641d
main.Build(0x7fff5c7ecf1c, 0xc, 0x7fff5c7ecee6, 0x14, 0x7fff5c7ecf0f, 0xc, 0xc000083f10, 0xc000044630, 0x3d)
	/go/src/github.com/tinygo-org/tinygo/main.go:284 +0xe2 fp=0xc001f61dc8 sp=0xc001f61d58 pc=0xbd9132
main.main()
	/go/src/github.com/tinygo-org/tinygo/main.go:565 +0xbd5 fp=0xc001f61f98 sp=0xc001f61dc8 pc=0xbdac45
runtime.main()
	/usr/local/go/src/runtime/proc.go:200 +0x20c fp=0xc001f61fe0 sp=0xc001f61f98 pc=0x8c62ac
runtime.goexit()
	/usr/local/go/src/runtime/asm_amd64.s:1337 +0x1 fp=0xc001f61fe8 sp=0xc001f61fe0 pc=0x8f0971

goroutine 5 [syscall]:
os/signal.signal_recv(0x0)
	/usr/local/go/src/runtime/sigqueue.go:139 +0x9c
os/signal.loop()
	/usr/local/go/src/os/signal/signal_unix.go:23 +0x22
created by os/signal.init.0
	/usr/local/go/src/os/signal/signal_unix.go:29 +0x41

I'm building this using tinygo docker version 0.5.0. If I change the code to this:

	//println("sd enabled:", sd.IsEnabled())
	//println("sd enable:", sd.Enable(sd.DefaultClockSource))
	//println("sd enabled:", sd.IsEnabled())

It goes through, and flashes, but I don't see the bluetooth device.

Any thoughts what is going on here?

Thanks!

About GT832c_01

Hi,

I'm learning about GT832c. Can you give me some suggestion?

My status as follow:

I find the pre-load program on GT832c is heart rate example from SDK?
So, if I want to receive the data from BMI160 and sent it to nrf52832 DK.
Should I have to erase and program nrf52832(GT832c) by myself?
Do you have any idea about this? Or your GT832c can output 3 axis ACC directly

Best Regard

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.