µVision Build Log

Tool Versions:

IDE-Version: ¦ÌVision V5.16a Copyright (C) 2015 ARM Ltd and ARM Germany GmbH. All rights reserved. License Information: zlg Microsoft Microsoft Flex license: MDK-ARM Standard: 15 user(s) (mdk_std) Support: Sep 2016 Tool Versions: Toolchain: MDK-ARM Standard: 15 user(s) Version: 5.16a Toolchain Path: C:\Program Files\Keil\ARM\ARMCC\Bin C Compiler: Armcc.exe V5.06 (build 20) Assembler: Armasm.exe V5.06 (build 20) Linker/Locator: ArmLink.exe V5.06 (build 20) Library Manager: ArmAr.exe V5.06 (build 20) Hex Converter: FromElf.exe V5.06 (build 20) CPU DLL: SARMCM3.DLL V5.16a Dialog DLL: DARMCM1.DLL V1.12.0.0 Target DLL: Segger\JL2CM3.dll V2.99.15.2 Dialog DLL: TARMCM1.DLL V1.9.0.0

Project:

E:\WorkSpace_All\zm4xx\projects_keil5\zm4xxsx-m_lora\zm4xxsx-m_lora.uvprojx Project File Date: 07/09/2018

Output:

*** Using Compiler 'V5.06 (build 20)', folder: 'C:\Program Files\Keil\ARM\ARMCC\Bin' Rebuild target 'debug' compiling system_lpc11xx.c... assembling startup_lpc11xx.s... compiling core_cm0.c... compiling spi.c... soc\drivers\source\spi.c(73): warning: #550-D: variable "tmp" was set but never used unsigned char tmp; soc\drivers\source\spi.c(136): warning: #940-D: missing return statement at end of non-void function "spi_init" } soc\drivers\source\spi.c(44): warning: #177-D: function "__delay_us" was declared but never referenced static void __delay_us (unsigned int i) soc\drivers\source\spi.c: 3 warnings, 0 errors compiling timer.c... compiling uart.c... soc\drivers\source\uart.c(213): warning: #1-D: last line of file ends without a newline } soc\drivers\source\uart.c: 1 warning, 0 errors compiling zm4xx_gpio.c... soc\drivers\source\zm4xx_gpio.c(102): warning: #1-D: last line of file ends without a newline } soc\drivers\source\zm4xx_gpio.c: 1 warning, 0 errors compiling int.c... .\soc\drivers\include\int.h(34): warning: #1-D: last line of file ends without a newline soc\drivers\source\int.c(112): warning: #177-D: function "__rf_irq1_init" was declared but never referenced static void __rf_irq1_init (void) soc\drivers\source\int.c: 2 warnings, 0 errors compiling radio.c... compiling zm4xx_demo.c... .\soc\drivers\include\int.h(34): warning: #1-D: last line of file ends without a newline ..\..\demo\zm4xx_demo.c: 1 warning, 0 errors compiling main.c... user_code\main.c(38): warning: #951-D: return type of function "main" must be "int" void main (void) user_code\main.c: 1 warning, 0 errors compiling sx127x_lora.c... sx127x\sx127x_lora.c(300): warning: #177-D: variable "reg_val0" was declared but never referenced uint8_t reg, reg_val0, reg_val1; sx127x\sx127x_lora.c(300): warning: #177-D: variable "reg_val1" was declared but never referenced uint8_t reg, reg_val0, reg_val1; sx127x\sx127x_lora.c(465): warning: #550-D: variable "version_reg" was set but never used uint8_t version_reg; sx127x\sx127x_lora.c(730): warning: #177-D: variable "i" was declared but never referenced uint8_t i; sx127x\sx127x_lora.c(806): warning: #177-D: variable "state" was declared but never referenced radio_state_t state; sx127x\sx127x_lora.c(1064): warning: #177-D: variable "reg_val" was declared but never referenced uint8_t reg_val; sx127x\sx127x_lora.c(1175): warning: #177-D: variable "reg" was declared but never referenced uint8_t reg; sx127x\sx127x_lora.c(1319): warning: #144-D: a value of type "int (*)(radio_sx127x_dev_t *)" cannot be used to initialize an entity of type "int (*)(void *)" __sx127x_reset, sx127x\sx127x_lora.c(1320): warning: #144-D: a value of type "int (*)(radio_sx127x_dev_t *, uint8_t *, uint8_t)" cannot be used to initialize an entity of type "int (*)(void *, uint8_t *, uint8_t)" __sx127x_sync_id_set, sx127x\sx127x_lora.c(1321): warning: #144-D: a value of type "int (*)(radio_sx127x_dev_t *, uint8_t *, uint8_t *)" cannot be used to initialize an entity of type "int (*)(void *, uint8_t *, uint8_t *)" __sx127x_sync_id_get, sx127x\sx127x_lora.c(1322): warning: #144-D: a value of type "int (*)(radio_sx127x_dev_t *, uint16_t)" cannot be used to initialize an entity of type "int (*)(void *, uint16_t)" __sx127x_lora_set_preamble_length, sx127x\sx127x_lora.c(1323): warning: #144-D: a value of type "int (*)(radio_sx127x_dev_t *, uint16_t *)" cannot be used to initialize an entity of type "int (*)(void *, uint16_t *)" __sx127x_lora_get_preamble_length, sx127x\sx127x_lora.c(1324): warning: #144-D: a value of type "int (*)(radio_sx127x_dev_t *, uint8_t, float *)" cannot be used to initialize an entity of type "int (*)(void *, uint8_t, float *)" __sx127x_power_set_adapter, sx127x\sx127x_lora.c(1325): warning: #144-D: a value of type "int (*)(radio_sx127x_dev_t *, uint32_t)" cannot be used to initialize an entity of type "int (*)(void *, uint32_t)" __sx127x_lora_set_rf_frequency, sx127x\sx127x_lora.c(1326): warning: #144-D: a value of type "int (*)(radio_sx127x_dev_t *, uint8_t)" cannot be used to initialize an entity of type "int (*)(void *, uint8_t)" __sx127x_mode_set, sx127x\sx127x_lora.c(1327): warning: #144-D: a value of type "int (*)(radio_sx127x_dev_t *, radio_state_t *)" cannot be used to initialize an entity of type "int (*)(void *, radio_state_t *)" __sx127x_state_get, /* TODO:need test */ sx127x\sx127x_lora.c(1328): warning: #144-D: a value of type "int (*)(radio_sx127x_dev_t *, int16_t *)" cannot be used to initialize an entity of type "int (*)(void *, int16_t *)" __sx127x_lora_read_cur_rssi, sx127x\sx127x_lora.c(1329): warning: #144-D: a value of type "int (*)(radio_sx127x_dev_t *, uint8_t *, uint8_t)" cannot be used to initialize an entity of type "int (*)(void *, uint8_t *, uint8_t)" __sx127x_lora_tx_data, sx127x\sx127x_lora.c(1330): warning: #144-D: a value of type "int (*)(radio_sx127x_dev_t *, uint8_t *, uint8_t *)" cannot be used to initialize an entity of type "int (*)(void *, uint8_t *, uint8_t *)" __sx127x_pkt_buf_read, sx127x\sx127x_lora.c(1331): warning: #144-D: a value of type "int (*)(radio_sx127x_dev_t *, uint16_t, void *)" cannot be used to initialize an entity of type "int (*)(void *, int, void *)" __sx127x_ioctl, sx127x\sx127x_lora.c(1332): warning: #144-D: a value of type "void (*)(radio_sx127x_dev_t *)" cannot be used to initialize an entity of type "void (*)(void *)" __sx127x_lora_dio0_irq_func, sx127x\sx127x_lora.c(1333): warning: #144-D: a value of type "void (*)(radio_sx127x_dev_t *)" cannot be used to initialize an entity of type "void (*)(void *)" __sx127x_lora_dio1_irq_func, sx127x\sx127x_lora.c(1334): warning: #144-D: a value of type "void (*)(radio_sx127x_dev_t *)" cannot be used to initialize an entity of type "void (*)(void *)" __sx127x_lora_dio2_irq_func, sx127x\sx127x_lora.c(164): warning: #177-D: function "__delay_us" was declared but never referenced static void __delay_us (radio_sx127x_dev_t *p_this, uint32_t us) sx127x\sx127x_lora.c(1110): warning: #177-D: function "__sx127x_time_on_air_get" was declared but never referenced static uint32_t __sx127x_time_on_air_get (radio_sx127x_dev_t *p_this, sx127x\sx127x_lora.c: 25 warnings, 0 errors compiling sx127x_radio_lora_cfg.c... sx127x\sx127x_radio_lora_cfg.c(106): warning: #513-D: a value of type "void (*)(uint16_t)" cannot be assigned to an entity of type "void (*)(uint32_t)" __g_delay.pfn_delay_ms = timer0_16_delay_ms; sx127x\sx127x_radio_lora_cfg.c(107): warning: #513-D: a value of type "void (*)(uint16_t)" cannot be assigned to an entity of type "void (*)(uint32_t)" __g_delay.pfn_delay_us = timer0_16_delay_us; sx127x\sx127x_radio_lora_cfg.c(111): warning: #513-D: a value of type "void (*)(bool)" cannot be assigned to an entity of type "void (*)(void)" __g_sx127x_events.pfn_rx_timeout_cb = __rx_timeout_call_func; sx127x\sx127x_radio_lora_cfg.c: 3 warnings, 0 errors linking... Program Size: Code=12328 RO-data=684 RW-data=92 ZI-data=2668 FromELF: creating hex file... ".\Objects\zm4xxsx-m_lora.axf" - 0 Error(s), 37 Warning(s).

Software Packages used:

Package Vendor: ARM http://www.keil.com/pack/ARM.CMSIS.4.3.0.pack ARM::CMSIS:CORE:4.1.0 CMSIS (Cortex Microcontroller Software Interface Standard) * Component: CORE Version: 4.1.0

Collection of Component include folders:

E:\WorkSpace_All\zm4xx\projects_keil5\zm4xxsx-m_lora\RTE C:\Program Files\Keil\ARM\PACK\ARM\CMSIS\4.3.0\CMSIS\Include C:\Program Files\Keil\ARM\PACK\Keil\LPC1100_DFP\1.4.0\Device\Include\LPC11xx

Collection of Component Files used:

* Component: ARM::CMSIS:CORE:4.1.0 Build Time Elapsed: 00:00:14