Permalink
Browse files

[types] move types into specific headers (#2946)

  • Loading branch information...
jwhui committed Aug 8, 2018
1 parent 90ee0a4 commit 9d585edc46999b82b30b8cf3e88901f8b271ab63
Showing with 1,318 additions and 1,587 deletions.
  1. +1 −1 .appveyor/make_release.cmd
  2. +1 −1 configure.ac
  3. +1 −2 etc/visual-studio/libopenthread_k.vcxproj
  4. +3 −6 etc/visual-studio/libopenthread_k.vcxproj.filters
  5. +1 −1 examples/apps/cli/main.c
  6. +1 −1 examples/apps/ncp/main.c
  7. +0 −1 examples/apps/windows/otAdapter.h
  8. +0 −2 examples/drivers/windows/include/otLwfIoctl.h
  9. +1 −3 examples/drivers/windows/include/otNode.h
  10. +1 −1 examples/drivers/windows/otApi/precomp.h
  11. +0 −1 examples/drivers/windows/otCli/main.cpp
  12. +0 −1 examples/drivers/windows/otLwf/precomp.h
  13. +0 −1 examples/drivers/windows/otNodeApi/precomp.h
  14. +0 −2 examples/platforms/cc1352/alarm.c
  15. +0 −1 examples/platforms/cc1352/diag.c
  16. +1 −0 examples/platforms/cc1352/logging.c
  17. +0 −1 examples/platforms/cc1352/misc.c
  18. +1 −1 examples/platforms/cc1352/platform-cc1352.h
  19. +0 −2 examples/platforms/cc1352/radio.c
  20. +0 −1 examples/platforms/cc1352/random.c
  21. +0 −1 examples/platforms/cc1352/system.c
  22. +0 −1 examples/platforms/cc1352/uart.c
  23. +0 −1 examples/platforms/cc2538/alarm.c
  24. +0 −1 examples/platforms/cc2538/diag.c
  25. +1 −0 examples/platforms/cc2538/logging.c
  26. +0 −1 examples/platforms/cc2538/misc.c
  27. +1 −2 examples/platforms/cc2538/platform-cc2538.h
  28. +0 −1 examples/platforms/cc2538/radio.c
  29. +0 −1 examples/platforms/cc2538/random.c
  30. +0 −1 examples/platforms/cc2538/uart.c
  31. +0 −1 examples/platforms/cc2650/alarm.c
  32. +2 −0 examples/platforms/cc2650/flash.c
  33. +1 −0 examples/platforms/cc2650/logging.c
  34. +0 −1 examples/platforms/cc2650/misc.c
  35. +1 −1 examples/platforms/cc2650/platform-cc2650.h
  36. +0 −2 examples/platforms/cc2650/radio.c
  37. +0 −1 examples/platforms/cc2650/random.c
  38. +0 −1 examples/platforms/cc2650/system.c
  39. +0 −1 examples/platforms/cc2650/uart.c
  40. +0 −2 examples/platforms/cc2652/alarm.c
  41. +0 −1 examples/platforms/cc2652/diag.c
  42. +1 −0 examples/platforms/cc2652/logging.c
  43. +0 −1 examples/platforms/cc2652/misc.c
  44. +1 −1 examples/platforms/cc2652/platform-cc2652.h
  45. +0 −2 examples/platforms/cc2652/radio.c
  46. +0 −1 examples/platforms/cc2652/random.c
  47. +0 −1 examples/platforms/cc2652/system.c
  48. +0 −1 examples/platforms/cc2652/uart.c
  49. +3 −0 examples/platforms/da15000/logging.c
  50. +2 −1 examples/platforms/da15000/platform-da15000.h
  51. +1 −1 examples/platforms/da15000/system.c
  52. +1 −0 examples/platforms/efr32/logging.c
  53. +0 −1 examples/platforms/efr32/misc.c
  54. +0 −1 examples/platforms/efr32/radio.c
  55. +0 −1 examples/platforms/efr32/random.c
  56. +0 −1 examples/platforms/efr32/uart.c
  57. +2 −1 examples/platforms/emsk/logging.c
  58. +1 −1 examples/platforms/emsk/platform-emsk.h
  59. +5 −3 examples/platforms/emsk/radio.c
  60. +0 −1 examples/platforms/emsk/system.c
  61. +0 −1 examples/platforms/emsk/uart.c
  62. +0 −1 examples/platforms/gp712/alarm.c
  63. +0 −1 examples/platforms/gp712/alarm_qorvo.h
  64. +0 −1 examples/platforms/gp712/diag.c
  65. +1 −0 examples/platforms/gp712/logging.c
  66. +2 −1 examples/platforms/gp712/misc.c
  67. +1 −1 examples/platforms/gp712/platform_qorvo.h
  68. +0 −2 examples/platforms/gp712/radio.c
  69. +2 −1 examples/platforms/gp712/radio_qorvo.h
  70. +1 −1 examples/platforms/gp712/random.c
  71. +0 −1 examples/platforms/gp712/random_qorvo.h
  72. +0 −1 examples/platforms/gp712/uart_qorvo.h
  73. +2 −3 examples/platforms/kw41z/alarm.c
  74. +3 −4 examples/platforms/kw41z/diag.c
  75. +1 −0 examples/platforms/kw41z/logging.c
  76. +0 −1 examples/platforms/kw41z/misc.c
  77. +3 −1 examples/platforms/kw41z/platform-kw41z.h
  78. +0 −1 examples/platforms/kw41z/random.c
  79. +0 −1 examples/platforms/kw41z/system.c
  80. +0 −1 examples/platforms/kw41z/uart.c
  81. +0 −1 examples/platforms/nrf52840/alarm.c
  82. +0 −1 examples/platforms/nrf52840/flash.c
  83. +0 −1 examples/platforms/nrf52840/flash_nosd.c
  84. +0 −1 examples/platforms/nrf52840/flash_sd.c
  85. +0 −1 examples/platforms/nrf52840/logging.c
  86. +1 −1 examples/platforms/nrf52840/platform-nrf5.h
  87. +0 −1 examples/platforms/nrf52840/radio.c
  88. +0 −1 examples/platforms/nrf52840/softdevice.c
  89. +0 −1 examples/platforms/nrf52840/spi-slave.c
  90. +0 −1 examples/platforms/nrf52840/uart.c
  91. +0 −1 examples/platforms/nrf52840/usb-cdc-uart.c
  92. +1 −1 examples/platforms/openthread-system.h
  93. +0 −1 examples/platforms/posix/diag.c
  94. +1 −0 examples/platforms/posix/logging.c
  95. +0 −1 examples/platforms/posix/misc.c
  96. +1 −1 examples/platforms/posix/platform-posix.h
  97. +1 −0 examples/platforms/posix/radio.c
  98. +0 −1 examples/platforms/posix/random.c
  99. +0 −1 examples/platforms/posix/sim/platform-sim.c
  100. +0 −1 examples/platforms/posix/system.c
  101. +1 −0 examples/platforms/samr21/logging.c
  102. +1 −1 examples/platforms/samr21/platform-samr21.h
  103. +2 −0 examples/platforms/samr21/system.c
  104. +0 −1 examples/platforms/utils/debug_uart.c
  105. +1 −1 examples/platforms/utils/flash.h
  106. +1 −1 examples/platforms/utils/settings_flash.c
  107. +1 −2 include/openthread/Makefile.am
  108. +2 −1 include/openthread/border_router.h
  109. +1 −1 include/openthread/channel_manager.h
  110. +1 −1 include/openthread/channel_monitor.h
  111. +1 −1 include/openthread/child_supervision.h
  112. +3 −1 include/openthread/cli.h
  113. +1 −1 include/openthread/coap.h
  114. +34 −1 include/openthread/commissioner.h
  115. +202 −1 include/openthread/dataset.h
  116. +2 −1 include/openthread/dataset_ftd.h
  117. +1 −1 include/openthread/dhcp6_client.h
  118. +1 −1 include/openthread/dhcp6_server.h
  119. +1 −1 include/openthread/diag.h
  120. +1 −1 include/openthread/dns.h
  121. +198 −18 include/openthread/{openthread.h → error.h}
  122. +1 −1 include/openthread/icmp6.h
  123. +44 −1 include/openthread/instance.h
  124. +129 −0 include/openthread/ip6.h
  125. +1 −1 include/openthread/jam_detection.h
  126. +1 −1 include/openthread/joiner.h
  127. +120 −1 include/openthread/link.h
  128. +0 −1 include/openthread/link_raw.h
  129. +38 −1 include/openthread/message.h
  130. +3 −1 include/openthread/ncp.h
  131. +109 −1 include/openthread/netdata.h
  132. +1 −1 include/openthread/network_time.h
  133. +1 −1 include/openthread/platform/alarm-micro.h
  134. +1 −1 include/openthread/platform/alarm-milli.h
  135. +1 −1 include/openthread/platform/ble.h
  136. +1 −0 include/openthread/platform/debug_uart.h
  137. +1 −1 include/openthread/platform/diag.h
  138. +77 −12 include/openthread/platform/logging.h
  139. +0 −1 include/openthread/platform/messagepool.h
  140. +1 −1 include/openthread/platform/misc.h
  141. +36 −1 include/openthread/platform/radio.h
  142. +1 −1 include/openthread/platform/random.h
  143. +1 −1 include/openthread/platform/settings.h
  144. +2 −1 include/openthread/platform/spi-slave.h
  145. +0 −2 include/openthread/platform/time.h
  146. +11 −0 include/openthread/platform/toolchain.h
  147. +1 −1 include/openthread/platform/uart.h
  148. +30 −1 include/openthread/server.h
  149. +1 −1 include/openthread/tasklet.h
  150. +104 −1 include/openthread/thread.h
  151. +44 −1 include/openthread/thread_ftd.h
  152. +0 −1,239 include/openthread/types.h
  153. +1 −1 include/openthread/udp.h
  154. +0 −1 src/cli/cli.cpp
  155. +0 −1 src/cli/cli.hpp
  156. +0 −2 src/cli/cli_coap.hpp
  157. +0 −2 src/cli/cli_dataset.cpp
  158. +2 −0 src/cli/cli_dataset.hpp
  159. +0 −2 src/cli/cli_instance.cpp
  160. +0 −2 src/cli/cli_server.hpp
  161. +0 −2 src/cli/cli_uart.hpp
  162. +1 −1 src/cli/cli_udp.hpp
  163. +0 −1 src/cli/cli_udp_example.hpp
  164. +0 −1 src/core/api/instance_api.cpp
  165. +1 −1 src/core/common/instance.hpp
  166. +1 −1 src/core/common/locator.hpp
  167. +0 −2 src/core/common/logging.cpp
  168. +0 −1 src/core/common/logging.hpp
  169. +1 −1 src/core/common/notifier.hpp
  170. +0 −1 src/core/common/owner-locator.hpp
  171. +2 −1 src/core/common/string.hpp
  172. +0 −2 src/core/common/tasklet.cpp
  173. +0 −1 src/core/common/timer.hpp
  174. +0 −2 src/core/common/tlvs.hpp
  175. +1 −1 src/core/crypto/aes_ccm.hpp
  176. +2 −0 src/core/crypto/mbedtls.hpp
  177. +0 −1 src/core/mac/mac_filter.cpp
  178. +0 −2 src/core/mac/mac_filter.hpp
  179. +1 −1 src/core/mac/mac_frame.hpp
  180. +0 −2 src/core/meshcop/border_agent.cpp
  181. +0 −1 src/core/meshcop/commissioner.cpp
  182. +2 −0 src/core/meshcop/dataset.hpp
  183. +0 −2 src/core/meshcop/dataset_manager.cpp
  184. +0 −2 src/core/meshcop/dataset_manager.hpp
  185. +0 −2 src/core/meshcop/dtls.hpp
  186. +0 −2 src/core/meshcop/joiner_router.hpp
  187. +2 −0 src/core/meshcop/meshcop.hpp
  188. +2 −1 src/core/meshcop/meshcop_tlvs.hpp
  189. +0 −2 src/core/meshcop/timestamp.cpp
  190. +0 −2 src/core/net/dhcp6_client.cpp
  191. +0 −2 src/core/net/dhcp6_server.cpp
  192. +0 −2 src/core/net/dhcp6_server.hpp
  193. +0 −1 src/core/net/dns_client.hpp
  194. +0 −2 src/core/net/dns_headers.hpp
  195. +0 −2 src/core/net/ip6_address.hpp
  196. +0 −2 src/core/net/ip6_filter.hpp
  197. +0 −2 src/core/net/ip6_headers.hpp
  198. +0 −2 src/core/net/ip6_mpl.hpp
  199. +0 −2 src/core/net/ip6_routes.hpp
  200. +0 −2 src/core/net/socket.hpp
  201. +0 −2 src/core/net/tcp.hpp
  202. +0 −2 src/core/thread/address_resolver.hpp
  203. +0 −2 src/core/thread/announce_begin_server.hpp
  204. +0 −2 src/core/thread/announce_sender.hpp
  205. +0 −2 src/core/thread/data_poll_manager.hpp
  206. +0 −2 src/core/thread/energy_scan_server.hpp
  207. +1 −1 src/core/thread/key_manager.hpp
  208. +0 −1 src/core/thread/link_quality.hpp
  209. +0 −2 src/core/thread/mesh_forwarder.hpp
  210. +0 −2 src/core/thread/mle.hpp
  211. +0 −2 src/core/thread/mle_tlvs.hpp
  212. +2 −1 src/core/thread/network_data.hpp
  213. +0 −2 src/core/thread/network_diagnostic.hpp
  214. +1 −1 src/core/thread/network_diagnostic_tlvs.hpp
  215. +0 −2 src/core/thread/panid_query_server.hpp
  216. +0 −2 src/core/thread/src_match_controller.hpp
  217. +0 −2 src/core/thread/thread_netif.hpp
  218. +0 −2 src/core/thread/thread_tlvs.hpp
  219. +0 −1 src/core/thread/time_sync_service.hpp
  220. +2 −0 src/core/thread/topology.hpp
  221. +0 −1 src/core/utils/channel_manager.hpp
  222. +0 −1 src/core/utils/channel_monitor.hpp
  223. +0 −2 src/core/utils/child_supervision.cpp
  224. +0 −2 src/core/utils/jam_detector.cpp
  225. +2 −1 src/core/utils/slaac_address.cpp
  226. +1 −1 src/core/utils/slaac_address.hpp
  227. +0 −1 src/diag/diag_process.hpp
  228. +1 −1 src/ncp/changed_props_set.hpp
  229. +3 −1 src/ncp/hdlc.hpp
  230. +0 −1 src/ncp/ncp_base.cpp
  231. +0 −1 src/ncp/ncp_base.hpp
  232. +0 −1 src/ncp/ncp_base_ftd.cpp
  233. +0 −1 src/ncp/ncp_base_mtd.cpp
  234. +0 −1 src/ncp/ncp_base_radio.cpp
  235. +0 −1 src/ncp/ncp_buffer.hpp
  236. +1 −1 src/ncp/spinel_decoder.hpp
  237. +1 −1 src/ncp/spinel_encoder.hpp
  238. +1 −1 src/posix/main.c
  239. +0 −1 src/posix/platform/debug_uart.c
  240. +0 −1 src/posix/platform/diag.c
  241. +1 −1 src/posix/platform/flash.h
  242. +0 −1 src/posix/platform/misc.c
  243. +1 −1 src/posix/platform/openthread-system.h
  244. +1 −1 src/posix/platform/platform-posix.h
  245. +2 −0 src/posix/platform/radio_spinel.hpp
  246. +0 −1 src/posix/platform/random.c
  247. +1 −2 src/posix/platform/settings.cpp
  248. +0 −1 src/posix/platform/system.c
  249. +0 −1 tests/fuzz/ip6_send.cpp
  250. +0 −1 tests/fuzz/radio_receive_done.cpp
  251. +0 −1 tests/unit/test_aes.cpp
  252. +0 −1 tests/unit/test_child.cpp
  253. +0 −1 tests/unit/test_child_table.cpp
  254. +0 −1 tests/unit/test_hmac_sha256.cpp
  255. +0 −2 tests/unit/test_link_quality.cpp
  256. +0 −2 tests/unit/test_lowpan.hpp
  257. +0 −2 tests/unit/test_mac_frame.cpp
  258. +0 −2 tests/unit/test_message.cpp
  259. +0 −1 tests/unit/test_message_queue.cpp
  260. +0 −2 tests/unit/test_ncp_buffer.cpp
  261. +0 −1 tests/unit/test_platform.h
  262. +0 −2 tests/unit/test_priority_queue.cpp
  263. +0 −1 tests/unit/test_pskc.cpp
  264. +0 −2 tests/unit/test_spinel_decoder.cpp
  265. +0 −2 tests/unit/test_spinel_encoder.cpp
  266. +0 −1 tests/unit/test_string.cpp
  267. +1 −0 tests/unit/test_toolchain.cpp
  268. +1 −0 tests/unit/test_toolchain_c.c
  269. +2 −0 tests/unit/test_util.cpp
  270. +0 −2 tests/unit/test_util.h
@@ -42,13 +42,13 @@ REM Copy the relavant include headers
copy include\openthread\commissioner.h release\include\openthread
copy include\openthread\dataset.h release\include\openthread
copy include\openthread\error.h release\include\openthread
copy include\openthread\instance.h release\include\openthread
copy include\openthread\ip6.h release\include\openthread
copy include\openthread\joiner.h release\include\openthread
copy include\openthread\link.h release\include\openthread
copy include\openthread\message.h release\include\openthread
copy include\openthread\netdata.h release\include\openthread
copy include\openthread\openthread.h release\include\openthread
copy include\openthread\thread.h release\include\openthread
copy include\openthread\types.h release\include\openthread
copy include\openthread\platform\toolchain.h release\include\openthread\platform
View
@@ -68,7 +68,7 @@ AC_SUBST(LIBOPENTHREAD_VERSION_INFO, [${LIBOPENTHREAD_VERSION_CURRENT}:${LIB
# Check the sanity of the source directory by checking for the
# presence of a key watch file
#
AC_CONFIG_SRCDIR([include/openthread/openthread.h])
AC_CONFIG_SRCDIR([include/openthread/error.h])
#
# Tell autoconf where to find auxilliary build tools (e.g. config.guess,
@@ -173,6 +173,7 @@
<ClInclude Include="..\..\include\openthread\dataset_ftd.h" />
<ClInclude Include="..\..\include\openthread\dhcp6_client.h" />
<ClInclude Include="..\..\include\openthread\dhcp6_server.h" />
<ClInclude Include="..\..\include\openthread\error.h" />
<ClInclude Include="..\..\include\openthread\icmp6.h" />
<ClInclude Include="..\..\include\openthread\instance.h" />
<ClInclude Include="..\..\include\openthread\ip6.h" />
@@ -181,11 +182,9 @@
<ClInclude Include="..\..\include\openthread\link.h" />
<ClInclude Include="..\..\include\openthread\message.h" />
<ClInclude Include="..\..\include\openthread\netdata.h" />
<ClInclude Include="..\..\include\openthread\openthread.h" />
<ClInclude Include="..\..\include\openthread\tasklet.h" />
<ClInclude Include="..\..\include\openthread\thread.h" />
<ClInclude Include="..\..\include\openthread\thread_ftd.h" />
<ClInclude Include="..\..\include\openthread\types.h" />
<ClInclude Include="..\..\include\openthread-windows-config.h" />
<ClInclude Include="..\..\include\openthread\udp.h" />
<ClInclude Include="..\..\src\core\api\link_raw.hpp" />
@@ -614,9 +614,6 @@
<ClInclude Include="..\..\src\core\openthread-core-default-config.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\include\openthread\types.h">
<Filter>Header Files\openthread</Filter>
</ClInclude>
<ClInclude Include="..\..\examples\drivers\windows\include\openthread-core-windows-config.h">
<Filter>Header Files</Filter>
</ClInclude>
@@ -644,6 +641,9 @@
<ClInclude Include="..\..\include\openthread\dhcp6_server.h">
<Filter>Header Files\openthread</Filter>
</ClInclude>
<ClInclude Include="..\..\include\openthread\error.h">
<Filter>Header Files\openthread</Filter>
</ClInclude>
<ClInclude Include="..\..\include\openthread\icmp6.h">
<Filter>Header Files\openthread</Filter>
</ClInclude>
@@ -668,9 +668,6 @@
<ClInclude Include="..\..\include\openthread\netdata.h">
<Filter>Header Files\openthread</Filter>
</ClInclude>
<ClInclude Include="..\..\include\openthread\openthread.h">
<Filter>Header Files\openthread</Filter>
</ClInclude>
<ClInclude Include="..\..\include\openthread\tasklet.h">
<Filter>Header Files\openthread</Filter>
</ClInclude>
View
@@ -32,7 +32,7 @@
#include <openthread/cli.h>
#include <openthread/diag.h>
#include <openthread/openthread.h>
#include <openthread/tasklet.h>
#include <openthread/platform/logging.h>
#include "openthread-system.h"
View
@@ -32,7 +32,7 @@
#include <openthread/diag.h>
#include <openthread/ncp.h>
#include <openthread/openthread.h>
#include <openthread/tasklet.h>
#include "openthread-system.h"
@@ -29,7 +29,6 @@
#pragma once
#define OTDLL 1
#include <openthread/openthread.h>
#include <openthread/border_router.h>
#include <openthread/thread_ftd.h>
#include <openthread/commissioner.h>
@@ -35,8 +35,6 @@
#ifndef __OTLWFIOCTL_H__
#define __OTLWFIOCTL_H__
#include <openthread/types.h>
__inline LONG ThreadErrorToNtstatus(otError error) { return (LONG)-((int)error); }
// User-mode IOCTL path for CreateFile
@@ -29,14 +29,12 @@
/**
* @file
* @brief
* This file defines a node interface for openthread.h to be used for certification tests
* This file defines a node interface for openthread to be used for certification tests
*/
#ifndef OTNODE_H_
#define OTNODE_H_
#include <openthread/openthread.h>
#ifndef OTNODEAPI
#define OTNODEAPI __declspec(dllimport)
#endif
@@ -21,9 +21,9 @@
#define OTDLL
#define OTAPI EXTERN_C __declspec(dllexport)
#include <openthread/openthread.h>
#include <openthread/border_router.h>
#include <openthread/dataset_ftd.h>
#include <openthread/error.h>
#include <openthread/thread_ftd.h>
#include <openthread/commissioner.h>
#include <openthread/joiner.h>
@@ -29,7 +29,6 @@
#include <windows.h>
#include <stdio.h>
#include <openthread/openthread.h>
#include <openthread/cli.h>
#include <openthread/platform/uart.h>
#include <openthread/platform/misc.h>
@@ -61,7 +61,6 @@ RtlCopyBufferToMdl(
#include <openthread-windows-config.h>
#include <openthread-core-config.h>
#include <openthread/openthread.h>
#include <openthread/border_router.h>
#include <openthread/dataset_ftd.h>
#include <openthread/thread_ftd.h>
@@ -49,7 +49,6 @@ using namespace std;
#define OTDLL
#define OTNODEAPI EXTERN_C __declspec(dllexport)
#include <openthread/openthread.h>
#include <openthread/border_router.h>
#include <openthread/dataset_ftd.h>
#include <openthread/thread_ftd.h>
@@ -38,8 +38,6 @@
#include <stdbool.h>
#include <stdint.h>
#include <openthread/openthread.h>
#include <openthread/platform/alarm-milli.h>
#include <openthread/platform/diag.h>
@@ -33,7 +33,6 @@
#include <string.h>
#include <openthread/config.h>
#include <openthread/openthread.h>
#include <openthread/platform/alarm-milli.h>
#include <openthread/platform/radio.h>
@@ -34,6 +34,7 @@
#include <openthread-core-config.h>
#include <openthread/config.h>
#include <openthread/platform/logging.h>
#include <openthread/platform/toolchain.h>
#if (OPENTHREAD_CONFIG_LOG_OUTPUT == OPENTHREAD_CONFIG_LOG_OUTPUT_PLATFORM_DEFINED) || \
(OPENTHREAD_CONFIG_LOG_OUTPUT == OPENTHREAD_CONFIG_LOG_OUTPUT_NCP_SPINEL)
@@ -29,7 +29,6 @@
#include <openthread/config.h>
#include <driverlib/sys_ctrl.h>
#include <openthread/types.h>
#include <openthread/platform/misc.h>
/*
@@ -32,7 +32,7 @@
#include <openthread-core-config.h>
#include <stdint.h>
#include <openthread/config.h>
#include "openthread/types.h"
#include <openthread/instance.h>
#ifdef __cplusplus
extern "C" {
@@ -36,8 +36,6 @@
#include <assert.h>
#include <utils/code_utils.h>
#include <openthread/openthread.h>
#include <openthread/types.h>
#include <openthread/platform/alarm-milli.h>
#include <openthread/platform/diag.h>
#include <openthread/platform/radio.h>
@@ -31,7 +31,6 @@
#include <stddef.h>
#include <utils/code_utils.h>
#include <openthread/types.h>
#include <openthread/platform/random.h>
#include <driverlib/prcm.h>
@@ -36,7 +36,6 @@
#include "platform-cc1352.h"
#include <stdio.h>
#include <openthread/types.h>
#include "inc/hw_ccfg.h"
#include "inc/hw_ccfg_simple_struct.h"
@@ -39,7 +39,6 @@
#include <stddef.h>
#include <stdio.h>
#include <openthread/types.h>
#include <openthread/platform/debug_uart.h>
#include <openthread/platform/logging.h>
#include <openthread/platform/uart.h>
@@ -36,7 +36,6 @@
#include <stdint.h>
#include <openthread/config.h>
#include <openthread/openthread.h>
#include <openthread/platform/alarm-milli.h>
#include <openthread/platform/diag.h>
@@ -32,7 +32,6 @@
#include <sys/time.h>
#include <openthread/config.h>
#include <openthread/openthread.h>
#include <openthread/platform/alarm-milli.h>
#include <openthread/platform/radio.h>
@@ -34,6 +34,7 @@
#include <openthread-core-config.h>
#include <openthread/config.h>
#include <openthread/platform/logging.h>
#include <openthread/platform/toolchain.h>
#if (OPENTHREAD_CONFIG_LOG_OUTPUT == OPENTHREAD_CONFIG_LOG_OUTPUT_PLATFORM_DEFINED) || \
(OPENTHREAD_CONFIG_LOG_OUTPUT == OPENTHREAD_CONFIG_LOG_OUTPUT_NCP_SPINEL)
@@ -26,7 +26,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <openthread/types.h>
#include <openthread/platform/misc.h>
#include "platform-cc2538.h"
@@ -38,8 +38,7 @@
#include <openthread-core-config.h>
#include <stdint.h>
#include <openthread/config.h>
#include <openthread/types.h>
#include <openthread/instance.h>
#include "cc2538-reg.h"
@@ -33,7 +33,6 @@
*/
#include <openthread/config.h>
#include <openthread/openthread.h>
#include <openthread/platform/alarm-milli.h>
#include <openthread/platform/diag.h>
#include <openthread/platform/radio.h>
@@ -32,7 +32,6 @@
*
*/
#include <openthread/types.h>
#include <openthread/platform/radio.h>
#include <openthread/platform/random.h>
@@ -39,7 +39,6 @@
#include <stddef.h>
#include <stdio.h>
#include <openthread/types.h>
#include <openthread/platform/debug_uart.h>
#include <openthread/platform/logging.h>
#include <openthread/platform/uart.h>
@@ -29,7 +29,6 @@
#include <driverlib/aon_rtc.h>
#include <stdbool.h>
#include <stdint.h>
#include <openthread/types.h>
#include <openthread/platform/alarm-milli.h>
#include <openthread/platform/diag.h>
@@ -28,6 +28,8 @@
#include "platform-cc2650.h"
#include <openthread/error.h>
/**
* @warning this file only implements stubs for the function calls. There is
* not enough space on the cc2650 to support NV as an SoC.
@@ -34,6 +34,7 @@
#include <openthread-core-config.h>
#include <openthread/config.h>
#include <openthread/platform/logging.h>
#include <openthread/platform/toolchain.h>
#if (OPENTHREAD_CONFIG_LOG_OUTPUT == OPENTHREAD_CONFIG_LOG_OUTPUT_PLATFORM_DEFINED) || \
(OPENTHREAD_CONFIG_LOG_OUTPUT == OPENTHREAD_CONFIG_LOG_OUTPUT_NCP_SPINEL)
@@ -27,7 +27,6 @@
*/
#include <driverlib/sys_ctrl.h>
#include <openthread/types.h>
#include <openthread/platform/misc.h>
/**
@@ -32,7 +32,7 @@
#include <openthread-core-config.h>
#include <stdint.h>
#include <openthread/config.h>
#include "openthread/types.h"
#include <openthread/instance.h>
#ifdef __cplusplus
extern "C" {
@@ -28,8 +28,6 @@
#include <openthread/config.h>
#include <openthread/types.h>
#include "cc2650_radio.h"
#include <assert.h>
#include <utils/code_utils.h>
@@ -27,7 +27,6 @@
*/
#include <utils/code_utils.h>
#include <openthread/types.h>
#include <driverlib/prcm.h>
#include <driverlib/trng.h>
@@ -28,7 +28,6 @@
#include "platform-cc2650.h"
#include <stdio.h>
#include <openthread/types.h>
#include "inc/hw_ccfg_simple_struct.h"
extern const ccfg_t __ccfg;
@@ -34,7 +34,6 @@
#include <driverlib/uart.h>
#include <utils/code_utils.h>
#include <openthread/types.h>
#include <openthread/platform/uart.h>
/**
@@ -38,8 +38,6 @@
#include <stdbool.h>
#include <stdint.h>
#include <openthread/openthread.h>
#include <openthread/platform/alarm-milli.h>
#include <openthread/platform/diag.h>
@@ -33,7 +33,6 @@
#include <string.h>
#include <openthread/config.h>
#include <openthread/openthread.h>
#include <openthread/platform/alarm-milli.h>
#include <openthread/platform/radio.h>
Oops, something went wrong.

0 comments on commit 9d585ed

Please sign in to comment.