2019-04-19 02:29:26 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2019 Brett Witherspoon
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <init.h>
|
|
|
|
|
|
|
|
#include <driverlib/setup.h>
|
|
|
|
|
2020-05-01 02:33:38 +08:00
|
|
|
static int ti_cc13x2_cc26x2_init(const struct device *dev)
|
2019-04-19 02:29:26 +08:00
|
|
|
{
|
|
|
|
ARG_UNUSED(dev);
|
|
|
|
|
|
|
|
/* Performs necessary trim of the device. */
|
|
|
|
SetupTrimDevice();
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
SYS_INIT(ti_cc13x2_cc26x2_init, PRE_KERNEL_1, 0);
|