├── Lifesmart cololight controled.jpg ├── README.md ├── Screenshot philips hue appairage.jpg ├── firmware ├── .cproject ├── .project ├── Common │ └── Source │ │ ├── PDM_IDs.h │ │ ├── app.zpscfg │ │ ├── app_common.h │ │ ├── app_events.h │ │ ├── app_scenes.c │ │ ├── app_scenes.h │ │ ├── ecb_decrypt.c │ │ ├── eventStrings.c │ │ ├── eventStrings.h │ │ └── os_msg_types.h ├── Common_Controller │ ├── Build │ │ ├── BuildAllControllers.sh │ │ └── Makefile │ └── Source │ │ ├── App_ZLL_Remote_JN516x.oscfgdiag │ │ ├── DriverCapTouch.c │ │ ├── DriverCapTouch.h │ │ ├── LBI │ │ ├── low_bat_indicator.c │ │ └── low_bat_indicator.h │ │ ├── app_captouch_buttons.c │ │ ├── app_captouch_buttons.h │ │ ├── app_led_control.c │ │ ├── app_led_control.h │ │ ├── app_remote_commission_task.c │ │ ├── app_start_remote.c │ │ ├── app_zcl_remote_task.c │ │ ├── app_zcl_remote_task.h │ │ ├── zll_remote_node.c │ │ └── zll_remote_node.h ├── Common_Light │ ├── Build │ │ ├── BuildAllLights.sh │ │ └── Makefile │ └── Source │ │ ├── App_ZLL_Light_JN516x.oscfgdiag │ │ ├── App_ZLL_Light_JN516x_RGB.oscfgdiag │ │ ├── DriverBulb │ │ ├── .version.txt │ │ ├── DriverBulb.h │ │ ├── DriverBulb_DR1175.c │ │ ├── DriverBulb_DR1190.c │ │ ├── DriverBulb_DR1192.c │ │ ├── DriverBulb_DR1221.c │ │ ├── DriverBulb_DR1221_Dimic.c │ │ ├── DriverBulb_OM15008_Dimic.c │ │ ├── DriverBulb_Shim.c │ │ ├── DriverBulb_Shim.h │ │ ├── DriverBulb_WS2812.c │ │ └── DriverBulb_WS2812_ba-elf.S │ │ ├── app_buttons.c │ │ ├── app_buttons.h │ │ ├── app_light_commission_task.c │ │ ├── app_light_commission_task.h │ │ ├── app_light_interpolation.c │ │ ├── app_light_interpolation.h │ │ ├── app_manage_temperature.c │ │ ├── app_manage_temperature.h │ │ ├── app_manage_temperature_stubs.c │ │ ├── app_ota_client.c │ │ ├── app_ota_client.h │ │ ├── app_power_on_counter.c │ │ ├── app_power_on_counter.h │ │ ├── app_start_light.c │ │ ├── app_zcl_light_task.c │ │ ├── app_zcl_light_task.h │ │ ├── zpr_light_node.c │ │ └── zpr_light_node.h ├── Controller_ColorController │ ├── Build │ │ └── Controller_ColorController_JN5168.bin │ └── Source │ │ ├── App_Controller_ColorController.c │ │ ├── App_Controller_ColorController.h │ │ └── zcl_options.h ├── Controller_ColorSceneController │ ├── Build │ │ └── Controller_ColorSceneController_JN5168.bin │ └── Source │ │ ├── App_Controller_ColorSceneController.c │ │ ├── App_Controller_ColorSceneController.h │ │ └── zcl_options.h ├── Controller_NonColorController │ ├── Build │ │ └── Controller_NonColorController_JN5168.bin │ └── Source │ │ ├── App_Controller_NonColorController.c │ │ ├── App_Controller_NonColorController.h │ │ └── zcl_options.h ├── Controller_NonColorSceneController │ ├── Build │ │ └── Controller_NonColorSceneController_JN5168.bin │ └── Source │ │ ├── App_Controller_NonColorSceneController.c │ │ ├── App_Controller_NonColorSceneController.h │ │ └── zcl_options.h ├── Controller_OnOffSensor │ ├── Build │ │ └── Controller_OnOffSensor_JN5168.bin │ └── Source │ │ ├── App_Controller_OnOffSensor.c │ │ ├── App_Controller_OnOffSensor.h │ │ └── zcl_options.h ├── Doc │ └── JN-AN-1171-ZigBee-LightLink-Demo-1v16.pdf ├── Light_ColorLight │ ├── Build │ │ ├── Light_ColorLight_JN5168_DR1175.bin │ │ ├── Light_ColorLight_JN5169_DR1175.bin │ │ └── OTABuild │ │ │ ├── LightCreateOtaClient.bat │ │ │ ├── LightCreateOtaEncClient.bat │ │ │ ├── LinkKey_3.txt │ │ │ ├── LinkKey_HA.txt │ │ │ ├── MACAddr_3.txt │ │ │ ├── MACAddr_Dummy.txt │ │ │ ├── configOTA_6x_Cer_Keys_HA_Light.txt │ │ │ └── configOTA_6x_Cer_Keys_HA_Light_Generic.txt │ └── Source │ │ ├── App_Light_ColorLight.c │ │ ├── App_Light_ColorLight.h │ │ └── zcl_options.h ├── Light_ColorTemperatureLight │ ├── Build │ │ ├── Light_ColorTemperatureLight_JN5168_DR1175.bin │ │ ├── Light_ColorTemperatureLight_JN5169_DR1175.bin │ │ └── OTABuild │ │ │ ├── LightCreateOtaClient.bat │ │ │ ├── LightCreateOtaEncClient.bat │ │ │ ├── LinkKey_3.txt │ │ │ ├── LinkKey_HA.txt │ │ │ ├── MACAddr_3.txt │ │ │ ├── MACAddr_Dummy.txt │ │ │ ├── configOTA_6x_Cer_Keys_HA_Light.txt │ │ │ └── configOTA_6x_Cer_Keys_HA_Light_Generic.txt │ └── Source │ │ ├── App_Light_ColorTemperatureLight.c │ │ ├── App_Light_ColorTemperatureLight.h │ │ └── zcl_options.h ├── Light_DimmableLight │ ├── Build │ │ ├── Light_DimmableLight_JN5168_DR1175.bin │ │ ├── Light_DimmableLight_JN5169_DR1175.bin │ │ └── OTABuild │ │ │ ├── LightCreateOtaClient.bat │ │ │ ├── LightCreateOtaEncClient.bat │ │ │ ├── LinkKey_3.txt │ │ │ ├── LinkKey_HA.txt │ │ │ ├── MACAddr_3.txt │ │ │ ├── MACAddr_Dummy.txt │ │ │ ├── configOTA_6x_Cer_Keys_HA_Light.txt │ │ │ └── configOTA_6x_Cer_Keys_HA_Light_Generic.txt │ └── Source │ │ ├── App_Light_DimmableLight.c │ │ ├── App_Light_DimmableLight.h │ │ └── zcl_options.h ├── Light_DimmablePlug │ ├── Build │ │ └── Light_DimmablePlug_JN5169_DR1175.bin │ └── Source │ │ ├── App_Light_DimmablePlug.c │ │ ├── App_Light_DimmablePlug.h │ │ └── zcl_options.h ├── Light_ExtendedColorLight │ ├── Build │ │ ├── Light_ExtendedColorLight_JN5168_DR1175.bin │ │ ├── Light_ExtendedColorLight_JN5169_DR1175.bin │ │ └── OTABuild │ │ │ ├── LightCreateOtaClient.bat │ │ │ ├── LightCreateOtaEncClient.bat │ │ │ ├── LinkKey_3.txt │ │ │ ├── LinkKey_HA.txt │ │ │ ├── MACAddr_3.txt │ │ │ ├── MACAddr_Dummy.txt │ │ │ ├── configOTA_6x_Cer_Keys_HA_Light.txt │ │ │ └── configOTA_6x_Cer_Keys_HA_Light_Generic.txt │ └── Source │ │ ├── App_Light_ExtendedColorLight.c │ │ ├── App_Light_ExtendedColorLight.h │ │ ├── pdum_apdu.S │ │ └── zcl_options.h ├── Light_OnOffLight │ ├── Build │ │ ├── Light_OnOffLight_JN5169_DR1175.bin │ │ └── OTABuild │ │ │ ├── LightCreateOtaClient.bat │ │ │ ├── LightCreateOtaEncClient.bat │ │ │ ├── LinkKey_3.txt │ │ │ ├── LinkKey_HA.txt │ │ │ ├── MACAddr_3.txt │ │ │ ├── MACAddr_Dummy.txt │ │ │ ├── configOTA_6x_Cer_Keys_HA_Light.txt │ │ │ └── configOTA_6x_Cer_Keys_HA_Light_Generic.txt │ └── Source │ │ ├── App_Light_OnOffLight.c │ │ ├── App_Light_OnOffLight.h │ │ └── zcl_options.h ├── Light_OnOffPlug │ ├── Build │ │ ├── APP_stack_size_JN5164.ld │ │ ├── APP_stack_size_JN5168.ld │ │ ├── APP_stack_size_JN5169.ld │ │ ├── App_Overlay_App.ld │ │ └── Light_OnOffPlug_JN5169_DR1175.bin │ └── Source │ │ ├── App_Light_OnOffPlug.c │ │ ├── App_Light_OnOffPlug.h │ │ └── zcl_options.h └── OTAServer │ ├── Build │ ├── Makefile │ ├── OTABuild │ │ ├── CreatOtaServer.bat │ │ ├── LinkKey_HA.txt │ │ ├── MACAddr_Dummy.txt │ │ └── configOTA_6x_Cer_Keys_HA_Server.txt │ └── OTAServer_JN5168.bin │ └── Source │ ├── AgeChildren.c │ ├── AgeChildren.h │ ├── App_OTAServer_JN516x.oscfgdiag │ ├── app_endpoint.c │ ├── app_exceptions.c │ ├── app_exceptions.h │ ├── app_mutex.c │ ├── app_mutex.h │ ├── app_ota_server.c │ ├── app_ota_server.h │ ├── app_pdm.c │ ├── app_pdm.h │ ├── app_start_upgrade_server.c │ ├── app_zbp_utilities.c │ ├── app_zbp_utilities.h │ ├── app_zcl_server_node_task.c │ ├── app_zcl_server_node_task.h │ ├── haEzJoin.c │ ├── haEzJoin.h │ ├── os_msg_types.h │ ├── zcl_options.h │ ├── zha_upgrade_server_node.c │ └── zha_upgrade_server_node.h ├── hardware ├── Prototype │ ├── Board_BOT_v1.0.JPG │ ├── Board_TOP_v1.0.JPG │ ├── IMG_20200211_153621.jpg │ ├── IMG_20200211_153630.jpg │ └── Schema_v1.0.jpg └── prototype │ ├── Board_BOT_v1.0.JPG │ ├── Board_TOP_v1.0.JPG │ ├── IMG_20200211_153621.jpg │ ├── IMG_20200211_153630.jpg │ └── Schema_v1.0.JPG └── sdk ├── Chip ├── Common │ └── Build │ │ ├── config.mk │ │ └── config_ba2.mk ├── JN5161 │ └── Build │ │ ├── AppBuildEnd.ld │ │ ├── AppBuildExceptionHandlers.ld │ │ ├── AppBuildJenNet.ld │ │ ├── AppBuildMac.ld │ │ ├── AppBuildNone.ld │ │ ├── AppBuildStart.ld │ │ ├── BootLoaderFunctions.ld │ │ ├── FixedLocationBootFunctions.ld │ │ └── config_JN5161.mk ├── JN5164 │ └── Build │ │ ├── AppBuildEnd.ld │ │ ├── AppBuildExceptionHandlers.ld │ │ ├── AppBuildJenNet.ld │ │ ├── AppBuildJip.ld │ │ ├── AppBuildMac.ld │ │ ├── AppBuildNone.ld │ │ ├── AppBuildStart.ld │ │ ├── AppBuildZBPro.ld │ │ ├── BootLoaderFunctions.ld │ │ ├── FixedLocationBootFunctions.ld │ │ └── config_JN5164.mk ├── JN5168 │ └── Build │ │ ├── AppBuildEnd.ld │ │ ├── AppBuildExceptionHandlers.ld │ │ ├── AppBuildJenNet.ld │ │ ├── AppBuildJip.ld │ │ ├── AppBuildMac.ld │ │ ├── AppBuildNone.ld │ │ ├── AppBuildStart.ld │ │ ├── AppBuildZBPro.ld │ │ ├── AppBuildZBProOta.ld │ │ ├── AppBuildZBPro_vsr.ld │ │ ├── BootLoaderFunctions.ld │ │ ├── FixedLocationBootFunctions.ld │ │ └── config_JN5168.mk └── JN5169 │ └── Build │ ├── AppBuildEnd.ld │ ├── AppBuildExceptionHandlers.ld │ ├── AppBuildJenNet.ld │ ├── AppBuildJip.ld │ ├── AppBuildMac.ld │ ├── AppBuildNone.ld │ ├── AppBuildStart.ld │ ├── AppBuildZBPro.ld │ ├── AppBuildZBProOta.ld │ ├── AppBuildZBPro_vsr.ld │ ├── BootLoaderFunctions.ld │ ├── FixedLocationBootFunctions.ld │ └── config_JN5169.mk ├── Components ├── AES_SW │ └── Include │ │ └── aessw_ccm.h ├── Aes │ └── Include │ │ └── AHI_AES.h ├── AppApi │ └── Include │ │ ├── AppApi.h │ │ ├── AppApi_JN5161.h │ │ ├── AppApi_JN5164.h │ │ ├── AppApi_JN5168.h │ │ ├── AppApi_JN5169.h │ │ └── AppApi_JN516x.h ├── AppQueueApi │ ├── Include │ │ └── AppQueueApi.h │ └── Source │ │ └── AppQueueApi.c ├── Boot │ └── Include │ │ ├── Heap.h │ │ └── RunTimeConfig.h ├── Common │ └── Include │ │ └── jendefs.h ├── DBG │ └── Include │ │ ├── dbg.h │ │ ├── dbg_jtag.h │ │ └── dbg_uart.h ├── HardwareAPI │ ├── Include │ │ ├── AHI_ModuleConfiguration.h │ │ ├── AppFlashPoll.h │ │ ├── AppHardwareApi.h │ │ ├── AppHardwareApi_JN5161.h │ │ ├── AppHardwareApi_JN5164.h │ │ ├── AppHardwareApi_JN5168.h │ │ ├── AppHardwareApi_JN5169.h │ │ ├── AppHardwareApi_JN516x.h │ │ ├── PeripheralRegs.h │ │ ├── PeripheralRegs_JN5161.h │ │ ├── PeripheralRegs_JN5164.h │ │ ├── PeripheralRegs_JN5168.h │ │ ├── PeripheralRegs_JN5169.h │ │ └── PeripheralRegs_JN516x.h │ └── Source │ │ └── AHI_ModuleConfiguration.c ├── Library │ ├── libAES_SW_JN516x.a │ ├── libAes_JN516x.a │ ├── libAppApi_JN5169.a │ ├── libAppApi_JN516x.a │ ├── libAppQueueApi_JN516x.a │ ├── libBoot_JN516x.a │ ├── libDBG_JN516x.a │ ├── libHardwareApi_JN5169.a │ ├── libHardwareApi_JN516x.a │ ├── libJPT_JN5161.a │ ├── libJPT_JN5164.a │ ├── libJPT_JN5168.a │ ├── libJPT_JN5169.a │ ├── libMAC_JN5169.a │ ├── libMAC_JN516x.a │ ├── libMMAC_JN5169.a │ ├── libMMAC_JN516x.a │ ├── libMicroSpecific_JN516x.a │ ├── libMiniMacShim_JN516x.a │ ├── libMiniMac_JN5169.a │ ├── libMiniMac_JN516x.a │ ├── libOS_JN516x.a │ ├── libPDM_EEPROM_JN516x.a │ ├── libPDUM_JN516x.a │ ├── libPWRM_JN516x.a │ ├── libRandom_JN516x.a │ ├── libRecal_JN516x.a │ ├── libTOF_JN516x.a │ ├── libTimerServer_JN516x.a │ ├── libXcv_JN5169.a │ ├── libXcv_JN516x.a │ ├── libZPSAPL_JN516x.a │ ├── libZPSAPL_ZCP-GU_JN516x.a │ ├── libZPSGP_JN516x.a │ ├── libZPSGP_ZED_JN516x.a │ ├── libZPSMAC_Mini_JN516x.a │ ├── libZPSNWK_JN516x.a │ ├── libZPSNWK_ZED_JN516x.a │ ├── libZPSTSV_JN516x.a │ ├── libZPSZLL_JN516x.a │ └── libZPSZLL_ZED_JN516x.a ├── MAC │ └── Include │ │ ├── mac_config.h │ │ ├── mac_pib.h │ │ ├── mac_pib_CombinedMac.h │ │ ├── mac_pib_MiniMac.h │ │ ├── mac_pib_MiniMacShim.h │ │ ├── mac_pib_SingleMac.h │ │ ├── mac_pub.h │ │ ├── mac_sap.h │ │ ├── mac_sap_CombinedMac.h │ │ ├── mac_sap_MiniMac.h │ │ ├── mac_sap_MiniMacShim.h │ │ └── mac_sap_SingleMac.h ├── MMAC │ └── Include │ │ └── MMAC.h ├── MicroSpecific │ └── Include │ │ ├── MicroInt.h │ │ ├── MicroSpecific.h │ │ ├── MicroSpecific_JN516x.h │ │ └── MicroSpecific_ba.h ├── MiniMAC │ ├── Build │ │ └── Makefile_shim │ ├── Include │ │ ├── MiniMac.h │ │ ├── MiniMac_AppApiShim.h │ │ └── MiniMac_Pib.h │ ├── Library │ │ └── .gitignore │ └── Source │ │ └── Mini_Shim.c ├── OS │ └── Include │ │ └── os.h ├── PDM │ └── Include │ │ ├── EEP.h │ │ ├── PDM.h │ │ └── pdm_flash.h ├── PDUM │ └── Include │ │ ├── pdum_apl.h │ │ ├── pdum_common.h │ │ └── pdum_nwk.h ├── PWRM │ └── Include │ │ └── pwrm.h ├── ProductionTestApi │ └── Include │ │ └── JPT.h ├── Random │ └── Include │ │ └── rnd_pub.h ├── Recal │ └── Include │ │ └── recal.h ├── TOF │ └── Include │ │ ├── AppApiTof.h │ │ └── TOF.h ├── TimerServer │ └── Include │ │ └── tsv_pub.h ├── Utilities │ ├── Include │ │ ├── HyperterminalPrint.h │ │ ├── Printf.h │ │ ├── SystemPrint.h │ │ ├── Utilities.h │ │ ├── appZdpExtraction.h │ │ ├── appZpsBeaconHandler.h │ │ ├── app_timer_driver.h │ │ └── utils_pub.h │ └── Source │ │ ├── NumToString.c │ │ ├── Printf.c │ │ ├── UartPrint.c │ │ ├── appZdpExtraction.c │ │ ├── appZpsBeaconHandler.c │ │ ├── appZpsExtendedDebug.c │ │ ├── app_timer_driver.c │ │ ├── memcmp.c │ │ ├── memcpy.c │ │ ├── memset.c │ │ ├── version.h │ │ └── version.template ├── Xcv │ └── Include │ │ ├── BbcAndPhyRegs.h │ │ ├── xcv_pub.h │ │ └── xcv_reg.h ├── ZCL │ ├── Clusters │ │ ├── EnergyAtHome │ │ │ ├── Include │ │ │ │ ├── ApplianceControl.h │ │ │ │ ├── ApplianceEventsAndAlerts.h │ │ │ │ ├── ApplianceIdentification.h │ │ │ │ ├── ApplianceStatistics.h │ │ │ │ └── PowerProfile.h │ │ │ └── Source │ │ │ │ ├── ApplianceControl.c │ │ │ │ ├── ApplianceControlClientCommands.c │ │ │ │ ├── ApplianceControlCommandHandler.c │ │ │ │ ├── ApplianceControlServerCommands.c │ │ │ │ ├── ApplianceControl_internal.h │ │ │ │ ├── ApplianceEventsAndAlerts.c │ │ │ │ ├── ApplianceEventsAndAlertsClientCommands.c │ │ │ │ ├── ApplianceEventsAndAlertsCommandHandler.c │ │ │ │ ├── ApplianceEventsAndAlertsServerCommands.c │ │ │ │ ├── ApplianceEventsAndAlerts_internal.h │ │ │ │ ├── ApplianceIdentification.c │ │ │ │ ├── ApplianceStatistics.c │ │ │ │ ├── ApplianceStatisticsClientCommands.c │ │ │ │ ├── ApplianceStatisticsCommandHandler.c │ │ │ │ ├── ApplianceStatisticsServerCommands.c │ │ │ │ ├── ApplianceStatistics_internal.h │ │ │ │ ├── PowerProfile.c │ │ │ │ ├── PowerProfileClientCommands.c │ │ │ │ ├── PowerProfileCommandHandler.c │ │ │ │ ├── PowerProfileServerCommands.c │ │ │ │ └── PowerProfile_internal.h │ │ ├── General │ │ │ ├── Include │ │ │ │ ├── Alarms.h │ │ │ │ ├── AnalogInputBasic.h │ │ │ │ ├── AnalogOutputBasic.h │ │ │ │ ├── Basic.h │ │ │ │ ├── BinaryInputBasic.h │ │ │ │ ├── BinaryOutputBasic.h │ │ │ │ ├── Commissioning.h │ │ │ │ ├── DeviceTemperatureConfiguration.h │ │ │ │ ├── Diagnostics.h │ │ │ │ ├── DoorLock.h │ │ │ │ ├── ElectricalMeasurement.h │ │ │ │ ├── Groups.h │ │ │ │ ├── Identify.h │ │ │ │ ├── LevelControl.h │ │ │ │ ├── MultistateInputBasic.h │ │ │ │ ├── MultistateOutputBasic.h │ │ │ │ ├── OOSC.h │ │ │ │ ├── OnOff.h │ │ │ │ ├── PollControl.h │ │ │ │ ├── PowerConfiguration.h │ │ │ │ ├── Scenes.h │ │ │ │ ├── TC.h │ │ │ │ ├── Time.h │ │ │ │ └── hh_doorlock.h │ │ │ └── Source │ │ │ │ ├── Alarms.c │ │ │ │ ├── AlarmsClientCommands.c │ │ │ │ ├── AlarmsCommandHandler.c │ │ │ │ ├── AlarmsServerCommands.c │ │ │ │ ├── AlarmsTableManager.c │ │ │ │ ├── Alarms_internal.h │ │ │ │ ├── AnalogInputBasic.c │ │ │ │ ├── AnalogInputBasic_internal.h │ │ │ │ ├── AnalogOutputBasic.c │ │ │ │ ├── AnalogOutputBasic_internal.h │ │ │ │ ├── Basic.c │ │ │ │ ├── BasicClientCommands.c │ │ │ │ ├── BasicCommandHandler.c │ │ │ │ ├── Basic_internal.h │ │ │ │ ├── BinaryInputBasic.c │ │ │ │ ├── BinaryInputBasic_internal.h │ │ │ │ ├── BinaryOutputBasic.c │ │ │ │ ├── BinaryOutputBasic_internal.h │ │ │ │ ├── Commissioning.c │ │ │ │ ├── DeviceTemperatureConfiguration.c │ │ │ │ ├── Diagnostics.c │ │ │ │ ├── DoorLock.c │ │ │ │ ├── DoorLockCommandHandler.c │ │ │ │ ├── DoorLockCommands.c │ │ │ │ ├── DoorLock_internal.h │ │ │ │ ├── ElectricalMeasurement.c │ │ │ │ ├── Groups.c │ │ │ │ ├── GroupsClientCommands.c │ │ │ │ ├── GroupsCommandHandler.c │ │ │ │ ├── GroupsServerCommands.c │ │ │ │ ├── GroupsTableManager.c │ │ │ │ ├── Groups_internal.h │ │ │ │ ├── HhDoorLockCommandHandler.c │ │ │ │ ├── HhDoorLockCommands.c │ │ │ │ ├── HhDoorLock_internal.h │ │ │ │ ├── Identify.c │ │ │ │ ├── IdentifyClientCommands.c │ │ │ │ ├── IdentifyCommandHandler.c │ │ │ │ ├── IdentifyServerCommands.c │ │ │ │ ├── Identify_internal.h │ │ │ │ ├── LevelControl.c │ │ │ │ ├── LevelControlClientCommands.c │ │ │ │ ├── LevelControlCommandHandler.c │ │ │ │ ├── LevelControl_internal.h │ │ │ │ ├── MultistateInputBasic.c │ │ │ │ ├── MultistateInputBasic_internal.h │ │ │ │ ├── MultistateOutputBasic.c │ │ │ │ ├── MultistateOutputBasic_internal.h │ │ │ │ ├── OOSC.c │ │ │ │ ├── OnOff.c │ │ │ │ ├── OnOffCommandHandler.c │ │ │ │ ├── OnOffCommands.c │ │ │ │ ├── OnOff_internal.h │ │ │ │ ├── PollControl.c │ │ │ │ ├── PollControlClientCommands.c │ │ │ │ ├── PollControlCommandHandler.c │ │ │ │ ├── PollControlServerCommands.c │ │ │ │ ├── PollControl_internal.h │ │ │ │ ├── PowerConfiguration.c │ │ │ │ ├── Scenes.c │ │ │ │ ├── ScenesClientCommands.c │ │ │ │ ├── ScenesClusterManagement.c │ │ │ │ ├── ScenesCommandHandler.c │ │ │ │ ├── ScenesServerCommands.c │ │ │ │ ├── ScenesTableManager.c │ │ │ │ ├── Scenes_internal.h │ │ │ │ ├── TC.c │ │ │ │ ├── Time.c │ │ │ │ └── hh_doorlock.c │ │ ├── GreenPower │ │ │ ├── Include │ │ │ │ └── GreenPower.h │ │ │ └── Source │ │ │ │ ├── GreenPower.c │ │ │ │ ├── GreenPowerCommissioningNotification.c │ │ │ │ ├── GreenPowerCommon.c │ │ │ │ ├── GreenPowerCustomCommandHandler.c │ │ │ │ ├── GreenPowerCustomCommandResponses.c │ │ │ │ ├── GreenPowerDataIndication.c │ │ │ │ ├── GreenPowerDirectCommandHandler.c │ │ │ │ ├── GreenPowerNotification.c │ │ │ │ ├── GreenPowerPairing.c │ │ │ │ ├── GreenPowerPairingConfiguration.c │ │ │ │ ├── GreenPowerPairingSearch.c │ │ │ │ ├── GreenPowerProxyCommissioningMode.c │ │ │ │ ├── GreenPowerResponse.c │ │ │ │ ├── GreenPowerScheduler.c │ │ │ │ ├── GreenPowerTranslationTableRequest.c │ │ │ │ ├── GreenPowerTranslationTableResponse.c │ │ │ │ ├── GreenPowerTranslationTableUpdate.c │ │ │ │ └── GreenPower_internal.h │ │ ├── HVAC │ │ │ ├── Include │ │ │ │ ├── FanControl.h │ │ │ │ ├── Thermostat.h │ │ │ │ └── ThermostatUIConfig.h │ │ │ └── Source │ │ │ │ ├── FanControl.c │ │ │ │ ├── Thermostat.c │ │ │ │ ├── ThermostatCommandHandler.c │ │ │ │ ├── ThermostatCommands.c │ │ │ │ ├── ThermostatUIConfig.c │ │ │ │ └── Thermostat_internal.h │ │ ├── IAS │ │ │ ├── Include │ │ │ │ ├── IASACE.h │ │ │ │ ├── IASWD.h │ │ │ │ └── IASZone.h │ │ │ └── Source │ │ │ │ ├── IASACE.c │ │ │ │ ├── IASACEClientCommands.c │ │ │ │ ├── IASACECommandHandler.c │ │ │ │ ├── IASACEServerCommands.c │ │ │ │ ├── IASACE_internal.h │ │ │ │ ├── IASWD.c │ │ │ │ ├── IASWDCommandHandler.c │ │ │ │ ├── IASWDCommands.c │ │ │ │ ├── IASWD_internal.h │ │ │ │ ├── IASZone.c │ │ │ │ ├── IASZoneCommandHandler.c │ │ │ │ ├── IASZoneCommands.c │ │ │ │ └── IASZone_internal.h │ │ ├── LightLink │ │ │ ├── Include │ │ │ │ ├── zll_commission.h │ │ │ │ └── zll_utility.h │ │ │ └── Source │ │ │ │ ├── zll_CommissionCmdHandler.c │ │ │ │ ├── zll_UtilityCmdHandler.c │ │ │ │ ├── zll_commission.c │ │ │ │ └── zll_utility.c │ │ ├── Lighting │ │ │ ├── Include │ │ │ │ ├── BallastConfiguration.h │ │ │ │ └── ColourControl.h │ │ │ └── Source │ │ │ │ ├── BallastConfiguration.c │ │ │ │ ├── ColourControl.c │ │ │ │ ├── ColourControlClientCommands.c │ │ │ │ ├── ColourControlCommandHandler.c │ │ │ │ ├── ColourControlConversions.c │ │ │ │ └── ColourControl_internal.h │ │ ├── MeasurementAndSensing │ │ │ ├── Include │ │ │ │ ├── FlowMeasurement.h │ │ │ │ ├── IlluminanceLevelSensing.h │ │ │ │ ├── IlluminanceMeasurement.h │ │ │ │ ├── OccupancySensing.h │ │ │ │ ├── PressureMeasurement.h │ │ │ │ ├── RelativeHumidityMeasurement.h │ │ │ │ └── TemperatureMeasurement.h │ │ │ └── Source │ │ │ │ ├── FlowMeasurement.c │ │ │ │ ├── IlluminanceLevelSensing.c │ │ │ │ ├── IlluminanceMeasurement.c │ │ │ │ ├── OccupancySensing.c │ │ │ │ ├── PressureMeasurement.c │ │ │ │ ├── RelativeHumidityMeasurement.c │ │ │ │ └── TemperatureMeasurement.c │ │ ├── OTA │ │ │ ├── Include │ │ │ │ └── OTA.h │ │ │ └── Source │ │ │ │ ├── OTA.c │ │ │ │ ├── OTA_ClientUpgradeManager.c │ │ │ │ ├── OTA_CustomCommandHandler.c │ │ │ │ ├── OTA_CustomReceiveCommands.c │ │ │ │ ├── OTA_ServerUpgradeManager.c │ │ │ │ ├── OTA_client.c │ │ │ │ ├── OTA_common.c │ │ │ │ ├── OTA_private.h │ │ │ │ └── OTA_server.c │ │ └── SmartEnergy │ │ │ ├── Include │ │ │ ├── DRLC.h │ │ │ ├── Price.h │ │ │ ├── SimpleMetering.h │ │ │ └── SimpleMeteringAttributeCount.h │ │ │ └── Source │ │ │ ├── DRLC.c │ │ │ ├── DRLCCommandCanceAlllLoadControlEvents.c │ │ │ ├── DRLCCommandCancelLoadControlEvent.c │ │ │ ├── DRLCCommandGetScheduledEvents.c │ │ │ ├── DRLCCommandHandler.c │ │ │ ├── DRLCCommandLoadControlEvent.c │ │ │ ├── DRLCCommandReportEventStatus.c │ │ │ ├── DRLCCustomCommandResponsesClient.c │ │ │ ├── DRLCCustomCommandResponsesServer.c │ │ │ ├── DRLCEffectiveTime.c │ │ │ ├── DRLCScheduler.c │ │ │ ├── DRLCTableManagerNoMutex.c │ │ │ ├── DRLCTableManagerServer.c │ │ │ ├── DRLCUserEventOptInOut.c │ │ │ ├── DRLC_internal.h │ │ │ ├── Price.c │ │ │ ├── PriceBlockPeriodTableManager.c │ │ │ ├── PriceCalorificValueTableManager.c │ │ │ ├── PriceCommandGetBlockPeriod.c │ │ │ ├── PriceCommandGetCalorificValue.c │ │ │ ├── PriceCommandGetConversionFactor.c │ │ │ ├── PriceCommandGetCurrentPrice.c │ │ │ ├── PriceCommandGetScheduledPrices.c │ │ │ ├── PriceCommandPriceAck.c │ │ │ ├── PriceCommandPublishBlockPeriod.c │ │ │ ├── PriceCommandPublishBlockPeriodReceive.c │ │ │ ├── PriceCommandPublishCalorificValue.c │ │ │ ├── PriceCommandPublishCalorificValueReceive.c │ │ │ ├── PriceCommandPublishConversionFactor.c │ │ │ ├── PriceCommandPublishConversionFactorReceive.c │ │ │ ├── PriceCommandPublishPrice.c │ │ │ ├── PriceCommandPublishPriceReceive.c │ │ │ ├── PriceConversionFactorTableManager.c │ │ │ ├── PriceCustomCommandHandler.c │ │ │ ├── PriceCustomCommandResponses.c │ │ │ ├── PriceScheduler.c │ │ │ ├── PriceServerAttributeManager.c │ │ │ ├── PriceTableManager.c │ │ │ ├── Price_internal.h │ │ │ ├── SimpleMetering.c │ │ │ ├── SimpleMeteringCommandHandler.c │ │ │ ├── SimpleMetering_SendRequest.c │ │ │ └── SimpleMetering_internal.h │ ├── Include │ │ ├── dlist.h │ │ ├── version.h │ │ ├── zcl.h │ │ ├── zcl_customcommand.h │ │ ├── zcl_heap.h │ │ └── zcl_internal_library_options.h │ ├── Profiles │ │ ├── GP │ │ │ ├── Include │ │ │ │ └── gp.h │ │ │ └── Source │ │ │ │ └── gp.c │ │ ├── HA │ │ │ ├── Common │ │ │ │ ├── Include │ │ │ │ │ └── ha.h │ │ │ │ └── Source │ │ │ │ │ └── ha.c │ │ │ ├── EnergyAtHome │ │ │ │ ├── Include │ │ │ │ │ ├── home_gateway.h │ │ │ │ │ └── white_goods.h │ │ │ │ └── Source │ │ │ │ │ ├── home_gateway.c │ │ │ │ │ └── white_goods.c │ │ │ ├── Generic │ │ │ │ ├── Include │ │ │ │ │ ├── door_lock.h │ │ │ │ │ ├── door_lock_controller.h │ │ │ │ │ ├── mains_power_outlet.h │ │ │ │ │ ├── on_off_output.h │ │ │ │ │ ├── on_off_switch.h │ │ │ │ │ ├── plug_control.h │ │ │ │ │ ├── remote_control.h │ │ │ │ │ ├── simple_sensor.h │ │ │ │ │ └── smart_plug.h │ │ │ │ └── Source │ │ │ │ │ ├── door_lock.c │ │ │ │ │ ├── door_lock_controller.c │ │ │ │ │ ├── mains_power_outlet.c │ │ │ │ │ ├── on_off_output.c │ │ │ │ │ ├── on_off_switch.c │ │ │ │ │ ├── plug_control.c │ │ │ │ │ ├── remote_control.c │ │ │ │ │ ├── simple_sensor.c │ │ │ │ │ └── smart_plug.c │ │ │ ├── HVAC │ │ │ │ ├── Include │ │ │ │ │ ├── temperature_sensor.h │ │ │ │ │ └── thermostat_device.h │ │ │ │ └── Source │ │ │ │ │ ├── temperature_sensor.c │ │ │ │ │ └── thermostat_device.c │ │ │ ├── IAS │ │ │ │ ├── Include │ │ │ │ │ ├── ancillary_control_equipment.h │ │ │ │ │ ├── control_and_indicating_equipment.h │ │ │ │ │ ├── warning_device.h │ │ │ │ │ └── zone.h │ │ │ │ └── Source │ │ │ │ │ ├── ancillary_control_equipment.c │ │ │ │ │ ├── control_and_indicating_equipment.c │ │ │ │ │ ├── warning_device.c │ │ │ │ │ └── zone.c │ │ │ └── Lighting │ │ │ │ ├── Include │ │ │ │ ├── colour_dimmable_light.h │ │ │ │ ├── colour_dimmer_switch.h │ │ │ │ ├── dimmable_light.h │ │ │ │ ├── dimmer_switch.h │ │ │ │ ├── light_sensor.h │ │ │ │ ├── occupancy_sensor.h │ │ │ │ ├── on_off_light.h │ │ │ │ └── on_off_light_switch.h │ │ │ │ └── Source │ │ │ │ ├── colour_dimmable_light.c │ │ │ │ ├── colour_dimmer_switch.c │ │ │ │ ├── dimmable_light.c │ │ │ │ ├── dimmer_switch.c │ │ │ │ ├── light_sensor.c │ │ │ │ ├── occupancy_sensor.c │ │ │ │ ├── on_off_light.c │ │ │ │ └── on_off_light_switch.c │ │ └── ZLL │ │ │ ├── Include │ │ │ ├── colour_light.h │ │ │ ├── colour_remote.h │ │ │ ├── colour_scene_remote.h │ │ │ ├── colour_temperature_light.h │ │ │ ├── commission_endpoint.h │ │ │ ├── control_bridge.h │ │ │ ├── dimmable_light.h │ │ │ ├── dimmable_plug.h │ │ │ ├── extended_colour_light.h │ │ │ ├── non_colour_remote.h │ │ │ ├── non_colour_scene_remote.h │ │ │ ├── on_off_light.h │ │ │ ├── on_off_plug.h │ │ │ ├── on_off_sensor.h │ │ │ └── zll.h │ │ │ └── Source │ │ │ ├── colour_light.c │ │ │ ├── colour_remote.c │ │ │ ├── colour_scene_remote.c │ │ │ ├── colour_temperature_light.c │ │ │ ├── commission_endpoint.c │ │ │ ├── control_bridge.c │ │ │ ├── dimmable_light.c │ │ │ ├── dimmable_plug.c │ │ │ ├── extended_colour_light.c │ │ │ ├── non_colour_remote.c │ │ │ ├── non_colour_scene_remote.c │ │ │ ├── on_off_light.c │ │ │ ├── on_off_plug.c │ │ │ ├── on_off_sensor.c │ │ │ └── zll.c │ └── Source │ │ ├── dlist.c │ │ ├── version.template │ │ ├── zcl.c │ │ ├── zcl_CustomCommandReceive.c │ │ ├── zcl_CustomCommandSend.c │ │ ├── zcl_PDUbufferReadWrite.c │ │ ├── zcl_PDUbufferReadWriteString.c │ │ ├── zcl_WriteAttributesRequestHandle.c │ │ ├── zcl_WriteAttributesRequestSend.c │ │ ├── zcl_WriteAttributesResponseHandle.c │ │ ├── zcl_attribute.c │ │ ├── zcl_buffer.c │ │ ├── zcl_clusterCommand.c │ │ ├── zcl_command.c │ │ ├── zcl_common.h │ │ ├── zcl_configureReportingCommandHandle.c │ │ ├── zcl_configureReportingCommandSend.c │ │ ├── zcl_configureReportingResponseHandle.c │ │ ├── zcl_defaultResponse.c │ │ ├── zcl_discoverAttributesExtendedRequestHandle.c │ │ ├── zcl_discoverAttributesExtendedRequestSend.c │ │ ├── zcl_discoverAttributesExtendedResponseHandle.c │ │ ├── zcl_discoverAttributesRequestHandle.c │ │ ├── zcl_discoverAttributesRequestSend.c │ │ ├── zcl_discoverAttributesResponseHandle.c │ │ ├── zcl_discoverCommandsRequestHandle.c │ │ ├── zcl_discoverCommandsRequestSend.c │ │ ├── zcl_discoverCommandsResponseHandle.c │ │ ├── zcl_event.c │ │ ├── zcl_heap.c │ │ ├── zcl_internal.h │ │ ├── zcl_library_options.c │ │ ├── zcl_readAttributesRequestHandle.c │ │ ├── zcl_readAttributesRequestSend.c │ │ ├── zcl_readAttributesResponseHandle.c │ │ ├── zcl_readReportingConfigurationCommandHandle.c │ │ ├── zcl_readReportingConfigurationCommandSend.c │ │ ├── zcl_readReportingConfigurationResponseHandle.c │ │ ├── zcl_reportManager.c │ │ ├── zcl_reportMaths.c │ │ ├── zcl_reportScheduler.c │ │ ├── zcl_reportStringHandling.c │ │ ├── zcl_reportStructure.c │ │ ├── zcl_search.c │ │ ├── zcl_timer.c │ │ └── zcl_transmit.c ├── ZPSAPL │ └── Include │ │ ├── zps_apl.h │ │ ├── zps_apl_af.h │ │ ├── zps_apl_aib.h │ │ ├── zps_apl_aps.h │ │ ├── zps_apl_zdo.h │ │ └── zps_apl_zdp.h ├── ZPSMAC │ └── Include │ │ ├── mac_vs_sap.h │ │ └── zps_mac.h ├── ZPSNWK │ └── Include │ │ ├── zps_nwk_config.h │ │ ├── zps_nwk_mac_sap.h │ │ ├── zps_nwk_nib.h │ │ ├── zps_nwk_pub.h │ │ ├── zps_nwk_sap.h │ │ ├── zps_nwk_sec.h │ │ └── zps_nwk_slist.h └── ZPSTSV │ └── Include │ └── zps_tsv.h ├── Platform ├── Common │ ├── Build │ │ └── config.mk │ └── Include │ │ ├── LcdDraw.h │ │ ├── LcdExtras.h │ │ ├── LcdFont.h │ │ └── NXPLogo.h ├── DK2 │ ├── Build │ │ └── PlatformConfig.mk │ ├── Include │ │ ├── 24xx01.h │ │ ├── AlsDriver.h │ │ ├── Button.h │ │ ├── HtsDriver.h │ │ ├── LcdDriver.h │ │ ├── LedControl.h │ │ ├── MCP9803.h │ │ ├── SMBus.h │ │ └── TSL2550.h │ └── Library │ │ └── libBoardLib_JN516x.a ├── DK3 │ ├── Build │ │ └── PlatformConfig.mk │ ├── Include │ │ ├── Button.h │ │ ├── LcdDriver.h │ │ └── NXPLogo.h │ └── Library │ │ └── libBoardLib_JN516x.a └── DK4 │ ├── Build │ ├── AllBoardLibs.mk │ ├── BoardLib_JN516x.mk │ ├── PlatformConfig.mk │ └── boardbuild_6x.sh │ ├── Include │ ├── AlsDriver.h │ ├── Button.h │ ├── GenericBoard.h │ ├── HtsDriver.h │ ├── LcdDriver.h │ ├── LedControl.h │ ├── LightingBoard.h │ ├── NXPLogo.h │ ├── PCA9634.h │ ├── PlatformDIOAssignments.h │ ├── SMBus.h │ └── TSL2550.h │ └── Library │ └── libBoardLib_JN516x.a ├── Stack ├── Common │ └── Build │ │ └── config.mk ├── MAC │ └── Build │ │ └── config_MAC.mk ├── None │ └── Build │ │ └── config_None.mk ├── ZBPro │ └── Build │ │ └── config_ZBPro.mk └── ZLLHA │ └── Build │ ├── AppBuildZLLHADep_JN5168.ld │ ├── AppBuildZLLHADep_JN5169.ld │ ├── AppBuildZLLHA_JN5168.ld │ ├── AppBuildZLLHA_JN5169.ld │ └── config_ZLLHA.mk ├── Tools ├── Eclipse_plugins │ └── com.nxp.sdk.update_site │ │ ├── artifacts.jar │ │ ├── content.jar │ │ ├── features │ │ ├── com.jennic.sdk.rtos.external.feature_1.2.3.jar │ │ └── com.jennic.sdk.zbpro.external.feature_1.2.4.jar │ │ ├── index.html │ │ ├── plugins │ │ ├── com.jennic.OSConfigDiagramEditor.diagram_1.2.3.jar │ │ ├── com.jennic.OSConfigDiagramEditor.edit_1.2.3.jar │ │ ├── com.jennic.OSConfigDiagramEditor_1.2.3.jar │ │ ├── com.jennic.zps.configeditor.edit_1.2.4.jar │ │ ├── com.jennic.zps.configeditor.editor_1.2.4.jar │ │ └── com.jennic.zps.configeditor_1.2.4.jar │ │ └── web │ │ ├── site.css │ │ └── site.xsl ├── JennicSniffer │ ├── JennicSniffer_JN5168_1000000.bin │ ├── JennicSniffer_JN5168_1000000_HP.bin │ ├── JennicSniffer_JN5169_1000000.bin │ └── JennicSniffer_JN5169_1000000_HP.bin ├── OSConfig │ └── bin │ │ ├── MSVCR71.dll │ │ ├── OSConfig.exe │ │ └── w9xpopen.exe ├── OTAUtils │ ├── JET.exe │ ├── MSVCR71.dll │ └── w9xpopen.exe ├── PDUMConfig │ └── bin │ │ ├── MSVCR71.dll │ │ ├── PDUMConfig.exe │ │ └── w9xpopen.exe └── ZPSConfig │ └── bin │ ├── MSVCR71.dll │ ├── ZPSConfig.exe │ └── w9xpopen.exe ├── Uninstall.exe └── build.txt /Lifesmart cololight controled.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/Lifesmart cololight controled.jpg -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # ZigLight 2 | 3 | With this, you will control any kind of WS2812 Leds with zigbee protocol. 4 | If you get a Philips Hue or ZiGate gateway, you could play with your strip or other LEDs stuff 5 | 6 | This project use NXP JN5168 ZigBee module. 7 | 8 | You can buy here : https://lixee.fr/produits/28-ziglight-controleur-leds-ws2812-3770014375063.html 9 |
or follow how to here : https://faire-ca-soi-meme.fr/projets/2020/02/20/controleur-leds-compatible-zigbee/ 10 | 11 | Vidéo : 12 | [![Watch the video](https://img.youtube.com/vi/ZlssjOw1DXE/maxresdefault.jpg)](https://youtu.be/ZlssjOw1DXE) 13 | 14 |


