prototooth/adapter_s132.go
Ayke van Laethem f86fd36240
softdevice: make code more flexible for other SoftDevices
This is required for adding S140 support. It relies on the following
TinyGo PR:
https://github.com/tinygo-org/tinygo/pull/942
2020-03-06 13:46:42 +01:00

11 lines
218 B
Go

// +build softdevice,s132v6
package bluetooth
/*
// Add the correct SoftDevice include path to CFLAGS, so #include will work as
// expected.
#cgo CFLAGS: -Is132_nrf52_6.1.1/s132_nrf52_6.1.1_API/include
*/
import "C"