Fixed travis errors
This commit is contained in:
parent
322b6b26d2
commit
232fbd4c98
@ -2,7 +2,7 @@ CONTIKI_ARM_DIRS += cortex-m/cm4
|
||||
|
||||
CFLAGS += -mcpu=cortex-m4
|
||||
|
||||
LDFLAGS += -mcpu=cortex-m4 -nostartfiles
|
||||
LDFLAGS += -mcpu=cortex-m4
|
||||
LDFLAGS += -T $(LDSCRIPT)
|
||||
LDFLAGS += -Wl,--gc-sections,--sort-section=alignment
|
||||
LDFLAGS += -Wl,-Map=$(CONTIKI_NG_PROJECT_MAP),--cref,--no-warn-mismatch
|
||||
@ -19,12 +19,10 @@ CUSTOM_RULE_LINK = 1
|
||||
|
||||
### Resolve any potential circular dependencies between the linked libraries
|
||||
### See: https://stackoverflow.com/questions/5651869/gcc-what-are-the-start-group-and-end-group-command-line-options/5651895
|
||||
TARGET_LIBFLAGS := -Wl,--start-group $(TARGET_LIBFILES) -lm -Wl,--end-group
|
||||
TARGET_LIBFLAGS := -Wl,--start-group $(TARGET_LIBFILES) -Wl,--end-group
|
||||
|
||||
.SECONDEXPANSION:
|
||||
|
||||
%.elf: $(CPU_STARTFILES) $$(CONTIKI_OBJECTFILES) %.o $(PROJECT_OBJECTFILES) $(PROJECT_LIBRARIES) $(LDSCRIPT)
|
||||
%.elf: $(CPU_STARTFILES) %.o $(PROJECT_OBJECTFILES) $(PROJECT_LIBRARIES) $(CONTIKI_NG_TARGET_LIB) $(TARGET_LIBS)
|
||||
$(TRACE_LD)
|
||||
$(Q)$(LD) $(LDFLAGS) ${filter-out $(LDSCRIPT) %.a,$^} ${filter %.a,$^} $(TARGET_LIBFLAGS) -o $@
|
||||
$(Q)$(LD) $(LDFLAGS) ${filter %.o %.a,$^} $(TARGET_LIBFLAGS) -o $@
|
||||
|
||||
include $(CONTIKI)/arch/cpu/arm/cortex-m/Makefile.cortex-m
|
||||
|
@ -25,9 +25,9 @@ ifneq ($(NRF52_WITHOUT_SOFTDEVICE),1)
|
||||
NRF52_SOFTDEVICE := $(shell find $(NRF52_SDK_ROOT) -name *iot*_softdevice.hex | head -n 1)
|
||||
endif
|
||||
$(info SoftDevice: $(NRF52_SOFTDEVICE))
|
||||
LINKER_SCRIPT := $(CONTIKI_CPU)/ld/nrf52-$(NRF52_DK_REVISION)-sd.ld
|
||||
LDSCRIPT := $(CONTIKI_CPU)/ld/nrf52-$(NRF52_DK_REVISION)-sd.ld
|
||||
else
|
||||
LINKER_SCRIPT := $(CONTIKI_CPU)/ld/nrf52.ld
|
||||
LDSCRIPT := $(CONTIKI_CPU)/ld/nrf52.ld
|
||||
endif
|
||||
|
||||
OUTPUT_FILENAME := $(CONTIKI_PROJECT)
|
||||
@ -140,7 +140,7 @@ CFLAGS += -mfloat-abi=hard -mfpu=fpv4-sp-d16
|
||||
|
||||
# keep every function in separate section. This will allow linker to dump unused functions
|
||||
LDFLAGS += -Xlinker -Map=$(CONTIKI_NG_PROJECT_MAP)
|
||||
LDFLAGS += -mabi=aapcs -L $(TEMPLATE_PATH) -T$(LINKER_SCRIPT)
|
||||
LDFLAGS += -mabi=aapcs -L $(TEMPLATE_PATH)
|
||||
LDFLAGS += -mfloat-abi=hard -mfpu=fpv4-sp-d16
|
||||
# let linker to dump unused sections
|
||||
LDFLAGS += -Wl,--gc-sections
|
||||
@ -174,7 +174,7 @@ OBJECTS = $(C_OBJECTS) $(ASM_OBJECTS)
|
||||
|
||||
CLEAN += nrf52832.a
|
||||
|
||||
TARGET_LIBS= nrf52832.a $(NRF52_SDK_ROOT)/components/iot/ble_6lowpan/lib/ble_6lowpan.a
|
||||
TARGET_LIBS = nrf52832.a $(NRF52_SDK_ROOT)/components/iot/ble_6lowpan/lib/ble_6lowpan.a
|
||||
|
||||
nrf52832.a: $(OBJECTS)
|
||||
$(TRACE_AR)
|
||||
|
@ -118,14 +118,15 @@ CFLAGS += -fno-common
|
||||
|
||||
# Linker flags
|
||||
LDFLAGS += --entry resetISR
|
||||
LDFLAGS += -static
|
||||
LDFLAGS += --specs=nano.specs
|
||||
LDFLAGS += -nostartfiles
|
||||
LDFLAGS += -static
|
||||
|
||||
# Linker script
|
||||
LDSCRIPT := $(CONTIKI_CPU)/$(SUBFAMILY)/$(SUBFAMILY).lds
|
||||
|
||||
# Globally linked libraries
|
||||
TARGET_LIBFILES += -lc -lgcc -lnosys
|
||||
TARGET_LIBFILES += -lc -lgcc -lnosys -lm
|
||||
|
||||
################################################################################
|
||||
### Specialized build targets
|
||||
|
@ -7,5 +7,5 @@ TARGET_LIBFILES += $(SDK_DRIVERS)/rf/lib/rf_multiMode_$(SDK_LIB_NAME).am4fg
|
||||
TARGET_LIBFILES += $(SDK_DRIVERS)/lib/drivers_$(SDK_LIB_NAME).am4fg
|
||||
TARGET_LIBFILES += $(SDK_DEVICES)/driverlib/bin/gcc/driverlib.lib
|
||||
|
||||
# CC13x0/CC26x0 is a Cortex-M4 architecture
|
||||
# CC13x2/CC26x2 is a Cortex-M4 architecture
|
||||
include $(CONTIKI)/arch/cpu/arm/cortex-m/cm4/Makefile.cm4
|
||||
|
@ -31,7 +31,7 @@
|
||||
* \addtogroup cc13xx-cc26xx-cpu
|
||||
* @{
|
||||
*
|
||||
* \defgroupt cc13xx-cc26xx-ccfg Customer Configuration (CCFG)
|
||||
* \defgroup cc13xx-cc26xx-ccfg Customer Configuration (CCFG)
|
||||
*
|
||||
* @{
|
||||
*
|
||||
|
@ -308,3 +308,4 @@ _fini(void)
|
||||
/* Function body left empty intentionally */
|
||||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
/** @} */
|
||||
|
@ -315,3 +315,4 @@ intDefaultHandler(void)
|
||||
for(;;) { /* hang */ }
|
||||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
/** @} */
|
||||
|
@ -122,7 +122,7 @@ uint32_t rf_ble_overrides_coded[] CC_ALIGN(4) =
|
||||
};
|
||||
/*---------------------------------------------------------------------------*/
|
||||
/* CMD_BLE5_RADIO_SETUP: Bluetooth 5 Radio Setup Command for all PHYs */
|
||||
rfc_CMD_BLE5_RADIO_SETUP_t rf_cmd_ble5_radio_setup =
|
||||
rfc_CMD_BLE5_RADIO_SETUP_t rf_ble_cmd_radio_setup =
|
||||
{
|
||||
.commandNo = CMD_BLE5_RADIO_SETUP,
|
||||
.status = IDLE,
|
||||
@ -148,8 +148,8 @@ rfc_CMD_BLE5_RADIO_SETUP_t rf_cmd_ble5_radio_setup =
|
||||
.pRegOverrideCoded = rf_ble_overrides_coded,
|
||||
};
|
||||
/*---------------------------------------------------------------------------*/
|
||||
/* Structure for CMD_BLE5_ADV_AUX.pParams */
|
||||
rfc_ble5AdvAuxPar_t rf_ble5_adv_aux_par =
|
||||
/* Structure for CMD_BLE5_ADV_NC.pParams */
|
||||
rfc_bleAdvPar_t rf_ble_adv_par =
|
||||
{
|
||||
.pRxQ = 0,
|
||||
.rxConfig.bAutoFlushIgnored = 0x0,
|
||||
@ -162,32 +162,36 @@ rfc_ble5AdvAuxPar_t rf_ble5_adv_aux_par =
|
||||
.rxConfig.bAppendTimestamp = 0x0,
|
||||
.advConfig.advFilterPolicy = 0x0,
|
||||
.advConfig.deviceAddrType = 0x0,
|
||||
.advConfig.targetAddrType = 0x0,
|
||||
.advConfig.peerAddrType = 0x0,
|
||||
.advConfig.bStrictLenFilter = 0x0,
|
||||
.advConfig.bDirected = 0x0,
|
||||
.advConfig.privIgnMode = 0x0,
|
||||
.advConfig.rpaMode = 0x0,
|
||||
.__dummy0 = 0x00,
|
||||
.auxPtrTargetType = 0x00,
|
||||
.auxPtrTargetTime = 0x00000000,
|
||||
.pAdvPkt = 0,
|
||||
.pRspPkt = 0,
|
||||
.advLen = 0x18,
|
||||
.scanRspLen = 0x00,
|
||||
.pAdvData = 0,
|
||||
.pScanRspData = 0,
|
||||
.pDeviceAddress = 0,
|
||||
.pWhiteList = 0,
|
||||
.__dummy0 = 0x0000,
|
||||
.__dummy1 = 0x00,
|
||||
.endTrigger.triggerType = TRIG_NEVER,
|
||||
.endTrigger.bEnaCmd = 0x0,
|
||||
.endTrigger.triggerNo = 0x0,
|
||||
.endTrigger.pastTrig = 0x0,
|
||||
.endTime = 0x00000000,
|
||||
};
|
||||
/*---------------------------------------------------------------------------*/
|
||||
/* CMD_BLE5_ADV_AUX: Bluetooth 5 Secondary Channel Advertiser Command */
|
||||
rfc_CMD_BLE5_ADV_AUX_t rf_cmd_ble5_adv_aux =
|
||||
/* CMD_BLE5_ADV_NC: Bluetooth 5 Non-Connectable Advertiser Command */
|
||||
rfc_CMD_BLE5_ADV_NC_t rf_ble_cmd_ble_adv_nc =
|
||||
{
|
||||
.commandNo = CMD_BLE5_ADV_AUX,
|
||||
.status = IDLE,
|
||||
.pNextOp = 0,
|
||||
.commandNo = 0x182D,
|
||||
.status = 0x0000,
|
||||
.pNextOp = 0, // INSERT APPLICABLE POINTER: (uint8_t*)&xxx
|
||||
.startTime = 0x00000000,
|
||||
.startTrigger.triggerType = TRIG_NOW,
|
||||
.startTrigger.triggerType = 0x0,
|
||||
.startTrigger.bEnaCmd = 0x0,
|
||||
.startTrigger.triggerNo = 0x0,
|
||||
.startTrigger.pastTrig = 0x0,
|
||||
.condition.rule = COND_NEVER,
|
||||
.condition.rule = 0x1,
|
||||
.condition.nSkip = 0x0,
|
||||
.channel = 0x8C,
|
||||
.whitening.init = 0x51,
|
||||
@ -196,8 +200,8 @@ rfc_CMD_BLE5_ADV_AUX_t rf_cmd_ble5_adv_aux =
|
||||
.phyMode.coding = 0x0,
|
||||
.rangeDelay = 0x00,
|
||||
.txPower = 0x0000,
|
||||
.pParams = &rf_ble5_adv_aux_par,
|
||||
.pOutput = 0,
|
||||
.pParams = &rf_ble_adv_par,
|
||||
.pOutput = 0, // INSERT APPLICABLE POINTER: (uint8_t*)&xxx
|
||||
.tx20Power = 0x00000000,
|
||||
};
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
@ -42,9 +42,9 @@
|
||||
extern RF_Mode rf_ble_mode;
|
||||
/*---------------------------------------------------------------------------*/
|
||||
/* RF Core API commands */
|
||||
extern rfc_CMD_BLE5_RADIO_SETUP_t rf_cmd_ble5_radio_setup;
|
||||
extern rfc_ble5AdvAuxPar_t rf_ble5_adv_aux_par;
|
||||
extern rfc_CMD_BLE5_ADV_AUX_t rf_cmd_ble5_adv_aux;
|
||||
extern rfc_CMD_BLE5_RADIO_SETUP_t rf_ble_cmd_radio_setup;
|
||||
extern rfc_bleAdvPar_t rf_ble_adv_par;
|
||||
extern rfc_CMD_BLE5_ADV_NC_t rf_ble_cmd_ble_adv_nc;
|
||||
/*---------------------------------------------------------------------------*/
|
||||
/* RF Core API Overrides */
|
||||
extern uint32_t rf_ble_overrides_common[];
|
||||
|
@ -93,3 +93,7 @@ int ble_addr_to_eui64_cpy(uint8_t *dst);
|
||||
/*---------------------------------------------------------------------------*/
|
||||
#endif /* BLE_ADDR_H_ */
|
||||
/*---------------------------------------------------------------------------*/
|
||||
/**
|
||||
* @}
|
||||
* @}
|
||||
*/
|
@ -55,13 +55,7 @@ typedef enum {
|
||||
} rf_ble_beacond_result_t;
|
||||
/*---------------------------------------------------------------------------*/
|
||||
/**
|
||||
* \brief Set the device name to use with the BLE advertisement/beacon daemon
|
||||
* \param interval The interval (ticks) between two consecutive beacon bursts
|
||||
* \param name The device name to advertise
|
||||
*
|
||||
* If name is NULL it will be ignored. If interval==0 it will be ignored. Thus,
|
||||
* this function can be used to configure a single parameter at a time if so
|
||||
* desired.
|
||||
* \brief Initialize the BLE advertisement/beacon daemon
|
||||
*/
|
||||
rf_ble_beacond_result_t rf_ble_beacond_init(void);
|
||||
|
||||
|
@ -167,7 +167,7 @@ typedef enum CC1310_LAUNCHXL_ADCBufName {
|
||||
} CC1310_LAUNCHXL_ADCBufName;
|
||||
|
||||
/*!
|
||||
* @def CC1310_LAUNCHXL_ADCBuf0SourceName
|
||||
* @def CC1310_LAUNCHXL_ADCBuf0ChannelName
|
||||
* @brief Enum of ADCBuf channels
|
||||
*/
|
||||
typedef enum CC1310_LAUNCHXL_ADCBuf0ChannelName {
|
||||
@ -290,7 +290,7 @@ typedef enum CC1310_LAUNCHXL_NVSName {
|
||||
} CC1310_LAUNCHXL_NVSName;
|
||||
|
||||
/*!
|
||||
* @def CC1310_LAUNCHXL_PWM
|
||||
* @def CC1310_LAUNCHXL_PWMName
|
||||
* @brief Enum of PWM outputs
|
||||
*/
|
||||
typedef enum CC1310_LAUNCHXL_PWMName {
|
||||
|
@ -176,7 +176,7 @@ typedef enum CC1312R1_LAUNCHXL_ADCBufName {
|
||||
} CC1312R1_LAUNCHXL_ADCBufName;
|
||||
|
||||
/*!
|
||||
* @def CC1312R1_LAUNCHXL_ADCBuf0SourceName
|
||||
* @def CC1312R1_LAUNCHXL_ADCBuf0ChannelName
|
||||
* @brief Enum of ADCBuf channels
|
||||
*/
|
||||
typedef enum CC1312R1_LAUNCHXL_ADCBuf0ChannelName {
|
||||
@ -349,7 +349,7 @@ typedef enum CC1312R1_LAUNCHXL_NVSName {
|
||||
} CC1312R1_LAUNCHXL_NVSName;
|
||||
|
||||
/*!
|
||||
* @def CC1312R1_LAUNCHXL_PWM
|
||||
* @def CC1312R1_LAUNCHXL_PWMName
|
||||
* @brief Enum of PWM outputs
|
||||
*/
|
||||
typedef enum CC1312R1_LAUNCHXL_PWMName {
|
||||
|
@ -170,7 +170,7 @@ typedef enum CC1350_LAUNCHXL_433_ADCBufName {
|
||||
} CC1350_LAUNCHXL_433_ADCBufName;
|
||||
|
||||
/*!
|
||||
* @def CC1350_LAUNCHXL_433_ADCBuf0SourceName
|
||||
* @def CC1350_LAUNCHXL_433_ADCBuf0ChannelName
|
||||
* @brief Enum of ADCBuf channels
|
||||
*/
|
||||
typedef enum CC1350_LAUNCHXL_433_ADCBuf0ChannelName {
|
||||
@ -291,7 +291,7 @@ typedef enum CC1350_LAUNCHXL_433_NVSName {
|
||||
} CC1350_LAUNCHXL_433_NVSName;
|
||||
|
||||
/*!
|
||||
* @def CC1350_LAUNCHXL_433_PWM
|
||||
* @def CC1350_LAUNCHXL_433_PWMName
|
||||
* @brief Enum of PWM outputs
|
||||
*/
|
||||
typedef enum CC1350_LAUNCHXL_433_PWMName {
|
||||
|
@ -170,7 +170,7 @@ typedef enum CC1350_LAUNCHXL_ADCBufName {
|
||||
} CC1350_LAUNCHXL_ADCBufName;
|
||||
|
||||
/*!
|
||||
* @def CC1350_LAUNCHXL_ADCBuf0SourceName
|
||||
* @def CC1350_LAUNCHXL_ADCBuf0ChannelName
|
||||
* @brief Enum of ADCBuf channels
|
||||
*/
|
||||
typedef enum CC1350_LAUNCHXL_ADCBuf0ChannelName {
|
||||
@ -293,7 +293,7 @@ typedef enum CC1350_LAUNCHXL_NVSName {
|
||||
} CC1350_LAUNCHXL_NVSName;
|
||||
|
||||
/*!
|
||||
* @def CC1350_LAUNCHXL_PWM
|
||||
* @def CC1350_LAUNCHXL_PWMName
|
||||
* @brief Enum of PWM outputs
|
||||
*/
|
||||
typedef enum CC1350_LAUNCHXL_PWMName {
|
||||
|
@ -191,7 +191,7 @@ typedef enum CC1352P_2_LAUNCHXL_ADCBufName {
|
||||
} CC1352P_2_LAUNCHXL_ADCBufName;
|
||||
|
||||
/*!
|
||||
* @def CC1352P_2_LAUNCHXL_ADCBuf0SourceName
|
||||
* @def CC1352P_2_LAUNCHXL_ADCBuf0ChannelName
|
||||
* @brief Enum of ADCBuf channels
|
||||
*/
|
||||
typedef enum CC1352P_2_LAUNCHXL_ADCBuf0ChannelName {
|
||||
@ -358,7 +358,7 @@ typedef enum CC1352P_2_LAUNCHXL_NVSName {
|
||||
} CC1352P_2_LAUNCHXL_NVSName;
|
||||
|
||||
/*!
|
||||
* @def CC1352P_2_LAUNCHXL_PWM
|
||||
* @def CC1352P_2_LAUNCHXL_PWMName
|
||||
* @brief Enum of PWM outputs
|
||||
*/
|
||||
typedef enum CC1352P_2_LAUNCHXL_PWMName {
|
||||
|
@ -191,7 +191,7 @@ typedef enum CC1352P_4_LAUNCHXL_ADCBufName {
|
||||
} CC1352P_4_LAUNCHXL_ADCBufName;
|
||||
|
||||
/*!
|
||||
* @def CC1352P_4_LAUNCHXL_ADCBuf0SourceName
|
||||
* @def CC1352P_4_LAUNCHXL_ADCBuf0ChannelName
|
||||
* @brief Enum of ADCBuf channels
|
||||
*/
|
||||
typedef enum CC1352P_4_LAUNCHXL_ADCBuf0ChannelName {
|
||||
@ -358,7 +358,7 @@ typedef enum CC1352P_4_LAUNCHXL_NVSName {
|
||||
} CC1352P_4_LAUNCHXL_NVSName;
|
||||
|
||||
/*!
|
||||
* @def CC1352P_4_LAUNCHXL_PWM
|
||||
* @def CC1352P_4_LAUNCHXL_PWMName
|
||||
* @brief Enum of PWM outputs
|
||||
*/
|
||||
typedef enum CC1352P_4_LAUNCHXL_PWMName {
|
||||
|
@ -191,7 +191,7 @@ typedef enum CC1352P1_LAUNCHXL_ADCBufName {
|
||||
} CC1352P1_LAUNCHXL_ADCBufName;
|
||||
|
||||
/*!
|
||||
* @def CC1352P1_LAUNCHXL_ADCBuf0SourceName
|
||||
* @def CC1352P1_LAUNCHXL_ADCBuf0ChannelName
|
||||
* @brief Enum of ADCBuf channels
|
||||
*/
|
||||
typedef enum CC1352P1_LAUNCHXL_ADCBuf0ChannelName {
|
||||
@ -362,7 +362,7 @@ typedef enum CC1352P1_LAUNCHXL_NVSName {
|
||||
} CC1352P1_LAUNCHXL_NVSName;
|
||||
|
||||
/*!
|
||||
* @def CC1352P1_LAUNCHXL_PWM
|
||||
* @def CC1352P1_LAUNCHXL_PWMName
|
||||
* @brief Enum of PWM outputs
|
||||
*/
|
||||
typedef enum CC1352P1_LAUNCHXL_PWMName {
|
||||
|
@ -182,7 +182,7 @@ typedef enum CC1352R1_LAUNCHXL_ADCBufName {
|
||||
} CC1352R1_LAUNCHXL_ADCBufName;
|
||||
|
||||
/*!
|
||||
* @def CC1352R1_LAUNCHXL_ADCBuf0SourceName
|
||||
* @def CC1352R1_LAUNCHXL_ADCBuf0ChannelName
|
||||
* @brief Enum of ADCBuf channels
|
||||
*/
|
||||
typedef enum CC1352R1_LAUNCHXL_ADCBuf0ChannelName {
|
||||
@ -353,7 +353,7 @@ typedef enum CC1352R1_LAUNCHXL_NVSName {
|
||||
} CC1352R1_LAUNCHXL_NVSName;
|
||||
|
||||
/*!
|
||||
* @def CC1352R1_LAUNCHXL_PWM
|
||||
* @def CC1352R1_LAUNCHXL_PWMName
|
||||
* @brief Enum of PWM outputs
|
||||
*/
|
||||
typedef enum CC1352R1_LAUNCHXL_PWMName {
|
||||
|
@ -167,7 +167,7 @@ typedef enum CC2650_LAUNCHXL_ADCBufName {
|
||||
} CC2650_LAUNCHXL_ADCBufName;
|
||||
|
||||
/*!
|
||||
* @def CC2650_LAUNCHXL_ADCBuf0SourceName
|
||||
* @def CC2650_LAUNCHXL_ADCBuf0ChannelName
|
||||
* @brief Enum of ADCBuf channels
|
||||
*/
|
||||
typedef enum CC2650_LAUNCHXL_ADCBuf0ChannelName {
|
||||
@ -290,7 +290,7 @@ typedef enum CC2650_LAUNCHXL_NVSName {
|
||||
} CC2650_LAUNCHXL_NVSName;
|
||||
|
||||
/*!
|
||||
* @def CC2650_LAUNCHXL_PWM
|
||||
* @def CC2650_LAUNCHXL_PWMName
|
||||
* @brief Enum of PWM outputs
|
||||
*/
|
||||
typedef enum CC2650_LAUNCHXL_PWMName {
|
||||
|
@ -182,7 +182,7 @@ typedef enum CC26X2R1_LAUNCHXL_ADCBufName {
|
||||
} CC26X2R1_LAUNCHXL_ADCBufName;
|
||||
|
||||
/*!
|
||||
* @def CC26X2R1_LAUNCHXL_ADCBuf0SourceName
|
||||
* @def CC26X2R1_LAUNCHXL_ADCBuf0ChannelName
|
||||
* @brief Enum of ADCBuf channels
|
||||
*/
|
||||
typedef enum CC26X2R1_LAUNCHXL_ADCBuf0ChannelName {
|
||||
@ -355,7 +355,7 @@ typedef enum CC26X2R1_LAUNCHXL_NVSName {
|
||||
} CC26X2R1_LAUNCHXL_NVSName;
|
||||
|
||||
/*!
|
||||
* @def CC26X2R1_LAUNCHXL_PWM
|
||||
* @def CC26X2R1_LAUNCHXL_PWMName
|
||||
* @brief Enum of PWM outputs
|
||||
*/
|
||||
typedef enum CC26X2R1_LAUNCHXL_PWMName {
|
||||
|
@ -234,7 +234,8 @@ enable_sensor(bool enable)
|
||||
/**
|
||||
* \brief Read temperature and pressure data.
|
||||
* \param data Pointer to a buffer where temperature and pressure will be
|
||||
* written (6 bytes).
|
||||
* written.
|
||||
* \param count Number of byes to read.
|
||||
* \return Boolean Value descibing whether initialization were
|
||||
* successful or not.
|
||||
* \retval true Successful initialization
|
||||
|
@ -256,7 +256,7 @@ typedef enum CC1350STK_NVSName {
|
||||
} CC1350STK_NVSName;
|
||||
|
||||
/*!
|
||||
* @def CC1350STK_PdmName
|
||||
* @def CC1350STK_PDMName
|
||||
* @brief Enum of PDM names
|
||||
*/
|
||||
typedef enum CC1350STK_PDMName {
|
||||
@ -266,7 +266,7 @@ typedef enum CC1350STK_PDMName {
|
||||
} CC1350STK_PDMName;
|
||||
|
||||
/*!
|
||||
* @def CC1350STK_PWM
|
||||
* @def CC1350STK_PWMName
|
||||
* @brief Enum of PWM outputs
|
||||
*/
|
||||
typedef enum CC1350STK_PWMName {
|
||||
|
@ -257,7 +257,7 @@ typedef enum CC2650STK_NVSName {
|
||||
} CC2650STK_NVSName;
|
||||
|
||||
/*!
|
||||
* @def CC2650STK_PdmName
|
||||
* @def CC2650STK_PDMName
|
||||
* @brief Enum of PDM names
|
||||
*/
|
||||
typedef enum CC2650STK_PDMName {
|
||||
@ -267,7 +267,7 @@ typedef enum CC2650STK_PDMName {
|
||||
} CC2650STK_PDMName;
|
||||
|
||||
/*!
|
||||
* @def CC2650STK_PWM
|
||||
* @def CC2650STK_PWMName
|
||||
* @brief Enum of PWM outputs
|
||||
*/
|
||||
typedef enum CC2650STK_PWMName {
|
||||
|
@ -241,12 +241,12 @@ enable_sensor(bool enable)
|
||||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
/**
|
||||
* \brief Read the sensor value registers.
|
||||
* \param raw_temp Output variable holding the Temperature in
|
||||
* 16-bit format.
|
||||
* \param raw_obj_temp Output variable holding the Object temperature in
|
||||
* 16-bit format.
|
||||
* \return true if valid data could be retrieved; else, false.
|
||||
* \brief Read the sensor value registers.
|
||||
* \param local_tmp Output variable holding the Temperature in
|
||||
* 16-bit format.
|
||||
* \param obj_tmp Output variable holding the Object temperature in
|
||||
* 16-bit format.
|
||||
* \return true if valid data could be retrieved; else, false.
|
||||
*/
|
||||
static bool
|
||||
read_data(uint16_t *local_tmp, uint16_t *obj_tmp)
|
||||
@ -292,11 +292,11 @@ read_data(uint16_t *local_tmp, uint16_t *obj_tmp)
|
||||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
/**
|
||||
* \brief Convert raw data to values in degrees Celsius.
|
||||
* \param raw_temp Output variable holding the raw ambient temperature
|
||||
* from sensor.
|
||||
* \param raw_obj_temp Output variable holding the raw object temperature
|
||||
* from sensor.
|
||||
* \brief Convert raw data to values in degrees Celsius.
|
||||
* \param local_tmp Output variable holding the raw ambient temperature
|
||||
* from sensor.
|
||||
* \param obj_tmp Output variable holding the raw object temperature
|
||||
* from sensor.
|
||||
*/
|
||||
static void
|
||||
convert(uint16_t *local_tmp, uint16_t *obj_tmp)
|
||||
|
@ -178,7 +178,7 @@ typedef enum CC1350DK_7XD_ADCBufName {
|
||||
} CC1350DK_7XD_ADCBufName;
|
||||
|
||||
/*!
|
||||
* @def CC1350DK_7XD_ADCBuf0SourceName
|
||||
* @def CC1350DK_7XD_ADCBuf0ChannelName
|
||||
* @brief Enum of ADCBuf channels
|
||||
*/
|
||||
typedef enum CC1350DK_7XD_ADCBuf0ChannelName {
|
||||
@ -290,7 +290,7 @@ typedef enum CC1350DK_7XD_NVSName {
|
||||
} CC1350DK_7XD_NVSName;
|
||||
|
||||
/*!
|
||||
* @def CC1350DK_7XD_PWM
|
||||
* @def CC1350DK_7XD_PWMName
|
||||
* @brief Enum of PWM outputs
|
||||
*/
|
||||
typedef enum CC1350DK_7XD_PWMName {
|
||||
|
@ -178,7 +178,7 @@ typedef enum CC2650DK_7ID_ADCBufName {
|
||||
} CC2650DK_7ID_ADCBufName;
|
||||
|
||||
/*!
|
||||
* @def CC2650DK_7ID_ADCBuf0SourceName
|
||||
* @def CC2650DK_7ID_ADCBuf0ChannelName
|
||||
* @brief Enum of ADCBuf channels
|
||||
*/
|
||||
typedef enum CC2650DK_7ID_ADCBuf0ChannelName {
|
||||
@ -290,7 +290,7 @@ typedef enum CC2650DK_7ID_NVSName {
|
||||
} CC2650DK_7ID_NVSName;
|
||||
|
||||
/*!
|
||||
* @def CC2650DK_7ID_PWM
|
||||
* @def CC2650DK_7ID_PWMName
|
||||
* @brief Enum of PWM outputs
|
||||
*/
|
||||
typedef enum CC2650DK_7ID_PWMName {
|
||||
|
@ -809,10 +809,10 @@ EXCLUDE_SYMLINKS = NO
|
||||
|
||||
EXCLUDE_PATTERNS = */cpu/cc26xx-cc13xx/lib/* \
|
||||
*/cpu/cc26xx-cc13xx/rf-core/api/* \
|
||||
*/cpu/cc13xx-cc26xx/lib/* \
|
||||
*/cpu/cc13xx-cc26xx/rf-settings/* \
|
||||
*/cpu/cc13xx-cc26xx/cc13x0-cc26x0/driverlib/* \
|
||||
*/cpu/cc13xx-cc26xx/cc13x0-cc26x0/rf_patches/* \
|
||||
*/cpu/simplelink-cc13xx-cc26xx/lib/* \
|
||||
*/cpu/simplelink-cc13xx-cc26xx/rf-settings/* \
|
||||
*/cpu/simplelink-cc13xx-cc26xx/cc13x0-cc26x0/driverlib/* \
|
||||
*/cpu/simplelink-cc13xx-cc26xx/cc13x0-cc26x0/rf_patches/* \
|
||||
*/platform/stm32nucleo-spirit1/stm32cube-lib/* \
|
||||
*/os/net/security/tinydtls/*
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user