prototooth/adapter_s132.c
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
367 B
C

// +build softdevice,s132v6
// This file is necessary to define SVCall wrappers, because TinyGo does not yet
// support static functions in the preamble.
// Discard all 'static' attributes to define functions normally.
#define static
#include "s132_nrf52_6.1.1/s132_nrf52_6.1.1_API/include/nrf_sdm.h"
#include "s132_nrf52_6.1.1/s132_nrf52_6.1.1_API/include/ble.h"