Skip to content
Permalink
Browse files

cleanup: include/: move misc/util.h to sys/util.h

move misc/util.h to sys/util.h and
create a shim for backward-compatibility.

No functional changes to the headers.
A warning in the shim can be controlled with CONFIG_COMPAT_INCLUDES.

Related to #16539

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
  • Loading branch information...
nashif committed Jun 26, 2019
1 parent d222553 commit a2fd7d70ec72f96e7bae54ef0f90a172898b2720
Showing with 1,103 additions and 1,088 deletions.
  1. +1 −1 arch/arc/core/cache.c
  2. +1 −1 arch/arc/include/kernel_arch_data.h
  3. +1 −1 arch/arm/core/cortex_m/scb.c
  4. +1 −1 arch/arm/core/cortex_m/vector_table.h
  5. +1 −1 arch/nios2/include/kernel_arch_data.h
  6. +1 −1 arch/riscv32/include/kernel_arch_data.h
  7. +1 −1 arch/x86/core/ia32/cache.c
  8. +2 −2 arch/x86/include/kernel_arch_data.h
  9. +1 −1 arch/xtensa/core/xtensa_intgen.py
  10. +1 −1 arch/xtensa/include/kernel_arch_data.h
  11. +1 −1 boards/posix/native_posix/hw_models_top.c
  12. +1 −1 boards/posix/native_posix/main.c
  13. +1 −1 boards/posix/native_posix/timer_model.c
  14. +1 −1 boards/posix/nrf52_bsim/board_soc.h
  15. +1 −1 drivers/adc/adc_intel_quark_se_c1000_ss.c
  16. +1 −1 drivers/adc/adc_sam_afec.c
  17. +1 −1 drivers/audio/tlv320dac310x.c
  18. +1 −1 drivers/bluetooth/hci/h4.c
  19. +1 −1 drivers/bluetooth/hci/h5.c
  20. +1 −1 drivers/bluetooth/hci/ipm_stm32wb.c
  21. +1 −1 drivers/bluetooth/hci/spi.c
  22. +1 −1 drivers/bluetooth/hci/userchan.c
  23. +1 −1 drivers/can/can_stm32.c
  24. +1 −1 drivers/clock_control/beetle_clock_control.c
  25. +1 −1 drivers/clock_control/clock_stm32_ll_common.c
  26. +1 −1 drivers/clock_control/clock_stm32_ll_mp1.c
  27. +1 −1 drivers/clock_control/clock_stm32f0_f3.c
  28. +1 −1 drivers/clock_control/clock_stm32f1.c
  29. +1 −1 drivers/clock_control/clock_stm32f2_f4_f7.c
  30. +1 −1 drivers/clock_control/clock_stm32l0_l1.c
  31. +1 −1 drivers/clock_control/clock_stm32l4_wb.c
  32. +1 −1 drivers/counter/counter_ll_stm32_rtc.c
  33. +1 −1 drivers/counter/counter_qmsi_aonpt.c
  34. +1 −1 drivers/counter/counter_rtc_qmsi.c
  35. +1 −1 drivers/crypto/crypto_ataes132a_priv.h
  36. +1 −1 drivers/display/grove_lcd_rgb.c
  37. +1 −1 drivers/dma/dma_stm32f4x.c
  38. +1 −1 drivers/entropy/entropy_stm32.c
  39. +1 −1 drivers/entropy/fake_entropy_native_posix.c
  40. +1 −1 drivers/ethernet/eth_dw_priv.h
  41. +1 −1 drivers/ethernet/eth_mcux.c
  42. +1 −1 drivers/ethernet/eth_sam_gmac.c
  43. +1 −1 drivers/ethernet/eth_stm32_hal.c
  44. +1 −1 drivers/flash/flash_simulator.c
  45. +1 −1 drivers/flash/soc_flash_nios2_qspi.c
  46. +1 −1 drivers/flash/soc_flash_qmsi.c
  47. +1 −1 drivers/flash/spi_nor.h
  48. +1 −1 drivers/gpio/gpio_dw.c
  49. +1 −1 drivers/gpio/gpio_esp32.c
  50. +1 −1 drivers/gpio/gpio_pcal9535a.c
  51. +1 −1 drivers/gpio/gpio_qmsi.c
  52. +1 −1 drivers/gpio/gpio_qmsi_ss.c
  53. +1 −1 drivers/gpio/gpio_sch.c
  54. +1 −1 drivers/gpio/gpio_sifive.c
  55. +1 −1 drivers/gpio/gpio_stm32.c
  56. +1 −1 drivers/gpio/gpio_sx1509b.c
  57. +1 −1 drivers/i2c/i2c_dw.c
  58. +1 −1 drivers/i2c/i2c_esp32.c
  59. +1 −1 drivers/i2c/i2c_gecko.c
  60. +1 −1 drivers/i2c/i2c_imx.c
  61. +1 −1 drivers/i2c/i2c_ll_stm32.c
  62. +1 −1 drivers/i2c/i2c_ll_stm32_v1.c
  63. +1 −1 drivers/i2c/i2c_ll_stm32_v2.c
  64. +1 −1 drivers/i2c/i2c_mcux.c
  65. +1 −1 drivers/i2c/i2c_nios2.c
  66. +1 −1 drivers/i2c/slave/eeprom_slave.c
  67. +1 −1 drivers/led/lp3943.c
  68. +1 −1 drivers/led/pca9633.c
  69. +1 −1 drivers/led_strip/lpd880x.c
  70. +1 −1 drivers/led_strip/ws2812.c
  71. +1 −1 drivers/net/slip.c
  72. +1 −1 drivers/pinmux/pinmux_cc2650.c
  73. +1 −1 drivers/pinmux/pinmux_esp32.c
  74. +1 −1 drivers/pwm/pwm_qmsi.c
  75. +1 −1 drivers/rtc/rtc_ll_stm32.c
  76. +1 −1 drivers/rtc/rtc_mcux.c
  77. +1 −1 drivers/sensor/adt7420/adt7420.c
  78. +1 −1 drivers/sensor/adt7420/adt7420_trigger.c
  79. +1 −1 drivers/sensor/adxl362/adxl362_trigger.c
  80. +1 −1 drivers/sensor/adxl372/adxl372.h
  81. +1 −1 drivers/sensor/adxl372/adxl372_trigger.c
  82. +1 −1 drivers/sensor/ak8975/ak8975.c
  83. +1 −1 drivers/sensor/amg88xx/amg88xx.c
  84. +1 −1 drivers/sensor/amg88xx/amg88xx.h
  85. +1 −1 drivers/sensor/amg88xx/amg88xx_trigger.c
  86. +1 −1 drivers/sensor/ams_iAQcore/iAQcore.c
  87. +1 −1 drivers/sensor/ams_iAQcore/iAQcore.h
  88. +1 −1 drivers/sensor/apds9960/apds9960_trigger.c
  89. +1 −1 drivers/sensor/bma280/bma280.h
  90. +1 −1 drivers/sensor/bma280/bma280_trigger.c
  91. +1 −1 drivers/sensor/bmc150_magn/bmc150_magn.h
  92. +1 −1 drivers/sensor/bmc150_magn/bmc150_magn_trigger.c
  93. +1 −1 drivers/sensor/bmg160/bmg160.h
  94. +1 −1 drivers/sensor/bmi160/bmi160.h
  95. +1 −1 drivers/sensor/bmm150/bmm150.h
  96. +1 −1 drivers/sensor/ccs811/ccs811.c
  97. +1 −1 drivers/sensor/ccs811/ccs811.h
  98. +1 −1 drivers/sensor/dht/dht.c
  99. +1 −1 drivers/sensor/ens210/ens210.c
  100. +1 −1 drivers/sensor/ens210/ens210.h
  101. +1 −1 drivers/sensor/fxas21002/fxas21002.c
  102. +1 −1 drivers/sensor/fxos8700/fxos8700.c
  103. +1 −1 drivers/sensor/hmc5883l/hmc5883l.h
  104. +1 −1 drivers/sensor/hmc5883l/hmc5883l_trigger.c
  105. +1 −1 drivers/sensor/hp206c/hp206c.h
  106. +1 −1 drivers/sensor/hts221/hts221.h
  107. +1 −1 drivers/sensor/hts221/hts221_trigger.c
  108. +1 −1 drivers/sensor/isl29035/isl29035_trigger.c
  109. +1 −1 drivers/sensor/lis2dh/lis2dh.h
  110. +1 −1 drivers/sensor/lis2dh/lis2dh_trigger.c
  111. +1 −1 drivers/sensor/lis2ds12/lis2ds12_trigger.c
  112. +1 −1 drivers/sensor/lis2dw12/lis2dw12.h
  113. +1 −1 drivers/sensor/lis2mdl/lis2mdl.h
  114. +1 −1 drivers/sensor/lis3mdl/lis3mdl.h
  115. +1 −1 drivers/sensor/lis3mdl/lis3mdl_trigger.c
  116. +1 −1 drivers/sensor/lps22hb/lps22hb.h
  117. +1 −1 drivers/sensor/lps25hb/lps25hb.h
  118. +1 −1 drivers/sensor/lsm6ds0/lsm6ds0.h
  119. +1 −1 drivers/sensor/lsm6dsl/lsm6dsl.h
  120. +1 −1 drivers/sensor/lsm6dsl/lsm6dsl_shub.c
  121. +1 −1 drivers/sensor/lsm6dsl/lsm6dsl_trigger.c
  122. +1 −1 drivers/sensor/lsm9ds0_gyro/lsm9ds0_gyro.h
  123. +1 −1 drivers/sensor/lsm9ds0_mfd/lsm9ds0_mfd.h
  124. +1 −1 drivers/sensor/max44009/max44009.h
  125. +1 −1 drivers/sensor/mcp9808/mcp9808.h
  126. +1 −1 drivers/sensor/mpu6050/mpu6050.h
  127. +1 −1 drivers/sensor/mpu6050/mpu6050_trigger.c
  128. +1 −1 drivers/sensor/sht3xd/sht3xd_trigger.c
  129. +1 −1 drivers/sensor/sx9500/sx9500_trigger.c
  130. +1 −1 drivers/sensor/th02/th02.c
  131. +1 −1 drivers/sensor/th02/th02.h
  132. +1 −1 drivers/sensor/ti_hdc/ti_hdc.c
  133. +1 −1 drivers/sensor/tmp007/tmp007.c
  134. +1 −1 drivers/sensor/tmp007/tmp007.h
  135. +1 −1 drivers/sensor/tmp007/tmp007_trigger.c
  136. +1 −1 drivers/sensor/tmp112/tmp112.c
  137. +1 −1 drivers/serial/uart_nrfx_uarte.c
  138. +1 −1 drivers/serial/uart_nsim.c
  139. +1 −1 drivers/spi/spi_dw.c
  140. +1 −1 drivers/spi/spi_ll_stm32.c
  141. +1 −1 drivers/timer/rv32m1_lptmr_timer.c
  142. +1 −1 drivers/usb/device/usb_dc_stm32.c
  143. +1 −1 drivers/usb/device/usb_dw_registers.h
  144. +1 −1 ext/hal/ti/simplelink/kernel/zephyr/dpl/dpl.c
  145. +1 −1 include/arch/arc/v2/irq.h
  146. +1 −1 include/arch/arm/cortex_m/memory_map.h
  147. +1 −1 include/arch/riscv32/arch.h
  148. +1 −1 include/arch/x86/linker.ld
  149. +1 −1 include/bluetooth/bluetooth.h
  150. +1 −1 include/bluetooth/gatt.h
  151. +1 −1 include/bluetooth/hci.h
  152. +1 −1 include/bluetooth/uuid.h
  153. +1 −1 include/crypto/cipher.h
  154. +1 −1 include/crypto/cipher_structs.h
  155. +1 −1 include/data/json.h
  156. +1 −1 include/display/mb_display.h
  157. +1 −1 include/drivers/rtc.h
  158. +1 −1 include/drivers/watchdog.h
  159. +1 −1 include/kernel_includes.h
  160. +1 −1 include/linker/linker-defs.h
  161. +1 −1 include/logging/log_core.h
  162. +4 −786 include/misc/util.h
  163. +1 −1 include/net/buf.h
  164. +1 −1 include/net/ethernet.h
  165. +1 −1 include/net/net_ip.h
  166. +1 −1 include/ptp_clock.h
  167. +1 −1 include/sched_priq.h
  168. +1 −1 include/settings/settings.h
  169. +1 −1 include/shell/shell.h
  170. +1 −1 include/shell/shell_history.h
  171. +1 −1 include/sys/list_gen.h
  172. +1 −1 include/sys/ring_buffer.h
  173. +797 −0 include/sys/util.h
  174. +1 −1 include/sys_clock.h
  175. +1 −1 kernel/device.c
  176. +1 −1 kernel/include/kernel_structs.h
  177. +1 −1 kernel/poll.c
  178. +1 −1 lib/libc/minimal/source/stdout/prf.c
  179. +1 −1 lib/libc/newlib/libc-hooks.c
  180. +1 −1 lib/os/json.c
  181. +1 −1 samples/basic/button/src/main.c
  182. +1 −1 samples/bluetooth/beacon/src/main.c
  183. +1 −1 samples/bluetooth/eddystone/src/main.c
  184. +1 −1 samples/bluetooth/hci_uart/src/main.c
  185. +1 −1 samples/bluetooth/ibeacon/src/main.c
  186. +1 −1 samples/bluetooth/scan_adv/src/main.c
  187. +1 −1 samples/boards/altera_max10/pio/src/main.c
  188. +1 −1 samples/boards/arduino_101/environmental_sensing/sensor/src/main.c
  189. +1 −1 samples/boards/up_squared/gpio_counter/src/main.c
  190. +1 −1 samples/drivers/gpio/src/main.c
  191. +1 −1 samples/drivers/led_apa102/src/main.c
  192. +1 −1 samples/drivers/led_lp3943/src/main.c
  193. +1 −1 samples/drivers/led_lp5562/src/main.c
  194. +1 −1 samples/drivers/led_lpd8806/src/main.c
  195. +1 −1 samples/drivers/led_pca9633/src/main.c
  196. +1 −1 samples/drivers/led_ws2812/src/main.c
  197. +1 −1 samples/net/nats/src/nats.c
  198. +1 −1 samples/sensor/hts221/src/main.c
  199. +1 −1 samples/sensor/lsm303dlhc/src/main.c
  200. +1 −1 samples/sensor/lsm6dsl/src/main.c
  201. +1 −1 samples/sensor/th02/src/main.c
  202. +1 −1 samples/shields/x_nucleo_iks01a1/src/main.c
  203. +1 −1 samples/shields/x_nucleo_iks01a2/src/main.c
  204. +1 −1 samples/subsys/usb/console/src/main.c
  205. +1 −1 samples/userspace/shared_mem/src/main.h
  206. +2 −2 soc/arc/quark_se_c1000_ss/soc.h
  207. +2 −2 soc/arc/snps_arc_iot/soc.h
  208. +2 −2 soc/arc/snps_emsk/soc.h
  209. +2 −2 soc/arc/snps_nsim/soc.h
  210. +1 −1 soc/arm/arm/mps2/soc_registers.h
  211. +1 −1 soc/arm/arm/musca_a/soc.h
  212. +1 −1 soc/arm/arm/musca_b1/soc.h
  213. +1 −1 soc/arm/atmel_sam/common/soc_pmc.c
  214. +1 −1 soc/arm/nxp_imx/rt/soc.h
  215. +2 −2 soc/arm/nxp_kinetis/k6x/soc.h
  216. +1 −1 soc/arm/nxp_kinetis/ke1xf/soc.h
  217. +2 −2 soc/arm/nxp_kinetis/kl2x/soc.h
  218. +2 −2 soc/arm/nxp_kinetis/kwx/soc.h
  219. +1 −1 soc/arm/nxp_lpc/lpc54xxx/soc.h
  220. +1 −1 soc/arm/nxp_lpc/lpc55xxx/soc.h
  221. +1 −1 soc/arm/silabs_exx32/efm32hg/soc.h
  222. +1 −1 soc/arm/silabs_exx32/efm32pg12b/soc.h
  223. +1 −1 soc/arm/silabs_exx32/efm32wg/soc.h
  224. +1 −1 soc/arm/silabs_exx32/efr32fg1p/soc.h
  225. +1 −1 soc/arm/silabs_exx32/efr32mg12p/soc.h
  226. +2 −2 soc/arm/ti_lm3s6965/soc.h
  227. +1 −1 soc/arm/ti_lm3s6965/sys_arch_reboot.c
  228. +1 −1 soc/arm/ti_simplelink/cc2650/soc.h
  229. +1 −1 soc/riscv32/openisa_rv32m1/soc.c
  230. +1 −1 soc/x86/apollo_lake/soc.h
  231. +1 −1 soc/x86/atom/soc.h
  232. +1 −1 soc/x86/ia32/soc.h
  233. +1 −1 soc/x86/intel_quark/quark_se/soc.h
  234. +1 −1 soc/x86/intel_quark/quark_x1000/soc.h
  235. +1 −1 soc/xtensa/esp32/include/_soc_inthandlers.h
  236. +1 −1 subsys/bluetooth/common/log.c
  237. +1 −1 subsys/bluetooth/common/rpa.c
  238. +1 −1 subsys/bluetooth/controller/hci/hci.c
  239. +1 −1 subsys/bluetooth/controller/hci/hci_driver.c
  240. +1 −1 subsys/bluetooth/controller/ll_sw/ctrl.c
  241. +1 −1 subsys/bluetooth/controller/ll_sw/nordic/lll/lll_conn.c
  242. +1 −1 subsys/bluetooth/controller/ll_sw/nordic/lll/lll_master.c
  243. +1 −1 subsys/bluetooth/controller/ll_sw/nordic/lll/lll_slave.c
  244. +1 −1 subsys/bluetooth/host/a2dp.c
  245. +1 −1 subsys/bluetooth/host/att.c
  246. +1 −1 subsys/bluetooth/host/avdtp.c
  247. +1 −1 subsys/bluetooth/host/conn.c
  248. +1 −1 subsys/bluetooth/host/gatt.c
  249. +1 −1 subsys/bluetooth/host/hci_core.c
  250. +1 −1 subsys/bluetooth/host/hfp_hf.c
  251. +1 −1 subsys/bluetooth/host/keys.c
  252. +1 −1 subsys/bluetooth/host/keys_br.c
  253. +1 −1 subsys/bluetooth/host/l2cap.c
  254. +1 −1 subsys/bluetooth/host/l2cap_br.c
  255. +1 −1 subsys/bluetooth/host/mesh/access.c
  256. +1 −1 subsys/bluetooth/host/mesh/adv.c
  257. +1 −1 subsys/bluetooth/host/mesh/beacon.c
  258. +1 −1 subsys/bluetooth/host/mesh/cfg_cli.c
  259. +1 −1 subsys/bluetooth/host/mesh/cfg_srv.c
  260. +1 −1 subsys/bluetooth/host/mesh/crypto.c
  261. +1 −1 subsys/bluetooth/host/mesh/health_cli.c
  262. +1 −1 subsys/bluetooth/host/mesh/health_srv.c
  263. +1 −1 subsys/bluetooth/host/mesh/net.c
  264. +1 −1 subsys/bluetooth/host/mesh/prov.c
  265. +1 −1 subsys/bluetooth/host/mesh/settings.c
  266. +1 −1 subsys/bluetooth/host/mesh/transport.c
  267. +1 −1 subsys/bluetooth/host/rfcomm.c
  268. +1 −1 subsys/bluetooth/host/smp.c
  269. +1 −1 subsys/bluetooth/host/smp_null.c
  270. +1 −1 subsys/disk/disk_access.c
  271. +1 −1 subsys/disk/disk_access_flash.c
  272. +1 −1 subsys/net/ip/connection.c
  273. +1 −1 subsys/net/ip/connection.h
  274. +1 −1 subsys/net/ip/net_mgmt.c
  275. +1 −1 subsys/net/ip/net_pkt.c
  276. +1 −1 subsys/net/ip/trickle.c
  277. +1 −1 subsys/net/l2/ieee802154/ieee802154_radio_csma_ca.c
  278. +1 −1 subsys/net/l2/openthread/openthread.c
  279. +1 −1 subsys/net/lib/lwm2m/lwm2m_object.h
  280. +1 −1 subsys/net/lib/sockets/sockets_can.c
  281. +1 −1 subsys/net/lib/sockets/sockets_packet.c
  282. +1 −1 subsys/net/lib/sockets/sockets_tls.c
  283. +1 −1 subsys/usb/usb_device.c
  284. +1 −1 tests/benchmarks/app_kernel/src/master.h
  285. +1 −1 tests/bluetooth/tester/src/bttester.h
  286. +1 −1 tests/drivers/gpio/gpio_basic_api/src/test_gpio.h
  287. +1 −1 tests/drivers/i2c/i2c_slave_api/common/i2c_virtual.c
  288. +1 −1 tests/drivers/i2c/i2c_slave_api/src/main.c
  289. +1 −1 tests/kernel/fifo/fifo_timeout/src/main.c
  290. +1 −1 tests/kernel/mem_pool/mem_pool/src/main.c
  291. +1 −1 tests/kernel/mem_protect/userspace/src/main.c
  292. +1 −1 tests/kernel/sleep/src/main.c
  293. +1 −1 tests/kernel/workq/work_queue/src/main.c
  294. +1 −1 tests/misc/util/src/main.c
  295. +1 −1 tests/net/lib/mqtt_packet/src/mqtt_packet.c
