WIP: New BLE
This commit is contained in:
parent
dac4af8d25
commit
1efc32e9a1
6 changed files with 58 additions and 2 deletions
|
@ -1654,6 +1654,20 @@
|
||||||
<build_action v="HEADER;CortexM4;CortexM4;;" />
|
<build_action v="HEADER;CortexM4;CortexM4;;" />
|
||||||
<PropertyDeltas />
|
<PropertyDeltas />
|
||||||
</CyGuid_8b8ab257-35d3-4473-b57b-36315200b38b>
|
</CyGuid_8b8ab257-35d3-4473-b57b-36315200b38b>
|
||||||
|
<CyGuid_8b8ab257-35d3-4473-b57b-36315200b38b type_name="CyDesigner.Common.ProjMgmt.Model.CyPrjMgmtFileSerialize" version="3" xml_contents_version="1">
|
||||||
|
<CyGuid_31768f72-0253-412b-af77-e7dba74d1330 type_name="CyDesigner.Common.ProjMgmt.Model.CyPrjMgmtItemSerialize" version="2" name="BLE_Utils.c" persistent="SystemK\BLE\BLE_Utils.c">
|
||||||
|
<Hidden v="False" />
|
||||||
|
</CyGuid_31768f72-0253-412b-af77-e7dba74d1330>
|
||||||
|
<build_action v="SOURCE_C;CortexM4;CortexM4;;" />
|
||||||
|
<PropertyDeltas />
|
||||||
|
</CyGuid_8b8ab257-35d3-4473-b57b-36315200b38b>
|
||||||
|
<CyGuid_8b8ab257-35d3-4473-b57b-36315200b38b type_name="CyDesigner.Common.ProjMgmt.Model.CyPrjMgmtFileSerialize" version="3" xml_contents_version="1">
|
||||||
|
<CyGuid_31768f72-0253-412b-af77-e7dba74d1330 type_name="CyDesigner.Common.ProjMgmt.Model.CyPrjMgmtItemSerialize" version="2" name="BLE_Utils.h" persistent="SystemK\BLE\BLE_Utils.h">
|
||||||
|
<Hidden v="False" />
|
||||||
|
</CyGuid_31768f72-0253-412b-af77-e7dba74d1330>
|
||||||
|
<build_action v="HEADER;CortexM4;CortexM4;;" />
|
||||||
|
<PropertyDeltas />
|
||||||
|
</CyGuid_8b8ab257-35d3-4473-b57b-36315200b38b>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</CyGuid_0820c2e7-528d-4137-9a08-97257b946089>
|
</CyGuid_0820c2e7-528d-4137-9a08-97257b946089>
|
||||||
</CyGuid_2f73275c-45bf-46ba-b3b1-00a2fe0c8dd8>
|
</CyGuid_2f73275c-45bf-46ba-b3b1-00a2fe0c8dd8>
|
||||||
|
|
|
@ -111,6 +111,20 @@ SystemKResult_T SETTINGS_set_uint32_t(SystemKSettingID_T id, uint32_t value)
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SystemKResult_T SETTINGS_get_device_name(char* name)
|
||||||
|
{
|
||||||
|
static char device_name[] = "Another 2020TPC";
|
||||||
|
|
||||||
|
name = device_name;
|
||||||
|
|
||||||
|
return SYSTEMK_RESULT_SUCCESS;
|
||||||
|
}
|
||||||
|
|
||||||
|
SystemKResult_T SETTINGS_set_device_name(char* name)
|
||||||
|
{
|
||||||
|
return SYSTEMK_RESULT_NOT_IMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
SystemKResult_T SETTINGS_Save(void)
|
SystemKResult_T SETTINGS_Save(void)
|
||||||
{
|
{
|
||||||
#if (CONFIG__HAS_EXTERNAL_NVM)
|
#if (CONFIG__HAS_EXTERNAL_NVM)
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 4fe072f2d3280b19aa53e197bd22ec44b174ff88
|
Subproject commit 58f379dc1871b06a7cde07e5e2b77e93f5aebaeb
|
|
@ -1839,6 +1839,20 @@
|
||||||
<build_action v="HEADER;CortexM4;CortexM4;;" />
|
<build_action v="HEADER;CortexM4;CortexM4;;" />
|
||||||
<PropertyDeltas />
|
<PropertyDeltas />
|
||||||
</CyGuid_8b8ab257-35d3-4473-b57b-36315200b38b>
|
</CyGuid_8b8ab257-35d3-4473-b57b-36315200b38b>
|
||||||
|
<CyGuid_8b8ab257-35d3-4473-b57b-36315200b38b type_name="CyDesigner.Common.ProjMgmt.Model.CyPrjMgmtFileSerialize" version="3" xml_contents_version="1">
|
||||||
|
<CyGuid_31768f72-0253-412b-af77-e7dba74d1330 type_name="CyDesigner.Common.ProjMgmt.Model.CyPrjMgmtItemSerialize" version="2" name="BLE_Utils.c" persistent="SystemK\BLE\BLE_Utils.c">
|
||||||
|
<Hidden v="False" />
|
||||||
|
</CyGuid_31768f72-0253-412b-af77-e7dba74d1330>
|
||||||
|
<build_action v="SOURCE_C;CortexM4;CortexM4;;" />
|
||||||
|
<PropertyDeltas />
|
||||||
|
</CyGuid_8b8ab257-35d3-4473-b57b-36315200b38b>
|
||||||
|
<CyGuid_8b8ab257-35d3-4473-b57b-36315200b38b type_name="CyDesigner.Common.ProjMgmt.Model.CyPrjMgmtFileSerialize" version="3" xml_contents_version="1">
|
||||||
|
<CyGuid_31768f72-0253-412b-af77-e7dba74d1330 type_name="CyDesigner.Common.ProjMgmt.Model.CyPrjMgmtItemSerialize" version="2" name="BLE_Utils.h" persistent="SystemK\BLE\BLE_Utils.h">
|
||||||
|
<Hidden v="False" />
|
||||||
|
</CyGuid_31768f72-0253-412b-af77-e7dba74d1330>
|
||||||
|
<build_action v="HEADER;CortexM4;CortexM4;;" />
|
||||||
|
<PropertyDeltas />
|
||||||
|
</CyGuid_8b8ab257-35d3-4473-b57b-36315200b38b>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</CyGuid_0820c2e7-528d-4137-9a08-97257b946089>
|
</CyGuid_0820c2e7-528d-4137-9a08-97257b946089>
|
||||||
</CyGuid_2f73275c-45bf-46ba-b3b1-00a2fe0c8dd8>
|
</CyGuid_2f73275c-45bf-46ba-b3b1-00a2fe0c8dd8>
|
||||||
|
|
|
@ -111,6 +111,20 @@ SystemKResult_T SETTINGS_set_uint32_t(SystemKSettingID_T id, uint32_t value)
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SystemKResult_T SETTINGS_get_device_name(char* name)
|
||||||
|
{
|
||||||
|
static char device_name[] = "Another 2020TPC";
|
||||||
|
|
||||||
|
name = device_name;
|
||||||
|
|
||||||
|
return SYSTEMK_RESULT_SUCCESS;
|
||||||
|
}
|
||||||
|
|
||||||
|
SystemKResult_T SETTINGS_set_device_name(char* name)
|
||||||
|
{
|
||||||
|
return SYSTEMK_RESULT_NOT_IMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
SystemKResult_T SETTINGS_Save(void)
|
SystemKResult_T SETTINGS_Save(void)
|
||||||
{
|
{
|
||||||
#if (CONFIG__HAS_EXTERNAL_NVM)
|
#if (CONFIG__HAS_EXTERNAL_NVM)
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 4fe072f2d3280b19aa53e197bd22ec44b174ff88
|
Subproject commit 58f379dc1871b06a7cde07e5e2b77e93f5aebaeb
|
Loading…
Add table
Add a link
Reference in a new issue