15 | 16 | ## Install 17 | In progress 18 | 19 | ## Hardware 20 | In progress 21 | 22 | ## Version v0.4 23 | 24 | * Fix twinkle leds 25 | * Fix radio sensivity and txPower 26 | 27 | ## Version v0.3 28 | 29 | * Add blue led status. Specially blink led when commissioning mode is actived or when device has joined network 30 | * Add button function. Simple clic toggle the WS2812 LEDs 31 | * Fix channels to 11,15,20,25,26 32 | 33 | ## Version v0.2 34 | 35 | * Add button compatibility for reset factory 36 | * Fix number of LEDs --> 720 drivable LEDs 37 | * Fix WS2812 driver (stability) 38 | * Fix color for identify command 39 | 40 | ## Version v0.1 41 | 42 | * Add Philips Hue differents key to be compatible 43 | * Add WS2812 driver in Makefile 44 | * Modify module to JN5168 in Makefile 45 | * Link to the right SDK JN-SW-4168 46 | 47 | ## Version initiale 48 | This is the JN-AN-1171-ZigBee-LightLink-Demo application note from NXP website 49 | -------------------------------------------------------------------------------- /Screenshot philips hue appairage.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/Screenshot philips hue appairage.jpg -------------------------------------------------------------------------------- /firmware/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | JN-AN-1171-ZigBee-LightLink-Demo 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.cdt.managedbuilder.core.genmakebuilder 10 | clean,full,incremental, 11 | 12 | 13 | ?name? 14 | 15 | 16 | 17 | org.eclipse.cdt.make.core.append_environment 18 | true 19 | 20 | 21 | org.eclipse.cdt.make.core.autoBuildTarget 22 | all 23 | 24 | 25 | org.eclipse.cdt.make.core.buildArguments 26 | LIGHT=Light_ExtendedColorLight 27 | 28 | 29 | org.eclipse.cdt.make.core.buildCommand 30 | make 31 | 32 | 33 | org.eclipse.cdt.make.core.buildLocation 34 | ${ProjDirPath}/Common_Light/Build/ 35 | 36 | 37 | org.eclipse.cdt.make.core.cleanBuildTarget 38 | clean 39 | 40 | 41 | org.eclipse.cdt.make.core.contents 42 | org.eclipse.cdt.make.core.activeConfigSettings 43 | 44 | 45 | org.eclipse.cdt.make.core.enableAutoBuild 46 | false 47 | 48 | 49 | org.eclipse.cdt.make.core.enableCleanBuild 50 | true 51 | 52 | 53 | org.eclipse.cdt.make.core.enableFullBuild 54 | true 55 | 56 | 57 | org.eclipse.cdt.make.core.fullBuildTarget 58 | all 59 | 60 | 61 | org.eclipse.cdt.make.core.stopOnError 62 | true 63 | 64 | 65 | org.eclipse.cdt.make.core.useDefaultBuildCmd 66 | false 67 | 68 | 69 | 70 | 71 | org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder 72 | 73 | 74 | 75 | 76 | 77 | org.eclipse.cdt.managedbuilder.core.ScannerConfigNature 78 | org.eclipse.cdt.managedbuilder.core.managedBuildNature 79 | org.eclipse.cdt.core.cnature 80 | 81 | 82 | -------------------------------------------------------------------------------- /firmware/Common/Source/os_msg_types.h: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * MODULE: JN-AN-1171 4 | * 5 | * COMPONENT: os_msg_types.c 6 | * 7 | * DESCRIPTION: RTOS message types - Interfaces 8 | * 9 | **************************************************************************** 10 | * 11 | * This software is owned by NXP B.V. and/or its supplier and is protected 12 | * under applicable copyright laws. All rights are reserved. We grant You, 13 | * and any third parties, a license to use this software solely and 14 | * exclusively on NXP products [NXP Microcontrollers such as JN5168, JN5164, 15 | * JN5161, JN5148, JN5142, JN5139]. 16 | * You, and any third parties must reproduce the copyright and warranty notice 17 | * and any other legend of ownership on each copy or partial copy of the 18 | * software. 19 | * 20 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 21 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 22 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 23 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 24 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 25 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 26 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 27 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 28 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 29 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 30 | * POSSIBILITY OF SUCH DAMAGE. 31 | * 32 | * Copyright NXP B.V. 2012. All rights reserved 33 | * 34 | ***************************************************************************/ 35 | 36 | #ifndef MSG_TYPES_H_ 37 | #define MSG_TYPES_H_ 38 | 39 | #include "jendefs.h" 40 | #include "pdum_apl.h" 41 | #include "zps_apl_af.h" 42 | #include "app_events.h" 43 | 44 | 45 | #endif /*MSG_TYPES_H_*/ 46 | -------------------------------------------------------------------------------- /firmware/Common_Controller/Build/BuildAllControllers.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | #Usage below 3 | # 1. make sure that environment Path variable must contain C:\NXP\bstudio_nxp\msys\bin in the beginning! 4 | # 2. ./BuildAllControllers.sh 5 | echo "Building Controllers from JN-AN-1171" 6 | 7 | start=$(date +"%T") 8 | echo "Start Time : $start" 9 | 10 | if [ "$1" == "JN5168" ] || [ "$1" == "JN5169" ]; then 11 | make JENNIC_SDK=JN-SW-4168 JENNIC_CHIP=$1 REMOTE=Controller_ColorController clean >> BuildLog_Controller_ColorController_$1.txt & 12 | make JENNIC_SDK=JN-SW-4168 JENNIC_CHIP=$1 REMOTE=Controller_ColorSceneController clean >> BuildLog_Controller_ColorSceneController_$1.txt & 13 | make JENNIC_SDK=JN-SW-4168 JENNIC_CHIP=$1 REMOTE=Controller_NonColorController clean >> BuildLog_Controller_NonColorController_$1.txt & 14 | make JENNIC_SDK=JN-SW-4168 JENNIC_CHIP=$1 REMOTE=Controller_NonColorSceneController clean >> BuildLog_Controller_NonColorSceneController_$1.txt & 15 | make JENNIC_SDK=JN-SW-4168 JENNIC_CHIP=$1 REMOTE=Controller_OnOffSensor clean >> BuildLog_Controller_OnOffSensor_$1.txt & 16 | echo "Cleaning; Please wait" 17 | wait 18 | 19 | make JENNIC_SDK=JN-SW-4168 JENNIC_CHIP=$1 REMOTE=Controller_ColorController >> BuildLog_Controller_ColorController_$1.txt & 20 | make JENNIC_SDK=JN-SW-4168 JENNIC_CHIP=$1 REMOTE=Controller_ColorSceneController >> BuildLog_Controller_ColorSceneController_$1.txt & 21 | make JENNIC_SDK=JN-SW-4168 JENNIC_CHIP=$1 REMOTE=Controller_NonColorController >> BuildLog_Controller_NonColorController_$1.txt & 22 | make JENNIC_SDK=JN-SW-4168 JENNIC_CHIP=$1 REMOTE=Controller_NonColorSceneController >> BuildLog_Controller_NonColorSceneController_$1.txt & 23 | make JENNIC_SDK=JN-SW-4168 JENNIC_CHIP=$1 REMOTE=Controller_OnOffSensor >> BuildLog_Controller_OnOffSensor_$1.txt & 24 | echo "Building; Please wait" 25 | wait 26 | else 27 | echo "Usage ./BuildAllControllers.sh " 28 | fi 29 | 30 | end=$(date +"%T") 31 | echo "End Time : $end" 32 | 33 | echo "Done !!!" 34 | -------------------------------------------------------------------------------- /firmware/Common_Light/Build/BuildAllLights.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | #Usage below 3 | # 1. make sure that environment Path variable must contain C:\NXP\bstudio_nxp\msys\bin in the beginning! 4 | # 2. ./BuildAllLights.sh 5 | echo "Building Lights from JN-AN-1171" 6 | 7 | start=$(date +"%T") 8 | echo "Start Time : $start" 9 | 10 | if [ "$1" == "JN5168" ] || [ "$1" == "JN5169" ]; then 11 | make JENNIC_SDK=JN-SW-4168 JENNIC_CHIP=$1 LIGHT=Light_ColorLight clean >> BuildLog_Light_ColorLight_$1.txt & 12 | make JENNIC_SDK=JN-SW-4168 JENNIC_CHIP=$1 LIGHT=Light_ColorTemperatureLight clean >> BuildLog_Light_ColorTemperatureLight_$1.txt & 13 | make JENNIC_SDK=JN-SW-4168 JENNIC_CHIP=$1 LIGHT=Light_DimmableLight clean >> BuildLog_Light_DimmableLight_$1.txt & 14 | make JENNIC_SDK=JN-SW-4168 JENNIC_CHIP=$1 LIGHT=Light_DimmablePlug clean >> BuildLog_Light_DimmablePlug_$1.txt & 15 | make JENNIC_SDK=JN-SW-4168 JENNIC_CHIP=$1 LIGHT=Light_ExtendedColorLight clean >> BuildLog_Light_ExtendedColorLight_$1.txt & 16 | make JENNIC_SDK=JN-SW-4168 JENNIC_CHIP=$1 LIGHT=Light_OnOffLight clean >> BuildLog_Light_OnOffLight_$1.txt & 17 | make JENNIC_SDK=JN-SW-4168 JENNIC_CHIP=$1 LIGHT=Light_OnOffPlug clean >> BuildLog_Light_OnOffPlug_$1.txt & 18 | echo "Cleaning; Please wait" 19 | wait 20 | 21 | make JENNIC_SDK=JN-SW-4168 JENNIC_CHIP=$1 LIGHT=Light_ColorLight >> BuildLog_Light_ColorLight_$1.txt & 22 | make JENNIC_SDK=JN-SW-4168 JENNIC_CHIP=$1 LIGHT=Light_ColorTemperatureLight >> BuildLog_Light_ColorTemperatureLight_$1.txt & 23 | make JENNIC_SDK=JN-SW-4168 JENNIC_CHIP=$1 LIGHT=Light_DimmableLight >> BuildLog_Light_DimmableLight_$1.txt & 24 | make JENNIC_SDK=JN-SW-4168 JENNIC_CHIP=$1 LIGHT=Light_DimmablePlug >> BuildLog_Light_DimmablePlug_$1.txt & 25 | make JENNIC_SDK=JN-SW-4168 JENNIC_CHIP=$1 LIGHT=Light_ExtendedColorLight >> BuildLog_Light_ExtendedColorLight_$1.txt & 26 | make JENNIC_SDK=JN-SW-4168 JENNIC_CHIP=$1 LIGHT=Light_OnOffLight >> BuildLog_Light_OnOffLight_$1.txt & 27 | make JENNIC_SDK=JN-SW-4168 JENNIC_CHIP=$1 LIGHT=Light_OnOffPlug >> BuildLog_Light_OnOffPlug_$1.txt & 28 | echo "Building; Please wait" 29 | wait 30 | else 31 | echo "Usage ./BuildAllLights.sh " 32 | fi 33 | 34 | end=$(date +"%T") 35 | echo "End Time : $end" 36 | 37 | echo "Done !!!" 38 | -------------------------------------------------------------------------------- /firmware/Common_Light/Source/DriverBulb/.version.txt: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * MODULE: AN1166 4 | * 5 | * DESCRIPTION: Smart Lamp Drivers -SVN version File 6 | * (This file is for SVN traceability DO NOT EDIT) 7 | * 8 | * $Revision: 11835 $ 9 | * 10 | * $URL: https://www.collabnet.nxp.com/svn/lprf_apps/Application_Notes/JN-AN-1166-Smart-Lamp-Drivers/Tags/RC27/Smart_Lamp/Source/DriverBulb/.version.txt $ 11 | * 12 | **************************************************************************** 13 | * 14 | * This software is owned by NXP B.V. and/or its supplier and is protected 15 | * under applicable copyright laws. All rights are reserved. We grant You, 16 | * and any third parties, a license to use this software solely and 17 | * exclusively on NXP products [NXP Microcontrollers such as JN5168, JN5164, 18 | * JN5161, JN5148, JN5142, JN5139]. 19 | * You, and any third parties must reproduce the copyright and warranty notice 20 | * and any other legend of ownership on each copy or partial copy of the 21 | * software. 22 | * 23 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 24 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 25 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 26 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 27 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 28 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 29 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 30 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 31 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 32 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 33 | * POSSIBILITY OF SUCH DAMAGE. 34 | * 35 | * Copyright NXP B.V. 2013. All rights reserved 36 | * 37 | ***************************************************************************/ -------------------------------------------------------------------------------- /firmware/Common_Light/Source/DriverBulb/DriverBulb_DR1221.c: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | * 3 | * This software is owned by NXP B.V. and/or its supplier and is protected 4 | * under applicable copyright laws. All rights are reserved. We grant You, 5 | * and any third parties, a license to use this software solely and 6 | * exclusively on NXP products [NXP Microcontrollers such as JN5168, JN5179]. 7 | * You, and any third parties must reproduce the copyright and warranty notice 8 | * and any other legend of ownership on each copy or partial copy of the 9 | * software. 10 | * 11 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 12 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 13 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 14 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 15 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 16 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 17 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 18 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 19 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 20 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 21 | * POSSIBILITY OF SUCH DAMAGE. 22 | * 23 | * Copyright NXP B.V. 2016. All rights reserved 24 | ****************************************************************************/ 25 | 26 | #define DUAL_PWM 27 | #include "DriverBulb_DR1192.c" 28 | 29 | /****************************************************************************/ 30 | /*** END OF FILE ***/ 31 | /****************************************************************************/ 32 | -------------------------------------------------------------------------------- /firmware/Common_Light/Source/DriverBulb/DriverBulb_WS2812_ba-elf.S: -------------------------------------------------------------------------------- 1 | // Define output data function 2 | .global WS2812_vOutputData 3 | .func WS2812_vOutputData 4 | 5 | // Put function into data section so it is placed in RAM 6 | .data 7 | WS2812_vOutputData: 8 | b.movi r6,0x0 9 | b.movi r7,0x0 10 | .LbitLoop: 11 | b.andi r8,r7,0x7 12 | b.slli r6,r6,0x1 13 | b.sw 0xffffa004(r16),r5 14 | b.bnei r8,0x0,.LskipLoad 15 | b.lbz r6,0x0(r3) 16 | b.addi r3,r3,0x1 17 | .LskipLoad: 18 | b.extbs r8,r6 19 | b.bltsi r8,0x0,.LoneBit 20 | // Send a zero 21 | b.sw 0xffffa004(r16),r0 22 | b.nop 23 | b.nop 24 | b.nop 25 | b.nop 26 | b.nop 27 | b.addi r7,r7,0x1 28 | b.sfne r7,r4 29 | b.bf .LbitLoop 30 | b.jr r9 31 | .LoneBit: 32 | // Send a one 33 | b.nop 34 | b.nop 35 | b.nop 36 | b.addi r7,r7,0x1 37 | b.sfne r7,r4 38 | b.sw 0xffffa004(r16),r0 39 | b.nop 40 | b.bf .LbitLoop 41 | b.jr r9 42 | .endfunc 43 | -------------------------------------------------------------------------------- /firmware/Controller_ColorController/Build/Controller_ColorController_JN5168.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/firmware/Controller_ColorController/Build/Controller_ColorController_JN5168.bin -------------------------------------------------------------------------------- /firmware/Controller_ColorSceneController/Build/Controller_ColorSceneController_JN5168.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/firmware/Controller_ColorSceneController/Build/Controller_ColorSceneController_JN5168.bin -------------------------------------------------------------------------------- /firmware/Controller_NonColorController/Build/Controller_NonColorController_JN5168.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/firmware/Controller_NonColorController/Build/Controller_NonColorController_JN5168.bin -------------------------------------------------------------------------------- /firmware/Controller_NonColorSceneController/Build/Controller_NonColorSceneController_JN5168.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/firmware/Controller_NonColorSceneController/Build/Controller_NonColorSceneController_JN5168.bin -------------------------------------------------------------------------------- /firmware/Controller_OnOffSensor/Build/Controller_OnOffSensor_JN5168.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/firmware/Controller_OnOffSensor/Build/Controller_OnOffSensor_JN5168.bin -------------------------------------------------------------------------------- /firmware/Doc/JN-AN-1171-ZigBee-LightLink-Demo-1v16.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/firmware/Doc/JN-AN-1171-ZigBee-LightLink-Demo-1v16.pdf -------------------------------------------------------------------------------- /firmware/Light_ColorLight/Build/Light_ColorLight_JN5168_DR1175.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/firmware/Light_ColorLight/Build/Light_ColorLight_JN5168_DR1175.bin -------------------------------------------------------------------------------- /firmware/Light_ColorLight/Build/Light_ColorLight_JN5169_DR1175.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/firmware/Light_ColorLight/Build/Light_ColorLight_JN5169_DR1175.bin -------------------------------------------------------------------------------- /firmware/Light_ColorLight/Build/OTABuild/LightCreateOtaClient.bat: -------------------------------------------------------------------------------- 1 | # 2 | # $1 : the OTA buildd directory 3 | # $2 : the SDK directory name 4 | # $3 : the manufacturer code 5 | # $4 : 32 byte OTA header string 6 | # $5 : OTA Device Id 7 | 8 | 9 | # Change the path to the OTA Build folder. 10 | cd $1 11 | 12 | # #################################################################################################### 13 | # ###################################Build Unencrpted Client Binary ################################################## 14 | 15 | # Add serialisation Data with ImageType = 0x0XXX - Indicates it is for Encrpted devices 16 | ../../../../../SDK/$2/Tools/OTAUtils/JET.exe -m combine -f Light.bin -x configOTA_6x_Cer_Keys_HA_Light.txt -v JN516x -g 1 -k 0xffffffffffffffffffffffffffffffff -u $3 -t $5 -j $4 17 | 18 | # Creat an Unencrpted Bootable Client with Veriosn 1 19 | ../../../../../SDK/$2/Tools/OTAUtils/JET.exe -m otamerge --embed_hdr -c outputffffffffffffffff.bin -o Client.bin -v JN516x -n 1 -u $3 -t $5 -j $4 20 | 21 | # ###################Build OTA Unencrypted Upgarde Image from the Bootable Client ######################### 22 | # Modify Embedded Header to reflect version 2 23 | ../../../../../SDK/$2/Tools/OTAUtils/JET.exe -m otamerge --embed_hdr -c Client.bin -o UpGradeImagewithOTAHeaderV2.bin -v JN516x -n 2 -u $3 -t $5 -j $4 24 | 25 | # Wrap the Image with OTA header with version 2 26 | ../../../../../SDK/$2/Tools/OTAUtils/JET.exe -m otamerge --ota -c UpGradeImagewithOTAHeaderV2.bin -o ClientUpGradeImagewithOTAHeaderV2.bin -v JN516x -n 2 -u $3 -t $5 -j $4 27 | ../../../../../SDK/$2/Tools/OTAUtils/JET.exe -m otamerge --ota -c UpGradeImagewithOTAHeaderV2.bin -o ClientUpGradeImagewithOTAHeaderV2.ota -p 1 -v JN516x -n 2 -u $3 -t $5 -j $4 28 | 29 | # Modify Embedded Header to reflect version 3 30 | ../../../../../SDK/$2/Tools/OTAUtils/JET.exe -m otamerge --embed_hdr -c Client.bin -o UpGradeImagewithOTAHeaderV3.bin -v JN516x -n 3 -u $3 -t $5 -j $4 31 | 32 | # Wrap the Image with OTA header with version 3 33 | ../../../../../SDK/$2/Tools/OTAUtils/JET.exe -m otamerge --ota -c UpGradeImagewithOTAHeaderV3.bin -o ClientUpGradeImagewithOTAHeaderV3.bin -v JN516x -n 3 -u $3 -t $5 -j $4 34 | ../../../../../SDK/$2/Tools/OTAUtils/JET.exe -m otamerge --ota -c UpGradeImagewithOTAHeaderV3.bin -o ClientUpGradeImagewithOTAHeaderV3.ota -p 1 -v JN516x -n 3 -u $3 -t $5 -j $4 35 | 36 | # #################################################################################################### 37 | # #################################### Clean Up Imtermediate files################################################## 38 | 39 | # rm Light.bin 40 | rm output*.bin 41 | rm UpGradeImagewithOTAHeader*.bin 42 | 43 | chmod 777 Client.bin 44 | chmod 777 ClientUpGradeImagewithOTAHeaderV2.bin 45 | chmod 777 ClientUpGradeImagewithOTAHeaderV3.bin 46 | -------------------------------------------------------------------------------- /firmware/Light_ColorLight/Build/OTABuild/LinkKey_3.txt: -------------------------------------------------------------------------------- 1 | #sample LinkKey file 2 | 3 | #ff112233445566778899aabbccddee00 4 | 5a6967426565416c6c69616e63653039 5 | #a1a2a3a4a5a6a7a8a9b1b2b3b4b5b6b7 6 | #abcdefabcdefabcdefabcdefabcdefab 7 | #a1a2a3a4a5a6a7a8a9b1b2b3b4b5b6b7 8 | #c1c2c3c4c5c6c7c8c9d1d2d3d4d5d6d7 9 | -------------------------------------------------------------------------------- /firmware/Light_ColorLight/Build/OTABuild/LinkKey_HA.txt: -------------------------------------------------------------------------------- 1 | #sample LinkKey file 2 | 3 | #ff112233445566778899aabbccddee00 4 | 5a6967426565416c6c69616e63653039 5 | 6 | #a1a2a3a4a5a6a7a8a9b1b2b3b4b5b6b7 7 | #abcdefabcdefabcdefabcdefabcdefab 8 | #a1a2a3a4a5a6a7a8a9b1b2b3b4b5b6b7 9 | #c1c2c3c4c5c6c7c8c9d1d2d3d4d5d6d7 10 | -------------------------------------------------------------------------------- /firmware/Light_ColorLight/Build/OTABuild/MACAddr_3.txt: -------------------------------------------------------------------------------- 1 | #sample MAC address file 2 | #0000000000000001 3 | 4 | 0000000001000001 5 | #000000000AAAAAAA 6 | #0000000001000004 -------------------------------------------------------------------------------- /firmware/Light_ColorLight/Build/OTABuild/MACAddr_Dummy.txt: -------------------------------------------------------------------------------- 1 | #sample MAC address file 2 | 3 | ffffffffffffffff 4 | 5 | #0000000001000001 6 | #000000000AAAAAAA 7 | #0000000001000004 -------------------------------------------------------------------------------- /firmware/Light_ColorLight/Build/OTABuild/configOTA_6x_Cer_Keys_HA_Light.txt: -------------------------------------------------------------------------------- 1 | # This is a sample configuration file 2 | 3 | MACAddr_Dummy.txt,0044,8 4 | LinkKey_HA.txt,00a4,16 5 | 6 | 7 | -------------------------------------------------------------------------------- /firmware/Light_ColorLight/Build/OTABuild/configOTA_6x_Cer_Keys_HA_Light_Generic.txt: -------------------------------------------------------------------------------- 1 | # This is a sample configuration file 2 | 3 | MACAddr_3.txt,0044,8 4 | LinkKey_3.txt,00a4,16 5 | 6 | 7 | -------------------------------------------------------------------------------- /firmware/Light_ColorTemperatureLight/Build/Light_ColorTemperatureLight_JN5168_DR1175.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/firmware/Light_ColorTemperatureLight/Build/Light_ColorTemperatureLight_JN5168_DR1175.bin -------------------------------------------------------------------------------- /firmware/Light_ColorTemperatureLight/Build/Light_ColorTemperatureLight_JN5169_DR1175.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/firmware/Light_ColorTemperatureLight/Build/Light_ColorTemperatureLight_JN5169_DR1175.bin -------------------------------------------------------------------------------- /firmware/Light_ColorTemperatureLight/Build/OTABuild/LightCreateOtaClient.bat: -------------------------------------------------------------------------------- 1 | # 2 | # $1 : the OTA buildd directory 3 | # $2 : the SDK directory name 4 | # $3 : the manufacturer code 5 | # $4 : 32 byte OTA header string 6 | # $5 : OTA Device Id 7 | 8 | 9 | # Change the path to the OTA Build folder. 10 | cd $1 11 | 12 | # #################################################################################################### 13 | # ###################################Build Unencrpted Client Binary ################################################## 14 | 15 | # Add serialisation Data with ImageType = 0x0XXX - Indicates it is for Encrpted devices 16 | ../../../../../SDK/$2/Tools/OTAUtils/JET.exe -m combine -f Light.bin -x configOTA_6x_Cer_Keys_HA_Light.txt -v JN516x -g 1 -k 0xffffffffffffffffffffffffffffffff -u $3 -t $5 -j $4 17 | 18 | # Creat an Unencrpted Bootable Client with Veriosn 1 19 | ../../../../../SDK/$2/Tools/OTAUtils/JET.exe -m otamerge --embed_hdr -c outputffffffffffffffff.bin -o Client.bin -v JN516x -n 1 -u $3 -t $5 -j $4 20 | 21 | # ###################Build OTA Unencrypted Upgarde Image from the Bootable Client ######################### 22 | # Modify Embedded Header to reflect version 2 23 | ../../../../../SDK/$2/Tools/OTAUtils/JET.exe -m otamerge --embed_hdr -c Client.bin -o UpGradeImagewithOTAHeaderV2.bin -v JN516x -n 2 -u $3 -t $5 -j $4 24 | 25 | # Wrap the Image with OTA header with version 2 26 | ../../../../../SDK/$2/Tools/OTAUtils/JET.exe -m otamerge --ota -c UpGradeImagewithOTAHeaderV2.bin -o ClientUpGradeImagewithOTAHeaderV2.bin -v JN516x -n 2 -u $3 -t $5 -j $4 27 | ../../../../../SDK/$2/Tools/OTAUtils/JET.exe -m otamerge --ota -c UpGradeImagewithOTAHeaderV2.bin -o ClientUpGradeImagewithOTAHeaderV2.ota -p 1 -v JN516x -n 2 -u $3 -t $5 -j $4 28 | 29 | # Modify Embedded Header to reflect version 3 30 | ../../../../../SDK/$2/Tools/OTAUtils/JET.exe -m otamerge --embed_hdr -c Client.bin -o UpGradeImagewithOTAHeaderV3.bin -v JN516x -n 3 -u $3 -t $5 -j $4 31 | 32 | # Wrap the Image with OTA header with version 3 33 | ../../../../../SDK/$2/Tools/OTAUtils/JET.exe -m otamerge --ota -c UpGradeImagewithOTAHeaderV3.bin -o ClientUpGradeImagewithOTAHeaderV3.bin -v JN516x -n 3 -u $3 -t $5 -j $4 34 | ../../../../../SDK/$2/Tools/OTAUtils/JET.exe -m otamerge --ota -c UpGradeImagewithOTAHeaderV3.bin -o ClientUpGradeImagewithOTAHeaderV3.ota -p 1 -v JN516x -n 3 -u $3 -t $5 -j $4 35 | 36 | # #################################################################################################### 37 | # #################################### Clean Up Imtermediate files################################################## 38 | 39 | # rm Light.bin 40 | rm output*.bin 41 | rm UpGradeImagewithOTAHeader*.bin 42 | 43 | chmod 777 Client.bin 44 | chmod 777 ClientUpGradeImagewithOTAHeaderV2.bin 45 | chmod 777 ClientUpGradeImagewithOTAHeaderV3.bin 46 | -------------------------------------------------------------------------------- /firmware/Light_ColorTemperatureLight/Build/OTABuild/LinkKey_3.txt: -------------------------------------------------------------------------------- 1 | #sample LinkKey file 2 | 3 | #ff112233445566778899aabbccddee00 4 | 5a6967426565416c6c69616e63653039 5 | #a1a2a3a4a5a6a7a8a9b1b2b3b4b5b6b7 6 | #abcdefabcdefabcdefabcdefabcdefab 7 | #a1a2a3a4a5a6a7a8a9b1b2b3b4b5b6b7 8 | #c1c2c3c4c5c6c7c8c9d1d2d3d4d5d6d7 9 | -------------------------------------------------------------------------------- /firmware/Light_ColorTemperatureLight/Build/OTABuild/LinkKey_HA.txt: -------------------------------------------------------------------------------- 1 | #sample LinkKey file 2 | 3 | #ff112233445566778899aabbccddee00 4 | 5a6967426565416c6c69616e63653039 5 | 6 | #a1a2a3a4a5a6a7a8a9b1b2b3b4b5b6b7 7 | #abcdefabcdefabcdefabcdefabcdefab 8 | #a1a2a3a4a5a6a7a8a9b1b2b3b4b5b6b7 9 | #c1c2c3c4c5c6c7c8c9d1d2d3d4d5d6d7 10 | -------------------------------------------------------------------------------- /firmware/Light_ColorTemperatureLight/Build/OTABuild/MACAddr_3.txt: -------------------------------------------------------------------------------- 1 | #sample MAC address file 2 | #0000000000000001 3 | 4 | 0000000001000001 5 | #000000000AAAAAAA 6 | #0000000001000004 -------------------------------------------------------------------------------- /firmware/Light_ColorTemperatureLight/Build/OTABuild/MACAddr_Dummy.txt: -------------------------------------------------------------------------------- 1 | #sample MAC address file 2 | 3 | ffffffffffffffff 4 | 5 | #0000000001000001 6 | #000000000AAAAAAA 7 | #0000000001000004 -------------------------------------------------------------------------------- /firmware/Light_ColorTemperatureLight/Build/OTABuild/configOTA_6x_Cer_Keys_HA_Light.txt: -------------------------------------------------------------------------------- 1 | # This is a sample configuration file 2 | 3 | MACAddr_Dummy.txt,0044,8 4 | LinkKey_HA.txt,00a4,16 5 | 6 | 7 | -------------------------------------------------------------------------------- /firmware/Light_ColorTemperatureLight/Build/OTABuild/configOTA_6x_Cer_Keys_HA_Light_Generic.txt: -------------------------------------------------------------------------------- 1 | # This is a sample configuration file 2 | 3 | MACAddr_3.txt,0044,8 4 | LinkKey_3.txt,00a4,16 5 | 6 | 7 | -------------------------------------------------------------------------------- /firmware/Light_DimmableLight/Build/Light_DimmableLight_JN5168_DR1175.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/firmware/Light_DimmableLight/Build/Light_DimmableLight_JN5168_DR1175.bin -------------------------------------------------------------------------------- /firmware/Light_DimmableLight/Build/Light_DimmableLight_JN5169_DR1175.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/firmware/Light_DimmableLight/Build/Light_DimmableLight_JN5169_DR1175.bin -------------------------------------------------------------------------------- /firmware/Light_DimmableLight/Build/OTABuild/LightCreateOtaClient.bat: -------------------------------------------------------------------------------- 1 | # 2 | # $1 : the OTA buildd directory 3 | # $2 : the SDK directory name 4 | # $3 : the manufacturer code 5 | # $4 : 32 byte OTA header string 6 | # $5 : OTA Device Id 7 | 8 | 9 | # Change the path to the OTA Build folder. 10 | cd $1 11 | 12 | # #################################################################################################### 13 | # ###################################Build Unencrpted Client Binary ################################################## 14 | 15 | # Add serialisation Data with ImageType = 0x0XXX - Indicates it is for Encrpted devices 16 | ../../../../../SDK/$2/Tools/OTAUtils/JET.exe -m combine -f Light.bin -x configOTA_6x_Cer_Keys_HA_Light.txt -v JN516x -g 1 -k 0xffffffffffffffffffffffffffffffff -u $3 -t $5 -j $4 17 | 18 | # Creat an Unencrpted Bootable Client with Veriosn 1 19 | ../../../../../SDK/$2/Tools/OTAUtils/JET.exe -m otamerge --embed_hdr -c outputffffffffffffffff.bin -o Client.bin -v JN516x -n 1 -u $3 -t $5 -j $4 20 | 21 | # ###################Build OTA Unencrypted Upgarde Image from the Bootable Client ######################### 22 | # Modify Embedded Header to reflect version 2 23 | ../../../../../SDK/$2/Tools/OTAUtils/JET.exe -m otamerge --embed_hdr -c Client.bin -o UpGradeImagewithOTAHeaderV2.bin -v JN516x -n 2 -u $3 -t $5 -j $4 24 | 25 | # Wrap the Image with OTA header with version 2 26 | ../../../../../SDK/$2/Tools/OTAUtils/JET.exe -m otamerge --ota -c UpGradeImagewithOTAHeaderV2.bin -o ClientUpGradeImagewithOTAHeaderV2.bin -v JN516x -n 2 -u $3 -t $5 -j $4 27 | ../../../../../SDK/$2/Tools/OTAUtils/JET.exe -m otamerge --ota -c UpGradeImagewithOTAHeaderV2.bin -o ClientUpGradeImagewithOTAHeaderV2.ota -p 1 -v JN516x -n 2 -u $3 -t $5 -j $4 28 | 29 | # Modify Embedded Header to reflect version 3 30 | ../../../../../SDK/$2/Tools/OTAUtils/JET.exe -m otamerge --embed_hdr -c Client.bin -o UpGradeImagewithOTAHeaderV3.bin -v JN516x -n 3 -u $3 -t $5 -j $4 31 | 32 | # Wrap the Image with OTA header with version 3 33 | ../../../../../SDK/$2/Tools/OTAUtils/JET.exe -m otamerge --ota -c UpGradeImagewithOTAHeaderV3.bin -o ClientUpGradeImagewithOTAHeaderV3.bin -v JN516x -n 3 -u $3 -t $5 -j $4 34 | ../../../../../SDK/$2/Tools/OTAUtils/JET.exe -m otamerge --ota -c UpGradeImagewithOTAHeaderV3.bin -o ClientUpGradeImagewithOTAHeaderV3.ota -p 1 -v JN516x -n 3 -u $3 -t $5 -j $4 35 | 36 | # #################################################################################################### 37 | # #################################### Clean Up Imtermediate files################################################## 38 | 39 | # rm Light.bin 40 | rm output*.bin 41 | rm UpGradeImagewithOTAHeader*.bin 42 | 43 | chmod 777 Client.bin 44 | chmod 777 ClientUpGradeImagewithOTAHeaderV2.bin 45 | chmod 777 ClientUpGradeImagewithOTAHeaderV3.bin 46 | -------------------------------------------------------------------------------- /firmware/Light_DimmableLight/Build/OTABuild/LinkKey_3.txt: -------------------------------------------------------------------------------- 1 | #sample LinkKey file 2 | 3 | #ff112233445566778899aabbccddee00 4 | 5a6967426565416c6c69616e63653039 5 | #a1a2a3a4a5a6a7a8a9b1b2b3b4b5b6b7 6 | #abcdefabcdefabcdefabcdefabcdefab 7 | #a1a2a3a4a5a6a7a8a9b1b2b3b4b5b6b7 8 | #c1c2c3c4c5c6c7c8c9d1d2d3d4d5d6d7 9 | -------------------------------------------------------------------------------- /firmware/Light_DimmableLight/Build/OTABuild/LinkKey_HA.txt: -------------------------------------------------------------------------------- 1 | #sample LinkKey file 2 | 3 | #ff112233445566778899aabbccddee00 4 | 5a6967426565416c6c69616e63653039 5 | 6 | #a1a2a3a4a5a6a7a8a9b1b2b3b4b5b6b7 7 | #abcdefabcdefabcdefabcdefabcdefab 8 | #a1a2a3a4a5a6a7a8a9b1b2b3b4b5b6b7 9 | #c1c2c3c4c5c6c7c8c9d1d2d3d4d5d6d7 10 | -------------------------------------------------------------------------------- /firmware/Light_DimmableLight/Build/OTABuild/MACAddr_3.txt: -------------------------------------------------------------------------------- 1 | #sample MAC address file 2 | #0000000000000001 3 | 4 | 0000000001000001 5 | #000000000AAAAAAA 6 | #0000000001000004 -------------------------------------------------------------------------------- /firmware/Light_DimmableLight/Build/OTABuild/MACAddr_Dummy.txt: -------------------------------------------------------------------------------- 1 | #sample MAC address file 2 | 3 | ffffffffffffffff 4 | 5 | #0000000001000001 6 | #000000000AAAAAAA 7 | #0000000001000004 -------------------------------------------------------------------------------- /firmware/Light_DimmableLight/Build/OTABuild/configOTA_6x_Cer_Keys_HA_Light.txt: -------------------------------------------------------------------------------- 1 | # This is a sample configuration file 2 | 3 | MACAddr_Dummy.txt,0044,8 4 | LinkKey_HA.txt,00a4,16 5 | 6 | 7 | -------------------------------------------------------------------------------- /firmware/Light_DimmableLight/Build/OTABuild/configOTA_6x_Cer_Keys_HA_Light_Generic.txt: -------------------------------------------------------------------------------- 1 | # This is a sample configuration file 2 | 3 | MACAddr_3.txt,0044,8 4 | LinkKey_3.txt,00a4,16 5 | 6 | 7 | -------------------------------------------------------------------------------- /firmware/Light_DimmablePlug/Build/Light_DimmablePlug_JN5169_DR1175.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/firmware/Light_DimmablePlug/Build/Light_DimmablePlug_JN5169_DR1175.bin -------------------------------------------------------------------------------- /firmware/Light_ExtendedColorLight/Build/Light_ExtendedColorLight_JN5168_DR1175.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/firmware/Light_ExtendedColorLight/Build/Light_ExtendedColorLight_JN5168_DR1175.bin -------------------------------------------------------------------------------- /firmware/Light_ExtendedColorLight/Build/Light_ExtendedColorLight_JN5169_DR1175.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/firmware/Light_ExtendedColorLight/Build/Light_ExtendedColorLight_JN5169_DR1175.bin -------------------------------------------------------------------------------- /firmware/Light_ExtendedColorLight/Build/OTABuild/LightCreateOtaClient.bat: -------------------------------------------------------------------------------- 1 | # 2 | # $1 : the OTA buildd directory 3 | # $2 : the SDK directory name 4 | # $3 : the manufacturer code 5 | # $4 : 32 byte OTA header string 6 | # $5 : OTA Device Id 7 | 8 | 9 | # Change the path to the OTA Build folder. 10 | cd $1 11 | 12 | # #################################################################################################### 13 | # ###################################Build Unencrpted Client Binary ################################################## 14 | 15 | # Add serialisation Data with ImageType = 0x0XXX - Indicates it is for Encrpted devices 16 | ../../../../../SDK/$2/Tools/OTAUtils/JET.exe -m combine -f Light.bin -x configOTA_6x_Cer_Keys_HA_Light.txt -v JN516x -g 1 -k 0xffffffffffffffffffffffffffffffff -u $3 -t $5 -j $4 17 | 18 | # Creat an Unencrpted Bootable Client with Veriosn 1 19 | ../../../../../SDK/$2/Tools/OTAUtils/JET.exe -m otamerge --embed_hdr -c outputffffffffffffffff.bin -o Client.bin -v JN516x -n 1 -u $3 -t $5 -j $4 20 | 21 | # ###################Build OTA Unencrypted Upgarde Image from the Bootable Client ######################### 22 | # Modify Embedded Header to reflect version 2 23 | ../../../../../SDK/$2/Tools/OTAUtils/JET.exe -m otamerge --embed_hdr -c Client.bin -o UpGradeImagewithOTAHeaderV2.bin -v JN516x -n 2 -u $3 -t $5 -j $4 24 | 25 | # Wrap the Image with OTA header with version 2 26 | ../../../../../SDK/$2/Tools/OTAUtils/JET.exe -m otamerge --ota -c UpGradeImagewithOTAHeaderV2.bin -o ClientUpGradeImagewithOTAHeaderV2.bin -v JN516x -n 2 -u $3 -t $5 -j $4 27 | ../../../../../SDK/$2/Tools/OTAUtils/JET.exe -m otamerge --ota -c UpGradeImagewithOTAHeaderV2.bin -o ClientUpGradeImagewithOTAHeaderV2.ota -p 1 -v JN516x -n 2 -u $3 -t $5 -j $4 28 | 29 | # Modify Embedded Header to reflect version 3 30 | ../../../../../SDK/$2/Tools/OTAUtils/JET.exe -m otamerge --embed_hdr -c Client.bin -o UpGradeImagewithOTAHeaderV3.bin -v JN516x -n 3 -u $3 -t $5 -j $4 31 | 32 | # Wrap the Image with OTA header with version 3 33 | ../../../../../SDK/$2/Tools/OTAUtils/JET.exe -m otamerge --ota -c UpGradeImagewithOTAHeaderV3.bin -o ClientUpGradeImagewithOTAHeaderV3.bin -v JN516x -n 3 -u $3 -t $5 -j $4 34 | ../../../../../SDK/$2/Tools/OTAUtils/JET.exe -m otamerge --ota -c UpGradeImagewithOTAHeaderV3.bin -o ClientUpGradeImagewithOTAHeaderV3.ota -p 1 -v JN516x -n 3 -u $3 -t $5 -j $4 35 | 36 | # #################################################################################################### 37 | # #################################### Clean Up Imtermediate files################################################## 38 | 39 | # rm Light.bin 40 | rm output*.bin 41 | rm UpGradeImagewithOTAHeader*.bin 42 | 43 | chmod 777 Client.bin 44 | chmod 777 ClientUpGradeImagewithOTAHeaderV2.bin 45 | chmod 777 ClientUpGradeImagewithOTAHeaderV3.bin 46 | -------------------------------------------------------------------------------- /firmware/Light_ExtendedColorLight/Build/OTABuild/LinkKey_3.txt: -------------------------------------------------------------------------------- 1 | #sample LinkKey file 2 | 3 | #ff112233445566778899aabbccddee00 4 | 5a6967426565416c6c69616e63653039 5 | #a1a2a3a4a5a6a7a8a9b1b2b3b4b5b6b7 6 | #abcdefabcdefabcdefabcdefabcdefab 7 | #a1a2a3a4a5a6a7a8a9b1b2b3b4b5b6b7 8 | #c1c2c3c4c5c6c7c8c9d1d2d3d4d5d6d7 9 | -------------------------------------------------------------------------------- /firmware/Light_ExtendedColorLight/Build/OTABuild/LinkKey_HA.txt: -------------------------------------------------------------------------------- 1 | #sample LinkKey file 2 | 3 | #ff112233445566778899aabbccddee00 4 | 5a6967426565416c6c69616e63653039 5 | 6 | #a1a2a3a4a5a6a7a8a9b1b2b3b4b5b6b7 7 | #abcdefabcdefabcdefabcdefabcdefab 8 | #a1a2a3a4a5a6a7a8a9b1b2b3b4b5b6b7 9 | #c1c2c3c4c5c6c7c8c9d1d2d3d4d5d6d7 10 | -------------------------------------------------------------------------------- /firmware/Light_ExtendedColorLight/Build/OTABuild/MACAddr_3.txt: -------------------------------------------------------------------------------- 1 | #sample MAC address file 2 | #0000000000000001 3 | 4 | 0000000001000001 5 | #000000000AAAAAAA 6 | #0000000001000004 -------------------------------------------------------------------------------- /firmware/Light_ExtendedColorLight/Build/OTABuild/MACAddr_Dummy.txt: -------------------------------------------------------------------------------- 1 | #sample MAC address file 2 | 3 | ffffffffffffffff 4 | 5 | #0000000001000001 6 | #000000000AAAAAAA 7 | #0000000001000004 -------------------------------------------------------------------------------- /firmware/Light_ExtendedColorLight/Build/OTABuild/configOTA_6x_Cer_Keys_HA_Light.txt: -------------------------------------------------------------------------------- 1 | # This is a sample configuration file 2 | 3 | MACAddr_Dummy.txt,0044,8 4 | LinkKey_HA.txt,00a4,16 5 | 6 | 7 | -------------------------------------------------------------------------------- /firmware/Light_ExtendedColorLight/Build/OTABuild/configOTA_6x_Cer_Keys_HA_Light_Generic.txt: -------------------------------------------------------------------------------- 1 | # This is a sample configuration file 2 | 3 | MACAddr_3.txt,0044,8 4 | LinkKey_3.txt,00a4,16 5 | 6 | 7 | -------------------------------------------------------------------------------- /firmware/Light_ExtendedColorLight/Source/pdum_apdu.S: -------------------------------------------------------------------------------- 1 | .global s_asAPduPool 2 | .section .data.s_asAPduPool,"aw",@progbits 3 | .align 4 4 | .type s_asAPduPool, @object 5 | .size s_asAPduPool, 24 6 | s_asAPduPool: 7 | .global pdum_apduZDP 8 | pdum_apduZDP: 9 | .long s_asapduZDPInstances 10 | .short 0 11 | .short 100 12 | .short 3 13 | .zero 2 14 | .global pdum_apduZCL 15 | pdum_apduZCL: 16 | .long s_asapduZCLInstances 17 | .short 0 18 | .short 80 19 | .short 10 20 | .zero 2 21 | -------------------------------------------------------------------------------- /firmware/Light_OnOffLight/Build/Light_OnOffLight_JN5169_DR1175.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/firmware/Light_OnOffLight/Build/Light_OnOffLight_JN5169_DR1175.bin -------------------------------------------------------------------------------- /firmware/Light_OnOffLight/Build/OTABuild/LightCreateOtaClient.bat: -------------------------------------------------------------------------------- 1 | # 2 | # $1 : the OTA buildd directory 3 | # $2 : the SDK directory name 4 | # $3 : the manufacturer code 5 | # $4 : 32 byte OTA header string 6 | # $5 : OTA Device Id 7 | 8 | 9 | # Change the path to the OTA Build folder. 10 | cd $1 11 | 12 | # #################################################################################################### 13 | # ###################################Build Unencrpted Client Binary ################################################## 14 | 15 | # Add serialisation Data with ImageType = 0x0XXX - Indicates it is for Encrpted devices 16 | ../../../../../SDK/$2/Tools/OTAUtils/JET.exe -m combine -f Light.bin -x configOTA_6x_Cer_Keys_HA_Light.txt -v JN516x -g 1 -k 0xffffffffffffffffffffffffffffffff -u $3 -t $5 -j $4 17 | 18 | # Creat an Unencrpted Bootable Client with Veriosn 1 19 | ../../../../../SDK/$2/Tools/OTAUtils/JET.exe -m otamerge --embed_hdr -c outputffffffffffffffff.bin -o Client.bin -v JN516x -n 1 -u $3 -t $5 -j $4 20 | 21 | # ###################Build OTA Unencrypted Upgarde Image from the Bootable Client ######################### 22 | # Modify Embedded Header to reflect version 2 23 | ../../../../../SDK/$2/Tools/OTAUtils/JET.exe -m otamerge --embed_hdr -c Client.bin -o UpGradeImagewithOTAHeaderV2.bin -v JN516x -n 2 -u $3 -t $5 -j $4 24 | 25 | # Wrap the Image with OTA header with version 2 26 | ../../../../../SDK/$2/Tools/OTAUtils/JET.exe -m otamerge --ota -c UpGradeImagewithOTAHeaderV2.bin -o ClientUpGradeImagewithOTAHeaderV2.bin -v JN516x -n 2 -u $3 -t $5 -j $4 27 | ../../../../../SDK/$2/Tools/OTAUtils/JET.exe -m otamerge --ota -c UpGradeImagewithOTAHeaderV2.bin -o ClientUpGradeImagewithOTAHeaderV2.ota -p 1 -v JN516x -n 2 -u $3 -t $5 -j $4 28 | 29 | # Modify Embedded Header to reflect version 3 30 | ../../../../../SDK/$2/Tools/OTAUtils/JET.exe -m otamerge --embed_hdr -c Client.bin -o UpGradeImagewithOTAHeaderV3.bin -v JN516x -n 3 -u $3 -t $5 -j $4 31 | 32 | # Wrap the Image with OTA header with version 3 33 | ../../../../../SDK/$2/Tools/OTAUtils/JET.exe -m otamerge --ota -c UpGradeImagewithOTAHeaderV3.bin -o ClientUpGradeImagewithOTAHeaderV3.bin -v JN516x -n 3 -u $3 -t $5 -j $4 34 | ../../../../../SDK/$2/Tools/OTAUtils/JET.exe -m otamerge --ota -c UpGradeImagewithOTAHeaderV3.bin -o ClientUpGradeImagewithOTAHeaderV3.ota -p 1 -v JN516x -n 3 -u $3 -t $5 -j $4 35 | 36 | # #################################################################################################### 37 | # #################################### Clean Up Imtermediate files################################################## 38 | 39 | # rm Light.bin 40 | rm output*.bin 41 | rm UpGradeImagewithOTAHeader*.bin 42 | 43 | chmod 777 Client.bin 44 | chmod 777 ClientUpGradeImagewithOTAHeaderV2.bin 45 | chmod 777 ClientUpGradeImagewithOTAHeaderV3.bin 46 | -------------------------------------------------------------------------------- /firmware/Light_OnOffLight/Build/OTABuild/LinkKey_3.txt: -------------------------------------------------------------------------------- 1 | #sample LinkKey file 2 | 3 | #ff112233445566778899aabbccddee00 4 | 5a6967426565416c6c69616e63653039 5 | #a1a2a3a4a5a6a7a8a9b1b2b3b4b5b6b7 6 | #abcdefabcdefabcdefabcdefabcdefab 7 | #a1a2a3a4a5a6a7a8a9b1b2b3b4b5b6b7 8 | #c1c2c3c4c5c6c7c8c9d1d2d3d4d5d6d7 9 | -------------------------------------------------------------------------------- /firmware/Light_OnOffLight/Build/OTABuild/LinkKey_HA.txt: -------------------------------------------------------------------------------- 1 | #sample LinkKey file 2 | 3 | #ff112233445566778899aabbccddee00 4 | 5a6967426565416c6c69616e63653039 5 | 6 | #a1a2a3a4a5a6a7a8a9b1b2b3b4b5b6b7 7 | #abcdefabcdefabcdefabcdefabcdefab 8 | #a1a2a3a4a5a6a7a8a9b1b2b3b4b5b6b7 9 | #c1c2c3c4c5c6c7c8c9d1d2d3d4d5d6d7 10 | -------------------------------------------------------------------------------- /firmware/Light_OnOffLight/Build/OTABuild/MACAddr_3.txt: -------------------------------------------------------------------------------- 1 | #sample MAC address file 2 | #0000000000000001 3 | 4 | 0000000001000001 5 | #000000000AAAAAAA 6 | #0000000001000004 -------------------------------------------------------------------------------- /firmware/Light_OnOffLight/Build/OTABuild/MACAddr_Dummy.txt: -------------------------------------------------------------------------------- 1 | #sample MAC address file 2 | 3 | ffffffffffffffff 4 | 5 | #0000000001000001 6 | #000000000AAAAAAA 7 | #0000000001000004 -------------------------------------------------------------------------------- /firmware/Light_OnOffLight/Build/OTABuild/configOTA_6x_Cer_Keys_HA_Light.txt: -------------------------------------------------------------------------------- 1 | # This is a sample configuration file 2 | 3 | MACAddr_Dummy.txt,0044,8 4 | LinkKey_HA.txt,00a4,16 5 | 6 | 7 | -------------------------------------------------------------------------------- /firmware/Light_OnOffLight/Build/OTABuild/configOTA_6x_Cer_Keys_HA_Light_Generic.txt: -------------------------------------------------------------------------------- 1 | # This is a sample configuration file 2 | 3 | MACAddr_3.txt,0044,8 4 | LinkKey_3.txt,00a4,16 5 | 6 | 7 | -------------------------------------------------------------------------------- /firmware/Light_OnOffPlug/Build/APP_stack_size_JN5164.ld: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * MODULE: JN-AN-1171 4 | * 5 | * COMPONENT: App_Stack_Size.ld 6 | * 7 | * AUTHOR: JV 8 | * 9 | * DESCRIPTION: Linker command file defining the default app stack size 10 | * 11 | * $HeadURL: https://www.collabnet.nxp.com/svn/lprf_sware/Application_Notes/JN-AN-1171-ZigBee-LightLink-Demo/Tags/JN-AN-1171-ZigBee-LightLink-Demo_ZLL1v0_IRC2/Light_DimmableLight/Build/APP_stack_size_JN5168.ld $ 12 | * 13 | * $Revision: 50402 $ 14 | * 15 | * $LastChangedBy: nxp46755 $ 16 | * 17 | * $LastChangedDate: 2012-12-12 06:48:00 +0000 (Wed, 12 Dec 2012) $ 18 | * 19 | * $Id: APP_stack_size_JN5168.ld 50402 2012-12-12 06:48:00Z nxp46755 $ 20 | * 21 | **************************************************************************** 22 | * 23 | * This software is owned by NXP B.V. and/or its supplier and is protected 24 | * under applicable copyright laws. All rights are reserved. We grant You, 25 | * and any third parties, a license to use this software solely and 26 | * exclusively on NXP products [NXP Microcontrollers such as JN5168, JN5164, 27 | * JN5161, JN5148, JN5142, JN5139]. 28 | * You, and any third parties must reproduce the copyright and warranty notice 29 | * and any other legend of ownership on each copy or partial copy of the 30 | * software. 31 | * 32 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 33 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 34 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 35 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 36 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 37 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 38 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 39 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 40 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 41 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 42 | * POSSIBILITY OF SUCH DAMAGE. 43 | * 44 | * Copyright NXP B.V. 2012. All rights reserved 45 | * 46 | ***************************************************************************/ 47 | 48 | /* Default stack size for ZBPro applications. 49 | * To override the default setting, copy this 50 | * file to your apoplication build folder and 51 | * alter the stack size as required. */ 52 | 53 | _minimum_heap_size = 1000; 54 | _stack_size = 4000; 55 | 56 | -------------------------------------------------------------------------------- /firmware/Light_OnOffPlug/Build/APP_stack_size_JN5168.ld: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * MODULE: JN-AN-1171 4 | * 5 | * COMPONENT: App_Stack_Size.ld 6 | * 7 | * AUTHOR: JV 8 | * 9 | * DESCRIPTION: Linker command file defining the default app stack size 10 | * 11 | * $HeadURL: https://www.collabnet.nxp.com/svn/lprf_sware/Application_Notes/JN-AN-1171-ZigBee-LightLink-Demo/Tags/JN-AN-1171-ZigBee-LightLink-Demo_ZLL1v0_IRC2/Light_OnOffPlug/Build/APP_stack_size_JN5168.ld $ 12 | * 13 | * $Revision: 50404 $ 14 | * 15 | * $LastChangedBy: nxp46755 $ 16 | * 17 | * $LastChangedDate: 2012-12-12 07:08:35 +0000 (Wed, 12 Dec 2012) $ 18 | * 19 | * $Id: APP_stack_size_JN5168.ld 50404 2012-12-12 07:08:35Z nxp46755 $ 20 | * 21 | **************************************************************************** 22 | * 23 | * This software is owned by NXP B.V. and/or its supplier and is protected 24 | * under applicable copyright laws. All rights are reserved. We grant You, 25 | * and any third parties, a license to use this software solely and 26 | * exclusively on NXP products [NXP Microcontrollers such as JN5168, JN5164, 27 | * JN5161, JN5148, JN5142, JN5139]. 28 | * You, and any third parties must reproduce the copyright and warranty notice 29 | * and any other legend of ownership on each copy or partial copy of the 30 | * software. 31 | * 32 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 33 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 34 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 35 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 36 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 37 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 38 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 39 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 40 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 41 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 42 | * POSSIBILITY OF SUCH DAMAGE. 43 | * 44 | * Copyright NXP B.V. 2012. All rights reserved 45 | * 46 | ***************************************************************************/ 47 | 48 | /* Default stack size for ZBPro applications. 49 | * To override the default setting, copy this 50 | * file to your apoplication build folder and 51 | * alter the stack size as required. */ 52 | 53 | _minimum_heap_size = 1000; 54 | _stack_size = 4000; 55 | 56 | -------------------------------------------------------------------------------- /firmware/Light_OnOffPlug/Build/APP_stack_size_JN5169.ld: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * MODULE: JN-AN-1171 4 | * 5 | * COMPONENT: App_Stack_Size.ld 6 | * 7 | * AUTHOR: JV 8 | * 9 | * DESCRIPTION: Linker command file defining the default app stack size 10 | * 11 | * $HeadURL: https://www.collabnet.nxp.com/svn/lprf_sware/Application_Notes/JN-AN-1171-ZigBee-LightLink-Demo/Tags/JN-AN-1171-ZigBee-LightLink-Demo_ZLL1v0_IRC2/Light_ExtendedColorLight/Build/APP_stack_size_JN5168.ld $ 12 | * 13 | * $Revision: 50402 $ 14 | * 15 | * $LastChangedBy: nxp46755 $ 16 | * 17 | * $LastChangedDate: 2012-12-12 06:48:00 +0000 (Wed, 12 Dec 2012) $ 18 | * 19 | * $Id: APP_stack_size_JN5168.ld 50402 2012-12-12 06:48:00Z nxp46755 $ 20 | * 21 | **************************************************************************** 22 | * 23 | * This software is owned by NXP B.V. and/or its supplier and is protected 24 | * under applicable copyright laws. All rights are reserved. We grant You, 25 | * and any third parties, a license to use this software solely and 26 | * exclusively on NXP products [NXP Microcontrollers such as JN5168, JN5164, 27 | * JN5161, JN5148, JN5142, JN5139]. 28 | * You, and any third parties must reproduce the copyright and warranty notice 29 | * and any other legend of ownership on each copy or partial copy of the 30 | * software. 31 | * 32 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 33 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 34 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 35 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 36 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 37 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 38 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 39 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 40 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 41 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 42 | * POSSIBILITY OF SUCH DAMAGE. 43 | * 44 | * Copyright NXP B.V. 2012. All rights reserved 45 | * 46 | ***************************************************************************/ 47 | 48 | /* Default stack size for ZBPro applications. 49 | * To override the default setting, copy this 50 | * file to your apoplication build folder and 51 | * alter the stack size as required. */ 52 | 53 | _minimum_heap_size = 1000; 54 | _stack_size = 4000; 55 | 56 | -------------------------------------------------------------------------------- /firmware/Light_OnOffPlug/Build/Light_OnOffPlug_JN5169_DR1175.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/firmware/Light_OnOffPlug/Build/Light_OnOffPlug_JN5169_DR1175.bin -------------------------------------------------------------------------------- /firmware/OTAServer/Build/OTABuild/CreatOtaServer.bat: -------------------------------------------------------------------------------- 1 | cd ../OTABuild 2 | 3 | # ::::::::::::::::::::::::::::::::::::::::::Build Server Binary :::::::::::::::::::::::::::::::::::::::::::::::::::: 4 | # :: REM add serial data to the Coordinator binary 5 | ../../../../../SDK/JN-SW-4168/Tools/OTAUtils/JET.exe -m combine -f OTAServer_JN5168.bin -x configOTA_6x_Cer_Keys_HA_Server.txt -v 4 -g 1 -k 11111111222222223333333344444444 -u 0x1037 -t 0x5168 6 | 7 | # :: Creat a server file with default header that is already there as part of rom place holder version 1 8 | ../../../../../SDK/JN-SW-4168/Tools/OTAUtils/JET.exe -m otamerge --embed_hdr -c output0000000000000002.bin -o Server.bin -v 4 -n 1 -u 0x1037 -t 0x5168 9 | 10 | rm -f OTAServer_JN5168.bin 11 | rm -f output0000000000000002.bin -------------------------------------------------------------------------------- /firmware/OTAServer/Build/OTABuild/LinkKey_HA.txt: -------------------------------------------------------------------------------- 1 | #sample LinkKey file 2 | 3 | #ff112233445566778899aabbccddee00 4 | 5a6967426565416c6c69616e63653039 5 | #a1a2a3a4a5a6a7a8a9b1b2b3b4b5b6b7 6 | #abcdefabcdefabcdefabcdefabcdefab 7 | #a1a2a3a4a5a6a7a8a9b1b2b3b4b5b6b7 8 | #c1c2c3c4c5c6c7c8c9d1d2d3d4d5d6d7 9 | -------------------------------------------------------------------------------- /firmware/OTAServer/Build/OTABuild/MACAddr_Dummy.txt: -------------------------------------------------------------------------------- 1 | #sample MAC address file 2 | 0000000000000002 3 | 4 | #0000000001000001 5 | #000000000AAAAAAA 6 | #0000000001000004 -------------------------------------------------------------------------------- /firmware/OTAServer/Build/OTABuild/configOTA_6x_Cer_Keys_HA_Server.txt: -------------------------------------------------------------------------------- 1 | # This is a sample configuration file 2 | 3 | MACAddr_Dummy.txt,0044,8 4 | LinkKey_HA.txt,00a4,16 5 | 6 | -------------------------------------------------------------------------------- /firmware/OTAServer/Build/OTAServer_JN5168.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/firmware/OTAServer/Build/OTAServer_JN5168.bin -------------------------------------------------------------------------------- /hardware/Prototype/Board_BOT_v1.0.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/hardware/Prototype/Board_BOT_v1.0.JPG -------------------------------------------------------------------------------- /hardware/Prototype/Board_TOP_v1.0.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/hardware/Prototype/Board_TOP_v1.0.JPG -------------------------------------------------------------------------------- /hardware/Prototype/IMG_20200211_153621.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/hardware/Prototype/IMG_20200211_153621.jpg -------------------------------------------------------------------------------- /hardware/Prototype/IMG_20200211_153630.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/hardware/Prototype/IMG_20200211_153630.jpg -------------------------------------------------------------------------------- /hardware/Prototype/Schema_v1.0.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/hardware/Prototype/Schema_v1.0.jpg -------------------------------------------------------------------------------- /hardware/prototype/Board_BOT_v1.0.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/hardware/prototype/Board_BOT_v1.0.JPG -------------------------------------------------------------------------------- /hardware/prototype/Board_TOP_v1.0.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/hardware/prototype/Board_TOP_v1.0.JPG -------------------------------------------------------------------------------- /hardware/prototype/IMG_20200211_153621.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/hardware/prototype/IMG_20200211_153621.jpg -------------------------------------------------------------------------------- /hardware/prototype/IMG_20200211_153630.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/hardware/prototype/IMG_20200211_153630.jpg -------------------------------------------------------------------------------- /hardware/prototype/Schema_v1.0.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/hardware/prototype/Schema_v1.0.JPG -------------------------------------------------------------------------------- /sdk/Chip/JN5161/Build/AppBuildExceptionHandlers.ld: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | * 3 | * This software is owned by NXP B.V. and/or its supplier and is protected 4 | * under applicable copyright laws. All rights are reserved. We grant You, 5 | * and any third parties, a license to use this software solely and 6 | * exclusively on NXP products [NXP Microcontrollers such as JN5148, JN5142, JN5139]. 7 | * You, and any third parties must reproduce the copyright and warranty notice 8 | * and any other legend of ownership on each copy or partial copy of the 9 | * software. 10 | * 11 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 12 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 13 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 14 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 15 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 16 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 17 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 18 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 19 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 20 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 21 | * POSSIBILITY OF SUCH DAMAGE. 22 | * 23 | * Copyright NXP B.V. 2012. All rights reserved 24 | * 25 | ***************************************************************************/ 26 | 27 | /* Now building all code at once, so include vectors. MAC address is embedded 28 | in build for now */ 29 | 30 | 31 | EXTERN(vException_BusError) 32 | EXTERN(vException_UnalignedAccess) 33 | EXTERN(vException_IllegalInstruction) 34 | EXTERN(vException_SysCall) 35 | EXTERN(vException_Trap) 36 | EXTERN(vException_StackOverflow) 37 | EXTERN(_exception_external_interrupt) 38 | PROVIDE(vException_BusError = restore_state); 39 | PROVIDE(vException_UnalignedAccess = restore_state); 40 | PROVIDE(vException_IllegalInstruction = restore_state); 41 | PROVIDE(vException_SysCall = restore_state); 42 | PROVIDE(vException_Trap = restore_state); 43 | PROVIDE(vException_StackOverflow = restore_state); 44 | 45 | SECTIONS 46 | { 47 | 48 | . = ABSOLUTE(_exception_vsr_table); 49 | 50 | .vsr_table : 51 | { 52 | LONG(ABSOLUTE(vException_BusError)) 53 | LONG(ABSOLUTE(vException_UnalignedAccess)) 54 | LONG(ABSOLUTE(vException_IllegalInstruction)) 55 | LONG(ABSOLUTE(vException_SysCall)) 56 | LONG(ABSOLUTE(vException_Trap)) 57 | LONG(ABSOLUTE(vException_StackOverflow)) 58 | } > flash 59 | 60 | .vsr_handlers : 61 | { 62 | KEEP(*(.vsr_handlers)) 63 | } > flash 64 | 65 | } 66 | -------------------------------------------------------------------------------- /sdk/Chip/JN5161/Build/AppBuildJenNet.ld: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | * 3 | * This software is owned by NXP B.V. and/or its supplier and is protected 4 | * under applicable copyright laws. All rights are reserved. We grant You, 5 | * and any third parties, a license to use this software solely and 6 | * exclusively on NXP products [NXP Microcontrollers such as JN5148, JN5142, JN5139]. 7 | * You, and any third parties must reproduce the copyright and warranty notice 8 | * and any other legend of ownership on each copy or partial copy of the 9 | * software. 10 | * 11 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 12 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 13 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 14 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 15 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 16 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 17 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 18 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 19 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 20 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 21 | * POSSIBILITY OF SUCH DAMAGE. 22 | * 23 | * Copyright NXP B.V. 2012. All rights reserved 24 | * 25 | ***************************************************************************/ 26 | 27 | INCLUDE AppBuildMac.ld 28 | 29 | /* This allows us to provide OS stub functions if JenOS is not present */ 30 | EXTERN(OS_eEnterCriticalSection_stub) 31 | EXTERN(OS_eExitCriticalSection_stub) 32 | PROVIDE(OS_eEnterCriticalSection = OS_eEnterCriticalSection_stub); 33 | PROVIDE(OS_eExitCriticalSection = OS_eExitCriticalSection_stub); 34 | -------------------------------------------------------------------------------- /sdk/Chip/JN5161/Build/AppBuildMac.ld: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | * 3 | * This software is owned by NXP B.V. and/or its supplier and is protected 4 | * under applicable copyright laws. All rights are reserved. We grant You, 5 | * and any third parties, a license to use this software solely and 6 | * exclusively on NXP products [NXP Microcontrollers such as JN5148, JN5142, JN5139]. 7 | * You, and any third parties must reproduce the copyright and warranty notice 8 | * and any other legend of ownership on each copy or partial copy of the 9 | * software. 10 | * 11 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 12 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 13 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 14 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 15 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 16 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 17 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 18 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 19 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 20 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 21 | * POSSIBILITY OF SUCH DAMAGE. 22 | * 23 | * Copyright NXP B.V. 2012. All rights reserved 24 | * 25 | ***************************************************************************/ 26 | 27 | INCLUDE AppBuildNone.ld 28 | 29 | EXTERN(TSV_eOpen) 30 | EXTERN(TSV_eStart) 31 | EXTERN(TSV_eStop) 32 | EXTERN(pvAppApiDefGetMacHandle) 33 | EXTERN(u32AppApiDefInit) 34 | EXTERN(vAppApiDefMlmeRequest) 35 | EXTERN(vAppApiDefMcpsRequest) 36 | EXTERN(eAppApiDefPlmeSet) 37 | EXTERN(eAppApiDefPlmeGet) 38 | EXTERN(pvAppApiDefGetMacAddrLocation) 39 | EXTERN(vAppApiDefSaveMacSettings) 40 | EXTERN(vAppApiDefRestoreMacSettings) 41 | 42 | /* Following map patchable functions to their API calls, for TSV and MAC */ 43 | TSV_eOpenVector = TSV_eOpen; 44 | TSV_eStartVector = TSV_eStart; 45 | TSV_eStopVector = TSV_eStop; 46 | pvAppApiGetMacHandle = pvAppApiDefGetMacHandle; 47 | u32AppApiInit = u32AppApiDefInit; 48 | vAppApiMlmeRequest = vAppApiDefMlmeRequest; 49 | vAppApiMcpsRequest = vAppApiDefMcpsRequest; 50 | eAppApiPlmeSet = eAppApiDefPlmeSet; 51 | eAppApiPlmeGet = eAppApiDefPlmeGet; 52 | pvAppApiGetMacAddrLocation = pvAppApiDefGetMacAddrLocation; 53 | vAppApiSaveMacSettings = vAppApiDefSaveMacSettings; 54 | vAppApiRestoreMacSettings = vAppApiDefRestoreMacSettings; 55 | -------------------------------------------------------------------------------- /sdk/Chip/JN5161/Build/AppBuildNone.ld: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | * 3 | * This software is owned by NXP B.V. and/or its supplier and is protected 4 | * under applicable copyright laws. All rights are reserved. We grant You, 5 | * and any third parties, a license to use this software solely and 6 | * exclusively on NXP products [NXP Microcontrollers such as JN5148, JN5142, JN5139]. 7 | * You, and any third parties must reproduce the copyright and warranty notice 8 | * and any other legend of ownership on each copy or partial copy of the 9 | * software. 10 | * 11 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 12 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 13 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 14 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 15 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 16 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 17 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 18 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 19 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 20 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 21 | * POSSIBILITY OF SUCH DAMAGE. 22 | * 23 | * Copyright NXP B.V. 2012. All rights reserved 24 | * 25 | ***************************************************************************/ 26 | 27 | INCLUDE AppBuildStart.ld 28 | INCLUDE AppBuildExceptionHandlers.ld 29 | INCLUDE AppBuildEnd.ld 30 | -------------------------------------------------------------------------------- /sdk/Chip/JN5161/Build/BootLoaderFunctions.ld: -------------------------------------------------------------------------------- 1 | _exception_vsr_table = 0x00080038; 2 | pSPIflashFncTable = 0x04000000; 3 | -------------------------------------------------------------------------------- /sdk/Chip/JN5161/Build/FixedLocationBootFunctions.ld: -------------------------------------------------------------------------------- 1 | restore_state = 0x00000044; 2 | bZSPIWaitWIPClear = 0x0000004a; 3 | u16ZSPIflashRDID = 0x00000050; 4 | u8SelectFlashChipType = 0x00000056; 5 | memcpy = 0x0000005c; 6 | vBootFlashProg = 0x00000066; 7 | 8 | 9 | -------------------------------------------------------------------------------- /sdk/Chip/JN5164/Build/AppBuildExceptionHandlers.ld: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | * 3 | * This software is owned by NXP B.V. and/or its supplier and is protected 4 | * under applicable copyright laws. All rights are reserved. We grant You, 5 | * and any third parties, a license to use this software solely and 6 | * exclusively on NXP products [NXP Microcontrollers such as JN5148, JN5142, JN5139]. 7 | * You, and any third parties must reproduce the copyright and warranty notice 8 | * and any other legend of ownership on each copy or partial copy of the 9 | * software. 10 | * 11 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 12 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 13 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 14 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 15 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 16 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 17 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 18 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 19 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 20 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 21 | * POSSIBILITY OF SUCH DAMAGE. 22 | * 23 | * Copyright NXP B.V. 2012. All rights reserved 24 | * 25 | ***************************************************************************/ 26 | 27 | /* Now building all code at once, so include vectors. MAC address is embedded 28 | in build for now */ 29 | 30 | 31 | EXTERN(vException_BusError) 32 | EXTERN(vException_UnalignedAccess) 33 | EXTERN(vException_IllegalInstruction) 34 | EXTERN(vException_SysCall) 35 | EXTERN(vException_Trap) 36 | EXTERN(vException_StackOverflow) 37 | EXTERN(_exception_external_interrupt) 38 | PROVIDE(vException_BusError = restore_state); 39 | PROVIDE(vException_UnalignedAccess = restore_state); 40 | PROVIDE(vException_IllegalInstruction = restore_state); 41 | PROVIDE(vException_SysCall = restore_state); 42 | PROVIDE(vException_Trap = restore_state); 43 | PROVIDE(vException_StackOverflow = restore_state); 44 | 45 | SECTIONS 46 | { 47 | 48 | . = ABSOLUTE(_exception_vsr_table); 49 | 50 | .vsr_table : 51 | { 52 | LONG(ABSOLUTE(vException_BusError)) 53 | LONG(ABSOLUTE(vException_UnalignedAccess)) 54 | LONG(ABSOLUTE(vException_IllegalInstruction)) 55 | LONG(ABSOLUTE(vException_SysCall)) 56 | LONG(ABSOLUTE(vException_Trap)) 57 | LONG(ABSOLUTE(vException_StackOverflow)) 58 | } > flash 59 | 60 | .vsr_handlers : 61 | { 62 | KEEP(*(.vsr_handlers)) 63 | } > flash 64 | 65 | } 66 | -------------------------------------------------------------------------------- /sdk/Chip/JN5164/Build/AppBuildJenNet.ld: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | * 3 | * This software is owned by NXP B.V. and/or its supplier and is protected 4 | * under applicable copyright laws. All rights are reserved. We grant You, 5 | * and any third parties, a license to use this software solely and 6 | * exclusively on NXP products [NXP Microcontrollers such as JN5148, JN5142, JN5139]. 7 | * You, and any third parties must reproduce the copyright and warranty notice 8 | * and any other legend of ownership on each copy or partial copy of the 9 | * software. 10 | * 11 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 12 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 13 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 14 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 15 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 16 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 17 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 18 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 19 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 20 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 21 | * POSSIBILITY OF SUCH DAMAGE. 22 | * 23 | * Copyright NXP B.V. 2012. All rights reserved 24 | * 25 | ***************************************************************************/ 26 | 27 | INCLUDE AppBuildMac.ld 28 | 29 | /* This allows us to provide OS stub functions if JenOS is not present */ 30 | EXTERN(OS_eEnterCriticalSection_stub) 31 | EXTERN(OS_eExitCriticalSection_stub) 32 | PROVIDE(OS_eEnterCriticalSection = OS_eEnterCriticalSection_stub); 33 | PROVIDE(OS_eExitCriticalSection = OS_eExitCriticalSection_stub); 34 | -------------------------------------------------------------------------------- /sdk/Chip/JN5164/Build/AppBuildJip.ld: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | * 3 | * This software is owned by NXP B.V. and/or its supplier and is protected 4 | * under applicable copyright laws. All rights are reserved. We grant You, 5 | * and any third parties, a license to use this software solely and 6 | * exclusively on NXP products [NXP Microcontrollers such as JN5148, JN5142, JN5139]. 7 | * You, and any third parties must reproduce the copyright and warranty notice 8 | * and any other legend of ownership on each copy or partial copy of the 9 | * software. 10 | * 11 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 12 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 13 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 14 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 15 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 16 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 17 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 18 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 19 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 20 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 21 | * POSSIBILITY OF SUCH DAMAGE. 22 | * 23 | * Copyright NXP B.V. 2012. All rights reserved 24 | * 25 | ***************************************************************************/ 26 | 27 | INCLUDE AppBuildNone.ld 28 | 29 | EXTERN(TSV_eOpen) 30 | EXTERN(TSV_eStart) 31 | EXTERN(TSV_eStop) 32 | 33 | /* Following map patchable functions to their API calls, for TSV */ 34 | TSV_eOpenVector = TSV_eOpen; 35 | TSV_eStartVector = TSV_eStart; 36 | TSV_eStopVector = TSV_eStop; 37 | 38 | /* This allows us to provide OS stub functions if JenOS is not present */ 39 | EXTERN(OS_eEnterCriticalSection_stub) 40 | EXTERN(OS_eExitCriticalSection_stub) 41 | PROVIDE(OS_eEnterCriticalSection = OS_eEnterCriticalSection_stub); 42 | PROVIDE(OS_eExitCriticalSection = OS_eExitCriticalSection_stub); 43 | -------------------------------------------------------------------------------- /sdk/Chip/JN5164/Build/AppBuildMac.ld: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | * 3 | * This software is owned by NXP B.V. and/or its supplier and is protected 4 | * under applicable copyright laws. All rights are reserved. We grant You, 5 | * and any third parties, a license to use this software solely and 6 | * exclusively on NXP products [NXP Microcontrollers such as JN5148, JN5142, JN5139]. 7 | * You, and any third parties must reproduce the copyright and warranty notice 8 | * and any other legend of ownership on each copy or partial copy of the 9 | * software. 10 | * 11 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 12 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 13 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 14 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 15 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 16 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 17 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 18 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 19 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 20 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 21 | * POSSIBILITY OF SUCH DAMAGE. 22 | * 23 | * Copyright NXP B.V. 2012. All rights reserved 24 | * 25 | ***************************************************************************/ 26 | 27 | INCLUDE AppBuildNone.ld 28 | 29 | EXTERN(TSV_eOpen) 30 | EXTERN(TSV_eStart) 31 | EXTERN(TSV_eStop) 32 | EXTERN(pvAppApiDefGetMacHandle) 33 | EXTERN(u32AppApiDefInit) 34 | EXTERN(vAppApiDefMlmeRequest) 35 | EXTERN(vAppApiDefMcpsRequest) 36 | EXTERN(eAppApiDefPlmeSet) 37 | EXTERN(eAppApiDefPlmeGet) 38 | EXTERN(pvAppApiDefGetMacAddrLocation) 39 | EXTERN(vAppApiDefSaveMacSettings) 40 | EXTERN(vAppApiDefRestoreMacSettings) 41 | 42 | /* Following map patchable functions to their API calls, for TSV and MAC */ 43 | TSV_eOpenVector = TSV_eOpen; 44 | TSV_eStartVector = TSV_eStart; 45 | TSV_eStopVector = TSV_eStop; 46 | pvAppApiGetMacHandle = pvAppApiDefGetMacHandle; 47 | u32AppApiInit = u32AppApiDefInit; 48 | vAppApiMlmeRequest = vAppApiDefMlmeRequest; 49 | vAppApiMcpsRequest = vAppApiDefMcpsRequest; 50 | eAppApiPlmeSet = eAppApiDefPlmeSet; 51 | eAppApiPlmeGet = eAppApiDefPlmeGet; 52 | pvAppApiGetMacAddrLocation = pvAppApiDefGetMacAddrLocation; 53 | vAppApiSaveMacSettings = vAppApiDefSaveMacSettings; 54 | vAppApiRestoreMacSettings = vAppApiDefRestoreMacSettings; 55 | -------------------------------------------------------------------------------- /sdk/Chip/JN5164/Build/AppBuildNone.ld: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | * 3 | * This software is owned by NXP B.V. and/or its supplier and is protected 4 | * under applicable copyright laws. All rights are reserved. We grant You, 5 | * and any third parties, a license to use this software solely and 6 | * exclusively on NXP products [NXP Microcontrollers such as JN5148, JN5142, JN5139]. 7 | * You, and any third parties must reproduce the copyright and warranty notice 8 | * and any other legend of ownership on each copy or partial copy of the 9 | * software. 10 | * 11 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 12 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 13 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 14 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 15 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 16 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 17 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 18 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 19 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 20 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 21 | * POSSIBILITY OF SUCH DAMAGE. 22 | * 23 | * Copyright NXP B.V. 2012. All rights reserved 24 | * 25 | ***************************************************************************/ 26 | 27 | INCLUDE AppBuildStart.ld 28 | INCLUDE AppBuildExceptionHandlers.ld 29 | INCLUDE AppBuildEnd.ld 30 | -------------------------------------------------------------------------------- /sdk/Chip/JN5164/Build/AppBuildZBPro.ld: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | * 3 | * This software is owned by NXP B.V. and/or its supplier and is protected 4 | * under applicable copyright laws. All rights are reserved. We grant You, 5 | * and any third parties, a license to use this software solely and 6 | * exclusively on NXP products [NXP Microcontrollers such as JN5148, JN5142, JN5139]. 7 | * You, and any third parties must reproduce the copyright and warranty notice 8 | * and any other legend of ownership on each copy or partial copy of the 9 | * software. 10 | * 11 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 12 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 13 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 14 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 15 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 16 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 17 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 18 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 19 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 20 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 21 | * POSSIBILITY OF SUCH DAMAGE. 22 | * 23 | * Copyright NXP B.V. 2012. All rights reserved 24 | * 25 | ***************************************************************************/ 26 | 27 | INCLUDE AppBuildStart.ld 28 | INCLUDE AppBuildEnd.ld 29 | 30 | -------------------------------------------------------------------------------- /sdk/Chip/JN5164/Build/BootLoaderFunctions.ld: -------------------------------------------------------------------------------- 1 | _exception_vsr_table = 0x00080038; 2 | pSPIflashFncTable = 0x04000000; 3 | -------------------------------------------------------------------------------- /sdk/Chip/JN5164/Build/FixedLocationBootFunctions.ld: -------------------------------------------------------------------------------- 1 | restore_state = 0x00000044; 2 | bZSPIWaitWIPClear = 0x0000004a; 3 | u16ZSPIflashRDID = 0x00000050; 4 | u8SelectFlashChipType = 0x00000056; 5 | memcpy = 0x0000005c; 6 | vBootFlashProg = 0x00000066; 7 | 8 | 9 | -------------------------------------------------------------------------------- /sdk/Chip/JN5168/Build/AppBuildExceptionHandlers.ld: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | * 3 | * This software is owned by NXP B.V. and/or its supplier and is protected 4 | * under applicable copyright laws. All rights are reserved. We grant You, 5 | * and any third parties, a license to use this software solely and 6 | * exclusively on NXP products [NXP Microcontrollers such as JN5148, JN5142, JN5139]. 7 | * You, and any third parties must reproduce the copyright and warranty notice 8 | * and any other legend of ownership on each copy or partial copy of the 9 | * software. 10 | * 11 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 12 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 13 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 14 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 15 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 16 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 17 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 18 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 19 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 20 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 21 | * POSSIBILITY OF SUCH DAMAGE. 22 | * 23 | * Copyright NXP B.V. 2012. All rights reserved 24 | * 25 | ***************************************************************************/ 26 | 27 | /* Now building all code at once, so include vectors. MAC address is embedded 28 | in build for now */ 29 | 30 | 31 | EXTERN(vException_BusError) 32 | EXTERN(vException_UnalignedAccess) 33 | EXTERN(vException_IllegalInstruction) 34 | EXTERN(vException_SysCall) 35 | EXTERN(vException_Trap) 36 | EXTERN(vException_StackOverflow) 37 | EXTERN(_exception_external_interrupt) 38 | PROVIDE(vException_BusError = restore_state); 39 | PROVIDE(vException_UnalignedAccess = restore_state); 40 | PROVIDE(vException_IllegalInstruction = restore_state); 41 | PROVIDE(vException_SysCall = restore_state); 42 | PROVIDE(vException_Trap = restore_state); 43 | PROVIDE(vException_StackOverflow = restore_state); 44 | 45 | SECTIONS 46 | { 47 | 48 | . = ABSOLUTE(_exception_vsr_table); 49 | 50 | .vsr_table : 51 | { 52 | LONG(ABSOLUTE(vException_BusError)) 53 | LONG(ABSOLUTE(vException_UnalignedAccess)) 54 | LONG(ABSOLUTE(vException_IllegalInstruction)) 55 | LONG(ABSOLUTE(vException_SysCall)) 56 | LONG(ABSOLUTE(vException_Trap)) 57 | LONG(ABSOLUTE(vException_StackOverflow)) 58 | } > flash 59 | 60 | .vsr_handlers : 61 | { 62 | KEEP(*(.vsr_handlers)) 63 | } > flash 64 | 65 | } 66 | -------------------------------------------------------------------------------- /sdk/Chip/JN5168/Build/AppBuildJenNet.ld: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | * 3 | * This software is owned by NXP B.V. and/or its supplier and is protected 4 | * under applicable copyright laws. All rights are reserved. We grant You, 5 | * and any third parties, a license to use this software solely and 6 | * exclusively on NXP products [NXP Microcontrollers such as JN5148, JN5142, JN5139]. 7 | * You, and any third parties must reproduce the copyright and warranty notice 8 | * and any other legend of ownership on each copy or partial copy of the 9 | * software. 10 | * 11 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 12 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 13 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 14 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 15 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 16 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 17 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 18 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 19 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 20 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 21 | * POSSIBILITY OF SUCH DAMAGE. 22 | * 23 | * Copyright NXP B.V. 2012. All rights reserved 24 | * 25 | ***************************************************************************/ 26 | 27 | INCLUDE AppBuildMac.ld 28 | 29 | /* This allows us to provide OS stub functions if JenOS is not present */ 30 | EXTERN(OS_eEnterCriticalSection_stub) 31 | EXTERN(OS_eExitCriticalSection_stub) 32 | PROVIDE(OS_eEnterCriticalSection = OS_eEnterCriticalSection_stub); 33 | PROVIDE(OS_eExitCriticalSection = OS_eExitCriticalSection_stub); 34 | -------------------------------------------------------------------------------- /sdk/Chip/JN5168/Build/AppBuildJip.ld: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | * 3 | * This software is owned by NXP B.V. and/or its supplier and is protected 4 | * under applicable copyright laws. All rights are reserved. We grant You, 5 | * and any third parties, a license to use this software solely and 6 | * exclusively on NXP products [NXP Microcontrollers such as JN5148, JN5142, JN5139]. 7 | * You, and any third parties must reproduce the copyright and warranty notice 8 | * and any other legend of ownership on each copy or partial copy of the 9 | * software. 10 | * 11 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 12 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 13 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 14 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 15 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 16 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 17 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 18 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 19 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 20 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 21 | * POSSIBILITY OF SUCH DAMAGE. 22 | * 23 | * Copyright NXP B.V. 2012. All rights reserved 24 | * 25 | ***************************************************************************/ 26 | 27 | INCLUDE AppBuildNone.ld 28 | 29 | EXTERN(TSV_eOpen) 30 | EXTERN(TSV_eStart) 31 | EXTERN(TSV_eStop) 32 | 33 | /* Following map patchable functions to their API calls, for TSV */ 34 | TSV_eOpenVector = TSV_eOpen; 35 | TSV_eStartVector = TSV_eStart; 36 | TSV_eStopVector = TSV_eStop; 37 | 38 | /* This allows us to provide OS stub functions if JenOS is not present */ 39 | EXTERN(OS_eEnterCriticalSection_stub) 40 | EXTERN(OS_eExitCriticalSection_stub) 41 | PROVIDE(OS_eEnterCriticalSection = OS_eEnterCriticalSection_stub); 42 | PROVIDE(OS_eExitCriticalSection = OS_eExitCriticalSection_stub); 43 | -------------------------------------------------------------------------------- /sdk/Chip/JN5168/Build/AppBuildMac.ld: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | * 3 | * This software is owned by NXP B.V. and/or its supplier and is protected 4 | * under applicable copyright laws. All rights are reserved. We grant You, 5 | * and any third parties, a license to use this software solely and 6 | * exclusively on NXP products [NXP Microcontrollers such as JN5148, JN5142, JN5139]. 7 | * You, and any third parties must reproduce the copyright and warranty notice 8 | * and any other legend of ownership on each copy or partial copy of the 9 | * software. 10 | * 11 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 12 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 13 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 14 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 15 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 16 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 17 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 18 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 19 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 20 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 21 | * POSSIBILITY OF SUCH DAMAGE. 22 | * 23 | * Copyright NXP B.V. 2012. All rights reserved 24 | * 25 | ***************************************************************************/ 26 | 27 | INCLUDE AppBuildNone.ld 28 | 29 | EXTERN(TSV_eOpen) 30 | EXTERN(TSV_eStart) 31 | EXTERN(TSV_eStop) 32 | EXTERN(pvAppApiDefGetMacHandle) 33 | EXTERN(u32AppApiDefInit) 34 | EXTERN(vAppApiDefMlmeRequest) 35 | EXTERN(vAppApiDefMcpsRequest) 36 | EXTERN(eAppApiDefPlmeSet) 37 | EXTERN(eAppApiDefPlmeGet) 38 | EXTERN(pvAppApiDefGetMacAddrLocation) 39 | EXTERN(vAppApiDefSaveMacSettings) 40 | EXTERN(vAppApiDefRestoreMacSettings) 41 | 42 | /* Following map patchable functions to their API calls, for TSV and MAC */ 43 | TSV_eOpenVector = TSV_eOpen; 44 | TSV_eStartVector = TSV_eStart; 45 | TSV_eStopVector = TSV_eStop; 46 | pvAppApiGetMacHandle = pvAppApiDefGetMacHandle; 47 | u32AppApiInit = u32AppApiDefInit; 48 | vAppApiMlmeRequest = vAppApiDefMlmeRequest; 49 | vAppApiMcpsRequest = vAppApiDefMcpsRequest; 50 | eAppApiPlmeSet = eAppApiDefPlmeSet; 51 | eAppApiPlmeGet = eAppApiDefPlmeGet; 52 | pvAppApiGetMacAddrLocation = pvAppApiDefGetMacAddrLocation; 53 | vAppApiSaveMacSettings = vAppApiDefSaveMacSettings; 54 | vAppApiRestoreMacSettings = vAppApiDefRestoreMacSettings; 55 | -------------------------------------------------------------------------------- /sdk/Chip/JN5168/Build/AppBuildNone.ld: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | * 3 | * This software is owned by NXP B.V. and/or its supplier and is protected 4 | * under applicable copyright laws. All rights are reserved. We grant You, 5 | * and any third parties, a license to use this software solely and 6 | * exclusively on NXP products [NXP Microcontrollers such as JN5148, JN5142, JN5139]. 7 | * You, and any third parties must reproduce the copyright and warranty notice 8 | * and any other legend of ownership on each copy or partial copy of the 9 | * software. 10 | * 11 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 12 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 13 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 14 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 15 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 16 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 17 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 18 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 19 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 20 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 21 | * POSSIBILITY OF SUCH DAMAGE. 22 | * 23 | * Copyright NXP B.V. 2012. All rights reserved 24 | * 25 | ***************************************************************************/ 26 | 27 | INCLUDE AppBuildStart.ld 28 | INCLUDE AppBuildExceptionHandlers.ld 29 | INCLUDE AppBuildEnd.ld 30 | -------------------------------------------------------------------------------- /sdk/Chip/JN5168/Build/AppBuildZBPro.ld: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | * 3 | * This software is owned by NXP B.V. and/or its supplier and is protected 4 | * under applicable copyright laws. All rights are reserved. We grant You, 5 | * and any third parties, a license to use this software solely and 6 | * exclusively on NXP products [NXP Microcontrollers such as JN5148, JN5142, JN5139]. 7 | * You, and any third parties must reproduce the copyright and warranty notice 8 | * and any other legend of ownership on each copy or partial copy of the 9 | * software. 10 | * 11 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 12 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 13 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 14 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 15 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 16 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 17 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 18 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 19 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 20 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 21 | * POSSIBILITY OF SUCH DAMAGE. 22 | * 23 | * Copyright NXP B.V. 2012. All rights reserved 24 | * 25 | ***************************************************************************/ 26 | 27 | INCLUDE AppBuildStart.ld 28 | INCLUDE AppBuildZBProOta.ld 29 | INCLUDE AppBuildEnd.ld 30 | 31 | -------------------------------------------------------------------------------- /sdk/Chip/JN5168/Build/AppBuildZBProOta.ld: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | * 3 | * This software is owned by NXP B.V. and/or its supplier and is protected 4 | * under applicable copyright laws. All rights are reserved. We grant You, 5 | * and any third parties, a license to use this software solely and 6 | * exclusively on NXP products [NXP Microcontrollers such as JN5148, JN5142, JN5139]. 7 | * You, and any third parties must reproduce the copyright and warranty notice 8 | * and any other legend of ownership on each copy or partial copy of the 9 | * software. 10 | * 11 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 12 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 13 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 14 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 15 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 16 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 17 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 18 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 19 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 20 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 21 | * POSSIBILITY OF SUCH DAMAGE. 22 | * 23 | * Copyright NXP B.V. 2012. All rights reserved 24 | * 25 | ***************************************************************************/ 26 | 27 | /* Now building all code at once, so include vectors. MAC address is embedded 28 | in build for now */ 29 | SECTIONS 30 | { 31 | 32 | /* start location 0x54 */ 33 | .ro_mac_address (ALIGN((. - _enc_offset), 16) + _enc_offset): 34 | { 35 | _FlsMACAddress = ABSOLUTE(.); 36 | *(.ro_mac_address) /* Mac Address 8 bytes*/ 37 | . = ALIGN (0x10); 38 | } > flash 39 | 40 | .ro_ota_header (ALIGN((. - _enc_offset), 16) + _enc_offset): 41 | { 42 | _FlsOtaHeader = ABSOLUTE(.); 43 | *(.ro_ota_header) /* Ota Header 69 bytes*/ 44 | . = ALIGN (0x10); 45 | } > flash 46 | 47 | .ro_se_lnkKey (ALIGN((. - _enc_offset), 16) + _enc_offset): 48 | { 49 | _FlsLinkKey = ABSOLUTE(.); 50 | *(.ro_se_lnkKey) /* Link Key 16 bytes*/ 51 | . = ALIGN (0x10); 52 | } > flash 53 | 54 | 55 | } 56 | -------------------------------------------------------------------------------- /sdk/Chip/JN5168/Build/AppBuildZBPro_vsr.ld: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | * 3 | * This software is owned by NXP B.V. and/or its supplier and is protected 4 | * under applicable copyright laws. All rights are reserved. We grant You, 5 | * and any third parties, a license to use this software solely and 6 | * exclusively on NXP products [NXP Microcontrollers such as JN5148, JN5142, JN5139]. 7 | * You, and any third parties must reproduce the copyright and warranty notice 8 | * and any other legend of ownership on each copy or partial copy of the 9 | * software. 10 | * 11 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 12 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 13 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 14 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 15 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 16 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 17 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 18 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 19 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 20 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 21 | * POSSIBILITY OF SUCH DAMAGE. 22 | * 23 | * Copyright NXP B.V. 2012. All rights reserved 24 | * 25 | ***************************************************************************/ 26 | 27 | INCLUDE AppBuildStart.ld 28 | INCLUDE AppBuildExceptionHandlers.ld 29 | INCLUDE AppBuildZBProOta.ld 30 | INCLUDE AppBuildEnd.ld 31 | 32 | -------------------------------------------------------------------------------- /sdk/Chip/JN5168/Build/BootLoaderFunctions.ld: -------------------------------------------------------------------------------- 1 | _exception_vsr_table = 0x00080038; 2 | pSPIflashFncTable = 0x04000000; 3 | -------------------------------------------------------------------------------- /sdk/Chip/JN5168/Build/FixedLocationBootFunctions.ld: -------------------------------------------------------------------------------- 1 | restore_state = 0x00000044; 2 | bZSPIWaitWIPClear = 0x0000004a; 3 | u16ZSPIflashRDID = 0x00000050; 4 | u8SelectFlashChipType = 0x00000056; 5 | memcpy = 0x0000005c; 6 | vBootFlashProg = 0x00000066; 7 | 8 | 9 | -------------------------------------------------------------------------------- /sdk/Chip/JN5169/Build/AppBuildExceptionHandlers.ld: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | * 3 | * This software is owned by NXP B.V. and/or its supplier and is protected 4 | * under applicable copyright laws. All rights are reserved. We grant You, 5 | * and any third parties, a license to use this software solely and 6 | * exclusively on NXP products [NXP Microcontrollers such as JN5148, JN5142, JN5139]. 7 | * You, and any third parties must reproduce the copyright and warranty notice 8 | * and any other legend of ownership on each copy or partial copy of the 9 | * software. 10 | * 11 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 12 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 13 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 14 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 15 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 16 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 17 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 18 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 19 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 20 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 21 | * POSSIBILITY OF SUCH DAMAGE. 22 | * 23 | * Copyright NXP B.V. 2012. All rights reserved 24 | * 25 | ***************************************************************************/ 26 | 27 | /* Now building all code at once, so include vectors. MAC address is embedded 28 | in build for now */ 29 | 30 | 31 | EXTERN(vException_BusError) 32 | EXTERN(vException_UnalignedAccess) 33 | EXTERN(vException_IllegalInstruction) 34 | EXTERN(vException_SysCall) 35 | EXTERN(vException_Trap) 36 | EXTERN(vException_StackOverflow) 37 | EXTERN(_exception_external_interrupt) 38 | PROVIDE(vException_BusError = restore_state); 39 | PROVIDE(vException_UnalignedAccess = restore_state); 40 | PROVIDE(vException_IllegalInstruction = restore_state); 41 | PROVIDE(vException_SysCall = restore_state); 42 | PROVIDE(vException_Trap = restore_state); 43 | PROVIDE(vException_StackOverflow = restore_state); 44 | 45 | SECTIONS 46 | { 47 | 48 | . = ABSOLUTE(exception_vsr_table); 49 | 50 | .vsr_table : 51 | { 52 | LONG(ABSOLUTE(vException_BusError)) 53 | LONG(ABSOLUTE(vException_UnalignedAccess)) 54 | LONG(ABSOLUTE(vException_IllegalInstruction)) 55 | LONG(ABSOLUTE(vException_SysCall)) 56 | LONG(ABSOLUTE(vException_Trap)) 57 | LONG(ABSOLUTE(vException_StackOverflow)) 58 | } > flash 59 | 60 | .vsr_handlers : 61 | { 62 | KEEP(*(.vsr_handlers)) 63 | } > flash 64 | 65 | } 66 | -------------------------------------------------------------------------------- /sdk/Chip/JN5169/Build/AppBuildJenNet.ld: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | * 3 | * This software is owned by NXP B.V. and/or its supplier and is protected 4 | * under applicable copyright laws. All rights are reserved. We grant You, 5 | * and any third parties, a license to use this software solely and 6 | * exclusively on NXP products [NXP Microcontrollers such as JN5148, JN5142, JN5139]. 7 | * You, and any third parties must reproduce the copyright and warranty notice 8 | * and any other legend of ownership on each copy or partial copy of the 9 | * software. 10 | * 11 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 12 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 13 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 14 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 15 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 16 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 17 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 18 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 19 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 20 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 21 | * POSSIBILITY OF SUCH DAMAGE. 22 | * 23 | * Copyright NXP B.V. 2012. All rights reserved 24 | * 25 | ***************************************************************************/ 26 | 27 | INCLUDE AppBuildMac.ld 28 | 29 | /* This allows us to provide OS stub functions if JenOS is not present */ 30 | EXTERN(OS_eEnterCriticalSection_stub) 31 | EXTERN(OS_eExitCriticalSection_stub) 32 | PROVIDE(OS_eEnterCriticalSection = OS_eEnterCriticalSection_stub); 33 | PROVIDE(OS_eExitCriticalSection = OS_eExitCriticalSection_stub); 34 | -------------------------------------------------------------------------------- /sdk/Chip/JN5169/Build/AppBuildJip.ld: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | * 3 | * This software is owned by NXP B.V. and/or its supplier and is protected 4 | * under applicable copyright laws. All rights are reserved. We grant You, 5 | * and any third parties, a license to use this software solely and 6 | * exclusively on NXP products [NXP Microcontrollers such as JN5148, JN5142, JN5139]. 7 | * You, and any third parties must reproduce the copyright and warranty notice 8 | * and any other legend of ownership on each copy or partial copy of the 9 | * software. 10 | * 11 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 12 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 13 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 14 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 15 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 16 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 17 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 18 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 19 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 20 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 21 | * POSSIBILITY OF SUCH DAMAGE. 22 | * 23 | * Copyright NXP B.V. 2012. All rights reserved 24 | * 25 | ***************************************************************************/ 26 | 27 | INCLUDE AppBuildNone.ld 28 | 29 | EXTERN(TSV_eOpen) 30 | EXTERN(TSV_eStart) 31 | EXTERN(TSV_eStop) 32 | 33 | /* Following map patchable functions to their API calls, for TSV */ 34 | TSV_eOpenVector = TSV_eOpen; 35 | TSV_eStartVector = TSV_eStart; 36 | TSV_eStopVector = TSV_eStop; 37 | 38 | /* This allows us to provide OS stub functions if JenOS is not present */ 39 | EXTERN(OS_eEnterCriticalSection_stub) 40 | EXTERN(OS_eExitCriticalSection_stub) 41 | PROVIDE(OS_eEnterCriticalSection = OS_eEnterCriticalSection_stub); 42 | PROVIDE(OS_eExitCriticalSection = OS_eExitCriticalSection_stub); 43 | -------------------------------------------------------------------------------- /sdk/Chip/JN5169/Build/AppBuildMac.ld: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | * 3 | * This software is owned by NXP B.V. and/or its supplier and is protected 4 | * under applicable copyright laws. All rights are reserved. We grant You, 5 | * and any third parties, a license to use this software solely and 6 | * exclusively on NXP products [NXP Microcontrollers such as JN5148, JN5142, JN5139]. 7 | * You, and any third parties must reproduce the copyright and warranty notice 8 | * and any other legend of ownership on each copy or partial copy of the 9 | * software. 10 | * 11 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 12 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 13 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 14 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 15 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 16 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 17 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 18 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 19 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 20 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 21 | * POSSIBILITY OF SUCH DAMAGE. 22 | * 23 | * Copyright NXP B.V. 2012. All rights reserved 24 | * 25 | ***************************************************************************/ 26 | 27 | INCLUDE AppBuildNone.ld 28 | 29 | EXTERN(TSV_eOpen) 30 | EXTERN(TSV_eStart) 31 | EXTERN(TSV_eStop) 32 | EXTERN(pvAppApiDefGetMacHandle) 33 | EXTERN(u32AppApiDefInit) 34 | EXTERN(vAppApiDefMlmeRequest) 35 | EXTERN(vAppApiDefMcpsRequest) 36 | EXTERN(eAppApiDefPlmeSet) 37 | EXTERN(eAppApiDefPlmeGet) 38 | EXTERN(pvAppApiDefGetMacAddrLocation) 39 | EXTERN(vAppApiDefSaveMacSettings) 40 | EXTERN(vAppApiDefRestoreMacSettings) 41 | 42 | /* Following map patchable functions to their API calls, for TSV and MAC */ 43 | TSV_eOpenVector = TSV_eOpen; 44 | TSV_eStartVector = TSV_eStart; 45 | TSV_eStopVector = TSV_eStop; 46 | pvAppApiGetMacHandle = pvAppApiDefGetMacHandle; 47 | u32AppApiInit = u32AppApiDefInit; 48 | vAppApiMlmeRequest = vAppApiDefMlmeRequest; 49 | vAppApiMcpsRequest = vAppApiDefMcpsRequest; 50 | eAppApiPlmeSet = eAppApiDefPlmeSet; 51 | eAppApiPlmeGet = eAppApiDefPlmeGet; 52 | pvAppApiGetMacAddrLocation = pvAppApiDefGetMacAddrLocation; 53 | vAppApiSaveMacSettings = vAppApiDefSaveMacSettings; 54 | vAppApiRestoreMacSettings = vAppApiDefRestoreMacSettings; 55 | -------------------------------------------------------------------------------- /sdk/Chip/JN5169/Build/AppBuildNone.ld: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | * 3 | * This software is owned by NXP B.V. and/or its supplier and is protected 4 | * under applicable copyright laws. All rights are reserved. We grant You, 5 | * and any third parties, a license to use this software solely and 6 | * exclusively on NXP products [NXP Microcontrollers such as JN5148, JN5142, JN5139]. 7 | * You, and any third parties must reproduce the copyright and warranty notice 8 | * and any other legend of ownership on each copy or partial copy of the 9 | * software. 10 | * 11 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 12 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 13 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 14 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 15 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 16 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 17 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 18 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 19 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 20 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 21 | * POSSIBILITY OF SUCH DAMAGE. 22 | * 23 | * Copyright NXP B.V. 2012. All rights reserved 24 | * 25 | ***************************************************************************/ 26 | 27 | INCLUDE AppBuildStart.ld 28 | INCLUDE AppBuildExceptionHandlers.ld 29 | INCLUDE AppBuildEnd.ld 30 | -------------------------------------------------------------------------------- /sdk/Chip/JN5169/Build/AppBuildZBPro.ld: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | * 3 | * This software is owned by NXP B.V. and/or its supplier and is protected 4 | * under applicable copyright laws. All rights are reserved. We grant You, 5 | * and any third parties, a license to use this software solely and 6 | * exclusively on NXP products [NXP Microcontrollers such as JN5148, JN5142, JN5139]. 7 | * You, and any third parties must reproduce the copyright and warranty notice 8 | * and any other legend of ownership on each copy or partial copy of the 9 | * software. 10 | * 11 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 12 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 13 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 14 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 15 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 16 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 17 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 18 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 19 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 20 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 21 | * POSSIBILITY OF SUCH DAMAGE. 22 | * 23 | * Copyright NXP B.V. 2012. All rights reserved 24 | * 25 | ***************************************************************************/ 26 | 27 | INCLUDE AppBuildStart.ld 28 | INCLUDE AppBuildZBProOta.ld 29 | INCLUDE AppBuildEnd.ld 30 | 31 | -------------------------------------------------------------------------------- /sdk/Chip/JN5169/Build/AppBuildZBProOta.ld: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | * 3 | * This software is owned by NXP B.V. and/or its supplier and is protected 4 | * under applicable copyright laws. All rights are reserved. We grant You, 5 | * and any third parties, a license to use this software solely and 6 | * exclusively on NXP products [NXP Microcontrollers such as JN5148, JN5142, JN5139]. 7 | * You, and any third parties must reproduce the copyright and warranty notice 8 | * and any other legend of ownership on each copy or partial copy of the 9 | * software. 10 | * 11 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 12 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 13 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 14 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 15 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 16 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 17 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 18 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 19 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 20 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 21 | * POSSIBILITY OF SUCH DAMAGE. 22 | * 23 | * Copyright NXP B.V. 2012. All rights reserved 24 | * 25 | ***************************************************************************/ 26 | 27 | /* Now building all code at once, so include vectors. MAC address is embedded 28 | in build for now */ 29 | SECTIONS 30 | { 31 | 32 | /* start location 0x54 */ 33 | .ro_mac_address (ALIGN((. - _enc_offset), 16) + _enc_offset): 34 | { 35 | _FlsMACAddress = ABSOLUTE(.); 36 | *(.ro_mac_address) /* Mac Address 8 bytes*/ 37 | . = ALIGN (0x10); 38 | } > flash 39 | 40 | .ro_ota_header (ALIGN((. - _enc_offset), 16) + _enc_offset): 41 | { 42 | _FlsOtaHeader = ABSOLUTE(.); 43 | *(.ro_ota_header) /* Ota Header 69 bytes*/ 44 | . = ALIGN (0x10); 45 | } > flash 46 | 47 | .ro_se_lnkKey (ALIGN((. - _enc_offset), 16) + _enc_offset): 48 | { 49 | _FlsLinkKey = ABSOLUTE(.); 50 | *(.ro_se_lnkKey) /* Link Key 16 bytes*/ 51 | . = ALIGN (0x10); 52 | } > flash 53 | 54 | 55 | } 56 | -------------------------------------------------------------------------------- /sdk/Chip/JN5169/Build/AppBuildZBPro_vsr.ld: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | * 3 | * This software is owned by NXP B.V. and/or its supplier and is protected 4 | * under applicable copyright laws. All rights are reserved. We grant You, 5 | * and any third parties, a license to use this software solely and 6 | * exclusively on NXP products [NXP Microcontrollers such as JN5148, JN5142, JN5139]. 7 | * You, and any third parties must reproduce the copyright and warranty notice 8 | * and any other legend of ownership on each copy or partial copy of the 9 | * software. 10 | * 11 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 12 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 13 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 14 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 15 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 16 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 17 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 18 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 19 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 20 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 21 | * POSSIBILITY OF SUCH DAMAGE. 22 | * 23 | * Copyright NXP B.V. 2012. All rights reserved 24 | * 25 | ***************************************************************************/ 26 | 27 | INCLUDE AppBuildStart.ld 28 | INCLUDE AppBuildExceptionHandlers.ld 29 | INCLUDE AppBuildZBProOta.ld 30 | INCLUDE AppBuildEnd.ld 31 | 32 | -------------------------------------------------------------------------------- /sdk/Chip/JN5169/Build/BootLoaderFunctions.ld: -------------------------------------------------------------------------------- 1 | exception_vsr_table = 0x00080038; 2 | pSPIflashFncTable = 0x04000000; 3 | -------------------------------------------------------------------------------- /sdk/Chip/JN5169/Build/FixedLocationBootFunctions.ld: -------------------------------------------------------------------------------- 1 | restore_state = 0x00000044; 2 | bZSPIWaitWIPClear = 0x0000004a; 3 | u16ZSPIflashRDID = 0x00000050; 4 | u8SelectFlashChipType = 0x00000056; 5 | memcpy = 0x0000005c; 6 | vBootFlashProg = 0x00000066; 7 | 8 | 9 | -------------------------------------------------------------------------------- /sdk/Components/AppApi/Include/AppApi.h: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * MODULE: Application API header 4 | * 5 | * DESCRIPTION: Select correct interface depending on chip / chip family 6 | * 7 | **************************************************************************** 8 | * 9 | * This software is owned by NXP B.V. and/or its supplier and is protected 10 | * under applicable copyright laws. All rights are reserved. We grant You, 11 | * and any third parties, a license to use this software solely and 12 | * exclusively on NXP products [NXP Microcontrollers such as JN5148, JN5142, JN5139]. 13 | * You, and any third parties must reproduce the copyright and warranty notice 14 | * and any other legend of ownership on each copy or partial copy of the 15 | * software. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | * 29 | * Copyright NXP B.V. 2012. All rights reserved 30 | * 31 | ***************************************************************************/ 32 | 33 | #define EXPAND1(x) x 34 | #define EXPAND2(x, y) EXPAND1(x)y 35 | #define EXPAND3(x, y, z) EXPAND2(x, y)z 36 | 37 | /* Convoluted way to #include */ 38 | #undef INCLUDE_NAME 39 | #define INCLUDE_NAME 40 | #include INCLUDE_NAME 41 | -------------------------------------------------------------------------------- /sdk/Components/AppApi/Include/AppApi_JN5161.h: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * MODULE: Application API header 4 | * 5 | * DESCRIPTION: Select correct interface depending on chip / chip family 6 | * 7 | **************************************************************************** 8 | * 9 | * This software is owned by NXP B.V. and/or its supplier and is protected 10 | * under applicable copyright laws. All rights are reserved. We grant You, 11 | * and any third parties, a license to use this software solely and 12 | * exclusively on NXP products [NXP Microcontrollers such as JN5148, JN5142, JN5139]. 13 | * You, and any third parties must reproduce the copyright and warranty notice 14 | * and any other legend of ownership on each copy or partial copy of the 15 | * software. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | * 29 | * Copyright NXP B.V. 2012. All rights reserved 30 | * 31 | ***************************************************************************/ 32 | #if (defined JENNIC_MAC_MiniMac) 33 | #include "MiniMac_AppApiShim.h" 34 | #else 35 | #include "AppApi_JN516x.h" 36 | #endif 37 | 38 | -------------------------------------------------------------------------------- /sdk/Components/AppApi/Include/AppApi_JN5164.h: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * MODULE: Application API header 4 | * 5 | * DESCRIPTION: Select correct interface depending on chip / chip family 6 | * 7 | **************************************************************************** 8 | * 9 | * This software is owned by NXP B.V. and/or its supplier and is protected 10 | * under applicable copyright laws. All rights are reserved. We grant You, 11 | * and any third parties, a license to use this software solely and 12 | * exclusively on NXP products [NXP Microcontrollers such as JN5148, JN5142, JN5139]. 13 | * You, and any third parties must reproduce the copyright and warranty notice 14 | * and any other legend of ownership on each copy or partial copy of the 15 | * software. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | * 29 | * Copyright NXP B.V. 2012. All rights reserved 30 | * 31 | ***************************************************************************/ 32 | #if (defined JENNIC_MAC_MiniMac) 33 | #include "MiniMac_AppApiShim.h" 34 | #else 35 | #include "AppApi_JN516x.h" 36 | #endif 37 | 38 | -------------------------------------------------------------------------------- /sdk/Components/AppApi/Include/AppApi_JN5168.h: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * MODULE: Application API header 4 | * 5 | * DESCRIPTION: Select correct interface depending on chip / chip family 6 | * 7 | **************************************************************************** 8 | * 9 | * This software is owned by NXP B.V. and/or its supplier and is protected 10 | * under applicable copyright laws. All rights are reserved. We grant You, 11 | * and any third parties, a license to use this software solely and 12 | * exclusively on NXP products [NXP Microcontrollers such as JN5148, JN5142, JN5139]. 13 | * You, and any third parties must reproduce the copyright and warranty notice 14 | * and any other legend of ownership on each copy or partial copy of the 15 | * software. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | * 29 | * Copyright NXP B.V. 2012. All rights reserved 30 | * 31 | ***************************************************************************/ 32 | #if (defined JENNIC_MAC_MiniMac) 33 | #include "MiniMac_AppApiShim.h" 34 | #else 35 | #include "AppApi_JN516x.h" 36 | #endif 37 | 38 | -------------------------------------------------------------------------------- /sdk/Components/AppApi/Include/AppApi_JN5169.h: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * MODULE: Application API header 4 | * 5 | * DESCRIPTION: Select correct interface depending on chip / chip family 6 | * 7 | **************************************************************************** 8 | * 9 | * This software is owned by NXP B.V. and/or its supplier and is protected 10 | * under applicable copyright laws. All rights are reserved. We grant You, 11 | * and any third parties, a license to use this software solely and 12 | * exclusively on NXP products [NXP Microcontrollers such as JN5148, JN5142, JN5139]. 13 | * You, and any third parties must reproduce the copyright and warranty notice 14 | * and any other legend of ownership on each copy or partial copy of the 15 | * software. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | * 29 | * Copyright NXP B.V. 2012. All rights reserved 30 | * 31 | ***************************************************************************/ 32 | #if (defined JENNIC_MAC_MiniMac) 33 | #include "MiniMac_AppApiShim.h" 34 | #else 35 | #include "AppApi_JN516x.h" 36 | #endif 37 | 38 | #if defined __cplusplus 39 | extern "C" { 40 | #endif 41 | 42 | /* Additional functions not present for JN5161/4/8 */ 43 | PUBLIC void vAppApiSetComplianceLimits(int8 i8TxMaxPower, 44 | int8 i8TxMaxPowerCh26, 45 | uint8 u8CcaThreshold); 46 | 47 | #if defined __cplusplus 48 | } 49 | #endif 50 | 51 | -------------------------------------------------------------------------------- /sdk/Components/HardwareAPI/Include/AppHardwareApi.h: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * MODULE: Application Hardware API 4 | * 5 | * DESCRIPTION: Abstraction of the hardware peripherals available on the 6 | * 802.15.4 chip that are not used directly for 802.15.4, 7 | * such as UARTs and timers. 8 | * 9 | **************************************************************************** 10 | * 11 | * This software is owned by NXP B.V. and/or its supplier and is protected 12 | * under applicable copyright laws. All rights are reserved. We grant You, 13 | * and any third parties, a license to use this software solely and 14 | * exclusively on NXP products [NXP Microcontrollers such as JN5148, JN5142, JN5139]. 15 | * You, and any third parties must reproduce the copyright and warranty notice 16 | * and any other legend of ownership on each copy or partial copy of the 17 | * software. 18 | * 19 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 20 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 21 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 22 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 23 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 24 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 25 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 26 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 27 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 28 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 29 | * POSSIBILITY OF SUCH DAMAGE. 30 | * 31 | * Copyright NXP B.V. 2012. All rights reserved 32 | * 33 | ***************************************************************************/ 34 | 35 | #define EXPAND1(x) x 36 | #define EXPAND2(x, y) EXPAND1(x)y 37 | #define EXPAND3(x, y, z) EXPAND2(x, y)z 38 | 39 | /* Convoluted way to #include */ 40 | #undef INCLUDE_NAME 41 | #define INCLUDE_NAME 42 | #include INCLUDE_NAME 43 | -------------------------------------------------------------------------------- /sdk/Components/HardwareAPI/Include/AppHardwareApi_JN5161.h: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * MODULE: Application Hardware API 4 | * 5 | * DESCRIPTION: Abstraction of the hardware peripherals available on the 6 | * 802.15.4 chip that are not used directly for 802.15.4, 7 | * such as UARTs and timers. 8 | * 9 | **************************************************************************** 10 | * 11 | * This software is owned by NXP B.V. and/or its supplier and is protected 12 | * under applicable copyright laws. All rights are reserved. We grant You, 13 | * and any third parties, a license to use this software solely and 14 | * exclusively on NXP products [NXP Microcontrollers such as JN5148, JN5142, JN5139]. 15 | * You, and any third parties must reproduce the copyright and warranty notice 16 | * and any other legend of ownership on each copy or partial copy of the 17 | * software. 18 | * 19 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 20 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 21 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 22 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 23 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 24 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 25 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 26 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 27 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 28 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 29 | * POSSIBILITY OF SUCH DAMAGE. 30 | * 31 | * Copyright NXP B.V. 2012. All rights reserved 32 | * 33 | ***************************************************************************/ 34 | 35 | #include "AppHardwareApi_JN516x.h" 36 | -------------------------------------------------------------------------------- /sdk/Components/HardwareAPI/Include/AppHardwareApi_JN5164.h: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * MODULE: Application Hardware API 4 | * 5 | * DESCRIPTION: Abstraction of the hardware peripherals available on the 6 | * 802.15.4 chip that are not used directly for 802.15.4, 7 | * such as UARTs and timers. 8 | * 9 | **************************************************************************** 10 | * 11 | * This software is owned by NXP B.V. and/or its supplier and is protected 12 | * under applicable copyright laws. All rights are reserved. We grant You, 13 | * and any third parties, a license to use this software solely and 14 | * exclusively on NXP products [NXP Microcontrollers such as JN5148, JN5142, JN5139]. 15 | * You, and any third parties must reproduce the copyright and warranty notice 16 | * and any other legend of ownership on each copy or partial copy of the 17 | * software. 18 | * 19 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 20 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 21 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 22 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 23 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 24 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 25 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 26 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 27 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 28 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 29 | * POSSIBILITY OF SUCH DAMAGE. 30 | * 31 | * Copyright NXP B.V. 2012. All rights reserved 32 | * 33 | ***************************************************************************/ 34 | 35 | #include "AppHardwareApi_JN516x.h" 36 | -------------------------------------------------------------------------------- /sdk/Components/HardwareAPI/Include/AppHardwareApi_JN5168.h: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * MODULE: Application Hardware API 4 | * 5 | * DESCRIPTION: Abstraction of the hardware peripherals available on the 6 | * 802.15.4 chip that are not used directly for 802.15.4, 7 | * such as UARTs and timers. 8 | * 9 | **************************************************************************** 10 | * 11 | * This software is owned by NXP B.V. and/or its supplier and is protected 12 | * under applicable copyright laws. All rights are reserved. We grant You, 13 | * and any third parties, a license to use this software solely and 14 | * exclusively on NXP products [NXP Microcontrollers such as JN5148, JN5142, JN5139]. 15 | * You, and any third parties must reproduce the copyright and warranty notice 16 | * and any other legend of ownership on each copy or partial copy of the 17 | * software. 18 | * 19 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 20 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 21 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 22 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 23 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 24 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 25 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 26 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 27 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 28 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 29 | * POSSIBILITY OF SUCH DAMAGE. 30 | * 31 | * Copyright NXP B.V. 2012. All rights reserved 32 | * 33 | ***************************************************************************/ 34 | 35 | #include "AppHardwareApi_JN516x.h" 36 | -------------------------------------------------------------------------------- /sdk/Components/HardwareAPI/Include/PeripheralRegs.h: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * MODULE: Application Hardware API: peripheral registers 4 | * 5 | * DESCRIPTION: Abstraction of the hardware peripherals available on the 6 | * 802.15.4 chip that are not used directly for 802.15.4, 7 | * such as UARTs and timers. 8 | * 9 | **************************************************************************** 10 | * 11 | * This software is owned by NXP B.V. and/or its supplier and is protected 12 | * under applicable copyright laws. All rights are reserved. We grant You, 13 | * and any third parties, a license to use this software solely and 14 | * exclusively on NXP products [NXP Microcontrollers such as JN5148, JN5142, JN5139]. 15 | * You, and any third parties must reproduce the copyright and warranty notice 16 | * and any other legend of ownership on each copy or partial copy of the 17 | * software. 18 | * 19 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 20 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 21 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 22 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 23 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 24 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 25 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 26 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 27 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 28 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 29 | * POSSIBILITY OF SUCH DAMAGE. 30 | * 31 | * Copyright NXP B.V. 2012. All rights reserved 32 | * 33 | ***************************************************************************/ 34 | 35 | #define EXPAND1(x) x 36 | #define EXPAND2(x, y) EXPAND1(x)y 37 | #define EXPAND3(x, y, z) EXPAND2(x, y)z 38 | 39 | /* Convoluted way to #include */ 40 | #undef INCLUDE_NAME 41 | #define INCLUDE_NAME 42 | #include INCLUDE_NAME 43 | -------------------------------------------------------------------------------- /sdk/Components/HardwareAPI/Include/PeripheralRegs_JN5161.h: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * MODULE: Application Hardware API: peripheral registers 4 | * 5 | * DESCRIPTION: Abstraction of the hardware peripherals available on the 6 | * 802.15.4 chip that are not used directly for 802.15.4, 7 | * such as UARTs and timers. 8 | * 9 | **************************************************************************** 10 | * 11 | * This software is owned by NXP B.V. and/or its supplier and is protected 12 | * under applicable copyright laws. All rights are reserved. We grant You, 13 | * and any third parties, a license to use this software solely and 14 | * exclusively on NXP products [NXP Microcontrollers such as JN5148, JN5142, JN5139]. 15 | * You, and any third parties must reproduce the copyright and warranty notice 16 | * and any other legend of ownership on each copy or partial copy of the 17 | * software. 18 | * 19 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 20 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 21 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 22 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 23 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 24 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 25 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 26 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 27 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 28 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 29 | * POSSIBILITY OF SUCH DAMAGE. 30 | * 31 | * Copyright NXP B.V. 2012. All rights reserved 32 | * 33 | ***************************************************************************/ 34 | 35 | #include "PeripheralRegs_JN516x.h" 36 | -------------------------------------------------------------------------------- /sdk/Components/HardwareAPI/Include/PeripheralRegs_JN5164.h: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * MODULE: Application Hardware API: peripheral registers 4 | * 5 | * DESCRIPTION: Abstraction of the hardware peripherals available on the 6 | * 802.15.4 chip that are not used directly for 802.15.4, 7 | * such as UARTs and timers. 8 | * 9 | **************************************************************************** 10 | * 11 | * This software is owned by NXP B.V. and/or its supplier and is protected 12 | * under applicable copyright laws. All rights are reserved. We grant You, 13 | * and any third parties, a license to use this software solely and 14 | * exclusively on NXP products [NXP Microcontrollers such as JN5148, JN5142, JN5139]. 15 | * You, and any third parties must reproduce the copyright and warranty notice 16 | * and any other legend of ownership on each copy or partial copy of the 17 | * software. 18 | * 19 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 20 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 21 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 22 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 23 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 24 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 25 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 26 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 27 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 28 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 29 | * POSSIBILITY OF SUCH DAMAGE. 30 | * 31 | * Copyright NXP B.V. 2012. All rights reserved 32 | * 33 | ***************************************************************************/ 34 | 35 | #include "PeripheralRegs_JN516x.h" 36 | -------------------------------------------------------------------------------- /sdk/Components/HardwareAPI/Include/PeripheralRegs_JN5168.h: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * MODULE: Application Hardware API: peripheral registers 4 | * 5 | * DESCRIPTION: Abstraction of the hardware peripherals available on the 6 | * 802.15.4 chip that are not used directly for 802.15.4, 7 | * such as UARTs and timers. 8 | * 9 | **************************************************************************** 10 | * 11 | * This software is owned by NXP B.V. and/or its supplier and is protected 12 | * under applicable copyright laws. All rights are reserved. We grant You, 13 | * and any third parties, a license to use this software solely and 14 | * exclusively on NXP products [NXP Microcontrollers such as JN5148, JN5142, JN5139]. 15 | * You, and any third parties must reproduce the copyright and warranty notice 16 | * and any other legend of ownership on each copy or partial copy of the 17 | * software. 18 | * 19 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 20 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 21 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 22 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 23 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 24 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 25 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 26 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 27 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 28 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 29 | * POSSIBILITY OF SUCH DAMAGE. 30 | * 31 | * Copyright NXP B.V. 2012. All rights reserved 32 | * 33 | ***************************************************************************/ 34 | 35 | #include "PeripheralRegs_JN516x.h" 36 | -------------------------------------------------------------------------------- /sdk/Components/Library/libAES_SW_JN516x.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Components/Library/libAES_SW_JN516x.a -------------------------------------------------------------------------------- /sdk/Components/Library/libAes_JN516x.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Components/Library/libAes_JN516x.a -------------------------------------------------------------------------------- /sdk/Components/Library/libAppApi_JN5169.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Components/Library/libAppApi_JN5169.a -------------------------------------------------------------------------------- /sdk/Components/Library/libAppApi_JN516x.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Components/Library/libAppApi_JN516x.a -------------------------------------------------------------------------------- /sdk/Components/Library/libAppQueueApi_JN516x.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Components/Library/libAppQueueApi_JN516x.a -------------------------------------------------------------------------------- /sdk/Components/Library/libBoot_JN516x.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Components/Library/libBoot_JN516x.a -------------------------------------------------------------------------------- /sdk/Components/Library/libDBG_JN516x.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Components/Library/libDBG_JN516x.a -------------------------------------------------------------------------------- /sdk/Components/Library/libHardwareApi_JN5169.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Components/Library/libHardwareApi_JN5169.a -------------------------------------------------------------------------------- /sdk/Components/Library/libHardwareApi_JN516x.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Components/Library/libHardwareApi_JN516x.a -------------------------------------------------------------------------------- /sdk/Components/Library/libJPT_JN5161.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Components/Library/libJPT_JN5161.a -------------------------------------------------------------------------------- /sdk/Components/Library/libJPT_JN5164.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Components/Library/libJPT_JN5164.a -------------------------------------------------------------------------------- /sdk/Components/Library/libJPT_JN5168.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Components/Library/libJPT_JN5168.a -------------------------------------------------------------------------------- /sdk/Components/Library/libJPT_JN5169.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Components/Library/libJPT_JN5169.a -------------------------------------------------------------------------------- /sdk/Components/Library/libMAC_JN5169.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Components/Library/libMAC_JN5169.a -------------------------------------------------------------------------------- /sdk/Components/Library/libMAC_JN516x.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Components/Library/libMAC_JN516x.a -------------------------------------------------------------------------------- /sdk/Components/Library/libMMAC_JN5169.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Components/Library/libMMAC_JN5169.a -------------------------------------------------------------------------------- /sdk/Components/Library/libMMAC_JN516x.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Components/Library/libMMAC_JN516x.a -------------------------------------------------------------------------------- /sdk/Components/Library/libMicroSpecific_JN516x.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Components/Library/libMicroSpecific_JN516x.a -------------------------------------------------------------------------------- /sdk/Components/Library/libMiniMacShim_JN516x.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Components/Library/libMiniMacShim_JN516x.a -------------------------------------------------------------------------------- /sdk/Components/Library/libMiniMac_JN5169.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Components/Library/libMiniMac_JN5169.a -------------------------------------------------------------------------------- /sdk/Components/Library/libMiniMac_JN516x.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Components/Library/libMiniMac_JN516x.a -------------------------------------------------------------------------------- /sdk/Components/Library/libOS_JN516x.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Components/Library/libOS_JN516x.a -------------------------------------------------------------------------------- /sdk/Components/Library/libPDM_EEPROM_JN516x.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Components/Library/libPDM_EEPROM_JN516x.a -------------------------------------------------------------------------------- /sdk/Components/Library/libPDUM_JN516x.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Components/Library/libPDUM_JN516x.a -------------------------------------------------------------------------------- /sdk/Components/Library/libPWRM_JN516x.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Components/Library/libPWRM_JN516x.a -------------------------------------------------------------------------------- /sdk/Components/Library/libRandom_JN516x.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Components/Library/libRandom_JN516x.a -------------------------------------------------------------------------------- /sdk/Components/Library/libRecal_JN516x.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Components/Library/libRecal_JN516x.a -------------------------------------------------------------------------------- /sdk/Components/Library/libTOF_JN516x.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Components/Library/libTOF_JN516x.a -------------------------------------------------------------------------------- /sdk/Components/Library/libTimerServer_JN516x.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Components/Library/libTimerServer_JN516x.a -------------------------------------------------------------------------------- /sdk/Components/Library/libXcv_JN5169.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Components/Library/libXcv_JN5169.a -------------------------------------------------------------------------------- /sdk/Components/Library/libXcv_JN516x.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Components/Library/libXcv_JN516x.a -------------------------------------------------------------------------------- /sdk/Components/Library/libZPSAPL_JN516x.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Components/Library/libZPSAPL_JN516x.a -------------------------------------------------------------------------------- /sdk/Components/Library/libZPSAPL_ZCP-GU_JN516x.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Components/Library/libZPSAPL_ZCP-GU_JN516x.a -------------------------------------------------------------------------------- /sdk/Components/Library/libZPSGP_JN516x.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Components/Library/libZPSGP_JN516x.a -------------------------------------------------------------------------------- /sdk/Components/Library/libZPSGP_ZED_JN516x.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Components/Library/libZPSGP_ZED_JN516x.a -------------------------------------------------------------------------------- /sdk/Components/Library/libZPSMAC_Mini_JN516x.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Components/Library/libZPSMAC_Mini_JN516x.a -------------------------------------------------------------------------------- /sdk/Components/Library/libZPSNWK_JN516x.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Components/Library/libZPSNWK_JN516x.a -------------------------------------------------------------------------------- /sdk/Components/Library/libZPSNWK_ZED_JN516x.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Components/Library/libZPSNWK_ZED_JN516x.a -------------------------------------------------------------------------------- /sdk/Components/Library/libZPSTSV_JN516x.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Components/Library/libZPSTSV_JN516x.a -------------------------------------------------------------------------------- /sdk/Components/Library/libZPSZLL_JN516x.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Components/Library/libZPSZLL_JN516x.a -------------------------------------------------------------------------------- /sdk/Components/Library/libZPSZLL_ZED_JN516x.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Components/Library/libZPSZLL_ZED_JN516x.a -------------------------------------------------------------------------------- /sdk/Components/MAC/Include/mac_pib.h: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * MODULE: Application API header 4 | * 5 | * DESCRIPTION: Select correct interface depending on chip / chip family 6 | * 7 | **************************************************************************** 8 | * 9 | * This software is owned by NXP B.V. and/or its supplier and is protected 10 | * under applicable copyright laws. All rights are reserved. We grant You, 11 | * and any third parties, a license to use this software solely and 12 | * exclusively on NXP products [NXP Microcontrollers such as JN5148, JN5142, JN5139]. 13 | * You, and any third parties must reproduce the copyright and warranty notice 14 | * and any other legend of ownership on each copy or partial copy of the 15 | * software. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | * 29 | * Copyright NXP B.V. 2012. All rights reserved 30 | * 31 | ***************************************************************************/ 32 | 33 | #include 34 | 35 | #if ((defined JENNIC_CHIP_JN5148) || (defined JENNIC_CHIP_JN5139) || (defined JENNIC_CHIP_JN5139T01) || (defined JENNIC_CHIP_JN5139_HDK) || (defined JENNIC_CHIP_JN5139_HDK_4M) || (defined JENNIC_CHIP_JN5147)) && !(defined RAM_BUILD) 36 | #include "mac_pib_SingleMac.h" 37 | #else 38 | #if defined JENNIC_MAC_MiniMac 39 | #include "mac_pib_MiniMac.h" 40 | #elif defined JENNIC_MAC_MiniMacShim 41 | #include "mac_pib_MiniMacShim.h" 42 | #else 43 | #include "mac_pib_CombinedMac.h" 44 | #endif 45 | #endif 46 | -------------------------------------------------------------------------------- /sdk/Components/MAC/Include/mac_sap.h: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * MODULE: Application API header 4 | * 5 | * DESCRIPTION: Select correct interface depending on chip / chip family 6 | * 7 | **************************************************************************** 8 | * 9 | * This software is owned by NXP B.V. and/or its supplier and is protected 10 | * under applicable copyright laws. All rights are reserved. We grant You, 11 | * and any third parties, a license to use this software solely and 12 | * exclusively on NXP products [NXP Microcontrollers such as JN5148, JN5142, JN5139]. 13 | * You, and any third parties must reproduce the copyright and warranty notice 14 | * and any other legend of ownership on each copy or partial copy of the 15 | * software. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | * 29 | * Copyright NXP B.V. 2012. All rights reserved 30 | * 31 | ***************************************************************************/ 32 | 33 | #include 34 | 35 | #if ((defined JENNIC_CHIP_JN5148) || (defined JENNIC_CHIP_JN5139) || (defined JENNIC_CHIP_JN5139T01) || (defined JENNIC_CHIP_JN5139_HDK) || (defined JENNIC_CHIP_JN5139_HDK_4M) || (defined JENNIC_CHIP_JN5147)) && !(defined RAM_BUILD) 36 | #include "mac_sap_SingleMac.h" 37 | #else 38 | #if defined JENNIC_MAC_MiniMac 39 | #include "mac_sap_MiniMac.h" 40 | #elif defined JENNIC_MAC_MiniMacShim 41 | #include "mac_sap_MiniMacShim.h" 42 | #else 43 | #include "mac_sap_CombinedMac.h" 44 | #endif 45 | #endif 46 | -------------------------------------------------------------------------------- /sdk/Components/MicroSpecific/Include/MicroSpecific.h: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * MODULE: Definitions specific to a particular processor 4 | * 5 | * DESCRIPTION: 6 | * Definitions for a specific processor, i.e. functions that can only be 7 | * resolved by op codes 8 | * 9 | **************************************************************************** 10 | * 11 | * This software is owned by NXP B.V. and/or its supplier and is protected 12 | * under applicable copyright laws. All rights are reserved. We grant You, 13 | * and any third parties, a license to use this software solely and 14 | * exclusively on NXP products [NXP Microcontrollers such as JN5148, JN5142, JN5139]. 15 | * You, and any third parties must reproduce the copyright and warranty notice 16 | * and any other legend of ownership on each copy or partial copy of the 17 | * software. 18 | * 19 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 20 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 21 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 22 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 23 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 24 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 25 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 26 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 27 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 28 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 29 | * POSSIBILITY OF SUCH DAMAGE. 30 | * 31 | * Copyright NXP B.V. 2012. All rights reserved 32 | * 33 | ***************************************************************************/ 34 | 35 | /****************************************************************************/ 36 | /*** Include files ***/ 37 | /****************************************************************************/ 38 | 39 | #define EXPAND1(x) x 40 | #define EXPAND2(x, y) EXPAND1(x)y 41 | #define EXPAND3(x, y, z) EXPAND2(x, y)z 42 | 43 | /* Convoluted way to #include */ 44 | #undef INCLUDE_NAME 45 | #define INCLUDE_NAME 46 | #include INCLUDE_NAME 47 | 48 | /****************************************************************************/ 49 | /*** END OF FILE ***/ 50 | /****************************************************************************/ 51 | 52 | 53 | -------------------------------------------------------------------------------- /sdk/Components/MicroSpecific/Include/MicroSpecific_JN516x.h: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * MODULE: Definitions specific to a particular processor 4 | * 5 | * DESCRIPTION: 6 | * Definitions for a specific processor, i.e. functions that can only be 7 | * resolved by op codes 8 | * 9 | **************************************************************************** 10 | * 11 | * This software is owned by NXP B.V. and/or its supplier and is protected 12 | * under applicable copyright laws. All rights are reserved. We grant You, 13 | * and any third parties, a license to use this software solely and 14 | * exclusively on NXP products [NXP Microcontrollers such as JN5148, JN5142, JN5139]. 15 | * You, and any third parties must reproduce the copyright and warranty notice 16 | * and any other legend of ownership on each copy or partial copy of the 17 | * software. 18 | * 19 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 20 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 21 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 22 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 23 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 24 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 25 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 26 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 27 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 28 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 29 | * POSSIBILITY OF SUCH DAMAGE. 30 | * 31 | * Copyright NXP B.V. 2012. All rights reserved 32 | * 33 | ***************************************************************************/ 34 | 35 | /****************************************************************************/ 36 | /*** Include files ***/ 37 | /****************************************************************************/ 38 | 39 | #include "MicroSpecific_ba.h" 40 | 41 | /****************************************************************************/ 42 | /*** END OF FILE ***/ 43 | /****************************************************************************/ 44 | 45 | 46 | -------------------------------------------------------------------------------- /sdk/Components/MiniMAC/Library/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Components/MiniMAC/Library/.gitignore -------------------------------------------------------------------------------- /sdk/Components/Recal/Include/recal.h: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | * 3 | * MODULE: ReCalibrate 4 | * 5 | * DESCRIPTION: 6 | * Header for Re-cal module 7 | * 8 | * 9 | **************************************************************************** 10 | * 11 | * This software is owned by NXP B.V. and/or its supplier and is protected 12 | * under applicable copyright laws. All rights are reserved. We grant You, 13 | * and any third parties, a license to use this software solely and 14 | * exclusively on NXP products [NXP Microcontrollers such as JN5148, JN5142, JN5139]. 15 | * You, and any third parties must reproduce the copyright and warranty notice 16 | * and any other legend of ownership on each copy or partial copy of the 17 | * software. 18 | * 19 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 20 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 21 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 22 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 23 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 24 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 25 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 26 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 27 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 28 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 29 | * POSSIBILITY OF SUCH DAMAGE. 30 | * 31 | * Copyright NXP B.V. 2012. All rights reserved 32 | * 33 | ***************************************************************************/ 34 | 35 | /****************************************************************************/ 36 | /*** Include files ***/ 37 | /****************************************************************************/ 38 | #ifndef RECAL_H_INCLUDED 39 | #define RECAL_H_INCLUDED 40 | 41 | #ifdef __cplusplus 42 | extern "C" { 43 | #endif 44 | 45 | #include "jendefs.h" 46 | 47 | typedef enum 48 | { 49 | E_CAL_SUCCESS, 50 | E_CAL_SCAN_IN_PROGRESS 51 | }teCalStatus; 52 | 53 | PUBLIC bool_t bAHI_PeriodicRecalInit(uint32 u32RecalCheckPeriod,uint8 u8TempDelta); 54 | PUBLIC bool_t bAHI_PeriodicRecal(void); 55 | PUBLIC bool_t bAHI_PeriodicRecalRange(uint32 u32RecalCheckPeriod, uint8 u8TempDelta); 56 | PUBLIC teCalStatus eAHI_AttemptCalibration(void); 57 | 58 | #ifdef __cplusplus 59 | }; 60 | #endif 61 | 62 | #endif /* RECAL_H_INCLUDED */ 63 | -------------------------------------------------------------------------------- /sdk/Components/Utilities/Source/memcmp.c: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | * 3 | * MODULE: UTILS 4 | * 5 | */ 6 | /**************************************************************************** 7 | * 8 | * This software is owned by NXP B.V. and/or its supplier and is protected 9 | * under applicable copyright laws. All rights are reserved. We grant You, 10 | * and any third parties, a license to use this software solely and 11 | * exclusively on NXP products [NXP Microcontrollers such as JN5148, JN5142, JN5139]. 12 | * You, and any third parties must reproduce the copyright and warranty notice 13 | * and any other legend of ownership on each copy or partial copy of the 14 | * software. 15 | * 16 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 17 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 18 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 19 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 20 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 21 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 22 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 23 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 24 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 25 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 26 | * POSSIBILITY OF SUCH DAMAGE. 27 | 28 | * Copyright NXP B.V. 2012. All rights reserved 29 | * 30 | ***************************************************************************/ 31 | 32 | #include 33 | 34 | /* Required if using eCos as not included */ 35 | 36 | /** 37 | * memcmp - Compare two areas of memory 38 | * @cs: One area of memory 39 | * @ct: Another area of memory 40 | * @count: The size of the area. 41 | */ 42 | int memcmp(const void * cs,const void * ct,size_t count) 43 | { 44 | const unsigned char *su1, *su2; 45 | signed char res = 0; 46 | 47 | for( su1 = cs, su2 = ct; 0 < count; ++su1, ++su2, count--) 48 | if ((res = *su1 - *su2) != 0) 49 | break; 50 | return res; 51 | } 52 | -------------------------------------------------------------------------------- /sdk/Components/ZCL/Clusters/General/Include/hh_doorlock.h: -------------------------------------------------------------------------------- 1 | #ifndef HH_DOORLOCK_H 2 | #define HH_DOORLOCK_H 3 | 4 | #include 5 | #include "zcl.h" 6 | #include "zcl_options.h" 7 | /****************************************************************************/ 8 | /*** Macro Definitions ***/ 9 | /****************************************************************************/ 10 | 11 | /* Cluster ID's */ 12 | #define CLUSTER_ID_HH_DOORLOCK 0xFC00 13 | 14 | 15 | /****************************************************************************/ 16 | /*** Type Definitions ***/ 17 | /****************************************************************************/ 18 | 19 | /* hh_doorlock Cluster */ 20 | typedef struct 21 | { 22 | zbool bOnOff; 23 | #ifdef CLD_DOORLOCK_ATTR_ID_LANG 24 | zuint8 u8Lang; 25 | #endif 26 | #ifdef CLD_DOORLOCK_ATTR_ID_VOLUME 27 | zuint8 u8Volume; 28 | #endif 29 | #ifdef CLD_DOORLOCK_ATTR_ID_HEARTBEATCYCLE 30 | zuint8 u8HeartBeatCycle; 31 | #endif 32 | #ifdef CLD_DOORLOCK_ATTR_ID_POWERINQUIRE 33 | zuint8 u8PowerInquire; 34 | #endif 35 | } tsCLD_HhDoorLock; 36 | 37 | typedef enum { 38 | /* HH_DoorLock Attribute ID */ 39 | E_CLD_DOORLOCK_ATTR_ID_ONOFF = 0x0000, 40 | E_CLD_DOORLOCK_ATTR_ID_LANG, 41 | E_CLD_DOORLOCK_ATTR_ID_VOLUME, 42 | E_CLD_DOORLOCK_ATTR_ID_HEARTBEATCYCLE, 43 | E_CLD_DOORLOCK_ATTR_ID_POWERINQUIRE 44 | }teCLD_HhDoorLock_ClusterID; 45 | 46 | typedef enum 47 | { 48 | E_CLD_HHDOORLOCK_CMD_OFF = 0x00, /* Mandatory */ 49 | E_CLD_HHDOORLOCK_CMD_ON, /* Mandatory */ 50 | E_CLD_HHDOORLOCK_CMD_SETLANGUAGE, 51 | E_CLD_HHDOORLOCK_CMD_SETVOLUME, 52 | } teCLD_HhDoorLock_Command; 53 | 54 | PUBLIC teZCL_Status eCLD_DoorLockCreateHhDoorLock( 55 | tsZCL_ClusterInstance *psClusterInstance, 56 | bool_t bIsServer, 57 | tsZCL_ClusterDefinition *psClusterDefinition, 58 | void *pvEndPointSharedStructPtr, 59 | uint8 *pu8AttributeControlBits); 60 | 61 | PUBLIC teZCL_Status eCLD_HhDoorLockCommandSend( 62 | uint8 u8SourceEndPointId, 63 | uint8 u8DestinationEndPointId, 64 | tsZCL_Address *psDestinationAddress, 65 | uint8 *pu8TransactionSequenceNumber, 66 | teCLD_HhDoorLock_Command eCommand); 67 | 68 | extern tsZCL_ClusterDefinition sCLD_HhDoorLockCluster; 69 | 70 | #if (defined CLD_HH_DOORLOCK) && (defined HH_DOORLOCK_SERVER) 71 | extern const tsZCL_AttributeDefinition asCLD_HhDoorLockClusterAttributeDefinitions[]; 72 | extern uint8 au8HhDoorLockServerAttributeControlBits[]; 73 | #endif 74 | 75 | #endif 76 | -------------------------------------------------------------------------------- /sdk/Components/ZCL/Clusters/General/Source/HhDoorLockCommandHandler.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Components/ZCL/Clusters/General/Source/HhDoorLockCommandHandler.c -------------------------------------------------------------------------------- /sdk/Components/ZCL/Clusters/General/Source/OnOffCommandHandler.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Components/ZCL/Clusters/General/Source/OnOffCommandHandler.c -------------------------------------------------------------------------------- /sdk/Components/ZCL/Clusters/GreenPower/Include/GreenPower.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Components/ZCL/Clusters/GreenPower/Include/GreenPower.h -------------------------------------------------------------------------------- /sdk/Components/ZCL/Source/zcl_internal.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Components/ZCL/Source/zcl_internal.h -------------------------------------------------------------------------------- /sdk/Components/ZPSMAC/Include/zps_mac.h: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * MODULE: Zigbee Protocol Stack MAC Shim 4 | * 5 | * COMPONENT: zps_mac.h 6 | * 7 | * AUTHOR: RCC 8 | * 9 | * DESCRIPTION: MAC shim layer to provide PDU manager i/f to NWK layer 10 | * 11 | * $HeadURL: https://www.collabnet.nxp.com/svn/lprf_sware/Projects/Zigbee%20Protocol%20Stack/Modules/MAC/Branches/ZBPRO_R20_v1.1/Include/zps_mac.h $ 12 | * 13 | * $Revision: 19939 $ 14 | * 15 | * $LastChangedBy: rcc $ 16 | * 17 | * $LastChangedDate: 2009-09-18 10:07:44 +0100 (Fri, 18 Sep 2009) $ 18 | * 19 | * $Id: zps_mac.h 19939 2009-09-18 09:07:44Z rcc $ 20 | * 21 | ***************************************************************************** 22 | * 23 | * This software is owned by Jennic and/or its supplier and is protected 24 | * under applicable copyright laws. All rights are reserved. We grant You, 25 | * and any third parties, a license to use this software solely and 26 | * exclusively on Jennic products. You, and any third parties must reproduce 27 | * the copyright and warranty notice and any other legend of ownership on each 28 | * copy or partial copy of the software. 29 | * 30 | * THIS SOFTWARE IS PROVIDED "AS IS". JENNIC MAKES NO WARRANTIES, WHETHER 31 | * EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED 32 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, 33 | * ACCURACY OR LACK OF NEGLIGENCE. JENNIC SHALL NOT, IN ANY CIRCUMSTANCES, 34 | * BE LIABLE FOR ANY DAMAGES, INCLUDING, BUT NOT LIMITED TO, SPECIAL, 35 | * INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR ANY REASON WHATSOEVER. 36 | * 37 | * Copyright Jennic Ltd. 2009 All rights reserved 38 | * 39 | ****************************************************************************/ 40 | 41 | #ifndef _zps_mac_h_ 42 | #define _zps_mac_h_ 43 | 44 | #ifdef __cplusplus 45 | extern "C" { 46 | #endif 47 | 48 | /***********************/ 49 | /**** INCLUDE FILES ****/ 50 | /***********************/ 51 | 52 | #include "jendefs.h" 53 | #include "mac_sap.h" 54 | 55 | /************************/ 56 | /**** MACROS/DEFINES ****/ 57 | /************************/ 58 | 59 | /**************************/ 60 | /**** TYPE DEFINITIONS ****/ 61 | /**************************/ 62 | 63 | /****************************/ 64 | /**** EXPORTED VARIABLES ****/ 65 | /****************************/ 66 | 67 | extern PUBLIC const uint32 ZPS_g_u32MacVersion; 68 | 69 | /****************************/ 70 | /**** EXPORTED FUNCTIONS ****/ 71 | /****************************/ 72 | 73 | PUBLIC void 74 | ZPS_vNwkHandleMcpsDcfmInd(void *pvNwk, 75 | MAC_DcfmIndHdr_s *psMcpsDcfmInd); 76 | 77 | #ifdef __cplusplus 78 | }; 79 | #endif 80 | 81 | #endif /* _zps_mac_h_ */ 82 | 83 | /* End of file $Id: zps_mac.h 19939 2009-09-18 09:07:44Z rcc $ *******************************************/ 84 | 85 | -------------------------------------------------------------------------------- /sdk/Platform/DK2/Build/PlatformConfig.mk: -------------------------------------------------------------------------------- 1 | ############################################################################### 2 | # 3 | # MODULE: PlatformConfig.mk 4 | # 5 | # DESCRIPTION: DK2 Platform specific definitions 6 | # 7 | ############################################################################ 8 | # 9 | # This software is owned by NXP B.V. and/or its supplier and is protected 10 | # under applicable copyright laws. All rights are reserved. We grant You, 11 | # and any third parties, a license to use this software solely and 12 | # exclusively on NXP products [NXP Microcontrollers such as JN5148, JN5142, JN5139]. 13 | # You, and any third parties must reproduce the copyright and warranty notice 14 | # and any other legend of ownership on each copy or partial copy of the 15 | # software. 16 | # 17 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | # POSSIBILITY OF SUCH DAMAGE. 28 | # 29 | # Copyright NXP B.V. 2012. All rights reserved 30 | # 31 | ############################################################################ 32 | 33 | 34 | ############################################################################### 35 | # Compiler 36 | 37 | CFLAGS += -I$(PLATFORM_BASE_DIR)/Include 38 | 39 | ############################################################################### 40 | # Linker 41 | 42 | LDFLAGS += -L$(PLATFORM_BASE_DIR)/Library 43 | LDLIBS += BoardLib_$(JENNIC_CHIP_FAMILY) 44 | 45 | ############################################################################### 46 | -------------------------------------------------------------------------------- /sdk/Platform/DK2/Library/libBoardLib_JN516x.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Platform/DK2/Library/libBoardLib_JN516x.a -------------------------------------------------------------------------------- /sdk/Platform/DK3/Build/PlatformConfig.mk: -------------------------------------------------------------------------------- 1 | ############################################################################# 2 | # 3 | # MODULE: Platform specific Makefile for DK3 4 | # 5 | # COMPONENT: PlatformConfig.mk 6 | # 7 | # VERSION: R and D Release 6 JAN 2011 8 | # 9 | # REVISION: 1.0 10 | # 11 | # DATED: 2011/01/07 12 | # 13 | # AUTHOR: sbarf 14 | # 15 | # DESCRIPTION: DK3 Platform specific definitions 16 | # 17 | ############################################################################### 18 | # 19 | # This software is owned by Jennic and/or its supplier and is protected 20 | # under applicable copyright laws. All rights are reserved. We grant You, 21 | # and any third parties, a license to use this software solely and 22 | # exclusively on Jennic products. You, and any third parties must reproduce 23 | # the copyright and warranty notice and any other legend of ownership on each 24 | # copy or partial copy of the software. 25 | # 26 | # THIS SOFTWARE IS PROVIDED "AS IS". JENNIC MAKES NO WARRANTIES, WHETHER 27 | # EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED 28 | # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, 29 | # ACCURACY OR LACK OF NEGLIGENCE. JENNIC SHALL NOT, IN ANY CIRCUMSTANCES, 30 | # BE LIABLE FOR ANY DAMAGES, INCLUDING, BUT NOT LIMITED TO, SPECIAL, 31 | # INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR ANY REASON WHATSOEVER. 32 | # 33 | # Copyright Jennic Ltd 2011. All rights reserved 34 | # 35 | ############################################################################### 36 | 37 | ############################################################################### 38 | # Compiler 39 | 40 | CFLAGS += -I$(PLATFORM_BASE_DIR)/Include 41 | 42 | ############################################################################### 43 | # Linker 44 | 45 | LDFLAGS += -L$(PLATFORM_BASE_DIR)/Library 46 | LDLIBS += BoardLib_$(JENNIC_CHIP_FAMILY) 47 | 48 | ############################################################################### 49 | -------------------------------------------------------------------------------- /sdk/Platform/DK3/Library/libBoardLib_JN516x.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Platform/DK3/Library/libBoardLib_JN516x.a -------------------------------------------------------------------------------- /sdk/Platform/DK4/Build/AllBoardLibs.mk: -------------------------------------------------------------------------------- 1 | ############################################################################# 2 | # 3 | # MODULE: Makefile for DK4 Platform 4 | # 5 | # COMPONENT: BoardLib.mk 6 | # 7 | # VERSION: R and D Release 6 JAN 2011 8 | # 9 | # DESCRIPTION: Localised version of same found in Platform/Common/Build 10 | ############################################################################ 11 | # 12 | # This software is owned by NXP B.V. and/or its supplier and is protected 13 | # under applicable copyright laws. All rights are reserved. We grant You, 14 | # and any third parties, a license to use this software solely and 15 | # exclusively on NXP products [NXP Microcontrollers such as JN5148, JN5142, JN5139]. 16 | # You, and any third parties must reproduce the copyright and warranty notice 17 | # and any other legend of ownership on each copy or partial copy of the 18 | # software. 19 | # 20 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 21 | # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 22 | # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 23 | # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 24 | # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 25 | # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 26 | # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 27 | # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 28 | # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 29 | # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 30 | # POSSIBILITY OF SUCH DAMAGE. 31 | # 32 | # Copyright NXP B.V. 2012. All rights reserved 33 | # 34 | ############################################################################ 35 | 36 | # 37 | # Base directory of sdk2 layout i.e c:\Jennic 38 | SDK_BASE_DIR = ../../.. 39 | 40 | # DK4 remote board only 41 | 42 | BOARDDK4_BASE = $(SDK_BASE_DIR)/Platform/DK4 43 | 44 | BOARDCOMMON_BASE = $(SDK_BASE_DIR)/Platform 45 | 46 | 47 | export SDK_BASE_DIR 48 | export BOARDDK4_BASE 49 | export BOARDCOMMON_BASE 50 | export JENNIC_PCB 51 | export JENNIC_CHIP 52 | 53 | 54 | 55 | include $(SDK_BASE_DIR)/Chip/Common/Build/config.mk 56 | 57 | ######################################################################### 58 | 59 | 60 | ######################################################################### 61 | 62 | all: 63 | make -C $(BOARDDK4_BASE)/Build -f BoardLib_$(JENNIC_CHIP_FAMILY).mk 64 | 65 | ######################################################################### 66 | 67 | clean: 68 | make -C $(BOARDDK4_BASE)/Build -f BoardLib_$(JENNIC_CHIP_FAMILY).mk clean 69 | 70 | ######################################################################### 71 | -------------------------------------------------------------------------------- /sdk/Platform/DK4/Build/PlatformConfig.mk: -------------------------------------------------------------------------------- 1 | ############################################################################### 2 | # 3 | # MODULE: PlatformConfig.mk 4 | # 5 | # DESCRIPTION: DK4 Platform specific definitions 6 | # 7 | ############################################################################ 8 | # 9 | # This software is owned by NXP B.V. and/or its supplier and is protected 10 | # under applicable copyright laws. All rights are reserved. We grant You, 11 | # and any third parties, a license to use this software solely and 12 | # exclusively on NXP products [NXP Microcontrollers such as JN5148, JN5142, JN5139]. 13 | # You, and any third parties must reproduce the copyright and warranty notice 14 | # and any other legend of ownership on each copy or partial copy of the 15 | # software. 16 | # 17 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | # POSSIBILITY OF SUCH DAMAGE. 28 | # 29 | # Copyright NXP B.V. 2012. All rights reserved 30 | # 31 | ############################################################################ 32 | 33 | 34 | ############################################################################### 35 | # Compiler 36 | 37 | CFLAGS += -I$(PLATFORM_BASE_DIR)/Include 38 | 39 | ############################################################################### 40 | # Linker 41 | 42 | LDFLAGS += -L$(PLATFORM_BASE_DIR)/Library 43 | LDLIBS += BoardLib_$(JENNIC_CHIP_FAMILY) 44 | 45 | ############################################################################### 46 | -------------------------------------------------------------------------------- /sdk/Platform/DK4/Build/boardbuild_6x.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | make clean all -f AllBoardLibs.mk JENNIC_CHIP=JN5168 JENNIC_PCB=DK4 JENNIC_CHIP_FAMILY=JN516x 3 | -------------------------------------------------------------------------------- /sdk/Platform/DK4/Library/libBoardLib_JN516x.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Platform/DK4/Library/libBoardLib_JN516x.a -------------------------------------------------------------------------------- /sdk/Stack/MAC/Build/config_MAC.mk: -------------------------------------------------------------------------------- 1 | ############################################################################### 2 | # 3 | # MODULE: Config_MAC.mk 4 | # 5 | # DESCRIPTION: MAC stack configuration 6 | # defines tool, library and header file details 7 | # 8 | ############################################################################ 9 | # 10 | # This software is owned by NXP B.V. and/or its supplier and is protected 11 | # under applicable copyright laws. All rights are reserved. We grant You, 12 | # and any third parties, a license to use this software solely and 13 | # exclusively on NXP products [NXP Microcontrollers such as JN5148, JN5142, JN5139]. 14 | # You, and any third parties must reproduce the copyright and warranty notice 15 | # and any other legend of ownership on each copy or partial copy of the 16 | # software. 17 | # 18 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 19 | # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 20 | # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 21 | # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 22 | # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 23 | # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 24 | # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 25 | # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 26 | # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 27 | # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 28 | # POSSIBILITY OF SUCH DAMAGE. 29 | # 30 | # Copyright NXP B.V. 2012. All rights reserved 31 | # 32 | ############################################################################ 33 | 34 | 35 | ############################################################################### 36 | # ROM based software components 37 | 38 | INCFLAGS += -I$(COMPONENTS_BASE_DIR)/MAC/Include 39 | INCFLAGS += -I$(COMPONENTS_BASE_DIR)/TimerServer/Include 40 | INCFLAGS += -I$(COMPONENTS_BASE_DIR)/PDM/Include 41 | ifeq ($(JENNIC_CHIP_FAMILY), JN514x) 42 | INCFLAGS += -I$(COMPONENTS_BASE_DIR)/Random/Include 43 | endif 44 | 45 | ############################################################################### 46 | # RAM based software components 47 | 48 | ifeq ($(JENNIC_CHIP_FAMILY), JN514x) 49 | APPLIBS +=DBG 50 | APPLIBS +=AES_SW 51 | APPLIBS +=PDM 52 | endif 53 | ifeq ($(JENNIC_CHIP_FAMILY), JN513x) 54 | APPLIBS +=Random 55 | endif 56 | 57 | INCFLAGS += $(addsuffix /Include,$(addprefix -I$(COMPONENTS_BASE_DIR)/,$(APPLIBS))) 58 | 59 | ifeq ($(TRACE), 1) 60 | CFLAGS += -DDBG_ENABLE 61 | LDLIBS += DBG_$(JENNIC_CHIP_FAMILY) 62 | $(info Building trace version ...) 63 | endif 64 | 65 | ############################################################################### 66 | -------------------------------------------------------------------------------- /sdk/Stack/None/Build/config_None.mk: -------------------------------------------------------------------------------- 1 | ############################################################################### 2 | # 3 | # MODULE: Config_None.mk 4 | # 5 | # DESCRIPTION: Stack configuration for using no stack from ROM 6 | # defines tool, library and header file details 7 | # 8 | ############################################################################ 9 | # 10 | # This software is owned by NXP B.V. and/or its supplier and is protected 11 | # under applicable copyright laws. All rights are reserved. We grant You, 12 | # and any third parties, a license to use this software solely and 13 | # exclusively on NXP products [NXP Microcontrollers such as JN5148, JN5142, JN5139]. 14 | # You, and any third parties must reproduce the copyright and warranty notice 15 | # and any other legend of ownership on each copy or partial copy of the 16 | # software. 17 | # 18 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 19 | # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 20 | # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 21 | # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 22 | # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 23 | # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 24 | # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 25 | # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 26 | # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 27 | # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 28 | # POSSIBILITY OF SUCH DAMAGE. 29 | # 30 | # Copyright NXP B.V. 2012. All rights reserved 31 | # 32 | ############################################################################ 33 | 34 | 35 | ############################################################################### 36 | # ROM based software components 37 | 38 | INCFLAGS += -I$(COMPONENTS_BASE_DIR)/Mac/Include 39 | INCFLAGS += -I$(COMPONENTS_BASE_DIR)/TimerServer/Include 40 | ifeq ($(JENNIC_CHIP_FAMILY), JN514x) 41 | INCFLAGS += -I$(COMPONENTS_BASE_DIR)/Random/Include 42 | endif 43 | 44 | ############################################################################### 45 | # RAM based software components 46 | 47 | INCFLAGS += $(addsuffix /Include,$(addprefix -I$(COMPONENTS_BASE_DIR)/,$(APPLIBS))) 48 | 49 | ifneq ($(BUILD), ROM) 50 | #CFLAGS += -DAPPAPI_IN_RAM 51 | CFLAGS += -DRAM_BUILD 52 | endif 53 | 54 | ifeq ($(TRACE), 1) 55 | CFLAGS += -DDBG_ENABLE 56 | LDLIBS += DBG_$(JENNIC_CHIP_FAMILY) 57 | $(info Building trace version ...) 58 | endif 59 | 60 | ############################################################################### 61 | -------------------------------------------------------------------------------- /sdk/Stack/ZLLHA/Build/AppBuildZLLHADep_JN5168.ld: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | * 3 | * This software is owned by NXP B.V. and/or its supplier and is protected 4 | * under applicable copyright laws. All rights are reserved. We grant You, 5 | * and any third parties, a license to use this software solely and 6 | * exclusively on NXP products [NXP Microcontrollers such as JN5148, JN5142, JN5139]. 7 | * You, and any third parties must reproduce the copyright and warranty notice 8 | * and any other legend of ownership on each copy or partial copy of the 9 | * software. 10 | * 11 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 12 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 13 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 14 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 15 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 16 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 17 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 18 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 19 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 20 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 21 | * POSSIBILITY OF SUCH DAMAGE. 22 | * 23 | * Copyright NXP B.V. 2012. All rights reserved 24 | * 25 | ***************************************************************************/ 26 | 27 | /* Now building all code at once, so include vectors. MAC address is embedded 28 | in build for now */ 29 | SECTIONS 30 | { 31 | 32 | /* start location 0x54 */ 33 | .ro_mac_address (ALIGN((. - _enc_offset), 16) + _enc_offset): 34 | { 35 | _FlsMACAddress = ABSOLUTE(.); 36 | *(.ro_mac_address) /* Mac Address 8 bytes*/ 37 | . = ALIGN (0x10); 38 | } > flash 39 | 40 | .ro_ota_header (ALIGN((. - _enc_offset), 16) + _enc_offset): 41 | { 42 | _FlsOtaHeader = ABSOLUTE(.); 43 | *(.ro_ota_header) /* Ota Header 69 bytes*/ 44 | . = ALIGN (0x10); 45 | } > flash 46 | 47 | .ro_se_lnkKey (ALIGN((. - _enc_offset), 16) + _enc_offset): 48 | { 49 | _FlsLinkKey = ABSOLUTE(.); 50 | *(.ro_se_lnkKey) /* Link Key 16 bytes*/ 51 | . = ALIGN (0x10); 52 | } > flash 53 | 54 | 55 | } 56 | -------------------------------------------------------------------------------- /sdk/Stack/ZLLHA/Build/AppBuildZLLHADep_JN5169.ld: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | * 3 | * This software is owned by NXP B.V. and/or its supplier and is protected 4 | * under applicable copyright laws. All rights are reserved. We grant You, 5 | * and any third parties, a license to use this software solely and 6 | * exclusively on NXP products [NXP Microcontrollers such as JN5148, JN5142, JN5139]. 7 | * You, and any third parties must reproduce the copyright and warranty notice 8 | * and any other legend of ownership on each copy or partial copy of the 9 | * software. 10 | * 11 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 12 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 13 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 14 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 15 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 16 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 17 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 18 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 19 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 20 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 21 | * POSSIBILITY OF SUCH DAMAGE. 22 | * 23 | * Copyright NXP B.V. 2012. All rights reserved 24 | * 25 | ***************************************************************************/ 26 | 27 | /* Now building all code at once, so include vectors. MAC address is embedded 28 | in build for now */ 29 | SECTIONS 30 | { 31 | 32 | /* start location 0x54 */ 33 | .ro_mac_address (ALIGN((. - _enc_offset), 16) + _enc_offset): 34 | { 35 | _FlsMACAddress = ABSOLUTE(.); 36 | *(.ro_mac_address) /* Mac Address 8 bytes*/ 37 | . = ALIGN (0x10); 38 | } > flash 39 | 40 | .ro_ota_header (ALIGN((. - _enc_offset), 16) + _enc_offset): 41 | { 42 | _FlsOtaHeader = ABSOLUTE(.); 43 | *(.ro_ota_header) /* Ota Header 69 bytes*/ 44 | . = ALIGN (0x10); 45 | } > flash 46 | 47 | .ro_se_lnkKey (ALIGN((. - _enc_offset), 16) + _enc_offset): 48 | { 49 | _FlsLinkKey = ABSOLUTE(.); 50 | *(.ro_se_lnkKey) /* Link Key 16 bytes*/ 51 | . = ALIGN (0x10); 52 | } > flash 53 | 54 | 55 | } 56 | -------------------------------------------------------------------------------- /sdk/Stack/ZLLHA/Build/AppBuildZLLHA_JN5168.ld: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | * 3 | * This software is owned by NXP B.V. and/or its supplier and is protected 4 | * under applicable copyright laws. All rights are reserved. We grant You, 5 | * and any third parties, a license to use this software solely and 6 | * exclusively on NXP products [NXP Microcontrollers such as JN5148, JN5142, JN5139]. 7 | * You, and any third parties must reproduce the copyright and warranty notice 8 | * and any other legend of ownership on each copy or partial copy of the 9 | * software. 10 | * 11 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 12 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 13 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 14 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 15 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 16 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 17 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 18 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 19 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 20 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 21 | * POSSIBILITY OF SUCH DAMAGE. 22 | * 23 | * Copyright NXP B.V. 2012. All rights reserved 24 | * 25 | ***************************************************************************/ 26 | 27 | INCLUDE AppBuildStart.ld 28 | INCLUDE AppBuildZLLHADep_JN5168.ld 29 | INCLUDE AppBuildEnd.ld 30 | 31 | -------------------------------------------------------------------------------- /sdk/Stack/ZLLHA/Build/AppBuildZLLHA_JN5169.ld: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | * 3 | * This software is owned by NXP B.V. and/or its supplier and is protected 4 | * under applicable copyright laws. All rights are reserved. We grant You, 5 | * and any third parties, a license to use this software solely and 6 | * exclusively on NXP products [NXP Microcontrollers such as JN5148, JN5142, JN5139]. 7 | * You, and any third parties must reproduce the copyright and warranty notice 8 | * and any other legend of ownership on each copy or partial copy of the 9 | * software. 10 | * 11 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 12 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 13 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 14 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 15 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 16 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 17 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 18 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 19 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 20 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 21 | * POSSIBILITY OF SUCH DAMAGE. 22 | * 23 | * Copyright NXP B.V. 2012. All rights reserved 24 | * 25 | ***************************************************************************/ 26 | 27 | INCLUDE AppBuildStart.ld 28 | INCLUDE AppBuildZLLHADep_JN5169.ld 29 | INCLUDE AppBuildEnd.ld 30 | 31 | -------------------------------------------------------------------------------- /sdk/Tools/Eclipse_plugins/com.nxp.sdk.update_site/artifacts.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Tools/Eclipse_plugins/com.nxp.sdk.update_site/artifacts.jar -------------------------------------------------------------------------------- /sdk/Tools/Eclipse_plugins/com.nxp.sdk.update_site/content.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Tools/Eclipse_plugins/com.nxp.sdk.update_site/content.jar -------------------------------------------------------------------------------- /sdk/Tools/Eclipse_plugins/com.nxp.sdk.update_site/features/com.jennic.sdk.rtos.external.feature_1.2.3.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Tools/Eclipse_plugins/com.nxp.sdk.update_site/features/com.jennic.sdk.rtos.external.feature_1.2.3.jar -------------------------------------------------------------------------------- /sdk/Tools/Eclipse_plugins/com.nxp.sdk.update_site/features/com.jennic.sdk.zbpro.external.feature_1.2.4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Tools/Eclipse_plugins/com.nxp.sdk.update_site/features/com.jennic.sdk.zbpro.external.feature_1.2.4.jar -------------------------------------------------------------------------------- /sdk/Tools/Eclipse_plugins/com.nxp.sdk.update_site/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.jennic.update_site.external 4 | 5 | 6 | 55 | 56 | 57 | 58 |
59 | 60 | 61 | -------------------------------------------------------------------------------- /sdk/Tools/Eclipse_plugins/com.nxp.sdk.update_site/plugins/com.jennic.OSConfigDiagramEditor.diagram_1.2.3.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Tools/Eclipse_plugins/com.nxp.sdk.update_site/plugins/com.jennic.OSConfigDiagramEditor.diagram_1.2.3.jar -------------------------------------------------------------------------------- /sdk/Tools/Eclipse_plugins/com.nxp.sdk.update_site/plugins/com.jennic.OSConfigDiagramEditor.edit_1.2.3.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Tools/Eclipse_plugins/com.nxp.sdk.update_site/plugins/com.jennic.OSConfigDiagramEditor.edit_1.2.3.jar -------------------------------------------------------------------------------- /sdk/Tools/Eclipse_plugins/com.nxp.sdk.update_site/plugins/com.jennic.OSConfigDiagramEditor_1.2.3.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Tools/Eclipse_plugins/com.nxp.sdk.update_site/plugins/com.jennic.OSConfigDiagramEditor_1.2.3.jar -------------------------------------------------------------------------------- /sdk/Tools/Eclipse_plugins/com.nxp.sdk.update_site/plugins/com.jennic.zps.configeditor.edit_1.2.4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Tools/Eclipse_plugins/com.nxp.sdk.update_site/plugins/com.jennic.zps.configeditor.edit_1.2.4.jar -------------------------------------------------------------------------------- /sdk/Tools/Eclipse_plugins/com.nxp.sdk.update_site/plugins/com.jennic.zps.configeditor.editor_1.2.4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Tools/Eclipse_plugins/com.nxp.sdk.update_site/plugins/com.jennic.zps.configeditor.editor_1.2.4.jar -------------------------------------------------------------------------------- /sdk/Tools/Eclipse_plugins/com.nxp.sdk.update_site/plugins/com.jennic.zps.configeditor_1.2.4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Tools/Eclipse_plugins/com.nxp.sdk.update_site/plugins/com.jennic.zps.configeditor_1.2.4.jar -------------------------------------------------------------------------------- /sdk/Tools/Eclipse_plugins/com.nxp.sdk.update_site/web/site.css: -------------------------------------------------------------------------------- 1 | 13 | -------------------------------------------------------------------------------- /sdk/Tools/JennicSniffer/JennicSniffer_JN5168_1000000.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Tools/JennicSniffer/JennicSniffer_JN5168_1000000.bin -------------------------------------------------------------------------------- /sdk/Tools/JennicSniffer/JennicSniffer_JN5168_1000000_HP.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Tools/JennicSniffer/JennicSniffer_JN5168_1000000_HP.bin -------------------------------------------------------------------------------- /sdk/Tools/JennicSniffer/JennicSniffer_JN5169_1000000.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Tools/JennicSniffer/JennicSniffer_JN5169_1000000.bin -------------------------------------------------------------------------------- /sdk/Tools/JennicSniffer/JennicSniffer_JN5169_1000000_HP.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Tools/JennicSniffer/JennicSniffer_JN5169_1000000_HP.bin -------------------------------------------------------------------------------- /sdk/Tools/OSConfig/bin/MSVCR71.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Tools/OSConfig/bin/MSVCR71.dll -------------------------------------------------------------------------------- /sdk/Tools/OSConfig/bin/OSConfig.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Tools/OSConfig/bin/OSConfig.exe -------------------------------------------------------------------------------- /sdk/Tools/OSConfig/bin/w9xpopen.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Tools/OSConfig/bin/w9xpopen.exe -------------------------------------------------------------------------------- /sdk/Tools/OTAUtils/JET.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Tools/OTAUtils/JET.exe -------------------------------------------------------------------------------- /sdk/Tools/OTAUtils/MSVCR71.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Tools/OTAUtils/MSVCR71.dll -------------------------------------------------------------------------------- /sdk/Tools/OTAUtils/w9xpopen.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Tools/OTAUtils/w9xpopen.exe -------------------------------------------------------------------------------- /sdk/Tools/PDUMConfig/bin/MSVCR71.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Tools/PDUMConfig/bin/MSVCR71.dll -------------------------------------------------------------------------------- /sdk/Tools/PDUMConfig/bin/PDUMConfig.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Tools/PDUMConfig/bin/PDUMConfig.exe -------------------------------------------------------------------------------- /sdk/Tools/PDUMConfig/bin/w9xpopen.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Tools/PDUMConfig/bin/w9xpopen.exe -------------------------------------------------------------------------------- /sdk/Tools/ZPSConfig/bin/MSVCR71.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Tools/ZPSConfig/bin/MSVCR71.dll -------------------------------------------------------------------------------- /sdk/Tools/ZPSConfig/bin/ZPSConfig.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Tools/ZPSConfig/bin/ZPSConfig.exe -------------------------------------------------------------------------------- /sdk/Tools/ZPSConfig/bin/w9xpopen.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Tools/ZPSConfig/bin/w9xpopen.exe -------------------------------------------------------------------------------- /sdk/Uninstall.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fairecasoimeme/ZigWS2812_controller/cf4b6c64d283ef0aa95ed0c20fd1dfb938e193af/sdk/Uninstall.exe -------------------------------------------------------------------------------- /sdk/build.txt: -------------------------------------------------------------------------------- 1 | Build Number 1620 2 | --------------------------------------------------------------------------------