@@ -15,7 +15,7 @@

#include <kernel.h>
#include <arch/cpu.h>
#include <misc/util.h>
#include <sys/util.h>
#include <toolchain.h>
#include <cache.h>
#include <linker/linker-defs.h>
@@ -34,7 +34,7 @@ extern "C" {
#include <kernel.h>
#include <kernel_internal.h>
#include <zephyr/types.h>
#include <misc/util.h>
#include <sys/util.h>
#include <sys/dlist.h>
#endif

@@ -16,7 +16,7 @@

#include <kernel.h>
#include <arch/cpu.h>
#include <misc/util.h>
#include <sys/util.h>
#include <arch/arm/cortex_m/cmsis.h>

/**
@@ -29,7 +29,7 @@ extern "C" {

#include <toolchain.h>
#include <linker/sections.h>
#include <misc/util.h>
#include <sys/util.h>

GTEXT(__start)
GTEXT(_vector_table)
@@ -34,7 +34,7 @@ extern "C" {
#include <kernel.h>
#include <kernel_internal.h>
#include <zephyr/types.h>
#include <misc/util.h>
#include <sys/util.h>
#include <sys/dlist.h>
#endif

@@ -27,7 +27,7 @@ extern "C" {
#ifndef _ASMLANGUAGE
#include <kernel.h>
#include <zephyr/types.h>
#include <misc/util.h>
#include <sys/util.h>
#include <sys/dlist.h>
#include <kernel_internal.h>

@@ -12,7 +12,7 @@

#include <kernel.h>
#include <arch/cpu.h>
#include <misc/util.h>
#include <sys/util.h>
#include <toolchain.h>
#include <cache.h>
#include <cache_private.h>
@@ -31,7 +31,7 @@
#include <asm_inline.h>
#include <exception.h>
#include <kernel_arch_thread.h>
#include <misc/util.h>
#include <sys/util.h>

#ifndef _ASMLANGUAGE
#include <kernel.h>
@@ -110,7 +110,7 @@

#ifndef _ASMLANGUAGE

#include <misc/util.h>
#include <sys/util.h>

#ifdef _THREAD_WRAPPER_REQUIRED
extern void z_x86_thread_entry_wrapper(k_thread_entry_t entry,
@@ -94,7 +94,7 @@ def emit_int_handler(ints):

# Re-include the core-isa header and be sure our definitions match, for sanity
cprint("#include <xtensa/config/core-isa.h>")
cprint("#include <misc/util.h>")
cprint("#include <sys/util.h>")
cprint("#include <sw_isr_table.h>")
cprint("")
for l in ints_by_lvl:
@@ -34,7 +34,7 @@ extern "C" {
#include <kernel_internal.h>
#include <zephyr/types.h>
#include <sys/dlist.h>
#include <misc/util.h>
#include <sys/util.h>

/* Bitmask definitions for the struct k_thread->flags bit field */

@@ -21,7 +21,7 @@
#include "posix_soc_if.h"
#include "posix_arch_internal.h"
#include "sdl_events.h"
#include <misc/util.h>
#include <sys/util.h>


static u64_t simu_time; /* The actual time as known by the HW models */
@@ -29,7 +29,7 @@
#include <soc.h>
#include "hw_models_top.h"
#include <stdlib.h>
#include "misc/util.h"
#include <sys/util.h>
#include "cmdline.h"

void posix_exit(int exit_code)
@@ -27,7 +27,7 @@
#include "board_soc.h"
#include "zephyr/types.h"
#include "posix_trace.h"
#include "misc/util.h"
#include <sys/util.h>
#include "cmdline.h"
#include "soc.h"

@@ -20,7 +20,7 @@
#define _POSIX_NRF52_BOARD_SOC_H

#include <toolchain.h>
#include <misc/util.h>
#include <sys/util.h>

#include <stdint.h>
#include <stdbool.h>
@@ -21,7 +21,7 @@
#include <soc.h>
#include <drivers/adc.h>
#include <arch/cpu.h>
#include <misc/util.h>
#include <sys/util.h>

#define ADC_CONTEXT_USES_KERNEL_TIMER
#include "adc_context.h"
@@ -14,7 +14,7 @@

#include <errno.h>
#include <sys/__assert.h>
#include <misc/util.h>
#include <sys/util.h>
#include <device.h>
#include <init.h>
#include <soc.h>
@@ -6,7 +6,7 @@

#include <errno.h>

#include <misc/util.h>
#include <sys/util.h>

#include <device.h>
#include <drivers/i2c.h>
@@ -14,7 +14,7 @@

#include <init.h>
#include <drivers/uart.h>
#include <misc/util.h>
#include <sys/util.h>
#include <sys/byteorder.h>
#include <string.h>

@@ -13,7 +13,7 @@

#include <init.h>
#include <drivers/uart.h>
#include <misc/util.h>
#include <sys/util.h>
#include <sys/byteorder.h>
#include <misc/stack.h>
#include <sys/printk.h>
@@ -8,7 +8,7 @@


#include <init.h>
#include <misc/util.h>
#include <sys/util.h>

#include <bluetooth/hci.h>
#include <bluetooth/hci_driver.h>
@@ -10,7 +10,7 @@
#include <init.h>
#include <drivers/spi.h>
#include <sys/byteorder.h>
#include <misc/util.h>
#include <sys/util.h>

#include <bluetooth/hci.h>
#include <bluetooth/hci_driver.h>
@@ -9,7 +9,7 @@
#include <zephyr.h>
#include <device.h>
#include <init.h>
#include <misc/util.h>
#include <sys/util.h>
#include <sys/byteorder.h>

#include <errno.h>
@@ -6,7 +6,7 @@

#include <clock_control/stm32_clock_control.h>
#include <drivers/clock_control.h>
#include <misc/util.h>
#include <sys/util.h>
#include <string.h>
#include <kernel.h>
#include <soc.h>
@@ -14,7 +14,7 @@

#include <soc.h>
#include <drivers/clock_control.h>
#include <misc/util.h>
#include <sys/util.h>
#include <clock_control/arm_clock_control.h>

#define MAINCLK_BASE_FREQ 24000000
@@ -8,7 +8,7 @@

#include <soc.h>
#include <drivers/clock_control.h>
#include <misc/util.h>
#include <sys/util.h>
#include <clock_control/stm32_clock_control.h>
#include "clock_stm32_ll_common.h"

@@ -6,7 +6,7 @@

#include <soc.h>
#include <drivers/clock_control.h>
#include <misc/util.h>
#include <sys/util.h>
#include <clock_control/stm32_clock_control.h>

/**
@@ -8,7 +8,7 @@

#include <soc.h>
#include <drivers/clock_control.h>
#include <misc/util.h>
#include <sys/util.h>
#include <clock_control/stm32_clock_control.h>
#include "clock_stm32_ll_common.h"

@@ -8,7 +8,7 @@

#include <soc.h>
#include <drivers/clock_control.h>
#include <misc/util.h>
#include <sys/util.h>
#include <clock_control/stm32_clock_control.h>
#include "clock_stm32_ll_common.h"

@@ -8,7 +8,7 @@

#include <soc.h>
#include <drivers/clock_control.h>
#include <misc/util.h>
#include <sys/util.h>
#include <clock_control/stm32_clock_control.h>
#include "clock_stm32_ll_common.h"

@@ -8,7 +8,7 @@

#include <soc.h>
#include <drivers/clock_control.h>
#include <misc/util.h>
#include <sys/util.h>
#include <clock_control/stm32_clock_control.h>
#include "clock_stm32_ll_common.h"

@@ -8,7 +8,7 @@

#include <soc.h>
#include <drivers/clock_control.h>
#include <misc/util.h>
#include <sys/util.h>
#include <clock_control/stm32_clock_control.h>
#include "clock_stm32_ll_common.h"

@@ -13,7 +13,7 @@

#include <clock_control/stm32_clock_control.h>
#include <drivers/clock_control.h>
#include <misc/util.h>
#include <sys/util.h>
#include <kernel.h>
#include <soc.h>
#include <drivers/counter.h>
@@ -12,7 +12,7 @@
#include <drivers/counter.h>
#include <power/power.h>
#include <soc.h>
#include <misc/util.h>
#include <sys/util.h>

#include "qm_aon_counters.h"
#include "qm_isr.h"
@@ -13,7 +13,7 @@
#include <kernel.h>
#include <power/power.h>
#include <soc.h>
#include <misc/util.h>
#include <sys/util.h>

#include "qm_isr.h"
#include "qm_rtc.h"
@@ -10,7 +10,7 @@

#include <drivers/i2c.h>
#include <kernel.h>
#include <misc/util.h>
#include <sys/util.h>

/* Configuration Read Only Registers */
#define ATAES_SERIALNUM_REG 0xF000
@@ -11,7 +11,7 @@

#include <drivers/i2c.h>
#include <display/grove_lcd.h>
#include <misc/util.h>
#include <sys/util.h>

#define LOG_LEVEL CONFIG_DISPLAY_LOG_LEVEL
#include <logging/log.h>
@@ -13,7 +13,7 @@
#include <stdio.h>
#include <soc.h>
#include <string.h>
#include <misc/util.h>
#include <sys/util.h>

#define LOG_LEVEL CONFIG_DMA_LOG_LEVEL
#include <logging/log.h>
@@ -10,7 +10,7 @@
#include <random/rand32.h>
#include <init.h>
#include <sys/__assert.h>
#include <misc/util.h>
#include <sys/util.h>
#include <errno.h>
#include <soc.h>
#include <sys/printk.h>
@@ -14,7 +14,7 @@
#include "device.h"
#include <drivers/entropy.h>
#include "init.h"
#include "misc/util.h"
#include <sys/util.h>
#include <stdlib.h>
#include <string.h>
#include "posix_trace.h"
@@ -12,7 +12,7 @@
#include <pci/pci_mgr.h>
#endif /* CONFIG_PCI */

#include <misc/util.h>
#include <sys/util.h>

#ifdef __cplusplus
extern "C" {
@@ -20,7 +20,7 @@
LOG_MODULE_REGISTER(LOG_MODULE_NAME);

#include <device.h>
#include <misc/util.h>
#include <sys/util.h>
#include <kernel.h>
#include <net/net_pkt.h>
#include <net/net_if.h>
@@ -27,7 +27,7 @@ LOG_MODULE_REGISTER(LOG_MODULE_NAME);
#include <kernel.h>
#include <device.h>
#include <sys/__assert.h>
#include <misc/util.h>
#include <sys/util.h>
#include <errno.h>
#include <stdbool.h>
#include <net/net_pkt.h>
@@ -12,7 +12,7 @@ LOG_MODULE_REGISTER(LOG_MODULE_NAME);
#include <kernel.h>
#include <device.h>
#include <sys/__assert.h>
#include <misc/util.h>
#include <sys/util.h>
#include <errno.h>
#include <stdbool.h>
#include <net/net_pkt.h>

0 comments on commit a2fd7d7

Please sign in to comment.
You can’t perform that action at this time.