Daily Gerrit Digest
donotreply@...
NEW within last 24 hours:
- https://gerrit.zephyrproject.org/r/11252 : kernel/sched: protect thread sched_lock with compiler barriers - https://gerrit.zephyrproject.org/r/11272 : Bluetooth: HFP HF: SCO: Handle SCO Disconnect - https://gerrit.zephyrproject.org/r/11271 : Bluetooth: HFP HF: SCO: Handle synchronous_conn_complete - https://gerrit.zephyrproject.org/r/11270 : Bluetooth: HFP HF: SCO: Enable sco conn complete in event_mask - https://gerrit.zephyrproject.org/r/11269 : Bluetooth: HFP HF: SCO: Accept eSCO conn request - https://gerrit.zephyrproject.org/r/11268 : Bluetooth: HFP HF: SCO: Add esco supported pkt type - https://gerrit.zephyrproject.org/r/11278 : net: ipv6: IEEE 802.15.4 short address fix - https://gerrit.zephyrproject.org/r/11279 : net: ipv6: Bluetooth address fix - https://gerrit.zephyrproject.org/r/11275 : net: Add network link technology type to linkaddr - https://gerrit.zephyrproject.org/r/11285 : build changes on v1.7-branch - https://gerrit.zephyrproject.org/r/11277 : net: nbuf: Set the link address type in nbuf - https://gerrit.zephyrproject.org/r/11276 : net: Set the network link address type when setting link address - https://gerrit.zephyrproject.org/r/11274 : Bluetooth: controller: Use direct ISRs - https://gerrit.zephyrproject.org/r/11266 : flash/stm32: driver for STM32F4x series - https://gerrit.zephyrproject.org/r/11263 : tests: add zephyr SPI driver api test case - https://gerrit.zephyrproject.org/r/11256 : tests: add tests for SYS_DLIST/SLIST_ITERATE_FROM() - https://gerrit.zephyrproject.org/r/11255 : slist: add SYS_SLIST_ITERATE_FROM_NODE() - https://gerrit.zephyrproject.org/r/11262 : tests: add zephyr GPIO driver deep sleep case - https://gerrit.zephyrproject.org/r/11254 : dlist: add SYS_DLIST_ITERATE_FROM_NODE() - https://gerrit.zephyrproject.org/r/11259 : kernel/timeouts: add description of timeouts queued on the same tick - https://gerrit.zephyrproject.org/r/11257 : kernel/sched: add _is_thread_dummy() - https://gerrit.zephyrproject.org/r/11260 : kernel/sem: fix issue with expired timeouts on group operations - https://gerrit.zephyrproject.org/r/11253 : kernel: fix typo - https://gerrit.zephyrproject.org/r/11261 : kernel/sem: fix coding conventions - https://gerrit.zephyrproject.org/r/11251 : gcc: add compiler_barrier() macro - https://gerrit.zephyrproject.org/r/11258 : kernel/sched: refactor _get_first_thread_to_unpend() - https://gerrit.zephyrproject.org/r/11250 : tests: add zephyr i2c driver deep sleep case - https://gerrit.zephyrproject.org/r/11247 : doc: board porting guide [DRAFT] - https://gerrit.zephyrproject.org/r/11243 : doc: Move glossary terms to wiki - https://gerrit.zephyrproject.org/r/11245 : DO NOT MERGE ZEP-1546 investigation - https://gerrit.zephyrproject.org/r/11242 : DRAFT: net: tcp: Use separate net_buf pool for TCP data - https://gerrit.zephyrproject.org/r/11236 : arm: Support for new ARM boards (discovery STM32F4 and STM32F429) - https://gerrit.zephyrproject.org/r/11234 : dts: minor update for nucleo_l476rg UPDATED within last 24 hours: - https://gerrit.zephyrproject.org/r/10952 : drivers/net/ieee802154: nRF5 802.15.4 radio driver - https://gerrit.zephyrproject.org/r/10645 : Bluetooth: HFP HF: Handling AG Network error - https://gerrit.zephyrproject.org/r/6384 : stm32lx: spi add SPI driver for STM32Lx family - https://gerrit.zephyrproject.org/r/11219 : Bluetooth: SDP: Server: Set correct TX MTU - https://gerrit.zephyrproject.org/r/11220 : Bluetooth: SDP: Server: Set security level to NONE - https://gerrit.zephyrproject.org/r/10950 : ext: Import Nordic 802.15.4 radio driver - https://gerrit.zephyrproject.org/r/11230 : RFC drivers/timer: Refined version of nRF RTC driver. - https://gerrit.zephyrproject.org/r/9447 : Bluetooth: SDP: Server: Support ServiceSearchAttributeRequest - https://gerrit.zephyrproject.org/r/11217 : frdm: fixed path and dependencies for extract_dts_includes.py - https://gerrit.zephyrproject.org/r/11184 : sensor: add sensor_channel_count function - https://gerrit.zephyrproject.org/r/11198 : arm: Support for new STM32F4 socs (STM32F407 and STM32F429) - https://gerrit.zephyrproject.org/r/9968 : ext: hal: qmsi: implement I2C Fast Plus Mode - https://gerrit.zephyrproject.org/r/11172 : board: defconfig: Enable WDT for ATMEL SAM MCUs - https://gerrit.zephyrproject.org/r/11216 : tests: kernel: added clock_test - https://gerrit.zephyrproject.org/r/11208 : doc: update link to 0.9 SDK - https://gerrit.zephyrproject.org/r/11109 : arm: cortex-m: allow configurable ROM offset - https://gerrit.zephyrproject.org/r/10720 : flash/stm32: driver for STM32F4x series MERGED within last 24 hours: - https://gerrit.zephyrproject.org/r/11284 : bump version to v1.7.99 - https://gerrit.zephyrproject.org/r/11280 : Zephyr 1.7.0-rc1 - https://gerrit.zephyrproject.org/r/11273 : Merge net branch into master - https://gerrit.zephyrproject.org/r/11267 : net: Remove duplicate const specifier - https://gerrit.zephyrproject.org/r/11265 : tests: gen_isr_table: disable for cortex-m0 - https://gerrit.zephyrproject.org/r/11237 : net/mqtt: Use uint32_t for Remaining Length encoding/decoding - https://gerrit.zephyrproject.org/r/11238 : net/mqtt: Add payload size validation - https://gerrit.zephyrproject.org/r/11239 : net/mqtt: Remove length computations for some msg fields - https://gerrit.zephyrproject.org/r/11235 : net/mqtt: Add support for QEMU x86 - https://gerrit.zephyrproject.org/r/11264 : tests: filter out tinytile, it is the same as arduino 101 - https://gerrit.zephyrproject.org/r/11244 : arc: add _tsc_read for 64-bit timestamp - https://gerrit.zephyrproject.org/r/11248 : ipm: fix Makefile to include drivers correctly - https://gerrit.zephyrproject.org/r/11249 : crypto: include tinycrypt only when enabled - https://gerrit.zephyrproject.org/r/11240 : drivers gpio: Fix disabling of interrupts for QMSI shims - https://gerrit.zephyrproject.org/r/10685 : drivers: mcr20a: cleanup and refactor interrupt processing - https://gerrit.zephyrproject.org/r/11183 : sensor: fix typo in sensor.h - https://gerrit.zephyrproject.org/r/11088 : doc: boards: Move nRF5x DK board doc from the wiki to git - https://gerrit.zephyrproject.org/r/11213 : samples: net: Add README.rst to echo apps - https://gerrit.zephyrproject.org/r/10804 : net/mqtt: Add support for IBM BlueMix Watson topic format - https://gerrit.zephyrproject.org/r/11193 : arc: enable gen_isr_tables mechanism - https://gerrit.zephyrproject.org/r/11192 : gen_isr_tables: apply offset to irq parameter - https://gerrit.zephyrproject.org/r/11191 : tests: gen_isr_table: actually run the IRQ - https://gerrit.zephyrproject.org/r/11189 : riscv32: enable gen_isr_tables mechanism - https://gerrit.zephyrproject.org/r/11194 : gen_isr_tables: make vector offset a hidden option - https://gerrit.zephyrproject.org/r/11112 : Merge remote-tracking branch 'origin/core' - https://gerrit.zephyrproject.org/r/10369 : ataes132a: Adds a driver to support ATAES132A device - https://gerrit.zephyrproject.org/r/11024 : qemu_cortex_m3: fixed network connectivity - https://gerrit.zephyrproject.org/r/10912 : tests: kernel: import obj_tracing test to unified kernel - https://gerrit.zephyrproject.org/r/3311 : include/crypto: Crypto abstraction header - https://gerrit.zephyrproject.org/r/3313 : samples/drivers/crypto: crypto sample app - https://gerrit.zephyrproject.org/r/3312 : drivers/crypto: TinyCrypt shim driver - https://gerrit.zephyrproject.org/r/10755 : flash/nrf5: fix invalid write access - https://gerrit.zephyrproject.org/r/11233 : Bluetooth: SMP: Fix passkey entry for legacy pairing - https://gerrit.zephyrproject.org/r/11232 : Bluetooth: shell: Fix typo - https://gerrit.zephyrproject.org/r/11231 : Bluetooth: shell: Fix accessing invalid memory
|
|
Zephyr v.1.7.0-rc1 tagged
Nashif, Anas
Hi,
With a slight delay, we are pleased to announce the first release candidate of Zephyr 1.7 with a large set of new features and additional hardware support. Zephyr 1.7 will introduce 2 new architectures, a native IP stack, many new boards and SoCs. IoT protocols such as MQTT and CoAP and many other features that will be listed in the final release notes. Please note that the merge window for features and disruptive changes is closed now and only bug fixes and documentation will be accepted until we tag the final release in a few weeks from now. The plan is to release 1.7 in the first week of March. Master is now open for moderated changes targeting 1.8 and will be fully open for all changes once we release 1.7. Thank you for all of your contributions. Anas Nashif Adam Podogrocki (15): soc/stm32f1: Add the new type of SoC STM32F107 clock/stm32: add STM32F107 reset and clock control boards: add initial support for STM3210C-EVAL board with SoC STM32F107VC soc/stm32: add initial support for STM32F3X series clock/stm32: add STM32F3X reset and clock control exti/stm32: add support for F334 & F373 MCUs flash/stm32: flash driver for STM32F3x series microcontrollers gpio/stm32: provide GPIO driver implementation for STM32F3X family pinmux/stm32: extend pinmux driver functionality to support STM32F3X series MCUs boards: add initial support for Nucleo-64 with Soc STM32F334 boards: add initial support for STM32373C-EVAL with SoC STM32F373VC pinmux/stm32: default pin assignment for STM3210C-EVAL board pinmux/stm32: default pin assignment for NUCLEO-F334R8 board pinmux/stm32: default pin assignment for STM32373C-EVAL board gpio/stm32: fix in setting alternative function Allan Stephens (17): doc: Various corrections to doxygen info for Kernel APIs doc: Various corrections to Kernel Primer doc: Incorporate kernel APIs into API documentation guide kernel: Enhance naming of memory pool configuration options doc: Enable Kernel Primer links to macro-type APIs doc: Improve descriptions for some user-supplied functions doc: Improve descriptions of workqueue APIs doc: Fix up return value descriptions for kernel APIs doc: Fix up API description for IRQ_CONNECT() doc: Fix up API descriptions for ring buffers doc: Revise timer example to use workqueue instead of alert doc: Add descriptions for clock-related helper macros doc: Minor cosmetic tweaks for kernel API descriptions kernel: Ensure event logger APIs convert timeouts to millseconds doc: Fix up API descriptions for kernel event logger doc: Revise kernel event logger documentation kernel: Minor optimization to kernel event logger timestamping Anas Nashif (239): Revert "build: Handle ALL_LIBS dependencies correctly" kernel: event_logger: use POST_KERNEL instead of NANOKERNEL boards: nucleo_f103rb: define user LED kernel: remove v2 usage and rename KERNEL_V2_DEBUG tests: test CONFIG_KERNEL_DEBUG and CONFIG_ASSERT Merge "Merge bluetooth branch into master" arm: systick: Some SoCs do not have systick drivers: nrf timer: remove unused variable net: buf: move test to unified kernel sanitycheck: abort if last_sanity.csv not found kernel: legacy: remove ztest workaround build: add more security related compiler flags maintainers: update kernel file list drivers: lcd: use unified kernel APIs samples: remove legacy usage and convert to unified APIs samples: tests: tag all legacy test cases and samples sanitycheck: allow error on deprecation warnings MAINTAINERS: fix email address [REVERTME]boards: omit frame pointer for ARC boards net: do not depend on ARCH tests: net: remove qemu.pid file and bad filters test: net: remove nano/micro tests sensors: change init level from NANOKERNEL to POST_KERNEL tests: ipm: change init level from NANOKERNEL to POST_KERNEL samples: usb: remove legacy APIs sanitycheck: update footprint data Revert "maintainers: fix Ruud's email" Update version to 1.6.99 release-note: initial import with 1.6 release notes doc: add link to 1.6 documentation Merge "Merge bluetooth branch into master" Merge "Merge net branch into master" tests: net: exclude quark_d2000_crb doc: adapt source tree for new structure Merge "Merge bluetooth branch into master" device: do not set struct as deprecated scripts: remove old qemu patch kernel: disable MDEF by default kernel: remove NANOKERNEL and MICROKERNEL configs Revert "samples/logger-hook: Initialize variable to 0" net: remove unused variable dis net: multicast_eth_addr is use only with IPV6 net: remove unused variable pkt1 libc: rework libc selection and reduce Kconfigs Merge "Merge bluetooth branch into master" MAINTAINERS: fixed email for sensor subsystem boards: define onboard LED on quark se c1000 devboard kernel: set CONFIG_MDEF by default samples: add configuration for single threaded hello world arm: remove old GDB_INFO support timer: hpet: rename debug function to avoid conflict kernel: remove nano/micro wording and usage kernel: remove unused and obsolete headers kernel: rename NANOKERNEL_TICKLESS_IDLE_SUPPORTED kernel: Isolate logger options kernel: kconfig: replace task/fiber with threads kernel: kconfig: move event logger options into file kernel: kconfig: move power management options out kconfig: remove unused TASK_DEBUG options doc: rename shell section to simply: Shell logging: move sys_log to subsys/logging debug: move debug features from misc to subsys/debug debug: fixed style and align code object_tracing: fixed style kernel: fixed description of THREAD_CUSTOM_DATA x86: remove obsolete comment about tasks/fibers kernel: merge kernel Kconfigs into one kernel: move kernel code to kernel/ directly kconfig: group options into menus tracing: rename CONFIG_DEBUG_TRACING_KERNEL_OBJECTS debug: gdb: move to new kernel APIs tests: add gdb server test tests: GDB server only works on qemu_x86 now samples: remove obsolete KERNEL_TYPE doc: add note about order of SDK installation net: remove obsolete net_testing.h mailmap: added axy (for Anas Nashif) doc: remove device_sync_call documentation kernel: document behavior of k_free drivers: eliminate nano/micro kernel usage kernel: fix all nanokernel usage in comments samples: fix RST syntax and add headers doc: move kernel_v2 to kernel doc: restructure application primer doc: group logging features under subsystem/ doc: read version from Makefile doc: use ReadTheDocs.org theme if available doc: make output directory overridable tests: remove redundant test_ from test names tests: import stack protection testcase to unified samples: fix path to sanitycheck script kernel: remove last nanokernel ocrrurances from include/ kernel: replace all remaining nanokernel occurances logging: move event_logger to subsys/logging doc: Fix layout of the shell documentation shell: move shell to its own subsystem sanitycheck: remove kernel keywords sanitycheck: reduce number of unnecessary configuration builds Merge "Merge net branch into master" doc: move ztest to subsystems doc: move c library section to subsystems tests: introduce Makefile.test doc: samples: fix rst layout and use code-blocks sanitycheck: reduce number of unnecessary configuration builds doc: add JIRA macro doc: support official website theme Merge "Merge bluetooth branch into master" MAINTAINERS: add tests/kernel to kernel section doc: hello world: move to rst and expand docuemntation doc: synchronization: move to rst syntax doc: philosophers: move to rst syntax doc: grove lcd: move to rst syntax samples: env sensing: restrurcture and cleanup docs Merge "Merge net branch into master" samples: button: convert to rst and expand documentation samples: disco: convert to rst and expand documentation samples: sensors: fix documentation layout of TH02 sample samples: sensors: fix documentation layout of MCP9808 sample net: do not skip sanitycheck on samples doc: move documetnation context to root directory samples: minor documentation tweaks doc: add template for sample documentation trivial: fix typo kernel: remove dependency on CONFIG_NANO_TIMERS/TIMEOUTS filesystem: fix dependency on shell samples: disco: fix links to boards in README doc: fix documentation target and instructions kernel: add LEGACY_KERNEL option filesystem: add mkdir shell command boards: prepare for integration of board documentation boards: add quark_d2000_crb documentation build: use target 'debugserver' for Qemu debugging build: move qemu definitions to boards build: abstract emulation and replace qemu goal with run samples: apds9960: move under sensors and update docs shell: rename command 'set_module' to 'select' shell: add tasks command to kernel module shell: add stacks command Merge "Merge arm branch into master" libc: add support for risc v sanitycheck: riscv: add vector to recognised sections Merge "Merge net branch into master" net: doc: add section about networking with qemu samples: dtls: Fixed layout and titles in documentation doc: move context back to doc/, fix broken links boards: add qemu_x86 board documentation boards: add qemu_cortex_m3 board documentation boards: add arduino_due board documentation boards: categorize boards by architecture boards: add em_starterkit board documentation samples: doc: remove 'make pristine', it is not needed boards: quark_d2000_crb: add board image to documentation doc: application porting guide to the unified kernel doc: add a doxygen group for the Kernel API doc: make build process quiet kernel: doc: Add deprecation notice to legacy.h ztest: enable coop/preempt configurations riscv32: fix KConfig selection of ATOMIC_OPERATIONS_C legacy: use k_cycle_get_32 instead of legacy sys_cycle_get_32 legacy: Move TICKS_UNLIMITED -> K_FOREVER net: zoap_client: fix usage of legacy APIs tests: do not use RC_OK, use 0 instead kernel: build legacy timer only conditionally kernel: make legacy calls depends on CONFIG_LEGACY_KERNEL kernel: mailbox: legacy calls depend on CONFIG_LEGACY_KERNEL kernel: include limits.h for UINT_MAX tests: footprint: set ARCH correctly and provide defaults kernel: use __ticks_to_ms directly samples: legacy: enable legacy kernel sensor: remove unused legacy macros kernel: including legacy.h depends on CONFIG_LEGACY_KERNEL Merge "Merge bluetooth branch into master" build: have sysgen create SPDX license identifiers boards: arduino_101: set correct LED pin net: in newlib, ESHUTDOWN is considered an extension Merge "Merge net branch into master" license: use SPDX identifier for files in ext/ boards: arduino 101: set user LED values correctly Merge "Merge arm branch into master" docs: add Arduino 101 board documentation doc: nios2 altera max 10 board documentation Bluetooth: Move Bluetooth docs to rst ztest: use an aligned stack size sanitycheck: add support for risc v boards pinmux: make pinmux_dev the default pinmux driver for quark pinmux: unify galileo pinmux driver doc: update bluetooth samples with pointers Merge "Merge net branch into master" Merge "Merge arm branch into master" toolchain: define DTC for zephyr SDK benchmarks: boot_time: Move to unified kernel doc: update copyright for documentation drivers: make ethernet init prio depend on NET_L2_ETHERNET samples: philosophers: adjust stack size and build by sanitycheck doc: cc3200_launchxl: fixed bullets doc: update intro section with new architectures Revert "[REVERTME]boards: omit frame pointer for ARC boards" tests: legacy: resolve conflict with MON defined in HAL doc: update networking with Qemu section doc: net: use Qemu setup section in current documentation doc: net: restructure networking documentation doc: reference bluetooth section of Arduino 101 scripts: add configuration file for uncrustify sanitcheck: add sam_e70_xplained boards: sam e70: add openocd file for SAM E70 kernel: k_timer_stop: remove assert when called from an ISR net: nbuf: Fix style of doxygen comment Merge "Merge net branch into master" doc: rename doxygen configuration file and build from doc/ boards: add panther board boards: add sensor subsystem for panther boards: fix board name for panther Merge "Merge net branch into master" Merge "Merge net branch into master" arduino_101: bmi160: use new device name Merge "Merge bluetooth branch into master" boards: add tinytile board add curie_ble board for all curie based boards Merge "Merge arm branch into master" dts: hexiwear: fix fixup to use correct define arm: sam70: refactor clearing of exception faults to common code newlib: make sure the chain of includes has generated_dts_board.h tests: net: whitelist boards for telnet server tests: benchmarks: add new boards mvic: include stdint for uint32_t tests: xip: pulpino does not support XIP tests: disable qemu_riscv32 on test_ecc_dh test [REVERT ME] tests: memory pool: remove unsupported tests tests: pipe: remove unsupported tests boards: tinyTILE: enable USB console by default net: remove obsolete CONFIG_NET_YAIP Merge "Merge net branch into master" ipm: fix Makefile to include drivers correctly crypto: include tinycrypt only when enabled Merge "Merge remote-tracking branch 'origin/core'" tests: filter out tinytile, it is the same as arduino 101 tests: gen_isr_table: disable for cortex-m0 Merge "Merge net branch into master" Zephyr 1.7.0-rc1 Andre Guedes (2): rtc: qmsi: Fix wrong comment in driver init quark_se: PM: Add multicore support Andrei Emeltchenko (56): net: Fix documentation errors in net_if header file ieee802154_cc2520: Fix byte order swap for long address net: Fix distant address setting net: Fix link address length calculation net: Fix creating neighbour without l2addr net: Fix handling ra_neighbor net: Fix handling onlink prefix net: cc2520: Fix setting proper IEEE 802.15.4 address net: Do not source contiki headers always ieee802154_cc2520: Correct debug output net: Add TI_CC2520 RAW driver net: Add L2 RAW channel hidden option wpanusb: Export ieee802.14.5 over USB ieee802154_cc2520: Fix compiler warning with strict aliasing ieee802154: Add log domain for CC2520 driver ieee802154: Correct error logging for cc2520 driver wpanusb: Add wpan radio protocol specification wpan_serial: Implement 802.15.4 serial radio protocol wpanusb: Improve debug for wpanusb net: samples: Add samples overview for wpanusb and wpan_serial wpanusb: Correct definition names wpanusb: Add wpanusb syslog domain wpanusb: Decrease amount of debugs wpan_serial: Update README wpan_serial: hexdump and interrupt debug to VERBOSE_DEBUG wpanusb: Update wpan protocol document wpan_serial: Correct SLIP buffer size drivers: cc2520: Remove double space in debug and errors wpanusb: Allow retransmission when cc2520 transmit not done wpanusb: Send zero sequence for unsuccessful transmit wpanusb: Use INFO default logging level wpanusb: Use unified API for the wpanusb sample wpan_serial: Use unified API for wpan_serial sample wpan_serial: Correct file description wpanusb: Include shell to the sample drivers: ieee802154: cc2520: Flush RX fifo earlier when stopping drivers: ieee802154: cc2520: Log errors when starting/stopping cc2520 wpanusb: Log INF about upper layer start/stop drivers: cc2520: Inform about missing SPI device arm: frdm_k64f: Enable SPI0 in pinumx drivers: spi_k64: Fix compile error when syslog is enabled drivers: spi_k64: Correct init priority for SPI drivers: spi_k64: Add debug and error messages drivers: spi_k64: Fix logging in SPI driver drivers: spi_k64: Clear RX and TX FIFO before starting transfer samples: net: Fix compile error following frdm pinmux change samples: net: Add echo_client build test for frdm CC2520 configuration wpan_serial: Fix possible NULL pointer dereference wpan_serial: Queue only full packet to RX queue drivers: cc2520: Remove unused TI_CC2520 Kconfig option net: Remove CONFIG_NET_IPV6_NO_ND config option net: tests: Correct project file for route tests net: Make NET_IPV6_ND configurable option net: Make NET_IPV6_DAD depends on NET_IPV6_ND net: Remove unused CONFIG_NET_IPV6_NO_DAD option net: Fix leaving NET_MAX_6LO_CONTEXTS set when 6lowpan deselected Andrew Boie (68): x86: set accessed bit in ROM-based GDT x86: don't set segment registers if we don't set GDT x86: rename segment descriptor 'size' field to 'db' x86: fix _set_gdt() implementation x86: add _set_idt() sanitycheck: allow for extra binary sections in testcase.ini build: x86: add some flexibility in custom linker scripts nios2: fix irq_lock/unlock ordering bug gpio_basic_api: fix format codes arc: add -fno-delete-null-pointer-checks sanitycheck: don't explode if log data can't be read sanitycheck: properly identify when QEMU crashes out build: remove obsolete sections from linker scripts sanitycheck: improve terse output gen_idt: show vector assignments in debug output kernel.h: add prototype for private idle exit function kernel_event_logger: add additional function prototypes Revert "sanitycheck: add support for risc v boards" MAINTAINERS: add xtensa arch MAINTAINERS: add Andrew to x86 Revert "Revert "sanitycheck: add support for risc v boards"" irq: introduce 'direct' interrupt API definition sanitycheck: don't override environment for USE_CCACHE x86: implement direct interrupts libc: minimal: rename private macro tests: remove old ARM vector table test sw_isr_table.h: clean up definition section_tags.h: cleanup toolchain: gcc.h: add indirection to _GENERIC_SECTION() macro build: Separate out prebuilt kernel logic from toplevel interrupts: use fixed section name for vector table gen_isr_tables: New static interrupt build mechanism arm: use gen_isr_tables mechanism for interrupts arm: enable direct interrupts feature tests: add test for gen_isr_table nios2: use gen_isr_tables mechanism xtensa: fixup license identifiers xtensa: fix find_msb_set() and find_lsb_set() xcc: add location of C++ compiler Makefile: test for -fno-asynchronous-unwind-tables xtensa: Makefile: cleanup xtensa_sim_console: remove deprecation warning xt-run: delete any stale fifos to avoid mkfifo error xt-sim: enable use of xtensa simulator with 'make run' sanitycheck: don't disable tryrun xt-run: fix sanitycheck communication REVERTME: disable xip test on xtensa xt-sim: add support for 'make debug' xt-run: don't leave dead emulator processes lying around xcc: add ccache support legacy: work around XCC issue in MDEF threads xtensa: cleanup fatal error handling xtensa: fix build warning if no coprocessors present xtensa: remove nonexistent offset REVERTME: cpp_synchronization: disable on Xtensa REVERTME: tests: stackprot: disable on xtensa sanitycheck: fix defconfig regex sanitycheck: only disable tryrun when using SDK xtensa: fix numerous checkpatch issues REVERTME: tests: crypto: disable on Xtensa arc: linker.ld: fix BSS section declaration Merge remote-tracking branch 'origin/core' arc: move openocd_dbg section gen_isr_tables: make vector offset a hidden option riscv32: enable gen_isr_tables mechanism tests: gen_isr_table: actually run the IRQ gen_isr_tables: apply offset to irq parameter arc: enable gen_isr_tables mechanism Andy Gross (8): dts: Add support for Device Tree dts: arm: Add base DTS and YAML definitions dts: arm: Kinetis: Add base support for Kinetis dts: arm: Kinetis: Add FRDM_K64F support dts: arm: Kinetis: Add support for Hexiwear K64 stm32: uart: Add DTS support to STM32 UART driver arm: include: Add DTS generated file to arch.h libc-hooks: Fix include file for arch ARM Andy Ross (34): net: tcp: Remove dead/stubbed struct elements in struct net_tcp net: tcp: Fix race in net_tcp allocation net: tcp: Clean up TCP sequence checking net: tcp: Remove broken receive window computation net: tcp: Fix connection port matching net: tcp: Correctly store the temporary connection handle net: tcp: Fix flag goof in net_tcp_alloc() net: tcp: Properly ACK received TCP data net: Refactor net_context_recv() to separate UDP and sync handling net: Wire up TCP receive callbacks net: Remove net_tcp_prepare_data_segment net: Set REMOTE_ADDR_SET flag on new TCP connection contexts net: tcp: prepare_segment needs to work with pre-allocated buffers net: tcp: Fix uninitialized garbage in TCP urgent field net: tcp: TCP transmission net: tcp: Refactor "finalize" step from "prepare" net: tcp: Rework ACK behavior net: tcp: Handle received ACK packets correctly net: tcp: Add retry handling net: tcp: Select correct source address for SYNACK packets net: tcp: Swap tcp->context backpointers net: tcp: Precompute appdata properly util.h: Add IS_ENABLED() macro for expression-legal ifdef-checking net: tcp: Signal EOF with a NULL buffer in the callback net: tcp: Don't leak net_conn_handles net: tcp: Pass correct user_data pointers net: tcp: Destroy net_tcp struct at the same time as the context net: tcp: Make the connect callback on success, not transmission net: tcp: Issue connection callback on RST net: tcp: Clean up net_context lifecycle net: tcp: Don't send active close FIN packets synchronously net: tcp: Clean up FIN handling net: net_context: Drop callbacks in net_context_put() net: tcp: Add optional TIME_WAIT support Arkadiusz Lichwa (34): Bluetooth: L2CAP: Fix uninitialized pointer Bluetooth: Fix format specifier in UUID DBG helpers Bluetooth: Remove not needed header in uuid.c file Bluetooth: SDP: Initial SDP client interface API Bluetooth: SDP: Initial implementation of bt_sdp_discover API Bluetooth: SDP: Add connected and disconnected handlers Bluetooth: SDP: Attempt reuse existing SDP client session Bluetooth: SDP: Refactor bt_sdp_discover API Bluetooth: SDP: Queue user UUID to be resolved Bluetooth: SDP: Reset context on disconnection Bluetooth: SDP: Check params validness Bluetooth: SDP: Start receiving response data on SDP PSM Bluetooth: SDP: Check SDP error when receiving PDU response Bluetooth: SDP: Implement ServiceSearchAttribute request PDU Bluetooth: SDP: Validate Transaction ID of PDU Bluetooth: SDP: Introduce ContinuationState of PDU Bluetooth: SDP: Handle SSA PDU response Bluetooth: SDP: Enable resolve all user delivered UUIDs Bluetooth: SDP: Validate SSA response PDU Bluetooth: SDP: Allocate user delivered memory for resolved data Bluetooth: SDP: Check room needed against user allocated Bluetooth: SDP: Send resolved UUID data to user Bluetooth: SDP: Add UUID reference to user callback Bluetooth: SDP: Update 'no records found' code comment Bluetooth: UUID: Fix format specifier in 128-UUID Bluetooth: ATT: Fix redundant sys_slist call Bluetooth: SDP: Get ProtocolDescriptorList attribute internals Bluetooth: shell: Add SDP client support Bluetooth: uuid: Fix assigned UDP uuid value Bluetooth: SDP: Add API to get ProfileDescriptorList attribute Bluetooth: shell: Add getting ProfileDescriptorList attribute Bluetooth: SDP: Add API to get SupportedFeature attribute Bluetooth: shell: Use SupportedFeature attribute API Bluetooth: shell: Add support to retrieve A2SRC record Arun Jagadish (12): Bluetooth: AVDTP: SEP Definition Bluetooth: AVDTP: Fix Coding style Bluetooth: AVDTP: Add AV-Stream data structure Bluetooth: AVDTP: Fix Coding style Bluetooth: AVDTP: Add AVDTP Pending Request Bluetooth: AVDTP: Add AVDTP_Timer & Handler Bluetooth: AVDTP:Add Accept Incoming connection cb Bluetooth: AVDTP: Added params to AVDTP Request structure Bluetooth: AVDTP: Add AVDTP Discover API Prototype Bluetooth: AVDTP: Remove buffer pool Bluetooth: AVDTP: Add AVDTP Discover Function Definition Bluetooth: AVDTP: Moving structures to headerfile Baohong Liu (52): tests: spi_test: fix variable type mismatching issue samples: usb: fix variable type mismatching issue drivers: bmi160: fix variable type mismatching issue samples: button: fix variable type mismatching issue tests: spi: add return value check drivers: rtc: fix enum type mismatching issue tests: benchmark: fix a string format issue net: 802.15.4: Fix a variable type mismatching issue samples: net: fix a memcmp len error net: ip: fix variable type mismatching issue drivers: cc2520: fix variable type mismatching issue samples: button: stop the app if device binding fails samples: grove_lcd: stop the app if device binding fails drivers: console: use unified kernel API drivers: sensor: use unified kernel API subsys: usb: use unified kernel API samples: usb: use unified kernel API drivers: spi_shim: add return value check boards: all: use new kernel header file drivers: sensor: add missing license header samples: spi_flash: remove redundant code lines from config file samples: aio: fix some coding style issues device: add deprecated attribute to device sync APIs drivers: i2c: replace device sync APIs with semaphores samples: gpio: use correct gpio driver name drivers: spi: replace device sync APIs with semaphores drivers: adc: replace device sync APIs with semaphores samples: spi_fram: correct syntax error and update comments samples: bmi160: use direct GPIO trigger instead of ipm drivers: bmi160: use direct GPIO trigger instead of IPM samples: bmi160: replace printf with printk samples: bmi160: code clean up tests: spi: correct a spi buffer length issue driver: pwm: give arc the access to pwm samples: i2c_fram: update some comments drivers: adc108s102: use unified kernel drivers: spi_shim: grant arc the access to spi on I/O fabric drivers: i2c_shim: grant arc the access to i2c on I/O fabric samples: bmi160: use correct spi dev name drivers: aio: remove aio disabling before invoking callback drivers: i2c: remove an unnecessary condition check drivers: spi: enable gpio driver automatically when needed quark_se: sensor: use consistent device names for GPIO, SPI and I2C boards: arduino_101_sss: use new gpio device name drivers: bmi160: add sample ready check samples: spi_flash: remove an unnecessary config symbol ext: qmsi: fix an incomplete type issue samples: bmi160: reduce polling mode sampling frequency api: dma: dma api update drivers: dma_shim: update dma qmsi shim driver tests: dma: update dma block transfer app tests: dma: update dma loop transfer app Benjamin Walsh (109): kernel: fix typo in comment kernel: remove last instances of tNANO in comments kernel/arm: add comment about _is_next_thread_current kernel/arm: fix missing interrupt lock around _is_next_thread_current() kernel/arm: fix race condition when setting _Swap() return value dlist: fix SYS_DLIST_FOR_EACH_SAFE when operating on empty list kernel: fix thread prio and stack size types in some APIs kernel: fix obsolete access to fields in K_DEBUG() calls kernel: support for more than 32 total priorities samples: configure philosophers with more than 32 priorities kernel/arch: remove unused uk_task_ptr parameter from _new_thread() kernel: add support for switching to main thread without _Swap() arm: use interrupt stack during early init arc: use one of the interrupt stacks during early init arm: support interrupt stack with CONFIG_INIT_STACKS arc: support interrupt/FIRQ stacks with CONFIG_INIT_STACKS kernel: streamline initialization of _thread_base and timeouts kernel/mbox: add missing dummy thread timeout init arm: fix early boot on Cortex-M0 with init stack kernel: disable INIT_STACKS by default kernel/arch: move common thread.flags definitions to common file kernel: remove K_TIMING thread flag arc: fix missing _firq_stack symbol when INIT_STACKS=y and NUM_BANKS=1 arm: fix bug when Zero Latency Interrupts are enabled arm/frdm_k64f: fix boot issue with MBED bootloader and INIT_STACKS=y arc: move disabling/invalidation of caches earlier tests: adjust some stack sizes when running debug loads kernel: fix race condition when spawning a thread with a delay kernel: add emphasis to nano_sem_take/k_sem_take return code difference x86: fix irq_lock/unlock ordering bug arc: fix irq_lock/unlock ordering bug tests: increase stack size on test_errno arm: add CPU_CORTEX_M_HAS_BASEPRI kconfig flag arm: move IRQ_PRIORITY_OFFSET to header file, rename to _IRQ_PRIO_OFFSET arm: add CPU_CORTEX_M_HAS_PROGRAMMABLE_FAULT_PRIOS kconfig flag arm: better handling of IRQ priorities reserved by the kernel arm: relinquish one IRQ priority reserved by kernel kernel/arch: enhance the "ready thread" cache kernel: add defines for delta_ticks_from_prev special values kernel/timers: move tick computation out of irq_lock block kernel: fix mis-use of sys_dlist_t vs sys_dnode_t in _timeout sample/philosphers: ignore format-security warning kernel: fix typo kernel: enhance realtime-ness when handling timeouts kernel: add k_cpu_idle/k_cpu_atomic_idle() kernel: add CONFIG_PREEMPT_ENABLED and CONFIG_COOP_ENABLED kernel: enable and optimize coop-only configurations kernel: fix dummy init thread prio in preempt-only configurations arch/all: simpler _SysFatalErrorHandler() kernel: introduce single-threaded kernel kernel: initialize system work queue after kernel is up kernel: fix warnings when CONFIG_MULTITHREADING=n kernel/arch: remove obsolete instances of irq_connect kernel/arch: rename ARCH_HAS_NANO_FIBER_ABORT to ARCH_HAS_THREAD_ABORT doc: update architecture porting guide to unified kernel kernel: add missing ___kernel_t_arch_OFFSET kernel: add flag that tells the system is handling timeouts arc/nios2: rename sys_cycle_get_32 to k_cycle_get_32 drivers: fix timeout in hp206 drivers: hp206 driver does not need 2000 ticks/s frequency misc: add ceiling_fraction() macro kernel: optimize ms-to-ticks for certain tick frequencies arch: remove instances of fiberRtnValueSet() kernel: make _thread.sched_locked a non-atomic operator variable kernel/arch: reverse polarity on sched_locked kernel/arch: streamline thread flag bits used nios2: remove unused INT_ACTIVE/EXC_ACTIVE thread flags dlist: add sys_dlist_peek_tail() kernel: do not use sys_dlist_insert_at() in _pend_thread() kernel: do not use sys_dlist_insert_at() in _add_timeout() kernel: add _timeout_q dump before and after adding timeout samples: speed up philosophers demo samples: put philosophers stacks in noinit section kernel/arch: optimize memory use of some thread fields kernel/arch: inspect prio/sched_locked together for preemptibility arc: fix unaligned variables resulting in unaligned k_cpu_sleep_mode kernel: add user data API to timers tests: add test for k_timer_user_data_set/get() tests/context: fix Coverity warning about array overrun kernel: correct the highest priority in coop-only modes kernel: use PREEMPT_ENABLED instead of NUM_PREEMPT_PRIORITIES > 0 kernel: fix main/work_q prios in coop/preempt-only modes kernel/mutex: prevent priority inheritance from lowering owner's prio kernel: fix total number of coop prios in coop-only mode samples/philosophers: enable demo to run in coop/preempt-only modes kernel: move volatile from k_thread.prio to k_thread.sched_locked kernel: include kernel.h in kernel_structs.h in asm files kernel: remove K_STATIC kernel: rename thread states symbols kernel: move K_ESSENTIAL from thread_state to execution_flags kernel/x86: move INT_ACTIVE/EXC_ACTIVE to thread_state kernel/arch: streamline thread user options build: add _ASMLANGUAGE to all asm files kernel: add k_fifo_is_empty() kernel: add _is_thread_state_set() kernel: add _THREAD_POLLING thread state kernel: add _WAIT_Q_INIT() kernel: add k_poll() API tests: add poll kernel test kernel/poll: add user tag to struct k_poll_event tests/kernel/poll: verify tag is untouched by API kernel/poll: add missing poll_event runtime init kernel/poll: add k_poll_signal_init() runtime init tests/kernel/poll: test object runtime init functions kernel/poll: refactor is_polling() kernel/poll: fix registrations that were not always cleared test/kernel/poll: fix putting wrong .signaled to 0 kernel/poll: fix signal.signaled not being set when k_poll() waits tests/kernel/poll: verify .signaled is set correctly Bogdan Davidoaia (16): sensor: remove unused Q16_16 value type sensor: remove SENSOR_VALUE_TYPE_INT sensor: use integers for simple value calculations sensor: update drivers to not return double values MAINTAINERS: update sensor drivers section sensor: remove sensor value type MAINTAINERS: fix email address typo in sensor drivers section samples: thermometer: use convert to double function from sensor.h samples: sensor: fxos8700: use floating point for printing sensor values sensor: fxos8700: fix missing dependency in Kconfig docs: sensor: update included example code sensor: fxos8700: expand trigger requirement to include pulse config sensor: add SENSOR_CHAN_*_XYZ enum values sensor: use SENSOR_CHAN_*_XYZ instead of SENSOR_CHAN_*_ANY kw41z: add base DTS support sensor: fix typo in sensor.h Carles Cufi (38): Bluetooth: Controller: Implement missing DLE commands ext: Import Segger J-Link RTT library console: Add a Segger RTT console driver Bluetooth: Controller: Implement ECC commands Bluetooth: Controller: Fix local LE supported features bitmap Bluetooth: hci_uart: Fix init order in hci_uart bootup kernel: Disable interrupts after tick calculation in k_sleep() toolchain: Add a popcount macro for GCC drivers: timer: Optimize RTC driver and prevent past events Bluetooth: controller: Use SERIES config instead of NRF52 drivers: serial: nrf5: Undefine MDK macros to avoid conflict ext: Update Nordic MDK header files boards: nrf52: Specify nRF52832 IC in default config arch: arm: Refactor and cleanup nRF52 series arch code arch: arm: Add support for the Nordic nRF52840 IC boards: arm: Add support for the Nordic pca10056 PDK boards: arm: Refactor the GPIO and UART dependencies boards: nrf51_pca10028: Add button and LED definitions boards: nrf52_pca10040: Add button and LED definitions boards: nrf52840_pca10056: Add button and LED definitions boards: bbc_microbit: Add button and LED definitions gpio: nrf5x: Add support for GPIOTE and GPIO callbacks Bluetooth: controller: Move call to k_sem_give() out of the ISR arm: nvic: Fix exception priority access on Cortex-M0(+) arm: Cortex-M0: Adapt core register code to M0 Bluetooth: Rename SEND_STACK to TX_STACK_SIZE Bluetooth: hci_uart: Disable HCI ECC commands temporarily bluetooth: Tune stack sizes after measuring with hci_uart bluetooth: controller: Split events into normal and priority bluetooth: hci_uart: Allocate 65 bytes for L2CAP packets drivers: rtt: Lock interrupts around RTT Write kernel: profiling: Expose an API call to analyze call stacks bluetooth: hci_core: Fix conn params validity check arm: cmsis: Convert enable_floating_point to use CMSIS ext: Import Nordic SDK HAL files ext: Integrate Nordic SDK HAL files into Zephyr Bluetooth: hci_core: Use nRF5x FICR address doc: boards: Move nRF5x DK board doc from the wiki to git Chuck Jordan (8): arc: branch too far when STACK_CHECKING enabled. maintainers: fix Ruud's email arc: 1msec tick gives more stable scheduling arc: em_starterkit default changed to EM7D arc: i-cache init moved much earlier arc: ICCM memory should have read-write-execute attributes i2c: Can pass IRQ vector constant to irq_enable arc: add _tsc_read for 64-bit timestamp Daniel Thompson (1): misc: Let the compiler choose whether to omit frame pointer David B. Kinder (21): doc: update doc building README instructions license: Replace Apache boilerplate with SPDX tag doc: update MAINTAINERS for *.rst reviewers doc: fix .rst files canonical heading order tests: update to Apache 2.0 SPDX tags on new tests doc: update MAINTAINERS for .rst files doc: fix incorrect ReST heading hierarchy doc: fix broken link to board doc license: fix SPDX headings on new tests doc: fix wiki board reference back to web page doc: update menuconfig images in application doc doc: fix .rst headings in new sample docs doc: fix broken links in board documentation doc: fix broken link in getting started guide docs doc: add CSS support for hlist directive doc: use hlist directive for improved output doc: remove artifacts of doc build recently added doc: add cross-references to hello_world sample doc: add permalinks to document headings doc: update .gitignore doc: update make clean to remove doxygen folder David Brown (4): scripts: Explicitly call out python2 samples: task_profiler: Be explicit about python arm: cortex-m: Implement CONFIG_TEXT_SECTION_OFFSET doc: Fix encoding problem Erwan Gouriou (41): serial: Provide STM32Cube based serial driver on stm32f1, stm32f4 stm32f1: Update after serial driver rework stm32f4: Update after serial driver rework serial: Provide new numbering scheme for stm32 UART stm32cube: Add README as porting guidelines uart: stm32: Add support for STM32L4X pinmux: prepare support for stm32 PWM driver soc: stm32xx: add pwm pinmux support pwm/stm32: add PWM driver for STM32 F1/F4/L4 board: configure pwm support on ST Nucleo boards samples: pwm: update PWM sample to support ST Nucleo boards boards: nucleo: provide button and led for basic samples stm32f4: Update flash to support higher sysclock frequencies board: add nucleo_401re board documentation license: Replace Apache boilerplate with SPDX tag boards:arm: Provide debug option on some boards ext: stm32cube: update stm32f4xx cube version ext: stm32cube: update stm32l4xx cube version board: add nucleo_411re board documentation doc: update template for nucleo_f401re board dts: arm: Add base DTS support for STM32 Nucleo board nucleo_l476rg: Enable device tree usage for Nucleo clock control:stm32: provide STM32Cube LL based driver gpio: update stm32 gpio to support LL clock control driver pinmux: update stm32 pinmux to support LL clock control driver uart: update stm32 uart to support LL clock control driver i2c: stm32: change deprecated constant i2c: update stm32 i2c_lx to support LL clock control driver pwm: update stm32 pwm to support LL clock control driver flash: update stm32 flash_f3x to support LL clock control driver soc: stm32l4xx: support of Cube LL Clock driver soc: stm32f3xx: support of Cube LL Clock driver board: nucleo_f334r8: enable support of LL Cube clock control driver board: stm32373c_eval: enable support of LL Cube clock control driver boards: nucleo_l476rg: enable support of LL Cube clock control driver soc: stm32l4x: clean up after Cube LL clock control soc: stm32f3x: clean up after Cube LL clock control clock control: clean up after stm32cube LL driver drivers: stm32: clean up after stm23cube based clock control clock_control: stm32: code optimization board: add nucleo_l476rg documentation Evan Couzens (1): doc: Add environment variables to getting_started.rst Fabien Parent (1): stm32l4x: pinmux: add support for STM32L4 Flavio Santes (140): tinycrypt: Fix bug in CTR PRNG reseed function tinycrypt: Fix style issues tinycrypt: Update CTR PRNG test case sensors/mcp9808: Evaluate sensor_sample_fetch return code sensors/mcp9808: Evaluate sensor_channel_get return code tests/tinycrypt/aes: Remove struct declaration inside function tests/tinycrypt/aes: Variable declarations at the beginning of a block tests/tinycrypt/aes: Solve style issues in comments tests/tinycrypt/aes: Replace spaces by tabs tests/tinycrypt: Fix wrong sizeof argument test/tinycrypt: Solve style issues in test_hmac_prng tests/tinycrypt: Fix dead code issue (1st) tests/tinycrypt: Fix dead code issue (2nd) tests/tinycrypt: Fix wrong sizeof argument in test_ccm_mode tests/tinycrypt: Fix wrong sizeof argument in test_ccm_mode (2nd) tests/tinycrypt: Solve style issues in test_ccm_mode tinycrypt/hmac: Array compared to NULL has no effect tinycrypt/sha256: Array compared to NULL has no effect build: Add __ZEPHYR__ to Makefile samples/nfc: Remove x86 asm code samples/nfc: Update README file samples/nfc: Update sample app samples/sensors: Update README files tests/multilib: Update README file tests/drivers: Update pinmux application net: Improve net_context_connect documentation net: Fix tests/net/nbuf/Makefile net: Fix Kconfig indentation issue iot/dns: Remove legacy DNS client sample code iot/dns: Add DNS Client support for Zephyr iot/dns: Add DNS Client sample app iot/dns: Add '+' operator iot/dns: Add support for Arduino 101 and ENC28J60 iot/dns: Improve support for additional boards iot/dns: Update README files iot: Add MQTT v3.1.1 packet handling support for Zephyr iot/mqtt: Add test app for the MQTT packet handling routines net/eth: Fix priority value for the ENC28j60 Ethernet driver iot/mqtt: Add support for frdm_k64f iot/mqtt: Add the MQTT high-level API net: Remove legacy IoT sample applications iot/dns: Update sample client application iot: Add HTTP support for Zephyr iot/http: Add test-case for HTTP header fields boards/x86/pinmux: Remove unused parameter warning drivers: Remove unused parameter warning arm: Remove unused parameter warning arch/x86: Remove unused parameter warning drivers: Remove legacy nanokernel.h include fs/disk: Improve code readability samples/logger-hook: Increase main stack size samples/logger-hook: Initialize variable to 0 MAINTAINERS: Update network applications section kernel/mem_pool: Use the right data-type kernel/mem_slab: Use the right data-type shell: Add ARG_UNUSED macro to avoid compiler warnings x86/soc: Add ARG_UNUSED macro to avoid compiler warnings kernel: Add ARG_UNUSED macro to avoid compiler warnings net: Remove legacy tinydtls.h header tests/iot/http: Initialize parser struct tcp: Validate net_context_put return code iot/dns: Introduce the dns_context structure iot/dns: Update DNS client private routines iot/dns: Use a k_sem for the DNS rx routine iot/dns: Update sample application samples/mbedtls_dtlsclient: Validate destination buffer size samples/mbedtls_dtlsclient: Add ARG_UNUSED tests/tcp: Initialize buffer to NULL samples/net/README: Add DNS client section iot/dns: Update Makefile iot/dns: Add support for the FRDM K64F board iot/dns: Fix IPv6 compilation issue tinycrypt: Update TinyCrypt to version 0.2.5 driver: Add ARG_UNUSED to console and uart drivers drivers/slip: Use the right data-type misc/byteorder: Use the right data-type misc/logger: Add ARG_UNUSED net: Add ARG_UNUSED net/utils: Use the right data-type samples/net/echo_client: Add ARG_UNUSED drivers/sensor/bmi160: Remove compiler warnings drivers/sensor: Add the ARG_UNUSED macro drivers: Add the ARG_UNUSED macro shell: Init structure and add the ARG_UNUSED macro samples: Add the ARG_UNUSED macro drivers/usb: Use the right data-type arch/arc, usb, ztest: Add the ARG_UNUSED macro printk: Add ARG_UNUSED macro boards/arduino101: Enable GPIO samples/basic/disco: Add support for Nucleo F401RE and A101 samples/net: Fix logging format error net: Restructure network protocols MAINTAINERS: Update network applications section net/protocols: Remove unnecessary assignement in Makefiles net/nbuf: Introduce the net_nbuf_linear_copy routine net/mqtt: Make input arguments const net/mqtt: Improve indentation net/mqtt: Use the right data type net/mqtt: Add missing function prototypes net/mqtt: Add the mqtt_rx_publish routine net/mqtt: Improve buffer error handling in mqtt_tx routines net/mqtt: Improve error handling in mqtt_rx_connack routine net/mqtt: Add the reception callback net/mqtt: Allow an MQTT publisher app to receive msgs net/mqtt: Allow an MQTT subscriber app to receive msgs net/dns: Introduce the qname_copy routine net/dns: Fix documentation issues samples/net: Remove legacy reference in Makefile samples/net: Update DNS logging info samples/net: Update zperf Makefile samples/net: Rename prj conf files to avoid breaking the build samples/net: Update the zperf/README.rst file samples/net: Update DNS client README file to RST format samples/net: Improve text indentation and clarify some instructions samples/net: Remove redundant configuration variable drivers/ethernet: Update default GPIO pin for the ENC28J60 module samples/net: Remove legacy configuation variables net/mqtt: Move upwards buffer size validation net/mqtt: Simplify the MQTT high-level API net/mqtt: Add the "malformed" callback to the MQTT ctx structure net/mqtt: Validate null or app level zero-length rx buffers net/mqtt: Add the MQTT Publisher sample application net/mqtt: Remove redundant line samples/net/dns: Add the FRDM_K64F board to the testcase.ini file samples/net/dns: Move conf variables to config.h and delete unused defines samples/net/dns: Improve network configuration samples/net/dns: Update README file samples/net/http: Add the HTTP server sample application MAINTAINERS: Update network applications section net/dns: Fix inline documentation samples/net/http: Add the HTTP client sample application net/dns: Update QEMU prj file net/mqtt: Fix inline doc for MQTT net/http: Add QEMU support to the HTTP server sample app net/http: Improve network configuration routines ext/lib/mbedtls: Add the TLS configuration file net/mqtt: Add support for QEMU x86 net/mqtt: Use uint32_t for Remaining Length encoding/decoding net/mqtt: Add payload size validation net/mqtt: Remove length computations for some msg fields Genaro Saucedo Tejada (4): sanity: filter the build-all test for ethernet sanity: prevent stack corruption at test_sema maintainers: update KNOWN ISSUES and MAINTAINERS section sanity: prevent stack corruption at test_static_idt Gil Pitney (11): cc3200: Remove CPU_HAS_FPU from cc3200 Kconfig.soc cc3200: Add a GPIO driver for the TI CC3200 LaunchXL cc3200: Add pinmux initialization for GPIO Ports cc3200: Add generic definitions for LEDs and switches cc3200: Ensure UART can wake up Zephyr after wfi in idle cc3200: Move UART peripheral clock enable into soc init cc3200: Use peripheral driver library functions from ROM cc3200: Added board documentation in RST format. net: offload_ip: Update net_context_accept_cb_t to net_tcp_accept_cb_t dts: arm: Add base DTS support for TI CC3200 cc3200: Enable device tree usage for CC3200 Inaky Perez-Gonzalez (22): tests/drivers/pci_enum: move to ztest and run in HW when possible tests/drivers/adc: move to ztest to actually test legacy/kernel/test_{static_id,stackprot}: 'fatal fault' is not a failure libc: atoi() avoid fallthroughs in switch cases fatal error handlers: report which thread croaked samples/kernel_event_logger: initialize variable test_fp_sharing: fix uninitialized variable test_static_idt: fix uninitialized variable test_map: fix uninitialized area test_map: initialize memory block test_fp_saring/nanokernel: fix uninitialized variable scrips/kconfig: use snprintf() vs sprintf() tests/legacy/kernel/test_libs: use memcpy() vs strncpy() test_static_idt: fix unininitialized variable libc: remove useless code in _prf() libc/minimal: snprintf(): KILL negative len parameter tests/ztest/mock: remove usage of legacy k_fifo_get() scrips/kconfig: reduce impact of getenv() buffer overflow sanitycheck: add --log-file to log everything to a file too tests/kernel/stackprot: 'fatal fault' is not a failure zephyr-env: don't fail unnecesarily when 'set -e' filter-known-issues: add warning support, clean up, add more help Iván Briano (3): drivers spi_ss: Fix setting of wrong config for SPI 1 ext hal qmsi: Avoid QMSI specific flags when QMSI is not used drivers gpio: Fix disabling of interrupts for QMSI shims Jaakko Hannikainen (1): net: Add net_addr_pton() Jaganath Kanakkassery (27): Bluetooth: RFCOMM: Refactor rfcomm_handle_pn() Bluetooth: RFCOMM: Initiate DLC Bluetooth: RFCOMM: Handle security for outgoing DLCs Bluetooth: RFCOMM: Remove send DM from drop() Bluetooth: RFCOMM: Implement Disconnect API Bluetooth: shell: Add support for RFCOMM Disconnect Bluetooth: RFCOMM: Disconnect session after last dlc disconnection Bluetooth: RFCOMM: Handle DM from peer Bluetooth: RFCOMM: Rename tmp with next Bluetooth: RFCOMM: Fix channel range documentation Bluetooth: RFCOMM: Remove unneeded NULL checks Bluetooth: RFCOMM: Respond to RLS command Bluetooth: RFCOMM: Pass session instead of dlc in make_uih_msg() Bluetooth: RFCOMM: Respond to RPN command Bluetooth: RFCOMM: Respond to Test command Bluetooth: RFCOMM: Handle non supported message types Bluetooth: Fix reserve param of bt_l2cap_create_pdu() Bluetooth: RFCOMM: Increase dlc stack size to 256 Bluetooth: RFCOMM: Rearrange fns to avoid forward declaration Bluetooth: RFCOMM: Implement timer in dlc Bluetooth: RFCOMM: Implement timer in session Bluetooth: RFCOMM: Implement Aggregate Flow Control Bluetooth: RFCOMM: Fix v24_signal in MSC response Bluetooth: RFCOMM: Implement MSC Flow Control Bluetooth: Doc: RFCOMM PICS file Bluetooth: RFCOMM: Fix session timer during acl disc Bluetooth: RFCOMM: Use common tx pool for control packets James Fagan (1): aio: Configuration issue in aio driver Javier B Perez (2): test: power states: fix dead code issue compare footprint: add sanity args files Jean-Paul Etienne (25): serial: enable 64-bytes FIFO for UART 16750 in uart_ns16550 driver samples: button: set EDGE to SW0_GPIO_INT_CONF if defined scripts: added Makefile to handle an external riscv32 toolchain arch: added support for the riscv32 architecture unified: added _MOVE_INSTR for RISCV32 architecture kernel: updated default IDLE_STACK_SIZE to 512 for RISCV32 riscv32: added support for the pulpino soc timer: added timer driver for the pulpino SOC timer: added support for the riscv-qemu timer driver serial: added support for the riscv-qemu UART driver libc-hooks: added USED_RAM_SIZE and MAX_HEAP_SIZE definitions for riscv32 gpio: added support for the pulpino GPIO controller driver riscv32: added support for the riscv32-qemu soc boards: added support for the qemu_riscv32 board boards: added support for the zedboard_pulpino board tests: kernel: context: account for riscv32 architecture tests: legacy: kernel: context: account for riscv32 architecture tests: kernel: threads_scheduling: increased stack size to 512 for riscv32 architecture tests: kernel: test_mpool_concept: increase STACK_SIZE to 1024 for riscv32 tests: kernel: threads_customdata: increase STACK_SIZE to 512 for riscv32 riscv32: timer: replace riscv_qemu_driver by the generic riscv_machine_driver riscv32: added a generic linker script for the riscv32 platform MAINTAINERS: added maintainer for riscv32 riscv32: timer: disable riscv_machine_timer driver by default for riscv32 riscv32: move riscv privileged architecture specifics within a common header file Jesus Sanchez-Palencia (4): quark_se: Fix restore info address quark_se: Add shared GDT in RAM memory to linker quark_d2000: Add shared GDT memory to linker linker quark_se: Fix operator precedence bug Jithu Joseph (25): samples :usb : Check return value fix tests: libs: Fix string overflow samples: event_collector: Remove redundant check usb :mass_storage: correct the license details tests: kernel: test_slab: Porting memory map tests to unified subsys: disk: Refactor disk_access stuff into a directory tests: include: Move timestamp.h into common location tests: benchmark: sys_kernel: Porting to unified tests: kernel: import irq_offload test from legacy tests: benchmarks: put all benchmarks in the same folder kernel: thread: Fix legacy symbol mixup in fp path tests: kernel: import floating point sharing tests to unified tests: kernel: import errno test to unified tests: kernel: import libs test to unified kernel tests: kernel: port mutex/priority inheritance test to unified tests: kernel: import pool/heap tests to unified kernel grove: fix variable type mismatch misc: fix more variable type mismatches samples: webusb: fix variable type mismatches test_mpool_api: fix variable type mismatches spi_test: fix variable type mismatches include/crypto: Crypto abstraction header drivers/crypto: TinyCrypt shim driver samples/drivers/crypto: crypto sample app tests: kernel: import obj_tracing test to unified kernel Johan Hedberg (120): Bluetooth: Use convenience macros for timeout durations Bluetooth: doc: Fix reference to documentation location Merge bluetooth branch into master net: buf: Fix minor typo in documentation Bluetooth: Fix coding style issues in LE address helper functions Bluetooth: Controller: Make use of min() convenience macro Merge bluetooth branch into master printk: Refactor to allow passing a parsing context around printk: Add APIs to print into strings instead of default output net: Fix incorrect logging format specifiers Bluetooth: Fix incorrect logging format specifiers sys_log: Remove option of mapping to printf drivers/ethernet: Fix SYS_LOG_DBG format specifier for MAC Bluetooth: Make LE random address helpers public Bluetooth: Extend advertising parameters with optional own address Bluetooth: Switch from printf to printk functions Bluetooth: Fix format specifier in address helpers Bluetooth: L2CAP: Fix format specifier for hex uint16_t Bluetooth: Fine-tune debug-based stack size increase Bluetooth: Fix BT_STACK_DEBUG_EXTRA for BLUETOOTH_DEBUG_LOG Bluetooth: Fix left-over printf usage Bluetooth: Fix stack overhead amount when debug is enabled Merge bluetooth branch into master logging: Remove bogus SYS_LOG dependency on STDOUT_CONSOLE printk: Export _vprintk similar to how _prf is exported Bluetooth: Use _vprintk() instead of _prf() kernel: Refactor remaining time evaluation for timeouts kernel: Introduce new k_delayed_work_remaining_get API net: buf: Redesigned pool & buffer allocation API net: buf: Introduce net_buf_destroy() wrapper net: buf: Remove the need for net_buf_pool_init() net: buf: Remove redundant user_data_size from buffers net: buf: Switch from k_fifo to k_lifo for free buffers net: buf: Fix incorrect reference to net_buf_get_debug Bluetooth: Kconfig: Fix logging dependency on printk Bluetooth: Remove inline declaration from bt_le_conn_params_valid Bluetooth: Remove unnecessary NULL check Bluetooth: Remove unnecessary runtime kernel object initialization Merge bluetooth branch into master Bluetooth: GATT: Add BT_GATT_PERM_NONE convenience value Bluetooth: Fix priority event buffer availability when ECC is used Bluetooth: Add timeout to event & ACL buffer allocation functions Bluetooth: Move buffer allocation helpers to buf.h Merge bluetooth branch into master net: buf: Add net_buf_add_mem() API arm: nvic: Use uint8_t for priority level Bluetooth: Take advantage of new net_buf_add_mem() API Bluetooth: Fix incorrect call to memcpy() Bluetooth: Fix another incorrect memcpy call Bluetooth: hci_ecc: Fix incorrect private_key size Bluetooth: Kconfig Remove HOST_BUFFERS option Bluetooth: Kconfig: Introduce BLUETOOTH_COMBINED_RX_BUF option Bluetooth: Refactor bt_recv() logic Bluetooth: Introduce support for HCI driver-side RX thread Bluetooth: Remove support for host flow control Bluetooth: Add bt_buf_get_rx() helper API Bluetooth: Kconfig: Fine tune options for RECV_IS_RX_THREAD Bluetooth: Convert H:4 HCI driver to RECV_IS_RX_THREAD Bluetooth: Use bt_buf_get_rx in hci_ecc.c Bluetooth: hci_ecc: Delay event buffer allocation Bluetooth: drivers: Use bt_buf_get_rx() in h5.c Bluetooth: Controller: Use bt_buf_get_rx for buffer allocation Bluetooth: Remove unused prio pool and buffer helpers Bluetooth: Controller: Switch to controller-side RX thread Bluetooth: Controller: Deprioritize adv report buffer allocation Bluetooth: h4: Use k_fifo instead of k_sem Bluetooth: Reduce the minimum RX buf count to 2 Bluetooth: h4: Convert TX path to be interrupt based Bluetooth: Create separate bt_recv_prio() API Bluetooth: Fix potential race condition in bt_pub_key_gen() Merge bluetooth branch into master arch: arm: Use smaller ISR stack size for 16k nRF51 SoCs MAINTAINERS: Add missing path to the Bluetooth subsystem Bluetooth: Consolidate most outgoing ACL TX buffers into a single pool Bluetooth: Use the controller bt_rand() whenever possible Bluetooth: Controller: Rename hci_le_rand to bt_rand Bluetooth: hci_uart: Remove redundant idle & ISR stack size values Bluetooth: Remove unused bt_hci_driver_unregister() API Bluetooth: Add missing documentation to HCI driver APIs Bluetooth: GATT: Fix missing connection address comparison Bluetooth: ATT: Add new error code from CSSv7 Bluetooth: Prefer struct bt_le_conn_param over individual values Bluetooth: Add documentation for connection callbacks Bluetooth: Remove ACL details from BT_BUF_RX_SIZE Bluetooth: L2CAP: Remove RECV_RESERVE from BT_L2CAP_RX_MTU Bluetooth: Introduce a new connection parameter request callback Bluetooth: Take advantage of IS_ENABLED macro for BT_DBG Bluetooth: Add __printf_like annotation for bt_log Bluetooth: drivers/nble: Remove bogus BT_DBG manipulation Bluetooth: hci_core: Take advantage of IS_ENABLED whenever possible Bluetooth: conn: Take advantage of IS_ENABLED whenever possible Bluetooth: L2CAP: Take advantage of IS_ENABLED whenever possible Bluetooth: SMP: Take advantage of IS_ENABLED whenever possible Bluetooth: Don't select TinyCrypt RNG for combined builds Merge bluetooth branch into master Bluetooth: SPI: Replace Apache boilerplate with SPDX tag Bluetooth: Kconfig: Make device name variable generic Bluetooth: samples: Use Kconfig DEVICE_NAME variable when possible Merge bluetooth branch into master kernel: Fix k_poll support for k_fifo_put_list net: buf: Fix timeout parameter documentation Bluetooth: Fix trivial coding style issue Bluetooth: Fix checking for invalid public address Bluetooth: Fix using correct variable type for interrupt mask Bluetooth: Fix buffer leak when HCI driver send() fails Bluetooth: drivers/h4: Add support for discarding certain events Bluetooth: Add convenience macros for common header sizes Bluetooth: Kconfig: Merge headroom reserve variables into a single one Bluetooth: Controller: Redesign response buffer allocation for commands Bluetooth: Reuse HCI command buffers for the command response Bluetooth: conn: Use delayed work for LE connection timeout Bluetooth: Merge bt_conn TX threads into a single one with k_poll Bluetooth: Merge HCI command and connection TX threads Bluetooth: samples: Add missing README.rst files Bluetooth: Controller: Use LL_ASSERT instead of BT_ASSERT Bluetooth: Fix incorrect checks for command buffer user data Merge bluetooth branch into master Bluetooth: Fix missing connection cleanup in some scenarios boards: panther: Use 115200 baudrate for BLE UART Merge bluetooth branch into master Johann F (2): ext: mcux: add MCR20Overwrites.h samples: ieee802154: add MCR20A Johann Fischer (10): drivers: spi_k64: Remove non existent CONFIG_SPI_DEBUG drivers: spi_k64: Fix RX overflow ieee802154: conf: add common log level samples: ieee802154: rename cc2520 to hw net: ieee802154: fix validate_mac_command_cfi_to_mhr net: ieee802154: inform about unsupported frames drivers: ieee802154: add MCR20A driver boards: frdm_k64f: add pinmux settings for MCR20A samples: net: add configs for MCR20A drivers: mcr20a: control access to SPI with semaphore Jon Medhurst (4): uart_cmsdk_apb: Fix cut'n'paste error in device 4 init code arm: soc: Add SoC series for ARM's Cortex-M Prototyping System (MPS2) boards: arm: Add board for MPS2 with AN383 MAINTAINERS: Remove Jon Medhurst from MPS2 maintainership Jonathan Gelie (3): Bluetooth: GATT: introduce volatile subscription flag Bluetooth: GATT: set subscribe value to zero for unsubscription Bluetooth: GATT: fixing unsubscription Jorge Ramirez-Ortiz (4): net/mqtt: Check function return value net/mqtt: Add BT support to MQTT publisher sample flash/nrf5: fix invalid write access net/mqtt: Add support for IBM BlueMix Watson topic format Juan Manuel Cruz (14): sensor: fixes dead code in the apds9960 sample sensor: fixes program hangs in the apds9960 sample enc28j60: Fixes an issue reading/writing long frames from SPI win-build: Fixes a kconfig incompatibility for Windows net: Fixes the network interface naming macro net: arp: Fix issue with compiler optimization on Quark SE x86 enc28j60: The MAX_BUFFER_LENGTH is now declared in header. enc28j60: Fixes an issue reading/writing from spi enc28j60: Fixes a reception issue for big frames. enc28j60: Improves interface with native IP stack enc28j60: Fixes an issue with concurrent tx and rx ethernet: enc28j60: fixes an issue caused during an internal rebase. drivers: enc28j60: Enables reception of multicast packets mbedtls: add arduino 101 configuration to ssl client sample Juan Manuel Cruz Alcaraz (4): enc28j60: Adapt driver for native IP stack enc28j60: Modify echo server and client samples to support enc28j60 i2c: Adds a functions set that supports flexible addressing. ataes132a: Adds a driver to support ATAES132A device Juan Solano (4): rtc_qmsi: Call QMSI 1.4 context save/restore functions. aonpt_qmsi: Call QMSI 1.4 context save/restore functions. quark_se_ss: Remove enter_arc_state and use QMSI functions drivers: Remove unnecessary CONFIG_SYS_POWER_DEEP_SLEEP Jukka Rissanen (495): net: Initial commit for the new IP stack net: Add defines for various IP protocol header lengths net: Add ntohl() and related macros net: Use same prefix in new IP stack Kconfig net: Compile new stack if enabled net: apps: Create a skeleton echo-server for new IP stack net: Add network address information to interface net: Add multicast address to network interface net: Add IPv6 prefixes to network interface net: Add TX fifo to network interface net: Refactored RX fiber init net: Add function that feeds data to RX fifo net: Compile IPv6 and IPv4 address conditionally net: Add nbuf buffer API slip: Add driver for host to qemu connectivity net: Fix compilation error in net_if.h net: Add net_analyze_stack() macro net: Add Kconfig option for compiling IPv6 support net: Execute net_init() automatically net: Add net_if_get_by_link_addr() util function net: Add Kconfig option for compiling IPv4 support net: Add send() to net_if API net: Start to use logging macros from sys_log.h net: Refactor debug printing in net_if net: Enable compilation of net_if.c net: tests: Temporarily remove nbuf unit test net: Start to receive network packets net: Add net_context to compilation net: Add statistics gathering support net: Add debug function to print MAC address net: Add debug function to print IP address net: tests: Add unit test for IP and MAC address printing net: Receive IPv6 packet net: Drop received source mcast IPv6 packets net: Add utility func to return IP address type as a string net: Add utility functions to check IPv6 addresses net: Utilities to set and lookup interface IPv6 addresses net: tests: Add IPv6 address manipulation unit tests net: Add IPv4 addresses to network interface net: tests: Add IPv4 address unit tests net: IPv6 address utility funcs for network interface net: tests: Add more IPv6 address getters unit tests net: Network interface code compiles ok for IPv4 and IPv6 net: Receive IPv4 packet net: Added API documentation to IP address check functions net: Add ICMP protocol header struct net: Move IP address print funcs to separate file net: Network interface sets default IPv6 hop limit net: Renamed network data receive function net: Add net_send_data() that sends data to network net: Network interface needs own TX fiber stack net: Add net_hexdump() utility to print network data net: Add IP packet checksum calculation utilities net: Add debugging option for network utilities net: tests: Unit tests for network utilities net: Add ICMPv6 handler net: Add unit tests for ICMPv6 handler net: Process received ICMPv6 messages net: Process received ICMPv4 messages net: Add utility function to return default network interface net: tests: Tweak the IP address test to use new net_if API net: Do not remove fragments if main buffer is not removed net: Add utility function returning IPv4 broadcast address net: net_ipaddr_copy() macro was too fragile net: Add macro to compare two IPv4 addresses net: Add utils to set IPv4 netmask and gateway to net_if net: Add util to check if IPv4 address is part of a subnet net: Add capabilities flag to net_if API net: tests: Add tests for IPv4 netmask, gateway and subnet compare net: Added IPv4 ARP support net: tests: Unit tests for the IPv4 ARP code slip: Support TAP functionality net: Setting preferred status to manually added IPv4 address net: Only accept ARP reply if we requested data net: Make echo-server to use documentation IPv4 addresses net: Use net_nbuf_ll() to get into arp header net: tests: Fixed the ARP test net: Clarified the debug print about packet length net: IP checksum calculation should ignore ll header net: ICMPv4 checksum calculation fixed net: tests: Additional tests for ICMPv4 checksum verification net: Handle ARP messages net: Setting static IP addresses for echo-server net: Add NET_ASSERT() macro net: Moved ARP helper macro to arp.h net: Make sure that RX is started before TX net: Print available DATA buffers during nbuf alloc net: Add struct to store link layer address net: Use const for static and pre-defined IPv6 addresses net: Changing IPv4 address compare to a function net: Add IPv6 utils for address manipulation net: Add IPv6 address network interface utils net: Add a neighbor cache needed in IPv6 net: tests: Add unit tests for neighbor cache handling net: The IP protocol type needs to be set in L2 layer net: No need to do ARP for IPv6 network packet net: Buffer leak if net_if_send_data() returns NET_DROP net: Refactor various network init functions net: Process ICMPv6 packets only if IPv6 is enabled net: Use debugging net_buf unref function net: The NET_DEBUG must not be set in header file net: Do not overwrite SYS_LOG_DOMAIN net: Network stack analyzer uses now the SYS_LOG sub-system net: Print statistics using SYS_LOG net: Depending on debug flags the stdio.h is not included net: Fix arp.h so that net_arp_init() is found net: tests: Fix unit test for ARP net: Changed the IP and ll address debug prints net: tests: Fix unit test for IP addresses net: tests: Fix unit test for IP utils net: Make sure that either IPv4 or IPv6 gets selected net: Change how the L2 header space is reserved in net_buf net: Re-send ARP when needed net: Add ethernet address helpers net: Set the l2 src/dst addresses in nbuf net: Set the ll src and dst addresses in ethernet l2 driver net: Set IP protocol type when sending ethernet packet net: Make sure ethernet l2 sets src and dst addresses net: Write ethernet header in pdu when using slip and tap slip: Fix the debug print net: Add link layer reserve information to l2 driver net: Initializing the ll src and dst addresses net: ARP reply did not set the address family net: Calling net_buf_put() instead of nano_fifo_put() net: Add debug support to ethernet L2 driver net: Add utility func to return eth broadcast addr net: Both TX and RX fibers allow other fibers to run net: Add more debugging to arp.c net: IPv4 protocol type was not set to sent ARP packet net: Reserve eth ll header len in L2 ethernet driver net: Add debug checks when sending data in TX fiber net: Add more debug print in ethernet RX side net: Ethernet L2 TX side needs to setup fragments net: Add more checks when allocating nbuf net: Refactored ARP packet header handling net: ARP unit test needs to be run from fiber net: Pointer to a ethernet header was incorrectly set net: Set multicast dst address in ethernet if missing net: Remove extra debug print in ethernet L2 driver slip: Network stack needs to be up before sending data to it net: Start the network stack after device drivers slip: Do not try to unref a null pointer slip: Setup fragments properly if MTU is bigger than frag size net: Initial IPv6 neighbor discovery support net: Initial router solicitation support net: Initial router advertisement support net: Make IPv6 ND optional net: Add net_nbuf_copy() utility function net: tests: Add unit tests for net_nbuf_copy() net: Add TTL IPv4 option net: Make some IPv6 utility functions to use const addr net: Add IPv6 minimum MTU value net: Add support for ICMPv6 error message net: Add support for ICMPv4 error message net: Generic connection handler for UDP and TCP net: Initial UDP support net: Catch UDP network traffic net: tests: Unit tests for UDP handler net: tests: Fix ARP test so that it will not crash net: Utility function to compact net_buf fragments net: Utility that inserts free space to the fragment list net: tests: Unit tests for net_nbuf_push() net: tests: Turning off IPv6 for ARP tests net: Refactored IPv6 DAD and ND activation net: Fix compilation when IPv6 is disabled net: tests: ICMPv6 was missing random number config net: tests: Fix IP address test so that it will not crash net: tests: Fix project file for IP address tests net: Refactor nbuf.h and nbuf.c net: Debugging function to print fragment chain information net: Do not include anything from net/ip directory net: IP address lookup functions return interface net: Utility to get net_if according to index value net: tests: udp: Print debug info only when activated net: Address family needs to be set for multicast address net: Making IP address const in utility func net: tests: UDP unit test had incorrect ll address length net: net_hexdump_frags() is only available when debugging net: Swap ll addresses when handling ICMPv6 Echo-Request net: UDP checksum calculator net: Add sockaddr struct net: Add helpers for getting protocol specific sockaddr net: Convert network connection to use sockaddr net: Add net_conn pointer to callback net: Increasing the default IPv6 unicast addr count net: Add user space API to net_context net: Add helper to create IPv6 packet net: Add helper to create IPv4 packet net: Utility function to append UDP packet into net_buf net: Create IPv4, IPv6 and UDP packets when needed net: tests: Unit tests for user space socket API net: Set the protocol family and interface for net_buf slip: Do not send ethernet header if MTU is large enough net: Fix debug prints in net conn manager net: Neighbor cache entry was not properly init net: Do IPv6 ND if LL address is not known when sending net: Resolve LL address for IPv6 packet in ethernet L2 driver net: Use proper ll header length when sending IPv6 NS net: Add more debugging to nbuf net: Set reserve, context and iface properly in nbuf net: apps: Fix echo-server to use the new user API net: Rename ip_protocol to net_ip_protocol net: Check IPv6 NS, NA and RA messages for corruption net: Add token to nbuf net: Call send callback in net_context properly net: Call net_context send callback when packet is sent net: Check packet sending status correctly in arp.c net: nbuf variables needs clearing when allocating nbuf net: Update UDP sent packet statistics net: No need to swap ll address in IPv6 module net: IPv6 neighbor was not properly added to cache net: Ethernet driver needs to set ll address net: Return NET_CONTINUE in L2 ethernet driver in send() net: RX fiber needs bigger stack net: Change srctree to ZEPHYR_BASE in Makefiles net: Check ICMPv6 options length correctly net: Sent NS was two bytes too long net: Fix the debug prints in echo-server net: Fix compilation if IPv4 is disabled net: Add ll address checker function net: Discard ethernet frame if it is not for us net: Ethernet mac address length was incorrectly set net: Fix compilation warning net: Print buffer usage after receiving or sending data net: Utility helper to access IPv6 ND cache data net: Timeout a pending NS net: IPv6 ND fixes net: Set initial neighbor value when IPv6 NS is received net: Add debug helper for neigh tables net: Add more debugging prints in IPv6 ND handling net: Add network iface to neighbor creation call net: Add neighbor free function to IPv6 cache net: Add IPv6 ND reachability support net: Send available pending data after receiving IPv6 NA net: Use target address in IPv6 NS to lookup neighbor net: Add support for IPv6 prefix lifetime net: Neighbor cache table was incorrectly accessed net: Do not access IPv6 neighbor cache directly net: Trickle algorithm implementation net: tests: Test Trickle algorithm net: samples: Fix the location of net-tools project files net: Clarify the CONFIG_NET_TESTING setting net: samples: Fix slip config for echo-server and echo-client net: samples: Fix the echo-server IPv6 address net: tests: Enable unit tests for the new IP stack net: TODO file for networking net: Add more items to TODO net: Do not try to use net_if.h in legacy uIP stack net: tests: Fix printf modifiers in new IP stack unit tests net: Add network address length to user API net: Fix remaining debug option naming issues net: Add DEBUG Kconfig option for UDP net: Fix the statistics compilation slip: Fix debug printing net: Align net_if struct to 32-byte boundary net: Add net_nbuf_pull function net: tests: Add unit test for net_nbuf_pull functionality net: Add TCP protocol header definition net: Add TCP buffer access func to nbuf net: Context accept cb needs to return failure code net: Add utility func for calculating IPv4 checksum net: Calculate IPv4 checksum when sending IPv4 packet net: Initial architecture documentation net: User connectivity API documentation net: Fix function prototype documentation in neighbor header net: Add function to return neighbor by the index net: Added a define for unused bytes length in ICMPv6 header net: Fix reachable timer accessing NULL pointer net: Add more debugging prints to neighbor cache net: Add ref counting debugging to neighbor cache net: Add IPv6 utility func to create IPv6 packet net: Generic route handling net: tests: Add tests for route management API net: Remove nbr_data section as it is useless net: tests: Increase the timeout of trickle tests net: tests: Add initial set of IPv6 tests net: Íncorrectly named function in net_if.c net: Add be16 and be32 read helpers to nbuf.h net: Make net_nbuf_read() to return NULL if buf is NULL net: Allocate next fragment in net_nbuf_write() if needed net: Make sure buf is correct one in net_nbuf_write() net: Optimize net_nbuf_write() when handling last frag net: sample: Make sure echo-client is compiled by sanitycheck net: sample: echo-client ported to use the new IP stack net: IPv6 address should be const in net_if_get_ll_reserve net: Add more nbuf read/write helpers net: Re-order fields in net_nbuf struct net: Refactor nbuf data fragment detection net: uip: Fix the net_context.h content for legacy stack net: l2: Assert if frag cannot hold ethernet header eth: enc28j60_legacy: Make driver config_info structure const. net: Add helpers to get sockaddr pointer net: tcp: Initial TCP functionality net: tests: Add TCP unit tests iot/zoap: Temporarily disable block size transfer test net: Adapt to new behavior of net_buf_frag_add v2 slip: Fix hexdump print net: ieee802154: The lqi value was removed incorrectly tests: net: 6lo: Make sure no error in microkernel net: ieee802154: Check data frame start correctly net: ieee802154: MAC address needs to be stored in big endian format net: ieee802154: Transform MAC between big and little endian net: Make DEBUG config option naming consistent net: Add support for embedding extra data to routing entries net: Add utility function to routing to return neighbor entry net: Make neighbor add function available net: Add API to set the IPv6 reachable timer net: Moved IPv6 neighbor information struct to ipv6.h file net: Add support for link cb in net_if net: Call context send cb when packet has been really sent net: Add utility function to return neighbor by index net: route: Add function to remove route by nexthop net: Add func that checks if address is global multicast one net: Add multicast route API support net: IPv6 neighbor debug prints enhanced net: Add function to traverse through IPv6 routes net: Neighbor cache did not link ll address properly net: Get IPv6 neighbor by using index net: Add utility to go through all network interfaces net: Add helper to check if the IPv6 address is part out subnet net: Add helper to find default IPv6 router net: Add IPv6 extension header type values to net_ip.h net: Add helpers to get network interface IPv6 addresses net: rpl: Initial commit net: rpl: MRH Objective Function support net: rpl: Objective Function Zero support net: tests: Unit tests for RPL net: Add IPv6 routing support net: Add more ICMPv6 option definitions net: nbuf: Add function to add stuff to IPv6 extension map net: Add IPv6 extension option defines net: Add extra parameter to ICMPv6 error API net: Add HBHO IPv6 extension handling support net: tests: Send IPv6 hop-by-hop option to IP stack net: rpl: Add IPv6 RPL option handling net: Fix IPv6 address debug print net: Create a separate buffer when sending IPv6 NA net: Try to send IPv6 packet even if default route is missing net: Network stack analyzer re-factored net: Add helper to return network buffer information net: Add util to send ICMPv6 Echo-Request packet net: Add network utilities shell support net: apps: Set the IPv6 source address preferred for echo-server net: Fix net_nbuf_write() documentation net: Clarified the net_send_data() function return value net: Add util that checks if the IPv4 address is multicast one net: Do not send ICMP error if dst address is multicast one net: apps: Set the IPv6 source address preferred for echo-client net: Update ll reserve in net_context_sendto() net: Add util to return IPv4 ANY address net: Allow binding to any IP address net: ipv6: Move unspecified address getter to ipv6.c net: ipv4: Move broadcast address getter to ipv4.c net: nbuf: Fix UDP and TCP start of the packet calculation net: Replace deprecated kernel init level net: nbuf: Add more debugging if ref count is wrong net: Add more debugging when receiving invalid packet samples: net: Bind any IPv6 address by default in echo-server samples: net: Fix echo-server UDP packet sending net: Remember IPv6 extension header len when packet is received net: ipv6: Validity time is already in host byte order net: Add util to update IPv6 address validity time net: ipv6: Fix network interface address lifetime handling net: ipv6: Print info about unknown RA options net: ipv6: RA messages were incorrectly handled net: Add util to update router lifetime net: Add util to remove an IPv6 router from the network interface net: Fix IPv6 router lifetime handling samples: net: echo apps: Do not set preferred IPv6 address net: Replacing TICKS_UNLIMITED by K_FOREVER net: shell: Fix hostname parsing for ping command net: Add util to check if IPv4 address is a loopback one net: Add util to check if IPv4 address is unspecified net: ipv4: Add utils to create IPv4 network packet net: Add IPv4 address string max length net: Add util to send IPv4 ICMP Echo Request packet net: Check loopback and unspecified address in sending net: Fix net_addr_pton() IPv4 address parsing net: shell: Add IPv4 ping support tests: buf: Do not depend on IP stack net: Avoid compiler warning when compiled for Arduino 101 ARC net: rpl: Add RPL option to IPv6 HBHO extension header tests: net: Change the tag of network tests to net net: Fix unknown func call when getting stack vars net: Use alignment macros when copying IP address ethernet: ksdk: Use unified kernel API net: Declare a macro to define stacks used by networking net: shell: Add command to print stack usage info net: Move stack related Kconfig options to Kconfig.stack net: rpl: Increase the RX stack usage net: mgmt: Use macro to define the stack drivers: ieee802154: RX stack debug enhancements net: dhcpv4: Fix debug output samples: net: Do not use static address in DHPCv4 samples: net: Bind to any IPv4 address by default net: Add support for setting up sample apps IP addresses samples: net: echo apps can use IP address set in config file net: udp: Add util to create UDP packet net: Fix menuconfig for setting up samples IP addresses samples: net: Fix echo-server compilation error net: rpl: Use unified kernel API net: Increase the default network connection count net: Add initial IP stack offloading support net: Add util to loop all network contexts net: Local address family was not set in net_context net: shell: Add command to view active network contexts net: tcp: Add util to loop through all TCP connections net: shell: Print info about active TCP connections net: ICMPv6 Echo-Reply message was incorrectly setup ethernet: Add driver initialization priority to Kconfig net: Remove legacy Contiki based uIP stack net: Make native IP stack the default net: net_send_data() should not free the net_buf net: Check duplicate IPv6 address when adding address net: Check duplicate IPv6 prefix when adding it net: Check duplicate IPv4 address when adding address net: Drop IPv4 and IPv6 packet if size is wrong net: ipv6: Check extension header No Next Header net: Fix stack info collector in net shell net: arp: Add ethernet header if it is missing net: ipv6: Fix debug print when DAD fails net: ipv6: Make NA sending function public net: if: Print IPv6 prefix lifetime timeout value tests: net: ipv6: Fix prefix test tests: net: ipv6: Wrong IP address was added to cache tests: net: ipv6: Add test for neighbor advertisement net: todo: Removed already done tasks samples: net: Convert the echo apps config files to native stack samples: net: Remove prj.mdef file from echo sample apps samples: net: Use board specific conf file for echo apps samples: net: Use qemu_x86 config file by default for echo apps samples: net: Do not quit echo-server if sending fails net: icmpv6: Do not set destination ll address samples: zperf: Port to native IP stack net: nbuf: Provide metadata info for sent TCP buf net: Moved net/ to subsys/net net: tcp: Fixing the constness of TCP state debug string MAINTAINERS: Fix the location of IP stack doc: net: Fix the path and description of the IP stack Merge net branch into master net: Fix possible null pointer dereference in nbuf net: icmpv6: Removing dead code net: tcp: Allocate space for TCP header net: ipv6: Check neighbor pointer in NS reply timeout net: ipv6: Fix IPv6 prefix comparision net: nbuf: Check possible null pointer access net: buf: Use TCP sent_list variable only if needed net: nbuf: Fix debug prints in memory pool init and unref net: context: Add status to connect callback net: echo-server: Use net_buf_frag_del() return parameter net: echo-server: Discard 0 byte received packets Merge net branch into master net: tcp: Only return -ETIMEDOUT if timeout>0 in connect net: echo-client: Add TCP support Merge net branch into master net: tcp: Call connect callback later net: Increasing the default number of network contexts samples: zperf: Use native IP stack for TCP support samples: zperf: Enable TCP for zperf configuration doc: net: Migrate from Zephyr 1.6 to 1.7 net: nbuf: Removing dead code from net_nbuf_compact() net: tests: Add unit tests for net_nbuf_compact() tests: net: rpl: Fix unicast NS sending tests: net: Add tests for network interface net: nbuf: Do no use timeout if called from isr net: stats: Collect bytes sent and received net: ipv6: Use the nexthop when sending the packet samples: net: zperf: Initialize address family properly samples: net: zperf: Fix udp.upload command samples: net: zperf: Fix compiler warnings samples: net: zperf: Set the proper UDP payload Merge net branch into master samples: net: Fix invalid memory access for TCP drivers/eth/mcux: Free net_buf using net_nbuf_unref net: ipv6: Fix pending buf leak when NA is received net: ipv6: Free received NA net_buf net: todo: Add CAN support entry net: nbuf: Add timeout to net_buf getters net: nbuf: Add helper to print fragment chain net: nbuf: Remove dead code in net_nbuf_compact() net: nbuf: Fix double free in net_nbuf_compact() net: arp: Fix the ethernet header location Merge net branch into master checkpatch: Remove reference to legacy IP stack Merge net branch into master net: nbuf: Fix constness of data param in net_nbuf_append net: if: Change the addr param type in net_if_ipv6_maddr_add/rm net: context: Fix the multicast address lookup in bind net: if: Change the iface param in net_if_ipv6_maddr_lookup Merge net branch into master Merge net branch into master samples: net: Remove obsolete prj_slip.conf from echo-* samples: net: Remove the README file samples: net: Add README.rst to echo apps Merge net branch into master Julien Chevrier (1): net: iface: Fix bad comparisons in net_if Julien Delayen (6): arc: Add cc to clobber list for sleep instruction arc: Define _arc_v2_irq_unit device arcv2_irq: Add power management suspend/resume arcv2_timer0: Add suspend and resume support power: Add ARC core suspend and resume support power_mgr: Update sample app with ARC DEEP_SLEEP Juro Bystricky (4): test_thread_init.c: fix build error Makefile.toolchain.zephyr: Modifications for SDK 0.9 Makefile (arc/soc/em*): New compiler options Makefile (arc/soc/quark_se): New compiler options Kumar Gala (63): Merge remote-tracking branch 'origin/arm' drivers: bluetooth: nble: remove unneeded include path additions drivers: usb: remove unneeded include path additions drivers: timers: remove unneeded include path addition drivers: slip: remove unneeded include path addition samples: disable single threaded hello world for configs that fail sanity_chk: add nucleo_f411re to arm list of boards for sanity Merge arm branch into master Merge "Merge arm branch into master" Revert "sanitycheck: reduce number of unnecessary configuration builds" arm: nordic_nrf5: Cleanup Kconfig dependencies for timer and clocks Bluetooth: remove arduino_101_ble from test_controller_dbg samples/tests: reduce ram & code size for failing tests on nRF5x boards tests/sensors_n_z.conf: fix duplicated setting of CONFIG options board: quark_se_c1000_ss_devboard: remove duplicate CONFIG_UART_CONSOLE board: nucleo_f411re: fix newline missing at end of file kernel: have boot banner depend on console existing Merge arm branch into master net: Remove NET_SLIP choice from Kconfig arm: kinetis: Remove duplicate & unused defines arm: nvic: kill _NvicSwInterruptTrigger uart/stm32: add STM32F3X support for uart arm: cmsis: Remove unused code from scb/scs layers arm: cmsis: Introduce CMSIS layer arm: cmsis: Convert DO_REBOOT to use CMSIS arm: cmsis: Convert systick to CMSIS arm: cmsis: Convert relocate_vector_table to use CMSIS timer: nrf_rtc: Use CMSIS NVIC APIs directly clock_control: nrf5_power: Use CMSIS NVIC APIs directly Bluetooth: Controller: Use CMSIS NVIC APIs directly tests: arm_irq_vector_table: Use CMSIS NVIC APIs directly Merge arm branch into master tests: newlib: disable bluetooth for now build: Use ZEPHYRINCLUDE when building offsets.o ext: hal: nordic: cleanup Kbuild for now Bluetooth: hci_raw: Make bt_buf_get_rx args consistent samples: zperf: cleanup types for constant arrays usb: Change transfer_len type to int32_t in usb_request_handler typedef samples: webusb: fix type of bytes_read fat: match type info expected by fat library for f_write arm: cmsis: Convert _ScbExcPrioSet to NVIC_SetPriority arm: move exception priority to exc.h arm: cmsis: Remove nvic.h and use CMSIS NVIC calls directly arm: refactor clearing of exception faults to common code arm: cmsis: Convert _ScbNmiPend to use direct CMSIS register access arm: cmsis: Convert _ScbPendsvSet to use direct CMSIS register access arm: cmsis: Convert _ScbIsInThreadMode to use direct CMSIS register access arm: scb: Move SCB asm defines into cpu_idle.S Merge arm branch into master net: ip: stat: fix typo in rpl.dio.sent stat arm: cmsis: Convert _ScbIsNestedExc to use direct CMSIS register access arm: cmsis: Convert FaultEnable to use direct CMSIS register access arm: cmsis: Convert _ScbActiveVectorGet to use direct CMSIS register access arm: cmsis: Convert _ScbHardFaultIsForced to use direct CMSIS register access arm: cmsis: Convert _ScbDivByZeroFaultEnable to use direct CMSIS register access arm: cmsis: Convert _Scb*FaultIs* & _ScbIs*Fault to use CMSIS register access arm: cmsis: Convert _Scb*FaultAddrGet to use direct CMSIS register access arm: cmsis: Convert printing of MMFSR, BFSR, and UFSR to CMSIS arm: cmsis: Convert _ClearFaults to use direct CMSIS register access arm: cmsis: Convert _Scb*Fault*Reset to use direct CMSIS register access arm: cmsis: cleanup use of _SCS_CPACR_CP1{0,1}_Pos define arm: cmsis: Remove last bits of scs/scb as we've converted to CMSIS toolchain.gccarmemb: set DTC for building targets that use devicetrees Kuo-Lang Tseng (8): drivers: QMSI AON counter: Simplify driver reentrancy code drivers: QMSI WDT: simplify driver reentrancy code using IS_ENABLED macro drivers: QMSI GPIO: simplify driver reentrancy code using IS_ENABLED macro ext qmsi: Update to QMSI 1.4 RC2 drivers: QMSI SOC flash: simplify driver reentrancy code using IS_ENABLED drivers: QMSI RTC: simplify driver reentrancy code using IS_ENABLED drivers: QMSI PWM: simplify driver reentrancy code using IS_ENABLED macro samples: bmi160: use correct device name LIU, Sharron (2): tests: kernel: added mbox api test tests: kernel: added test_thread_init Leandro Pereira (60): net: tcp: Use macros from byteorder.h to obtain ints net: tcp: Change TCP state to listen on call to net_context_listen() net: tcp: Return -EOPNOTSUPP for non-TCP in net_context_listen() net: tcp: Ensure iface set in LISTEN state on SYN_RCVD state net: tcp: Drop early when accepting without accept callback net: tcp: Put new_connection on handshake failure net: tcp: Master socket should never go to ESTABLISHED state net: tcp: Correctly calculate SYN_ACK ack# net: tcp: Correctly set remote address when accepting connections net: Do not dereference context before asserting net: ipv6: net_ipv6_create() should know about TCP net: tcp: Print TCP flags as a string rather than individual bits net: tcp: Add better type safety for connection handlers net: Print more debug messages when processing corrupted buffers net: Fix connection-in-use test while unregistering connection net: tcp: Provide NET_TCP_FLAGS macro net: tcp: Implement passive close (FIN packets in ESTABLISHED state) net: tcp: On error, dispose of net_buf when sending control segment net: tcp: Implement part of active connection close net: Allow changing the callback of a connection net: tcp: Implement the rest of active close machinery net: tcp: Reduce some of the boilerplate to send control segments net: Implement net_context_send() in function of net_context_sendto() net: tcp: Allow sending packets using send() and sendto() samples: net: Finish TCP support in echo server net: tcp: Disallow sending messages to unconnected contexts net: udp: Remove protocol check in (private) net_udp_append() net: Fix compile warnings when building with UDP disabled net: tcp: Send a FIN|ACK when transitioning from ESTABLISHED->LAST_ACK net: tcp: No need to #if defined(TCP) inside TCP callback net: tcp: Validate state transitions for debugging purposes net: Remove duplicated return statement net: tcp: Handshake ACK timeout should transition to LISTEN net: tcp: Print all the reasons a RST segment is sent net: tcp: Fix state transitions during handshake net: tcp: Be more careful before dereferencing pointer in accept() net: tcp: Print pointer to state when transitioning net: tcp: Revisit implementation of passive close net: tcp: Calculate ack# correctly when receiving data net: tcp: While disposing connection, properly check net_tcp pointer util: Add PART_OF_ARRAY() to check if pointer points to array element net: Use PART_OF_ARRAY() macro net: tcp: Send FIN packet when transitioning to LAST_ACK util: Ensure ARRAY_SIZE() will only take arrays net: tcp: Add more debugging messages when disposing connections net: tcp: Check for NET_TCP_IS_SHUTDOWN flag when sending/receiving net: tcp: Be more consistent with namespaces for private funcs net: tcp: Remove unused `retransmit_timer` field from `net_tcp` net: tcp: Store return value of net_buf_frags_len() on a size_t net: tcp: Use appdatalen when acknowledging packets net: slip: Do not remove fragments when sending data net: tcp: Ensure all timers are disposed of when releasing context net: tcp: Use an uint8_t for retry timeout instead of an uin32_t net: tcp: Remove unused `recv_ack` field from TCP context net: tcp: Get rid of `recv_mss` field from TCP struct net: tcp: Reduce size of `state` member from 32 to 4 bits net: tcp: When retransmitting, hold an extra, temporary reference scripts: Add device tree parser script samples: net: Add IRC bot example kernel: Add OpenOCD support Lee Jones (5): pinmux/stm32l4: Add support for STM32L SPI1 and SPI3 pinmux/nucleo_l476rg: Define pinmuxing for SPI1 and SPI3 Bluetooth: Add HCI SPI driver Bluetooth: samples/beacon: Print message at start of sample Bluetooth: Kconfig: Specify stack size for Bluetooth SPI Louis Caron (1): Bluetooth: fix write cmd handling Luiz Augusto von Dentz (70): Bluetooth: GATT: Fix using att_ prefix Bluetooth: GATT: Fix using out of scope variable Bluetooth: L2CAP: Fix regression with move to k_sem API net: buf: Use NET_BUF_SIMPLE_ASSERT with net_buf_simple API net: buf: Fix warnings related to legacy API net: buf: Assert on invalid parameters net: buf: Add debug for fragments net: buf: Add extra logic when debug is enabled net: Add initial Bluetooth support using native IP stack net: Add TODO item for Bluetooth net: Kconfig: Add NET_NBUF_USER_DATA_SIZE net: Adapt to new behavior of net_buf_frag_add net: l2: Fix warning when building Bluetooth driver net: l2: Enable security for bluetooth driver net: l2: Make NET_DEBUG_L2_BLUETOOTH depend on NET_L2_BLUETOOTH net: bt: Print data length for both recv and send net: bt: Remove comments about nbuf extra references Bluetooth: L2CAP: Fix segmentation Bluetooth: L2CAP: Fix possibly reading past the end of buffer Bluetooth: Fix bt_conn_lookup* Bluetooth: GATT: Fix using bt_addr_le_cmp with destination address Bluetooth: GATT: Update CCC addresses Bluetooth: samples: Add extern "C" { } block to GATT header files net: echo_server: Enable Bluetooth support net: echo_client: Enable Bluetooth support net: Remove unnecessary k_wakeup net: echo_client: Fix using CONFIG_NETWORKING_WITH_BT Bluetooth: ipsp: Port sample to native stack Bluetooth: ATT: Fix using k_fifo API with net_buf net: if: Add NET_IF_UP flag net: l2: Add enable callback net: mgmt: Make NET_MGMT_GET_* macros return meaningful values net: mgmt: Decode event fields net: echo_client: Fix using CONFIG_NETWORKING_WITH_BT net: echo_client: Don't start sending packets if interface is not UP net: bt: Fix not showing any logs net: bt: Add connect management command net: bt: Add shell support net: bt: Add scan management command net: bt: Add scan shell command net: bt: Add disconnect management command net: bt: Add disconnect shell command net: echo_client: Enable CONFIG_NET_L2_BLUETOOTH_SHELL in prj_bt.conf net: zoap_server: Enable connecting with bluetooth Bluetooth: L2CAP: Fix using CONFIG_BLUETOOTH_RX_BUF_LEN as MTU Bluetooth: IPSP: Reuse buffer fragments instead of copying Bluetooth: L2CAP: Make sure state is correctly updated Bluetooth: L2CAP: Fix always using RX_BUF_COUNT as initial credits net: zoap-client: Add bluetooth support net: zperf: Add bluetooth support net: bt: Fix not checking channel state net: bt: Fix warning when compiling without debug net: bt: Fix not checking for valid ll addresses Bluetooth: L2CAP: Only set state for dynamic channels net: bt: Fix failing to resolve link-local address net: Add ll addresses on net_if_send_data net: Introduce NET_IF_POINTOPOINT flag net: bt: Add Kconfig to interoperate with Linux net: samples: Add CONFIG_NET_L2_BLUETOOTH_ZEP1656 Bluetooth: GATT: Fix not removing subscriptions safely Bluetooth: GATT: Fix not updating previous node slist: Introduce CONTAINER macros tests/slist: Exercise CONTAINER macros dlist: Introduce CONTAINER macros tests/common: Add tests for sys_dlist_* kernel: Use SYS_DLIST_FOR_EACH_CONTAINER net: Convert FOR_EACH macro instances to use CONTAINER Bluetooth: Convert FOR_EACH macro instances to use CONTAINER drivers: Convert FOR_EACH macro instances to use CONTAINER Bluetooth: GATT: Fix compilation error Mahavir Jain (8): doc: fix ring_buffer code snippet sample: dhcpv4_client: use unified kernel APIs net: shell: Fix warning in case CONFIG_NET_IPv6 is not enabled samples: net: Use unified kernel interface for sem/queue declaration ethernet: enc28j60: use unified kernel interface work_q: delayed work cancel returns incorrect status kernel: include kernel version in boot banner kernel: replace .BSS and .DATA setup with standard library calls Malcolm Prinn (1): net: iface: Fix typo in net_if_down Marcus Shawcroft (106): gpio: Document public API return codes. gpio: Add doxygen markup for internal only definitions. sensor: Remove unsued LSM6DS0_SYS_LOG_LEVEL config. sensor/lsm6ds0: Fix filename in comment. sensor/lsm6ds0: Limit name space, add static. sensor: Remove unsued LPS25HB_SYS_LOG_LEVEL config. sensor/lps25hb: Fix filename in comment. sensor/lps25hb: Limit name space add static. sensor/fxos8700: Switch to generic SYS_LOG_SENSOR_LEVEL sensor/lsm9ds0_mfd: Fix logging configuration. sensor/lsm9ds0_gyro: Fix logging configuration. sensor/lsm9ds0_gyro: Fix filename in comment. sensor/lsm9ds0_gyro: Limit name space, add static. sensor/bmc150: Fix logging configuration. sensor/bmc150: Fix filename in comment. sensor/bmc150: Limit name space, add static. Fix Kconfig formatting. net: dhcpv4: Implement XID net: dhcpv4: Add received message debug. net: dhcpv4: Issue an NET_INFO when dhcpv4 allocates an IP. net: dhcpv4: Adjust debug diagnostic wording. net: dhcpv4: Adjust DHCPv4 debug config wording. kernel: Fix ARM irq_lock() ordering bug. arm: fix irq_unlock() ordering bug i2c: Add doxygen markup for internal only definitions. kernel: Fix CC clobber in cortex_m4 irq_lock() arm: Refactor cortex-m4 irq_lock tmp handling. arm: Refactor irq_lock inline asm formatting. sensor: Add nRF5 temperature driver. samples: Add thermometer Remove application calls to sys_rand32_init. random: Rewrite sys_rand32_init() with SYS_INIT() arm: Fix irq offload inline asm memory ordering. tests: Remove unnecessary CONFIG_TEST_RANDOM_GENERATOR random: Restructure RANDOM Kconfig net: Switch net dependency to CONFIG_RANDOM_GENERATOR k64f: Default the ETH_KSDK on if NET_L2_ETHERNET enabled. dhcpv4_client: Remove unnecessary ETH_KSDK configuration. dhcpv4: Adjust prj file selection. echo_server: Fix frdm_k64f build in the absence of CC2520 net: Device driver_api is const, honour it. ieee802165: Device driver_api is const, honour it. eth/config: Group ethernet driver configuration into one menu. eth/enc28j60: CONFIG_ETHERNET no longer exists. eth/ksdk: Use k_sem_init() initial count eth/ksdk: Use k_sem instead of nano_sem random: Introduce random device API. samples: Add random driver sample. dhcpv4: Report address acquisition. samples/dhcpv4: Add missing NET_MGMT configury. net/dhcpv4: Correct spellings in comments. net/dns: Drop unnecessary ETH_KSDK configuration. net/dhcpv4: Re-instate init_app() ethernet/arp: Use gateway for non local ipv4 routing. dhcpv4: Add option parsing diagnostics. net/dhcpv4: Use router option to set IPv4 GW. net/dhcpv4: Use net_if_ipv4_set_netmask() gpio: Fix spelling mistake. Fixup indentation. sensor/nrf5_temp: Drop unncessary attribute set callback. sensor/bmc150: Drop unncessary external definition. sensor/bmc150: Fix layout. sensor: Fix samples that assume incorrect sensor_value type. arm: Fix assembler layout. arm: cortex-m memory map is CPU specific arm: Restructure ARM cpu related preprocessor conditionals. arm: Replace CONFIG_CPU_CORTEX_M0_M0PLUS with CONFIG_ARMV6_M arm: Replace CONFIG_CPU_CORTEX_M3_M4 with CONFIG_ARMV7_M arm: Adjust cortex-m7 support to reflect its ARMv7-M architecture. echo_server: Remove unnecessary config from prf_frdm_k64f.conf gpio: Support drive strength configuration. gpio/nrf5: Support drive strength configuration. gpio/stm32: Move from the OPEN_DRAIN interface to the DRIVE_STRENGTH interface gpio: Merge the OPEN_DRAIN interface with the DRIVE_STRENGTH interface. i2c: Sort Makefile in alphabetical order. i2c/nrf5: Implement NRF5 I2C driver. boards/bbc_microbit: Enable and configure default I2C_NRF if I2C is enabled. i2c/nrf5: Remove r/w to POWER register. libc/minimal: Fix definition of ssize_t gpio: Clarify API gpio/nrf5: Fix GPIO_ACCESS_BY_PIN behaviour gpio/nrf5: Implement port read and write i2c: Implement consistent i2c no msgs behaviour i2c: Remove unused definition. i2c/stm32lx: Fix layout. i2c/dw: Switch from EPERM to EIO i2c: Name parameters consistently. i2c: Elaborate API return values gpio: Error GPIO_INT with GPIO_DIR_OUT consistently. gpio: Error pin out of range consistently. gpio: Error unsupported access_op consistently. samples/mbedtls_dtls_client: Use k_uptime_get_32() samples/mbedtls_dtls_server: Use k_uptime_get_32() samples/mbedtls_dtls_client: Fix wild write in entropy_source samples/dhcpv4_client: Reduce default debug to dhcpv4 samples/dhcpv4_client: Increase number of DATA buffers. samples/dhcpv4_client: Switch from private net_sprint_ipv4_addr to public net_addr_ntop net/dhcpv4: Add further diagnostics. net/dhcpv4: Use unique XID on each request. net/dhcpv4: Correct backoff and retransmit behaviour net/dhcpv4: Ensure the retransmission attempts counter gets reset. scripts: Fix hardwired python path in extract_dts_include.py eth/mcux: Add basic PHY support. net/dhcpv4: Fix event/state mismatch net/dhcpv4: Remove unused dhcpv4 offer state net/dhcpv4: Ensure udp header checksum is computed correctly Mariusz Skmara (1): Bluetooth: Fix not sending L2CAP Connection Parameters Update Request Marti Bolivar (2): serial: fix up uart_poll_in docstring doc: Bluetooth: fix "Initialization" section Matthias Boesl (1): board: add initial support for Nucleo-64 with Soc STM32F411RE Maureen Helm (66): fxos8700: Add support for data ready trigger frdm_k64f: Add fxos8700 defaults hexiwear_k64: Add fxos8700 defaults samples: Add fxos8700 sample application pinmux: Introduce new ksdk pinmux driver frdm_k64f: Add pin init using ksdk pinmux driver hexiwear_k64: Add pin init using ksdk pinmux driver k64: Change the default pinmux driver to the ksdk one pinmux: Deprecate the k64 pinmux driver frdm_k64f: hexiwear_k64: Fix basic blinky sample frdm_k64f: Fix basic button sample sensor: Introduce tap and double tap triggers fxos8700: Add support for tap and double tap triggers net: samples: Fix stale yaip references hexiwear_k64: Disable unused pinmux ports by default frdm_k64f: Disable unused pinmux ports by default pinmux: Merge ksdk pinmux dev into regular ksdk pinmux driver pinmux: Remove stale ksdk pinmux dev references samples: net: Remove unnecessary eth_ksdk project settings ksdk: mcux: Rename ksdk to mcux ethernet: Rename ksdk to mcux i2c: Rename ksdk to mcux random: Rename ksdk to mcux flash: Rename ksdk to mcux pinmux: Rename ksdk to mcux ksdk: mcux: Remove config HAS_KSDK MAINTAINERS: Rename ksdk to mcux pinmux: Init mcux pinmux driver in PRE_KERNEL_1 k64: Move uart console pins to board pinmux tables hexiwear_k64: Fix i2c pinmux settings frdm_k64f: hexiwear_k64: Fix accel interrupt pinmux settings gpio: Introduce new mcux gpio driver frdm_k64f: hexiwear_k64: Add defaults for the mcux gpio driver samples: net: Add support for the mcux gpio driver k64: Change the default gpio driver to the mcux one samples: net: Remove support for the k64 gpio driver frdm_k64f: hexiwear_k64: Remove defaults for the k64 gpio driver samples: net: Use mcux pinmux driver for frdm_k64f_cc2520 projects gpio: Remove the k64 gpio driver pinmux: Remove the k64 pinmux driver k64: Remove port clock enables from the soc init serial: Introduce new mcux shim driver frdm_k64f: hexiwear_k64: Add defaults for the mcux serial driver k64: Change the default serial driver to the mcux one frdm_k64f: hexiwear_k64: Remove defaults for the uart_k20 driver serial: k64: Remove the uart_k20 driver gpio: serial: Fix NXP copyright spi: Add shared default configs spi: Introduce new mcux shim driver k64: Change the default spi driver to the mcux shim tests: Update spi driver test for mcux samples: net: Increase spi log level spi: k64: Remove the k64 spi driver fxos8700: Fix broken gpio callback implementation samples: fxos8700: Decimate sensor data before printing to the console samples: fxos8700: Convert documentation to RST mcux: Import mcux for kw41z flash: Update mcux shim to new mcux version serial: Introduce new mcux lpuart shim driver k64: Rename security_frdm_k64f section kw41z: Add kw41z SoC frdm_kw41z: Add frdm_kw41z board MAINTAINERS: Add frdm_kw41z board frdm_k64f: Add RST board documentation hexiwear_k64: Add RST board documentation Merge arm branch into master Max Filippov (1): xtensa: support 'make qemu' target Mazen NEIFER (63): kernel: init: use C implementation for STACK_CANARY_INIT Xtensa port: Started port to for Xtensa cores family. Xtensa port: Added board config files for Xtensa simulator paltform Xtensa port: Added support for XCC, the Cadence Systems Inc compiler Xtensa port: Added kernel arch dependent structs and functions. Xtensa port: Added Xtensa header generic files. Xtensa port: Fixed typo in XCC toochain specific make file. Xtensa port: Added Xtensa specific include files. Xtensa port: Added support for Xtensa cores in toolchain/gcc.h. Xtensa port: Added support in arch/cpu.h for Xtensa cores. Xtensa port: Remove XCC warning about unrecognized CLI option. Xtensa port: Added fields offset support for kernel and thread structures. Xtensa port: Added Kbuild file for Xtensa arch. Xtensa port: Added support for Xtensa architecture in zephyr include files. Xtensa port: Added support for Xtensa architecture to linker-defs.h. Xtensa port: Removed the need to put an empy file soc.c in arch/xtensa/soc dir. Xtensa port: Added Xtensa internal timer configuration need by assembly files. Xtensa port: Added support for Xtensa simulator console driver. Xtensa port: Added Xtensa specific code (C + S) files. Xtensa port: Fixed tests/kernel/context to compile with Xtensa internal timer. Xtensa port: Enable long calls for Xtensa vector table. Xtensa port: Moved XCC specific libraries out of genric Xtensa make file. Xtensa port: Added linker script for several Xtensa cores. Xtensa port: Define __builtin_unreachable() as CLI macro when using XCC. Xtensa port: Changed simulation support with xt-run/xtsc-run to be qemu like. Xtensa port: Fixed assembly comments to be accurate with code. Changed Kbuild to pass also KBUILD_CPPFLAGS to CC on addition to KBUILD_CFLAGS. Xtensa port: Added support for Xtensa internal timer as system timer. Xtensa port: Replaced call to legacy sys_thread_self_get by one to k_current_get Xtensa port: _thread_entry shall use call4 to start the thread. Xtensa port: Let xcc specific make file override unsupported -Og with -O0. Xtensa port: Removed compiler warnings about printf formats/arguments mismatch. Xtensa port: Added missing initalization of thread base sturct in _new_thread. Xtensa port: Removed warnings related to function _NanoFatalErrorHandler. Xtensa port: Fixed Swap function not updating _kernel.current. Xtensa port: Fixed RAMABLE_REGION in linker scripts. sanitycheck: support other simulators (xt-run and/or xtsc) than QEMU. gitignore: Ignore Eclipse (Xtensa Xplorer) project files. Xtensa port: Fixed function setting Sawp return value. Xtensa port: Enable console when building for Xtensa simulator as board. Fixed compilation error caused by bad initialization of unamed union field. Xtensa port: Increased idle thread stack size to avoid stack overflow. Xtensa port: Removed duplicate file and renamed to sys_io.h as other platforms. Xtensa port: Fixed linker script for hifi_mini core. Xtensa port: Use directly assmebler and linker instead of via the compiler. sanitycheck: Fixed displayed log when current directory is a symbolic link. Xtensa port: Removed duplicate code and fixed update of current thread pointer. Xtensa port: Restore interrupted context the same way as premption resume. Xtensa port: Moved coprocessor stack area on bottom of stack, just after TCS. Xtensa port: xt*-run requires options to be passed before file to be ran. Xtensa port: Set Swap function result to -EAGAIN. Xtensa port: Removed unsupported c++ flags cuasing xt-c++ to throw an error. Xtensa port: Connect Xtensa timer to tick IRQ in legacy test_context. Xtensa port: Fixed memory corruption in interrupt handler exit function. Xtensa port: Fixed defintion of MAX_HEAP_SIZE, thus, compilation of new_lib. Xtensa port: Added support for sample_controller core and set is as default. Xtensa port: Fixed scheduling bug caused to missing Endianess related macros. Xtensa port: Prevent preemption of locked threads. Xtensa port: Fixed compilation errors caused by last rebase on master. Xtensa port: Fixed Xtensa timer in case of tickles idle. tests: Introduced new config option to add extra stack size for tests. xtensa port: Added arch .ini file to support xt-sim Xtensa port: Removed trailing spaces and unused macros. Reformatted comments. Michael Scott (52): net: l2: bluetooth: Fix build break in ipsp_disconnected net: net_context: state setting is a value not individual bits net: tcp: replace seq/ack/wnd value shifts with system calls net: ip: on synack copy local/remote data prior to net_tcp_register net: ip: set local address family during TCP connect net: ip: set context state to NET_CONTEXT_CONNECTED on synack success net: ip: reword appdata debug message in packet_received net: ip: save TCP seq/ack values in tcp_synack_received net: linkaddr: calculate linkaddr storage addr size via config net: linkaddr: introduce net_linkaddr_set function net: ipv6: fix NULL reference in handle_ra_neighbor net: route: remove extra variable use in net_route_add() net: tcp: remove unused semaphore tcp_lock net: tcp: in tcp_establish save TCP flags for post-processing use net: tcp: handle TCP_FIN after processing any data in the buffer net: tcp: don't assume TCP_FIN buffers are NET_DROP net: tcp: if buffer is TCP_FIN increment send_ack by 1 net: tcp: fix buffer leak in tcp_synack_received net: net_context: correct description of recv_data_wait in net_context net: tcp: move accept_cb from net_context to net_tcp net: tcp: add timeout wait in net_context_connect drivers: gpio: stm32: fix CONFIG_SOC_SERIES_STM32F4X build break net: correct in*_addr parameter of net_addr_pton() samples: net: irc_bot: run sample process as a thread samples: net: irc_bot: establish privmsg callback typedef samples: net: irc_bot: release net_context reference upon error samples: net: irc_bot: remove unneeded typecasts and extra var samples: net: irc_bot: add helper function in_addr_set() samples: net: irc_bot: remove sockaddr globals samples: net: irc_bot: make panic() more accessible samples: net: irc_bot: use #defines for server and port samples: net: irc_bot: make some functions more accessible samples: net: irc_bot: simplify connect path samples: net: irc_bot: expand some char buffers samples: net: irc_bot: fix null pointer deref samples: net: irc_bot: use irc parameter's connection samples: net: irc_bot: dont hardcode NET_SYS_LOG_LEVEL samples: net: irc_bot: modify disco check in on_context_recv() samples: net: irc_bot: create semi-unique IRC user names samples: net: irc_bot: handle messages across multiple fragments samples: net: irc_bot: add Linaro copyright samples: net: irc_bot: add FRDM K64F project .conf samples: net: irc_bot: add IPv4 support samples: net: irc_bot: add DNS support samples: net: irc_bot: add DHCPv4 support net: tcp: Only return -ETIMEDOUT if timeout!=0 in connect net: context: keep randomly assigned port for TCP bind() calls net: ip: change some error messages to NET_ERR net: context: fix net context / net conn leak samples: net: irc_bot: fix build break samples: net: irc_bot: fix size_t related build warnings samples: net: irc_bot: add testcase.ini Neil Armstrong (10): stm32l4: add initial soc support for stm32l4 stm32l4: add clock control driver stm32l4: add gpio support for l4 stm32l4: add exti support stm32l4: add pinmux for USARTs stm32l4: add pinconf for USARTs pinmux/stm32: add pinmux definition for i2c stm32l4: add pinconf settings for I2C stm32lx: add i2c driver for the L series nucleo_l476rg: add board support Paul Sokolovsky (11): pinmux: Make default init priority be between GPIO's prio and device prio. net: samples: Fix the echo-server IPv4 address net: Make net_context_get_ip_proto check correct flag. net: apps: Fix echo-server where IPv6 TCP context was used instead of IPv4 eth: ksdk: Update driver for native IP stack. eth: ksdk: Protect Ethernet frame buffer operations with IRQ lock. doc/porting/arch.rst: Typo fix. net: Set default NET_NBUF_RX_COUNT to 4. net: echo_server: Enable TCP for frdm_k64f doc: frdm_k64f: Document Eth PHY known issue eth/mcux: Add temporary workaround to unbreak IPv6 ND features. Piotr Mienkowski (13): net: Definitions for IEEE 802.3, Section 2 MII compatible PHY transceivers ext: Integrate Atmel SDK (ASF) files into Zephyr ext: Import Atmel SAM E70 header files from ASF library ext: Add missing header files symbols for Atmel SAM E70 ext: Import Atmel SAM3X header files from ASF library arch: Add Atmel SAM E70 SoC support arch: Add support for Atmel SAM E70 SoC configuration at boot boards: Add Atmel SAM E70 Xplained board support arch: Add pmc, gpio internal Atmel SAM drivers drivers: Add basic Atmel SAM USART driver drivers: Add Atmel SAM family GMAC Ethernet driver samples: net: echo_server .conf for Atmel SMART SAM E70 Xplained board ext: Atmel ASF: remove unused and broken preprocesor macros Piyush Itankar (3): Bluetooth: A2DP: Removes confirmation callback registration Bluetooth: A2DP: Adds accept state callback handlers Bluetooth: A2DP: Stream End Point Structure Prasanna Karthik (1): Bluetooth: nble: Catch and handle non-zero fn_index Punit Vara (1): samples: basic: Move pwm driver samples Qiu Peiyang (15): sensor: fix typo in Kconfig uart: fix typo in uart_console.h drivers: sensor: replace device sync APIs with semaphores i2c_qmsi_ss: add device_busy_set() to avoid re-enter deep sleep spi_qmsi_ss: add device_busy_set() to avoid re-enter deep sleep tests/gpio: fix typo driver: gpio: remove nano_timer code boards/pinmux: fix typo tests/gpio: don't call risk function tests/gpio: fix test GPIO_INT_LEVEL bug tests: add filesystem api test tests: add zephyr counter and timer api test pinmux: fix default pinmux driver for quark_se_ss tests/pwm: enable PWM case to work on D2000 board tests/gpio: fix test GPIO_INT_EDGE bug Ramesh Thomas (14): samples: power_mgmt: Cleanup and update with new pm interface samples: power_mgmt: Remove redundant sample power_hooks samples: power_mgmt: Remove platform filtering of testcases tests: power_states: Update testcase.ini to include arc tests: power_mgmt: Fix wrong value being passed to post_ops func quark_se: power_mgmt: Fixes a cpu context save bug quark_se_ss: power_mgmt: Fix a bug in call to sleep instruction doc: power_mgmt: Update PM doc with latest changes quark_se_ss: power_mgmt: Remove redundant int trigger setting quark_se_ss: power_mgmt: fix sleep mem ordering bug samples: power_mgmt: Convert README to RST format fs: Update external FAT FS source with new rev 0.12b samples: power: Remove mention of specific versions in README kernel: Remove redundant TICKLESS_IDLE_SUPPORTED option Ravi kumar Veeramally (98): net: Fix trivial comment errors in header files net: Add UDP header definition net: Use shorter alias for __packed attribute net: Add utility to remove ipv4 address from iface net: Add a utility to hexdump all fragments net: Clear ipv6 addr parameter on create iid net: Add support for 802.15.4 short address for iid creation net: Add utility to verify given addr based on ll net: Add initial 6lowpan IPHC compression support. net: tests: Add unit tests for 6lowpan functionality net: Fix typo and alignment in 6lo net: tests: Fix 6lo tests net: Change 6lo API returned parameter net: Add 6lowpan without compression header support net: Fix wrong UDP length calc in 6lo compression net: tests: Add unit tests for 6lo IPv6 dispatch net: Add support for IEEE 802.15.4 fragmentation net: Integrate 6lo and 802.15.4 fragmentation net: Add support for IEEE 802.15.4 re-assembly net: tests: Add fragmentation unit tests for 802.15.4 net: Change NET6LO_ defines to NET_6LO net: tests: Extented 6lo unit tests net: Add TODO items for 6LoWPAN net: tests: Remove broadcast and multicast tests from ARP net: Fix slip multipackets reception net: Fix arp/ethernet broadcast and multcast addr scenario net: Fix IPv4 packet reception net: tests: Add include dir only when specific options enabled net: Fix net address state net: Add DHCPv4 client support net: tests: Add DHCPv4 client unit tests net: apps: Add DHCPv4 client sample application net: Add nbuf APIs to read/write across multiple fragments net: Add unit tests for new nbuf API's net: Adopt new nbuf API's to dhcpv4 message handlers. net: Remove multiple declarations of net_ipv6_start_rs net: Adopt new nbuf API's to RA message handlers. net: tests: Add RA message unit tests. net: Adopt net_nbuf_read_be32() api to dhcpv4 handlers net: Adopt net_nbuf_read_u8 to dhcpv4 handlers net: Fix buffer leak in 6lowpan compression net: Fix buffer leak in ieee802154 fragmentation net: tests: Decrease the required buffers count net: Remove assert and return false in net_nbuf_write net: Fix ND RA length net: Add support for 6CO net: tests: Add sample 6CO context data to IPv6 RA test net: Add more inline helper functions in 6lowpan net: Add support for 6lo context based compression net: tests: Add 6lo context based unit tests net: Calculate UDP checksum in 6lowpan uncompression net: Fix net_nbuf_read corner cases net: Update TODO for DHCPv4 net: Fix net_nbuf_write buf ref count net: Fix slip compilation issue with debug option enabled net: Fix ARP requests error net: Rename net_nbuf_write to net_nbuf_append net: Fix typos in nbuf apis net: Implement net_nbuf_write net: Implement net_nbuf_insert net: tests: Add unit tests for net_nbuf_write/insert utilites net: Add IPv4 related events net: Notify IPv4 related events on interface net: tests: Update DHCPv4 test results based on events net: ieee802154: Add offset based reassembly feature samples: net: Fix DHCPv4 config options and run on its own thread net: 6lo: Handle destination address uncompression properly net: 6lo: Fix dereferencing null pointer net: dhcpv4: Remove dead code net: samples: Add ENC28J60 pin numbers to documentation net: samples: Print assigned address from DHCPv4 server samples: net: Add DHCPv4 sample application README file net: tests: Fix invalid config option in 6lo tests net: Fix 80 line character limit net: Use lighter printk() instead of printf() net: samples: Use lighter printk() instead of printf() net: tests: Use lighter printk() instead of printf() net: samples: Fix config option doc: net: Fix networking documentation net: ip: Check error conditions and return false net: 6lo: Verify src and dst link layer addresses net: dhcpv4: Fix tiny style issues net: 6lo: Fix tiny style issues net: tests: Add unit tests for net_addr_pton() utils function net: utils: Add net_addr_ntop() helper function net: tests: Add unit tests for net_addr_ntop() utils function net: context: Skip reserved ports net: context: Assign a random port number when context is created net: fragment: Fix the 802.15.4 fragmentation net: tests: 15.4: Increase max data size and fix config option net: nbuf: Remove unused net_nbuf_push() API net: nbuf: Fix net_nbuf_compact() API net: Ref net_buf using net_nbuf_ref net: tcp: Remove multiple checks on nbuf protocol family net: tcp: Remove multiple times of nbuf_compact() call net: samples: Unref net_buf using net_nbuf_unref net: tests: Unref net_buf using net_nbuf_unref net: samples: Unref the buf if app data length is zero Ricardo Salveti (11): arm: set default vector table address in prep_c when XIP arm/nordic_nrf5: enable SOC_FLASH_NRF5 by default if FLASH is enabled boards: 96b_nitrogen: Add button and LED definitions boards: 96b_carbon: Add LED definitions Bluetooth: SPI: fix buf handling for HCI ACL packets Bluetooth: SPI: fix Kconfig SPI IRQ PIN description Bluetooth: SPI: introduce CONFIG_BLUETOOTH_SPI_BLUENRG Bluetooth: SPI: fix max SPI buffer length Bluetooth: SPI: switch to a single SPI transfer when receiving Bluetooth: SPI: retry spi_transceive calls if invalid Bluetooth: SPI: Disable IRQ pin callback to avoid spurious IRQs Richard Peters (2): samples: net: Add .conf file for qemu_cortex_m3 in echo_* qemu_cortex_m3: fixed network connectivity Roger Lendenmann (1): Bluetooth: add storage flag for secure connection pairing LTK Ruslan Mstoi (1): samples: net: enable debugging with qemu target Sarath R Nair (1): quark_se: Save/restore debug registers. Sathish Narasimman (18): Bluetooth: AT: Improve API() to work with buffer increment Bluetooth: AT: Command parsing for range of values Bluetooth: AT: Rename API's which uses term 'stream' Bluetooth: HFP HF: SLC Connection send/parse CIND Bluetooth: AT: Change API name skip_whitespace to skip_space Bluetooth: HFP HF: SLC query indicators present value Bluetooth: samples: handsfree application indicator callback Bluetooth: HFP HF: SLC Enable indicator status report Bluetooth: AT: Reset AT and CMD state Bluetooth: HFP HF: Rename cind_status_handle_values Bluetooth: AT: Rename enum at_cmd_type elements Bluetooth: AT: HFP HF: Handle unsolicited reponse Bluetooth: HFP HF: Handle +CIEV reponse Bluetooth: HFP HF: Service level connection completed Bluetooth: HFP HF: Enable extended AG Error Result Code Bluetooth: HFP HF: Indicate disconnect to application Bluetooth: HFP HF: Disconnect rfcomm on SLC error Bluetooth: HFP HF: Remove unused variable 'buf' Sergey Kiselev (1): sensors: bme280: fix typo in reading trimming parameters Sergio Rodriguez (40): drivers: pwm: Fix uninitialized pointer tests: crypto: Fix unchecked return value on CTR PRNG test case samples: aio comparators: Use expected pointer type in printf drivers: gpio_k64: Remove contradictory if statement evaluation drivers: gpio_ss: Remove contradictory if statement evaluation drivers: gpio: Remove contradictory if statement evaluation samples: drivers: i2c fram : Exit from testcase if device not found samples: drivers: gpio: Exit from testcase if device not found soc: stm32f1: gpio: Fix unnecessary else statement drivers: gpio_atmel: Fix erronous if statement drivers: gpio_dw: Remove contradictory if statement evaluation samples: drivers: led_apa102c: Exit from testcase if device not found samples: drivers: current sensing : Exit from testcase if device not found samples/mbedtls_dtlsclient: mbedTLS sample DTLS client app. enc28j60: Fixes change to proper register bank samples/mbedtls_dtlsclient: mbedTLS sample DTLS client app on Arduino 101. samples/mbedtls_dtlsclient: mbedTLS sample DTLS compile on unified kernel. samples/mbedtls_dtlsclient: Removing unnecessary files samples/mbedtls_dtlsclient: Using unified kernel thread spawn API wpanusb: Fix include path samples: sensor: fxos8700: Check sample fetch return value drivers: sensor: fxos8700: Fix uninitialized variable samples/mbedtls_dtlsclient: Using semaphore for rx drivers: gpio_cmsdk_ahb: Fix erronous if statements samples/mbedtls_sslclient: Using native IP stack drivers: gpio_atmel: Fix erronous if statement tests: kernel: test_context: Porting legacy tests to unified kernel tests: kernel: test_critical: Porting legacy tests to unified kernel ext: lib: mbedtls : Upgrading mbedTLS library samples/mbedtls_dtlsclient: Using printk instead of printf samples/mbedtls_dtlsclient: Change Readme files to rst format samples/mbedtls_dtlsclient: Remove hardcoded IP adresses samples/mbedtls_dtlsclient: IPv6 client version samples/mbedtls_dtlsserver DTLS server example app using mbedTLS samples/coaps_server CoAP over DTLS server example app using mbedTLS samples/coaps_client CoAP over DTLS client example app using mbedTLS tests: context: Verify for out of bounds array driver: ethernet: Fix typo on enc28j60 driver Kconfig libc/include: Adding time.h samples/net/http: Add HTTP over TLS sample application Sharron LIU (15): tests: kernel: added test_workq_api tests: kernel: re-path mslab test tests: kernel: added memory slab api test tests: kernel: added memory slab concept test tests: kernel: added memory slab threadsafe test tests: kernel: added memory pool api test tests: kernel: added memory pool concept test tests: kernel: added memory pool configuration options test tests: kernel: added memory pool threadsafe test tests: kernel: msgq: fix unused value tests: kernel: mpool: fix unchecked return value tests: kernel: mpool: fix assert side effect tests: kernel: mbox_api: fix uninit variable and unchecked value tests: kernel: mem_heap: added api and concept tests tests: kernel: remove unsupported tests Stig Bjørlykke (1): iot/mqtt: Fix rlen_decode size check. Sudarsana Nagineni (1): usb: Add WebUSB enabled custom class support. Szymon Janc (30): Bluetooth: Fix use of deprecated PRIMARY init level Bluetooth: Kconfig: Fix BR/EDR dependencies Bluetooth: Fix address type use for passive scanning Bluetooth: Kconfig: Remove deprecated dependency for ECC support Bluetooth: tests: Fix Makefiles comments Bluetooth: Kconfig: Remove deprecated dependency on NANO_TIMEOUT printk: Add basic support for width modifier and zero padding Bluetooth: GATT: Fix primary service discovery response Bluetooth: Simplify ncmd handling Bluetooth: Account K_THREAD_SIZEOF in BT_STACK macros Bluetooth: Fix missing prototype config Bluetooth: L2CAP: Fix set but not used variables Bluetooth: samples/hci_uart: Use proper stack declaration Bluetooth: Make bt_send stack requirements a Kconfig option kernel: legacy: Fix int overflow in nano_stack_init Bluetooth: SMP: Fix key_id length in smp_h6_test Bluetooth: SMP: Add H7 crypto implementation and unit tests Bluetooth: SMP: Add support for CT2 auth bit Bluetooth: shell: Add option to specify BR/EDR discovery length Bluetooth: shell: Fix br-discovery help message Bluetooth: Make BR/EDR discovery be limited only by time Bluetooth: L2CAP: Fix use of uninitializer pointer Bluetooth: L2CAP: Fix possible endless loop Bluetooth: hci_ecc: Verify LE Generate DHKey command parameters Bluetooth: Use assert when getting net buf with K_FOREVER Bluetooth: Remove some dead code Bluetooth: L2CAP: Remove dead code Bluetooth: SDP: Make bt_sdp_create_pdu static Bluetooth: L2CAP: Make l2cap_br_send_conn_rsp return void Bluetooth: Fix not clearing signaled flag for conn_change signal Tim Nordell (1): arm: Adjust entry point of XIP kernels to the __reset function Tomasz Bursztyka (317): arch: stm32f1: Fix 80 char limit issue pinmux: nucleo_f103: Fix an 80 chars limit issue arch: stm32f1: Fixing a typo clock_control: NRF5 Kconfig option should be available only on NRF5 board: arduino_101: Pinumx gpio/spi pins relevantly usb: cdc_acm: Drop legacy API for unified one usb: cdc_acm: Various style fixes net: Add generic network interface header net: Use generic wrapper for semaphore give operation net: Include toolchain related header for aliases net: debug: Indent properly some config options. net: The core initialize ARP layer relevantly net: Shorten IPv4/6 config options slip: Fix compiler warnings net: Add a helper to queue a buffer in a net_if instance net: Make net_core.h include the least amount of necessary header net: Add an L2 layer net: Re-factor Kconfig and move ARP to a better location net: Removing capabilities from net_if api net: Tiny comment fix net: Save some bytes on net_if logic net: Add comment explaining net_core's verdict values net: Kconfig: Refactor Kconfig menus for better clarity sanitycheck: Recognize native IP stack specific sections samples: Fix echo_server for native IP stack net: Refine Kconfig to put NET_BUF appart net: Moving header files to include/net/yaip net: Let's use inline function for type checking for net_nbuf net: Cleanup net_if's documentation net: Fix net_ip.h documentation net: Simplify IPV<4/6> config management in net_if net: Fix dedicated IPv4 function for net_if net: Add IPv6 ND statistics when relevant net: Fix IPv6 NS packet size check net: Add a function to retrieve a neigh from an IPv6 address net: l2 layer reserve size might need extra parameter net: Add documentation to net_l2 header file net: Add some debug message on net_if net: Add a function to lookup for an iface from a device net: Fix TX fiber on net_if net: L2 might need private data per-interface net: Add new IEEE 802.15.4 Radio API for device drivers net: Add preliminary IEEE 802.15.4 L2 driver net: Adding ALOHA radio protocol to IEEE 802.15.4 L2 driver net: Add support for the IEEE 802.15.4 ORFD tests: Add grounds for IEEE 802.15.4 stack tests. net: ieee802154: Support ACK replies tests: net: Add a IEEE 802.15.4 ACK replies test drivers: cc2520: Make current driver for legacy stack only drivers: cc2520: Add a new IP stack ready adaptation of CC2520 driver boards: quark_se_devboard: Build cc2520 if new IEEE 802.15.4 driver is in net: Sample code to play with ieee 802.15.4 stack net: SYS_INIT() routines are never ran twice net: ieee802154: Logging header should be loaded first samples: ieee802154: Debugging needs new Kconfig option net: Giving uncompressed buffer to 6lo is not an error net: Follow file naming in ieee802154 l2 stack net: Built IEEE 802.15.4 fragmentation logic if requested net: Handle ll part in 6lo logic when relevant net: Add debug messages when dropping packets net: Add debug print on IPv6 preliminary check net: 6lo uncompression should continue to proceed after src addr net: 6lo: Grab uncompressed header type relevantly net: Add more debugging messages to 6lo net: ieee802154: Handle plain/compressed ll addr net: Integrate 6lo compression support in IEEE 802.15.4 L2 stack net: Add packet display in ieee802154 l2 stack samples: Build ieee802154 sample with 6lo support drivers: cc2520: Raise Rx stack size net: Add TODO items for L2 and 802.15.4 sanitycheck: Add support for section net_l2_data net: drivers: ieee802154: sys_log is needed on legacy driver net: Add a macro to create specific net if instances net: Legacy IP stack Kconfig has nothing to do with new stack net: Move IPv6 related Kconfig options to its own file net: Move IPv4 related Kconfig options to its own file net: Normalize Kconfig and fix it net: Split debug Kconfig options from legacy to new stack net: drivers: cc2520 ieee802154 drivers select relevant options net: drivers: Normalize ieee802154 Kconfig net: drivers: Add a fake ieee802154 radio driver for qemu samples: net: Moving the current ieee802154 sample samples: net: Qemu make utilities update net: samples: Add a simple Qemu sample for testing off-line 802.15.4 net: ieee802154: Add basic support for IEEE 802.15.4e on FCF net: ieee802154: Normalize Kconfig net: Centralize generic IEEE 802.15.4 radio utility functions net: ieee802154: Add CSMA-CA non slotted radio protocol support net: ieee802154: Endianess order is reversed on MAC net: Add IEEE 802.15.4 Beacon frame validation support net: tests: Add a simple IEEE 802.15.4 Beacon frame test net: ieee802154: Auto ACK and CRC are always on samples: quark_se_devboard has been renamed to quark_se_c1000_devboard net: cc2520: Let's provide ll addr in LE already net: Add network management API tests: net: Add a basic network management API test net: Add support for event handling on network management API net: Add debugging to network management event part tests: net: Add net management event sender/receiver tests net: Normalizing net_mgmt API names net: mgmt: Add some macro helpers for filling in the bit field net: Add network management event code for IPv6 net: net_if: Notify about IPv6 address related changes tests: Add network core event tests drivers: cc2520: Fix 80 chars lenght limit net: ieee802154: End of buffer contains LQI drivers: cc2520: Fix LQI computation and generalize it net: events: Fix a mix up between code and command net: ethernet: Drop the packet early when relevant net: ethernet: Set ll_reserve only when ready net: Differentiate IPv6 event command and final event net: ethernet: Update the data pointer according to ll reserve net: nbuf: Make sure ll_reserve is not holding previous value net: drivers: SLIP should not reserve anything while receiving net: drivers: Slip can get the MTU set on it's interface net: driver: SLIP does not need to store ll reserve at any time net: drivers: slip: Let's cleanup a bit for better readability net: Remove unused net sections net: Renaming net_l2_init sections to net_l2 drivers: ieee802154: cc2520: do not recalibrate rx after tx net: mgmt: Define request handlers to avoid build warning net: mgmt: Fix include recursion loop net: l2: ieee802154: Fix radio utils comment net: ieee802154: Optimizing how dst addr is validated in beacons net: ieee802154: Optimize context structure usage net: ieee802154: Refactor how address fields are generated drivers: ieee802154: Make CC2520 ready to tx only one fragment drivers: ieee802154: Make uart pipe driver tx one fragment only tests: ieee802154: Make the test ready to handle multi fragments buffer net: ieee802154: Refactor data frame function signature net: ieee802154: L2 radio drivers should handle multi-fragment buffers net: ieee802154: Make pkt_hexdump ready to handle multi-fragment buffer net: ieee802154: Generate 802.15.4 data frame for each data frag net: ieee802154: Fix minor style issues in fragmentation part net: ieee802154: Let's update fragmentation tag on relevant buffers net: ieee802154: Reverse 6lo fragmentation verdict net: ieee802154: Improve 6lo frag reassemble API net: ieee802154: Integrate 6lo fragmentation reassembly net: ieee802154: Integrate 6lo fragmentation when sending tests: net: Multiple test will go inside ieee802154 tests: net: Moving IEEE 802.15.4 fragmentation test in proper place net: ieee802154: Reindent Kconfig help as they are mandated to be net: ieee802154: Add RFD feature level choice net: ieee802154: Add support for requesting ACK on packets net: ieee802154: Add MAC command frames structures net: ieee802154: Add support for parsing MAC command frames net: ieee802154: Add the capability to create MAC command frames samples: ieee802154: Fragmentation is now supported so enabling it doc: Add a Network Management API usage document samples: ieee802154: L2 debug Kconfig option has changed net: ieee802154: Fix a small indentation issue net: ieee802154: MAC command frames needs a buffer from tx pool net: ieee802154: Limit MAC command frame generation to RFD net: ieee802154: Add debug output to radio strategy drivers net: ieee802154: Let ORFD setting ACK flag through net_mgmt net: 6lo: Make editor happy drivers: ieee802154: Fix length handling in uart-pipe drivers: ieee802154: Rework RX buffer handling in cc2520 drivers: ieee802154: Let's timeout on cc2520 tx tests: net: Unified kernel is now default and only one net: unified: Remove legacy selected Kconfig options tests: net: TCP Context needs to be listening before running accept samples: net: Add CC2520 dedicated prj.conf files for echo apps drivers: ieee802154: Fix some old left-over before multi-frag support net: ieee802154: Initiate IPv6 NS when relevant net: ieee802154: Let's ask LQI through driver API drivers: ieee802154: Implement get_lqi() relevantly net: Set nbuf user data size according to 802.15.4 MTU net: ieee802154: Create data frame after 6lo processing drivers: ieee802154: cc2520: Priority range is now 1-15 samples: net: Do not set nbuf data size on 802.15.4 samples drivers: ieee802154: Using unified kernel API net: core: Using unified kernel API net: context: Using unified kernel API net: mgmt: Using unified kernel API net: if: Using unified kernel API net: ipv6: Using unified kernel API net: l2: Using unified kernel API net: tcp: Using unified kernel API net: nbuf: Using unified kernel API net: dhcpv4: Using unified kernel API net: route/rpl: Using unified kernel API tests: net: Using unified kernel API net: trickle: Using unified kernel API samples: net: echo apps: Using unified kernel API net: context: Instead of 0 as timeout, K_NO_WAIT is better. drivers: ieee802154: Let the initialization priority be done via Kconfig net: ieee802154: Fix a double ll address swap tests: ieee802154: Fix compilation error in fragment test net: 6lo: LL content is set after 6lo compression/fragmentation net: ieee802154: Fix some debug output net: ieee802154: Fix and use pkt_hexdump relevantly samples: net: Use uart-pipe for 802154 iface in echo apps samples: net: Fix how k_sem_take is used in echo_client samples: net: Put a proper stack size for echo-client net: ieee802154: Fix current stack to completely drop CRC handling net: Raise TX stack size to 1200 bytes by default net: ieee802154: Fix wrong ifdef statement drivers: ieee802154: Set a fake MTU of 125 instead of real 127 net: ieee802154: Add debug output to 6lo fragmentation samples: net: No need of full debug output on cc2520 in echo client drivers: ieee802154: Fix cc2520 raw mode wpan_serial: Minimize debug output by default and set proper nbuf size wpanusb: Minimize debug output by default and set proper nbuf size ieee802154: cc2520: Externalize how GPIOs are configured samples: net: echo apps: Add cc2520 configuration for arduino_101 net: ieee802154: Add support for big endian drivers: ieee802154: cc2520: Let's use only symetrical tx/rx spi buffer drivers: ieee802154: cc2520: Rename RX stack Kconfig option drivers: ieee802154: cc2520: Debug cleanup samples: net: Leds demo needs GPIO on all platform net: ieee802154: ACK reply needs to set all FCF attributes. net: Fix incorrect logging format specifiers drivers: spi: Fix the help on sys log level net: tests: Remove unused variables from dhcpv4 unit test net: Update TODO list on L2 and 15.4 tasks samples: wpanusb: Removing legacy left-over samples: net: echo apps: Add cc2520 configuration for frdm_k64f samples: echo apps: Use Kconfig options to setup IPv6 on cc2520 config net: l2: ethernet: Handle Ethernet II minimal frame size relevantly drivers: enc28j60: Let's remove the CRC in the end of the frame drivers: ethernet: Push DW specific Kconfig options to its own file drivers: ethernet: Enable sys log levels depending on NET_ETHERNET_L2 drivers: enc28j60: Fix a tiny style issue drivers: enc28j60: Fix a Kconfig comment drivers: enc28j60: Fix one tiny naming issue drivers: ennc28j60: There is a unique L2 driver drivers: enc28j60: Add logging drivers: enc28j60: Expose RX thread stack size and prio config drivers: enc28j60: Removing useless legacy driver drivers: eth_ksdk: Theres is no longer 'ETHERNET' Kconfig option drivers: eth_ksdk: There is a unique L2 driver drivers: eth_ksdk: Simplifying MAC address generation samples: net: Remove useless prj.mdef from dhcpv4_client samples: net: Add Arduino 101 dedicated config for dhcpv4_client samples: net: Add dedicated dhcpv4 prj.conf for frdm k64f board samples: net: mbedtls: Let's enable fastest enc28j60 speed on a101 net: buf: Use buf->pool instead of now removed buf->free samples: net: Fix echo applications setting for 15.4 sample: net: Updating qemu config for 802.15.4 testing net: nbuf: Initialize nbuf memory area after allocation Merge net branch into master MAINTAINERS: Add entry for SPI and NETWORKING tests: net: Fix format issues net: buf: Fix a debug message missing a parameter net: log: Do not select STDOUT_CONSOLE samples: net: STDOUT_CONSOLE is not necessary net: buf: Change NET_BUF_DEBUG to NET_BUF_LOG and add a level option net: buf: Let's make use of func/line parameters when available net: statistics: Fix comment length issue net: statistics: Move current statistics code to its own file net: statistics: Make statistics calculation fully private net: statistics: Provide specific Kconfig options net: statistics: Have a dedicated struct for rpl data net: statistics: Expose relevant information through net mgmt API net: ethernet: IPv6 packet length should be relevantly handled net: rpl: Fix a build issue net: nbuf: Let's remove inner type net: tests: Add platforms whitelist to http header unit test net: ip: Improve logging by adding a dedicated sys_log level net: shell: NET_SHELL is not NET_LOG dependent Merge net branch into master net: event: Fix misplaced comment net: event: Notify on interface being put down or up net: ieee802154: Add grounds for passive scan net: ieee802154: Integrate beacon frame handling samples: net: ieee802154: Once cc2520 is up, let's initiate a scan net: ieee802154: Add PAN association request net: ieee802154: Integrate MAC Command frames handling net: ieee80215: Add Active Scan request net: ieee802154: Add PAN disassociation request net: ieee802154: Handle disassocation notification from PAN coordinator samples: ieee802154: Let's proceed with an active scan net: ieee802154: Fix logging primitive in mgmt part net: ieee802154: Expose basic network parameters through net mgmt API net: ieee802154: Add a shell module named 'ieee15_4' samples: net: Add IEEE 802.15.4 shell module on cc2520 sample Merge net branch into master samples: net: Echo apps need different IP to be able to work net: mgmt: Silently ignore net_mgmt_event functions if not enabled samples: net: Fix dhcpv4 building with net mgmt event support Merge net branch into master net: shell: Use lighter printk() instead of printf() samples: net: Fix a format issues in echo_client samples: net: Enable buffer warning and errors in echo apps on qemu net: tcp: Fix TCP states swap when accepted an incoming connection drivers/console: Removing non existing Kconfig source misc/printk: Add a function to get the current hook function. net: ip: Add a useful macro to staticaly initialize a struct in_addr drivers/console: Add a basic telnet console samples/net: Add telnet console support on echo_server with qemu shell: Fix tiny style issues drivers/uart_console: Fix tiny style issues drivers/console: Making console input generic console/shell: Switch to generic console input shell: Make the command queue size configurable via Kconfig drivers/console/telnet: Provide minimal input handling. shell: If enabled, let's register telnet console as an input drivers/console/telnet: Add ground support for telnet commands net/ieee802154: Modify radio TX function signature net/ieee802154: Raise an error when data frame cannot be created net/6lo: Switch to NET_ERR/NET_WARN when relevant. net/shell: Fix format string drivers/console/telnet: Select TCP when telnet is selected samples/net: Fix a tiny mistake in dhcpv4_client README.rst samples/net: Add a simple telnet sample doc: Include main Network APIs doxygen documentation doc/api/networking: Add existing network protocol libraries APIs net/ieee802154: Set IEEE extended address whatever runtime mode it is net/ieee802154: Setting short address is about local node net/ieee802154/mgmt: Add getters/setters for various radio network info net/ieee802154/shell: Add commands to set/get radio network info net/ieee802154: Fixing active scan buffer reference counting net/ipv6: Updating ll reserve should be done for all IPv6 packet. doc/net: Add L2 and device driver document net: Fix a const specifier issue net: Remove duplicate const specifier Vinayak Chettimada (33): Bluetooth: Controller: Fix HCI Reset Command implementation Bluetooth: Controller: Fix observer filter_policy field size Bluetooth: Controller: Fix incorrect auto variable init Bluetooth: Controller: Remove unused util functions Bluetooth: Controller: Fix incorrect irq priority check Bluetooth: Controller: Fix suspicious use of sizeof kernel: declare main and idle stack as globals arm: make _timer_int_handler optional drivers: timer: nRF SoC Series RTC system clock implementation drivers: timer: Fix missing sys_clock_disable in nrf_rtc_timer drivers: timer: replace deprecated interface in nrf_rtc_timer Bluetooth: hci_uart: reduce configured stack sizes Bluetooth: Controller: Fix DLE to check supported rx length Bluetooth: Controller: ctrl pdu processing based on available CPU time Bluetooth: Controller: tune the xtal and hard realtime radio start offsets Bluetooth: Controller: internally handle unknown rsp for LE Ping Bluetooth: Controller: use BT_WARN to display unknown rsp Bluetooth: Controller: add radio ISR profiling event Bluetooth: Controller: BT_INFO the ISR profiling event Bluetooth: Controller: Kconfig radio ISR profiling Bluetooth: Controller: refactor ISR to reduce critical path code Bluetooth: Controller: add init test for BT 4.0 only controller Bluetooth: Controller: Kconfig LE Ping feature Bluetooth: Controller: fix LE Ping conditional compilations Bluetooth: Controller: Kconfig Data Length Update feature Bluetooth: Controller: Kconfig connection RSSI measurement Bluetooth: Controller: Kconfig Tx buffer size Bluetooth: Controller: Kconfig fast encryption setup feature Bluetooth: Controller: add memq_peek interface Bluetooth: Controller: replace work with mayfly Bluetooth: Controller: fix DLE conditional compilations Bluetooth: Controller: Remove advertiser struct use in observer Bluetooth: Controller: revert to event callback inside radio ISR Vincenzo Frascino (50): sensor: Fix less-than-zero comparison in bmi160 driver sensor: Fix Unchecked return value issues in bme280 driver sensor: Fix Unchecked return value in bma280 driver console: Fix unreachable code condition gpio: Cleanup Atmel SAM3 gpio driver gpio: Cleanup Kconfig dependancy for nRF5X support gpio: Cleanup Kconfig for K64F gpio: Cleanup DW gpio driver adc: Cleanup main Kconfig adc: Cleanup DW adc driver adc: Cleanup qmsi adc driver adc: Cleanup qmsi ss adc driver adc: Cleanup ti 108s102 adc driver aio: Cleanup AIO comparator driver clock_control: Cleanup main Kconfig clock_control: Cleanup nrf5 clock_control driver clock_control: Cleanup quark_se driver clock_control: Cleanup stm32f4x driver clock_control: Cleanup stm32f10x driver arm: Fix CONFIG_RUNTIME_NMI behavior arm: Enable REBOOT when RUNTIME_NMI is selected tests/kernel: Test CONFIG_RUNTIME_NMI behavior counter: Refactor main Kconfig file counter: Fix interface watchdog: Refactor main Kconfig file tests/kernel: verify RUNTIME_NMI at runtime soc_beetle: Add initial PM configuration clock_control: Add Beetle clock_control gpio: Enable clock control in Beetle GPIO driver uart: Enable clock control in CMSDK APB UART driver watchdog: Add driver for CMSDK APB WDOG counter: cmsdk: Add Timer 0 and 1 as Counters board: v2m_beetle: Update defconfig samples/drivers: Add Beetle to Watchdog test boards: arm: v2m_beetle: Add documentation. counter: cmsdk: Add common interface soc: arm: beetle: Add Timers IRQ map counter: cmsdk: Add clock control to TMR Counters. counter: cmsdk: Add Timer 0 and 1 as Timers counter: cmsdk: Add DualTimer as Counter counter: cmsdk: Add Dualtimer as a Timer board: v2m_beetle: Update defconfig soc: arm: mps2: Add configuration for CMSDK Driver boards: arm: mps2_an385: Enable CMSDK Drivers doc: Update mps2_an385 documentation soc: arm: mps2: Fix UART4 base address boards: arm: mps2: Add pinmuxing doc: Update mps2_an385 documentation arm: dts: Add base DTS support for v2m_beetle v2m_beetle: uart: Add DTS support to UART driver Vinicius Costa Gomes (64): iot/zoap: Fix decoding of 16-bit delta net: Fix listening on IPv6 ports drivers/slip: Fix warnings when TAP support is disabled tests/net: Exclude tests needing more RAM than available tests/net/nbuf: Fix wrong size to linearize() call tests/net/nbuf: Fix invalid memory access net: Disable warning about unused label net: Small simplififcation to net_nbuf_write zoap: Fix alignment of multiline function arguments iot/zoap: Add support for error 4.15 iot/zoap: Port to the native stack iot/zoap: Add helper for generating tokens samples/zoap_client: Use token generator helper net/yaip: Separate SLIP support into TAP and TUN options drivers/slip: Fix circular dependency on NET_SLIP tests/zoap: Port observer tests to the native stack tests/zoap: Fix extra unref on net_buf fragments samples/zoap_server: Fix retrieving the wrong address samples/zoap_server: Fix wrong reference count net: ipv6: Fix sending packets with invalid addresses net: ieee802154: Fix typo zoap: Add support for retrieving the underlying net_buf iot/zoap: Add support for RFC6690 link format samples/net: Add a simple demo for the link-format feature iot/zoap: Remove unnecessary cflags net: Fix compilation when DEBUG is enabled iot/zoap: Increase the range of timeouts samples/zoap_client: Using unified kernel API samples/zoap_server: Using unified kernel API samples/leds_demo: Add config for using 802.15.4 samples/leds-demo: Fix missing include file samples/leds-demo: Fix not using the LED correctly samples/leds-demo: Listen on the ANY address samples/zoap-client: Fix using wrong addresses samples/zoap_client: Use the correct option for TAP samples/zoap_server: Use the correct option for TAP lib/zoap: Fix incorrect values for payload size tests/zoap: Add test for payload size samples/zoap_server: Add support for the '/separate' resource samples/zoap_server: Add support for blockwise GET tests iot/zoap: Add response code for Continue status samples/zoap_server: Add resouce for TD_COAP_BLOCK_03 iot/zoap: Ignore non-request packets in zoap_handle_request iot/zoap: Fix wrong byte-order when retrieving integer options iot/zoap: Clarify the return value of zoap_register_observer() iot/zoap: Add a helper to find an observer by address samples/zoap_server: Fix responding messages with the wrong type samples/zoap_server: Add support for messages with token samples/zoap_server: Add Content-Format options to GET responses samples/zoap_server: Include a path for the "created" resource samples/zoap-server: Add support for the "location-query" resource samples/zoap_server: Do not error if there's no payload or queries samples/zoap: Update zoap samples documentation samples/zoap_server: Also listen on the unicast address samples/zoap_server: Enable support for 802.15.4 samples/zoap_server: Allow overriding the BOARD variable samples/zoap_server: Add a 802.15.4 case to the test suite iot/zoap: Fix the return value of zoap_packet_get_payload() samples/zoap_server: Fix errors for GET requests without payloads iot/zoap: Improve zoap.h documentation samples/zoap-server: Update docs with information about libcoap iot/zoap: Fix handling of 16-bytes block-wise transfers iot/zoap: Fix header indentation iot/zoap: Add missing const modifier to header file Wojciech Bober (2): drivers/ieee802154: Split drivers Kconfig drivers/net/ieee802154: Change configuration prefix Yossi Havusha (2): logging: add exeternal hook to sys_log samples/logger-hook: fix ring buffer usage and initialize variables. jing wang (19): tests: add zephyr alerts test case tests: add rtc driver test case tests: Add watchdog timer test case tests: add threads scheduling test case with unified kernel tests: add stack test cases which use unified kernel tests: add mutex api test cases which use unified kernel tests: add sem test cases which use unified kernel tests: add zephyr message queue test case with unified kernel tests: add zephyr thread lifecycle test case with unified kernel tests: add driver aio comparator test case tests: add gpio driver test case tests: Add PWM driver api test tests: add timer test case with unified kernel tests: add fifo/lifo test cases with unified kernel tests: add pipe test cases which use unified kernel tests: add threads customdata api test case with unified kernel tests: add zephyr i2c driver api test tests: add systhreads test case tests: add zephyr adc driver api test case li zj (2): net: dhcpv4 : set ciaddr 0.0.0.0 when send DHCPV4_MSG_TYPE_REQUEST net: icmpv4 : calculate ipv4 header chksum .checkpatch.conf | 1 - .gitignore | 6 + .known-issues/doc/header_footer.conf | 2 +- .known-issues/doc/kernel.conf | 14 + .known-issues/doc/networking.conf | 49 + .mailmap | 1 + Kbuild | 43 +- Kconfig | 12 +- Kconfig.zephyr | 12 +- LICENSING.rst | 66 - MAINTAINERS | 112 +- Makefile | 129 +- Makefile.inc | 27 +- Makefile.test | 4 + arch/Kconfig | 80 +- arch/Makefile | 2 +- arch/arc/Kconfig | 69 +- arch/arc/Makefile | 6 + arch/arc/core/Makefile | 8 +- arch/arc/core/atomic.S | 14 +- arch/arc/core/cache.c | 14 +- arch/arc/core/cpu_idle.S | 33 +- arch/arc/core/fast_irq.S | 128 +- arch/arc/core/fatal.c | 14 +- arch/arc/core/fault.c | 16 +- arch/arc/core/fault_s.S | 55 +- arch/arc/core/irq_manage.c | 14 +- arch/arc/core/irq_offload.c | 14 +- arch/arc/core/irq_vector_table.c | 53 - arch/arc/core/isr_wrapper.S | 25 +- arch/arc/core/offsets/offsets.c | 21 +- arch/arc/core/prep_c.c | 19 +- arch/arc/core/regular_irq.S | 69 +- arch/arc/core/reset.S | 45 +- arch/arc/core/sw_isr_table.S | 64 - arch/arc/core/swap.S | 44 +- arch/arc/core/swap_macros.h | 171 - arch/arc/core/sys_fatal_error_handler.c | 22 +- arch/arc/core/thread.c | 19 +- arch/arc/core/thread_entry_wrapper.S | 14 +- arch/arc/core/timestamp.c | 42 + arch/arc/core/vector_table.c | 12 +- arch/arc/include/kernel_arch_data.h | 12 +- arch/arc/include/kernel_arch_func.h | 13 +- arch/arc/include/kernel_event_logger_arch.h | 12 +- arch/arc/include/offsets_short_arch.h | 12 +- arch/arc/include/start_task_arch.h | 48 - arch/arc/include/swap_macros.h | 165 + arch/arc/include/v2/cache.h | 12 +- arch/arc/include/v2/irq.h | 16 +- arch/arc/include/vector_table.h | 12 +- arch/arc/soc/em11d/Kconfig.defconfig | 12 +- arch/arc/soc/em11d/Makefile | 4 +- arch/arc/soc/em11d/linker.ld | 12 +- arch/arc/soc/em11d/soc.c | 36 +- arch/arc/soc/em11d/soc.h | 12 +- arch/arc/soc/em11d/soc_config.c | 12 +- arch/arc/soc/em7d/Kconfig.defconfig | 12 +- arch/arc/soc/em7d/Makefile | 4 +- arch/arc/soc/em7d/linker.ld | 12 +- arch/arc/soc/em7d/soc.c | 36 +- arch/arc/soc/em7d/soc.h | 12 +- arch/arc/soc/em7d/soc_config.c | 12 +- arch/arc/soc/em9d/Kconfig.defconfig | 12 +- arch/arc/soc/em9d/Makefile | 4 +- arch/arc/soc/em9d/linker.ld | 12 +- arch/arc/soc/em9d/soc.c | 36 +- arch/arc/soc/em9d/soc.h | 12 +- arch/arc/soc/em9d/soc_config.c | 12 +- arch/arc/soc/quark_se_c1000_ss/Kbuild | 3 +- arch/arc/soc/quark_se_c1000_ss/Kconfig | 12 +- arch/arc/soc/quark_se_c1000_ss/Kconfig.defconfig | 114 +- arch/arc/soc/quark_se_c1000_ss/Kconfig.soc | 1 + arch/arc/soc/quark_se_c1000_ss/Makefile | 6 +- arch/arc/soc/quark_se_c1000_ss/linker.ld | 12 +- arch/arc/soc/quark_se_c1000_ss/power.c | 127 +- arch/arc/soc/quark_se_c1000_ss/soc.c | 26 +- arch/arc/soc/quark_se_c1000_ss/soc.h | 18 +- arch/arc/soc/quark_se_c1000_ss/soc_config.c | 12 +- arch/arc/soc/quark_se_c1000_ss/soc_power.S | 127 + arch/arc/soc/quark_se_c1000_ss/soc_power.h | 27 +- arch/arm/Kconfig | 12 +- arch/arm/Makefile | 6 - arch/arm/core/Kconfig | 20 +- arch/arm/core/Makefile | 12 +- arch/arm/core/__aeabi_atexit.c | 12 +- arch/arm/core/cortex_m/Kconfig | 101 +- arch/arm/core/cortex_m/Makefile | 7 +- arch/arm/core/cortex_m/exc_manage.c | 14 +- arch/arm/core/cortex_m/irq_vector_table.c | 53 - arch/arm/core/cortex_m/nmi.c | 14 +- arch/arm/core/cortex_m/nmi_on_reset.S | 14 +- arch/arm/core/cortex_m/prep_c.c | 38 +- arch/arm/core/cortex_m/reset.S | 26 +- arch/arm/core/cortex_m/scb.c | 80 +- arch/arm/core/cortex_m/scs.c | 32 - arch/arm/core/cortex_m/sw_isr_table.S | 69 - arch/arm/core/cortex_m/vector_table.S | 31 +- arch/arm/core/cortex_m/vector_table.h | 19 +- arch/arm/core/cpu_idle.S | 143 +- arch/arm/core/exc_exit.S | 63 +- arch/arm/core/fatal.c | 18 +- arch/arm/core/fault.c | 140 +- arch/arm/core/fault_s.S | 102 +- arch/arm/core/gdb_stub.S | 168 - arch/arm/core/gdb_stub_irq_vector_table.c | 38 - arch/arm/core/irq_init.c | 19 +- arch/arm/core/irq_manage.c | 93 +- arch/arm/core/irq_offload.c | 16 +- arch/arm/core/isr_wrapper.S | 44 +- arch/arm/core/offsets/offsets.c | 21 +- arch/arm/core/swap.S | 87 +- arch/arm/core/sys_fatal_error_handler.c | 21 +- arch/arm/core/thread.c | 20 +- arch/arm/core/thread_abort.c | 16 +- arch/arm/defconfig | 1 - arch/arm/include/asm_inline.h | 12 +- arch/arm/include/cortex_m/asm_inline_gcc.h | 12 +- arch/arm/include/cortex_m/exc.h | 76 +- arch/arm/include/cortex_m/stack.h | 12 +- arch/arm/include/kernel_arch_data.h | 12 +- arch/arm/include/kernel_arch_func.h | 24 +- arch/arm/include/kernel_event_logger_arch.h | 12 +- arch/arm/include/offsets_short_arch.h | 12 +- arch/arm/include/start_task_arch.h | 48 - arch/arm/soc/arm/Kbuild | 12 +- arch/arm/soc/arm/Kconfig | 12 +- arch/arm/soc/arm/Kconfig.defconfig | 12 +- arch/arm/soc/arm/Kconfig.soc | 12 +- .../arm/soc/arm/beetle/Kconfig.defconfig.beetle_r0 | 15 +- arch/arm/soc/arm/beetle/Kconfig.defconfig.series | 24 +- arch/arm/soc/arm/beetle/Kconfig.series | 13 +- arch/arm/soc/arm/beetle/Kconfig.soc | 12 +- arch/arm/soc/arm/beetle/Makefile | 14 +- arch/arm/soc/arm/beetle/linker.ld | 12 +- arch/arm/soc/arm/beetle/power.c | 128 + arch/arm/soc/arm/beetle/soc.c | 64 +- arch/arm/soc/arm/beetle/soc.h | 36 +- arch/arm/soc/arm/beetle/soc_irq.h | 21 +- arch/arm/soc/arm/beetle/soc_pins.h | 12 +- arch/arm/soc/arm/beetle/soc_pll.h | 64 + arch/arm/soc/arm/beetle/soc_power.h | 25 + arch/arm/soc/arm/beetle/soc_registers.h | 12 +- arch/arm/soc/arm/mps2/Kconfig.defconfig.mps2_an385 | 16 + arch/arm/soc/arm/mps2/Kconfig.defconfig.series | 34 + arch/arm/soc/arm/mps2/Kconfig.series | 14 + arch/arm/soc/arm/mps2/Kconfig.soc | 15 + arch/arm/soc/arm/mps2/Makefile | 7 + arch/arm/soc/arm/mps2/linker.ld | 9 + arch/arm/soc/arm/mps2/soc.c | 31 + arch/arm/soc/arm/mps2/soc.h | 12 + arch/arm/soc/arm/mps2/soc_devices.h | 70 + arch/arm/soc/arm/mps2/soc_irq.h | 38 + arch/arm/soc/arm/mps2/soc_memory_map.h | 36 + arch/arm/soc/arm/mps2/soc_registers.h | 31 + arch/arm/soc/atmel_sam/Kconfig | 8 + arch/arm/soc/atmel_sam/Kconfig.defconfig | 17 + arch/arm/soc/atmel_sam/Kconfig.soc | 7 + arch/arm/soc/atmel_sam/Makefile | 8 + arch/arm/soc/atmel_sam/common/Makefile | 8 + arch/arm/soc/atmel_sam/common/soc_gpio.c | 173 + arch/arm/soc/atmel_sam/common/soc_gpio.h | 142 + arch/arm/soc/atmel_sam/common/soc_pmc.c | 56 + arch/arm/soc/atmel_sam/common/soc_pmc.h | 38 + .../soc/atmel_sam/same70/Kconfig.defconfig.series | 67 + arch/arm/soc/atmel_sam/same70/Kconfig.series | 20 + arch/arm/soc/atmel_sam/same70/Kconfig.soc | 132 + arch/arm/soc/atmel_sam/same70/Makefile | 10 + arch/arm/soc/atmel_sam/same70/linker.ld | 8 + arch/arm/soc/atmel_sam/same70/soc.c | 250 + arch/arm/soc/atmel_sam/same70/soc.h | 198 + arch/arm/soc/atmel_sam/same70/soc_config.c | 41 + arch/arm/soc/atmel_sam/same70/soc_pinmap.h | 57 + arch/arm/soc/atmel_sam3/Kconfig | 12 +- arch/arm/soc/atmel_sam3/Kconfig.defconfig | 12 +- arch/arm/soc/atmel_sam3/Kconfig.soc | 3 +- arch/arm/soc/atmel_sam3/linker.ld | 12 +- arch/arm/soc/atmel_sam3/soc.c | 27 +- arch/arm/soc/atmel_sam3/soc.h | 12 +- arch/arm/soc/atmel_sam3/soc_registers.h | 12 +- arch/arm/soc/nordic_nrf5/Kconfig | 12 +- arch/arm/soc/nordic_nrf5/Kconfig.defconfig | 35 +- arch/arm/soc/nordic_nrf5/Kconfig.soc | 12 +- arch/arm/soc/nordic_nrf5/include/nrf5_common.h | 12 +- .../nrf51/Kconfig.defconfig.nrf51822_QFAA | 15 +- .../nrf51/Kconfig.defconfig.nrf51822_QFAB | 15 +- .../nrf51/Kconfig.defconfig.nrf51822_QFAC | 12 +- .../soc/nordic_nrf5/nrf51/Kconfig.defconfig.series | 22 +- arch/arm/soc/nordic_nrf5/nrf51/Kconfig.series | 18 +- arch/arm/soc/nordic_nrf5/nrf51/Kconfig.soc | 12 +- arch/arm/soc/nordic_nrf5/nrf51/linker.ld | 12 +- arch/arm/soc/nordic_nrf5/nrf51/soc.c | 14 +- arch/arm/soc/nordic_nrf5/nrf51/soc.h | 12 +- .../nordic_nrf5/nrf52/Kconfig.defconfig.nrf52832 | 16 +- .../nordic_nrf5/nrf52/Kconfig.defconfig.nrf52840 | 26 + .../soc/nordic_nrf5/nrf52/Kconfig.defconfig.series | 19 +- arch/arm/soc/nordic_nrf5/nrf52/Kconfig.series | 17 +- arch/arm/soc/nordic_nrf5/nrf52/Kconfig.soc | 16 +- arch/arm/soc/nordic_nrf5/nrf52/Makefile | 8 +- arch/arm/soc/nordic_nrf5/nrf52/linker.ld | 12 +- arch/arm/soc/nordic_nrf5/nrf52/soc.c | 382 +- arch/arm/soc/nordic_nrf5/nrf52/soc.h | 12 +- arch/arm/soc/nxp_kinetis/Kconfig | 28 +- arch/arm/soc/nxp_kinetis/Kconfig.soc | 12 +- .../soc/nxp_kinetis/k6x/Kconfig.defconfig.mk64f12 | 37 +- .../soc/nxp_kinetis/k6x/Kconfig.defconfig.series | 16 +- arch/arm/soc/nxp_kinetis/k6x/Kconfig.series | 13 +- arch/arm/soc/nxp_kinetis/k6x/Kconfig.soc | 14 +- arch/arm/soc/nxp_kinetis/k6x/Makefile | 1 - arch/arm/soc/nxp_kinetis/k6x/linker.ld | 14 +- arch/arm/soc/nxp_kinetis/k6x/soc.c | 35 +- arch/arm/soc/nxp_kinetis/k6x/soc.h | 117 +- arch/arm/soc/nxp_kinetis/k6x/soc_config.c | 124 - arch/arm/soc/nxp_kinetis/k6x/wdog.S | 14 +- .../soc/nxp_kinetis/kwx/Kconfig.defconfig.mkw41z4 | 61 + .../soc/nxp_kinetis/kwx/Kconfig.defconfig.series | 25 + arch/arm/soc/nxp_kinetis/kwx/Kconfig.series | 15 + arch/arm/soc/nxp_kinetis/kwx/Kconfig.soc | 39 + arch/arm/soc/nxp_kinetis/kwx/Makefile | 8 + arch/arm/soc/nxp_kinetis/kwx/linker.ld | 31 + arch/arm/soc/nxp_kinetis/kwx/soc.c | 132 + arch/arm/soc/nxp_kinetis/kwx/soc.h | 66 + arch/arm/soc/st_stm32/Kconfig | 12 +- arch/arm/soc/st_stm32/Kconfig.defconfig | 2 + arch/arm/soc/st_stm32/Kconfig.soc | 12 +- .../soc/st_stm32/stm32f1/Kconfig.defconfig.series | 12 +- .../st_stm32/stm32f1/Kconfig.defconfig.stm32f103xb | 12 +- .../st_stm32/stm32f1/Kconfig.defconfig.stm32f103xe | 12 +- .../st_stm32/stm32f1/Kconfig.defconfig.stm32f107xc | 24 + arch/arm/soc/st_stm32/stm32f1/Kconfig.series | 13 +- arch/arm/soc/st_stm32/stm32f1/Kconfig.soc | 36 +- arch/arm/soc/st_stm32/stm32f1/flash_registers.h | 12 +- arch/arm/soc/st_stm32/stm32f1/gpio_registers.h | 12 +- arch/arm/soc/st_stm32/stm32f1/linker.ld | 12 +- arch/arm/soc/st_stm32/stm32f1/rcc_registers.h | 73 +- arch/arm/soc/st_stm32/stm32f1/soc.c | 30 +- arch/arm/soc/st_stm32/stm32f1/soc.h | 26 +- arch/arm/soc/st_stm32/stm32f1/soc_config.c | 36 +- arch/arm/soc/st_stm32/stm32f1/soc_gpio.c | 14 +- arch/arm/soc/st_stm32/stm32f1/soc_irq.h | 12 +- arch/arm/soc/st_stm32/stm32f1/soc_registers.h | 12 +- .../soc/st_stm32/stm32f3/Kconfig.defconfig.series | 32 + .../st_stm32/stm32f3/Kconfig.defconfig.stm32f303xc | 28 + .../st_stm32/stm32f3/Kconfig.defconfig.stm32f334x8 | 28 + .../st_stm32/stm32f3/Kconfig.defconfig.stm32f373xc | 28 + arch/arm/soc/st_stm32/stm32f3/Kconfig.series | 18 + arch/arm/soc/st_stm32/stm32f3/Kconfig.soc | 21 + arch/arm/soc/st_stm32/stm32f3/Makefile | 11 + arch/arm/soc/st_stm32/stm32f3/flash_registers.h | 60 + arch/arm/soc/st_stm32/stm32f3/gpio_registers.h | 102 + arch/arm/soc/st_stm32/stm32f3/linker.ld | 9 + arch/arm/soc/st_stm32/stm32f3/soc.c | 51 + arch/arm/soc/st_stm32/stm32f3/soc.h | 64 + arch/arm/soc/st_stm32/stm32f3/soc_config.c | 31 + arch/arm/soc/st_stm32/stm32f3/soc_gpio.c | 218 + arch/arm/soc/st_stm32/stm32f3/soc_irq.h | 118 + arch/arm/soc/st_stm32/stm32f3/soc_registers.h | 14 + .../soc/st_stm32/stm32f4/Kconfig.defconfig.series | 28 +- .../st_stm32/stm32f4/Kconfig.defconfig.stm32f401xe | 12 +- .../st_stm32/stm32f4/Kconfig.defconfig.stm32f411xe | 24 + arch/arm/soc/st_stm32/stm32f4/Kconfig.series | 13 +- arch/arm/soc/st_stm32/stm32f4/Kconfig.soc | 15 +- arch/arm/soc/st_stm32/stm32f4/flash_registers.h | 30 +- arch/arm/soc/st_stm32/stm32f4/gpio_registers.h | 12 +- arch/arm/soc/st_stm32/stm32f4/linker.ld | 12 +- arch/arm/soc/st_stm32/stm32f4/rcc_registers.h | 12 +- arch/arm/soc/st_stm32/stm32f4/soc.c | 30 +- arch/arm/soc/st_stm32/stm32f4/soc.h | 19 +- arch/arm/soc/st_stm32/stm32f4/soc_gpio.c | 12 +- arch/arm/soc/st_stm32/stm32f4/soc_irq.h | 12 +- arch/arm/soc/st_stm32/stm32f4/soc_pinmux.c | 18 +- arch/arm/soc/st_stm32/stm32f4/soc_registers.h | 12 +- .../soc/st_stm32/stm32l4/Kconfig.defconfig.series | 22 + .../st_stm32/stm32l4/Kconfig.defconfig.stm32l476xx | 28 + arch/arm/soc/st_stm32/stm32l4/Kconfig.series | 17 + arch/arm/soc/st_stm32/stm32l4/Kconfig.soc | 17 + arch/arm/soc/st_stm32/stm32l4/Makefile | 4 + arch/arm/soc/st_stm32/stm32l4/flash_registers.h | 63 + arch/arm/soc/st_stm32/stm32l4/linker.ld | 9 + arch/arm/soc/st_stm32/stm32l4/soc.c | 52 + arch/arm/soc/st_stm32/stm32l4/soc.h | 47 + arch/arm/soc/st_stm32/stm32l4/soc_gpio.c | 240 + arch/arm/soc/st_stm32/stm32l4/soc_irq.h | 101 + arch/arm/soc/st_stm32/stm32l4/soc_pinmux.c | 101 + arch/arm/soc/st_stm32/stm32l4/soc_pinmux.h | 25 + arch/arm/soc/st_stm32/stm32l4/soc_registers.h | 15 + arch/arm/soc/st_stm32/stm32l4/syscfg_registers.h | 26 + arch/arm/soc/ti_lm3s6965/Kconfig | 12 +- arch/arm/soc/ti_lm3s6965/Kconfig.defconfig | 14 +- arch/arm/soc/ti_lm3s6965/Kconfig.soc | 1 + arch/arm/soc/ti_lm3s6965/linker.ld | 12 +- arch/arm/soc/ti_lm3s6965/scp.c | 12 +- arch/arm/soc/ti_lm3s6965/scp.h | 12 +- arch/arm/soc/ti_lm3s6965/soc.c | 14 +- arch/arm/soc/ti_lm3s6965/soc.h | 12 +- arch/arm/soc/ti_lm3s6965/soc_config.c | 14 +- .../ti_simplelink/cc32xx/Kconfig.defconfig.cc3200 | 33 +- .../ti_simplelink/cc32xx/Kconfig.defconfig.series | 2 + arch/arm/soc/ti_simplelink/cc32xx/Kconfig.series | 1 + arch/arm/soc/ti_simplelink/cc32xx/soc.c | 26 +- arch/arm/soc/ti_simplelink/cc32xx/soc.h | 12 +- arch/common/Makefile | 1 + arch/common/Makefile.gen_isr_tables | 67 + arch/common/gen_isr_tables.py | 192 + arch/common/isr_tables.c | 65 + arch/nios2/Kconfig | 28 +- arch/nios2/Makefile | 3 - arch/nios2/core/Makefile | 4 +- arch/nios2/core/cache.c | 12 +- arch/nios2/core/cpu_idle.c | 28 +- arch/nios2/core/crt0.S | 17 +- arch/nios2/core/exception.S | 36 +- arch/nios2/core/fatal.c | 24 +- arch/nios2/core/irq_manage.c | 18 +- arch/nios2/core/irq_offload.c | 14 +- arch/nios2/core/offsets/offsets.c | 20 +- arch/nios2/core/prep_c.c | 12 +- arch/nios2/core/reset.S | 14 +- arch/nios2/core/sw_isr_table.S | 61 - arch/nios2/core/swap.S | 34 +- arch/nios2/core/thread.c | 14 +- arch/nios2/include/kernel_arch_data.h | 20 +- arch/nios2/include/kernel_arch_func.h | 16 +- arch/nios2/include/kernel_event_logger_arch.h | 12 +- arch/nios2/include/offsets_short_arch.h | 12 +- arch/nios2/include/start_task_arch.h | 48 - arch/nios2/soc/nios2-qemu/include/layout.h | 12 +- arch/nios2/soc/nios2-qemu/linker.ld | 12 +- arch/nios2/soc/nios2f-zephyr/include/layout.h | 12 +- arch/nios2/soc/nios2f-zephyr/linker.ld | 12 +- arch/nios2/soc/nios2f-zephyr/soc.h | 12 +- arch/riscv32/Kbuild | 6 + arch/riscv32/Kconfig | 77 + arch/riscv32/Makefile | 20 + arch/riscv32/core/Makefile | 5 + arch/riscv32/core/cpu_idle.c | 59 + arch/riscv32/core/fatal.c | 201 + arch/riscv32/core/irq_manage.c | 24 + arch/riscv32/core/irq_offload.c | 44 + arch/riscv32/core/isr.S | 403 + arch/riscv32/core/offsets/offsets.c | 82 + arch/riscv32/core/prep_c.c | 39 + arch/riscv32/core/reset.S | 59 + arch/riscv32/core/swap.S | 74 + arch/riscv32/core/thread.c | 103 + .../vector005.dat => arch/riscv32/defconfig | 0 arch/riscv32/include/kernel_arch_data.h | 80 + arch/riscv32/include/kernel_arch_func.h | 62 + arch/riscv32/include/kernel_event_logger_arch.h | 44 + arch/riscv32/include/offsets_short_arch.h | 64 + arch/riscv32/soc/pulpino/Kbuild | 7 + arch/riscv32/soc/pulpino/Kconfig.defconfig | 83 + arch/riscv32/soc/pulpino/Kconfig.soc | 3 + arch/riscv32/soc/pulpino/Makefile | 20 + arch/riscv32/soc/pulpino/linker.ld | 11 + arch/riscv32/soc/pulpino/pulpino_idle.c | 63 + arch/riscv32/soc/pulpino/pulpino_irq.c | 52 + arch/riscv32/soc/pulpino/soc.h | 147 + arch/riscv32/soc/pulpino/soc_irq.S | 112 + arch/riscv32/soc/pulpino/vector.S | 64 + arch/riscv32/soc/riscv-privilege.h | 54 + arch/riscv32/soc/riscv32-qemu/Kbuild | 7 + arch/riscv32/soc/riscv32-qemu/Kconfig.defconfig | 39 + arch/riscv32/soc/riscv32-qemu/Kconfig.soc | 3 + arch/riscv32/soc/riscv32-qemu/Makefile | 2 + arch/riscv32/soc/riscv32-qemu/linker.ld | 11 + arch/riscv32/soc/riscv32-qemu/qemu_irq.c | 62 + arch/riscv32/soc/riscv32-qemu/soc.h | 38 + arch/riscv32/soc/riscv32-qemu/soc_irq.S | 50 + arch/riscv32/soc/riscv32-qemu/vector.S | 71 + arch/x86/Kconfig | 12 +- arch/x86/Makefile | 13 - arch/x86/Makefile.idt | 50 + arch/x86/core/Kconfig | 12 +- arch/x86/core/Makefile | 4 +- arch/x86/core/cache.c | 14 +- arch/x86/core/cache_s.S | 13 +- arch/x86/core/cpuhalt.c | 39 +- arch/x86/core/crt0.S | 36 +- arch/x86/core/debug/Makefile | 2 - arch/x86/core/debug/debug_frames.c | 16 +- arch/x86/core/excstub.S | 24 +- arch/x86/core/fatal.c | 18 +- arch/x86/core/float.c | 24 +- arch/x86/core/gdt.c | 12 +- arch/x86/core/intstub.S | 52 +- arch/x86/core/irq_manage.c | 80 +- arch/x86/core/irq_offload.c | 14 +- arch/x86/core/msr.c | 12 +- arch/x86/core/offsets/offsets.c | 22 +- arch/x86/core/reboot_rst_cnt.c | 14 +- arch/x86/core/swap.S | 52 +- arch/x86/core/sys_fatal_error_handler.c | 22 +- arch/x86/core/thread.c | 20 +- arch/x86/debug/Makefile | 1 - arch/x86/debug/gdb_arch.c | 16 +- arch/x86/debug/gdb_dbg_regs.S | 14 +- arch/x86/include/asm_inline.h | 12 +- arch/x86/include/asm_inline_gcc.h | 12 +- arch/x86/include/cache_private.h | 12 +- arch/x86/include/debug/gdb_arch.h | 14 +- arch/x86/include/exception.h | 12 +- arch/x86/include/kernel_arch_data.h | 25 +- arch/x86/include/kernel_arch_func.h | 20 +- arch/x86/include/kernel_event_logger_arch.h | 12 +- arch/x86/include/offsets_short_arch.h | 12 +- arch/x86/include/start_task_arch.h | 46 - arch/x86/include/swapstk.h | 12 +- arch/x86/soc/atom/Kconfig.defconfig | 12 +- arch/x86/soc/atom/linker.ld | 12 +- arch/x86/soc/atom/soc.c | 14 +- arch/x86/soc/atom/soc.h | 12 +- arch/x86/soc/ia32/Kconfig.defconfig | 12 +- arch/x86/soc/ia32/linker.ld | 12 +- arch/x86/soc/ia32/soc.c | 14 +- arch/x86/soc/ia32/soc.h | 14 +- arch/x86/soc/intel_quark/Kconfig | 12 +- arch/x86/soc/intel_quark/Kconfig.soc | 12 +- arch/x86/soc/intel_quark/quark_d2000/Kconfig | 36 + .../quark_d2000/Kconfig.defconfig.quark_d2000 | 12 +- .../quark_d2000/Kconfig.defconfig.series | 17 +- .../x86/soc/intel_quark/quark_d2000/Kconfig.series | 12 +- arch/x86/soc/intel_quark/quark_d2000/linker.ld | 26 +- arch/x86/soc/intel_quark/quark_d2000/soc.h | 12 +- arch/x86/soc/intel_quark/quark_se/Kconfig | 38 +- .../intel_quark/quark_se/Kconfig.defconfig.curie | 12 +- .../quark_se/Kconfig.defconfig.quark_se_c1000 | 12 +- .../intel_quark/quark_se/Kconfig.defconfig.series | 17 +- arch/x86/soc/intel_quark/quark_se/Kconfig.series | 12 +- arch/x86/soc/intel_quark/quark_se/Kconfig.soc | 12 +- arch/x86/soc/intel_quark/quark_se/eoi.c | 14 +- arch/x86/soc/intel_quark/quark_se/linker.ld | 36 +- arch/x86/soc/intel_quark/quark_se/power.c | 36 +- arch/x86/soc/intel_quark/quark_se/shared_mem.h | 12 +- arch/x86/soc/intel_quark/quark_se/soc.c | 21 +- arch/x86/soc/intel_quark/quark_se/soc.h | 16 +- arch/x86/soc/intel_quark/quark_se/soc_config.c | 14 +- arch/x86/soc/intel_quark/quark_se/soc_power.S | 50 +- arch/x86/soc/intel_quark/quark_se/soc_power.h | 34 +- .../quark_x1000/Kconfig.defconfig.quark_x1000 | 12 +- .../quark_x1000/Kconfig.defconfig.series | 12 +- arch/x86/soc/intel_quark/quark_x1000/linker.ld | 12 +- arch/x86/soc/intel_quark/quark_x1000/soc.c | 14 +- arch/x86/soc/intel_quark/quark_x1000/soc.h | 14 +- arch/xtensa/Kbuild | 12 + arch/xtensa/Kconfig | 81 + arch/xtensa/Makefile | 41 + arch/xtensa/core/Makefile | 18 + arch/xtensa/core/atomic.S | 405 + arch/xtensa/core/cpu_idle.c | 39 + arch/xtensa/core/crt1-boards.S | 271 + arch/xtensa/core/crt1-sim.S | 246 + arch/xtensa/core/fatal.c | 242 + arch/xtensa/core/irq_manage.c | 38 + arch/xtensa/core/irq_offload.c | 39 + arch/xtensa/core/offsets/Makefile | 1 + arch/xtensa/core/offsets/offsets.c | 65 + arch/xtensa/core/startup/Makefile | 2 + arch/xtensa/core/startup/reset-vector.S | 695 + arch/xtensa/core/sw_isr_table.S | 59 + arch/xtensa/core/swap.S | 96 + arch/xtensa/core/thread.c | 179 + arch/xtensa/core/xt_zephyr.S | 388 + arch/xtensa/core/xtensa_context.S | 609 + arch/xtensa/core/xtensa_intr.c | 69 + arch/xtensa/core/xtensa_intr_asm.S | 140 + arch/xtensa/core/xtensa_vectors.S | 1887 + arch/xtensa/include/kernel_arch_data.h | 195 + arch/xtensa/include/kernel_arch_func.h | 94 + arch/xtensa/include/kernel_event_logger_arch.h | 36 + arch/xtensa/include/offsets_short_arch.h | 40 + arch/xtensa/include/start_task_arch.h | 37 + arch/xtensa/include/xtensa_api.h | 73 + arch/xtensa/include/xtensa_config.h | 141 + arch/xtensa/include/xtensa_context.h | 314 + arch/xtensa/include/xtensa_rtos.h | 202 + arch/xtensa/include/xtensa_timer.h | 149 + arch/xtensa/soc/D_108mini/Kconfig | 12 + arch/xtensa/soc/D_108mini/Makefile | 1 + arch/xtensa/soc/D_108mini/linker.ld | 606 + arch/xtensa/soc/D_212GP/Kconfig | 12 + arch/xtensa/soc/D_212GP/Makefile | 1 + arch/xtensa/soc/D_212GP/linker.ld | 612 + arch/xtensa/soc/D_233L/Kconfig | 12 + arch/xtensa/soc/D_233L/Makefile | 3 + arch/xtensa/soc/D_233L/linker.ld | 513 + arch/xtensa/soc/Kconfig.cores | 62 + arch/xtensa/soc/XRC_D2PM/Kconfig | 12 + arch/xtensa/soc/XRC_D2PM/Makefile | 1 + arch/xtensa/soc/XRC_D2PM/linker.ld | 616 + arch/xtensa/soc/XRC_D2PM_5swIrq/Kconfig | 12 + arch/xtensa/soc/XRC_D2PM_5swIrq/Makefile | 1 + arch/xtensa/soc/XRC_D2PM_5swIrq/linker.ld | 616 + arch/xtensa/soc/XRC_FUSION_AON_ALL_LM/Kconfig | 12 + arch/xtensa/soc/XRC_FUSION_AON_ALL_LM/Makefile | 1 + arch/xtensa/soc/XRC_FUSION_AON_ALL_LM/linker.ld | 445 + arch/xtensa/soc/hifi2_std/Kconfig | 12 + arch/xtensa/soc/hifi2_std/Makefile | 1 + arch/xtensa/soc/hifi2_std/linker.ld | 616 + arch/xtensa/soc/hifi3_bd5/Kconfig | 12 + arch/xtensa/soc/hifi3_bd5/Makefile | 1 + arch/xtensa/soc/hifi3_bd5/linker.ld | 392 + arch/xtensa/soc/hifi3_bd5_call0/Kconfig | 12 + arch/xtensa/soc/hifi3_bd5_call0/Makefile | 1 + arch/xtensa/soc/hifi3_bd5_call0/linker.ld | 392 + arch/xtensa/soc/hifi4_bd7/Kconfig | 12 + arch/xtensa/soc/hifi4_bd7/Makefile | 1 + arch/xtensa/soc/hifi4_bd7/linker.ld | 439 + arch/xtensa/soc/hifi_mini/Kconfig | 12 + arch/xtensa/soc/hifi_mini/Makefile | 1 + arch/xtensa/soc/hifi_mini/linker.ld | 364 + arch/xtensa/soc/hifi_mini_4swIrq/Kconfig | 12 + arch/xtensa/soc/hifi_mini_4swIrq/Makefile | 1 + arch/xtensa/soc/hifi_mini_4swIrq/linker.ld | 364 + arch/xtensa/soc/sample_controller/Kconfig | 12 + arch/xtensa/soc/sample_controller/Makefile | 1 + arch/xtensa/soc/sample_controller/linker.ld | 606 + boards/arc/arduino_101_sss/Kconfig.defconfig | 31 + boards/arc/arduino_101_sss/Makefile.board | 2 + .../arc/arduino_101_sss/arduino_101_sss_defconfig | 2 - boards/arc/arduino_101_sss/board.h | 16 +- boards/arc/arduino_101_sss/doc/board.rst | 13 + boards/arc/em_starterkit/Kconfig.board | 12 +- boards/arc/em_starterkit/board.h | 12 +- .../doc/ARC_EM_Starter_Kit_Board_Photo.jpg | Bin 0 -> 59194 bytes boards/arc/em_starterkit/doc/board.rst | 328 + boards/arc/em_starterkit/em_starterkit_defconfig | 6 +- boards/arc/panther_ss/Kconfig.board | 4 + boards/arc/panther_ss/Kconfig.defconfig | 7 + boards/arc/panther_ss/Makefile | 2 + boards/arc/panther_ss/Makefile.board | 7 + boards/arc/panther_ss/board.h | 25 + boards/arc/panther_ss/panther_ss_defconfig | 15 + boards/arc/panther_ss/support/openocd.cfg | 9 + .../arc/quark_se_c1000_ss_devboard/Makefile.board | 1 + boards/arc/quark_se_c1000_ss_devboard/board.h | 17 +- .../quark_se_c1000_ss_devboard_defconfig | 3 - boards/arm/96b_carbon/96b_carbon_defconfig | 6 +- boards/arm/96b_carbon/Kconfig.board | 12 +- boards/arm/96b_carbon/Kconfig.defconfig | 12 +- boards/arm/96b_carbon/board.h | 32 +- boards/arm/96b_nitrogen/Kconfig | 12 +- boards/arm/96b_nitrogen/Kconfig.board | 12 +- boards/arm/96b_nitrogen/Kconfig.defconfig | 22 +- boards/arm/96b_nitrogen/board.h | 33 +- boards/arm/arduino_101_ble/Kconfig.board | 12 +- boards/arm/arduino_101_ble/Kconfig.defconfig | 12 +- boards/arm/arduino_101_ble/board.h | 12 +- boards/arm/arduino_101_ble/doc/board.rst | 12 + boards/arm/arduino_due/board.h | 12 +- boards/arm/arduino_due/doc/board.rst | 221 + boards/arm/arduino_due/pinmux.c | 14 +- boards/arm/bbc_microbit/Kconfig.board | 12 +- boards/arm/bbc_microbit/Kconfig.defconfig | 49 +- boards/arm/bbc_microbit/board.h | 68 +- boards/arm/cc3200_launchxl/board.h | 28 +- .../arm/cc3200_launchxl/cc3200_launchxl_defconfig | 8 +- boards/arm/cc3200_launchxl/doc/cc3200_launchxl.rst | 244 + boards/arm/cc3200_launchxl/pinmux.c | 38 +- boards/arm/curie_ble/Kconfig.board | 9 + boards/arm/curie_ble/Kconfig.defconfig | 37 + boards/arm/curie_ble/Makefile | 2 + boards/arm/curie_ble/board.h | 12 + boards/arm/curie_ble/curie_ble_defconfig | 13 + boards/arm/curie_ble/doc/board.rst | 11 + boards/arm/frdm_k64f/Kconfig.defconfig | 116 +- boards/arm/frdm_k64f/Makefile | 5 +- boards/arm/frdm_k64f/Makefile.board | 1 + boards/arm/frdm_k64f/board.h | 34 +- boards/arm/frdm_k64f/doc/frdm_k64f.jpg | Bin 0 -> 3081834 bytes boards/arm/frdm_k64f/doc/frdm_k64f.rst | 246 + boards/arm/frdm_k64f/frdm_k64f_defconfig | 2 +- boards/arm/frdm_k64f/pinmux.c | 108 + boards/arm/frdm_kw41z/Kconfig.board | 11 + boards/arm/frdm_kw41z/Kconfig.defconfig | 103 + boards/arm/frdm_kw41z/Makefile | 10 + boards/arm/frdm_kw41z/board.h | 44 + boards/arm/frdm_kw41z/doc/frdm_kw41z.jpg | Bin 0 -> 161842 bytes boards/arm/frdm_kw41z/doc/frdm_kw41z.rst | 181 + boards/arm/frdm_kw41z/frdm_kw41z_defconfig | 12 + boards/arm/frdm_kw41z/pinmux.c | 52 + boards/arm/hexiwear_k64/Kconfig.board | 12 +- boards/arm/hexiwear_k64/Kconfig.defconfig | 120 +- boards/arm/hexiwear_k64/Makefile | 17 +- boards/arm/hexiwear_k64/board.h | 24 +- boards/arm/hexiwear_k64/doc/hexiwear_k64.jpg | Bin 0 -> 504461 bytes boards/arm/hexiwear_k64/doc/hexiwear_k64.rst | 273 + boards/arm/hexiwear_k64/hexiwear_k64_defconfig | 2 +- boards/arm/hexiwear_k64/pinmux.c | 66 + boards/arm/mps2_an385/Kconfig.board | 9 + boards/arm/mps2_an385/Kconfig.defconfig | 108 + boards/arm/mps2_an385/Makefile | 9 + boards/arm/mps2_an385/board.h | 12 + boards/arm/mps2_an385/doc/img/mps2.png | Bin 0 -> 771962 bytes boards/arm/mps2_an385/doc/mps2_an385.rst | 283 + boards/arm/mps2_an385/mps2_an385_defconfig | 30 + boards/arm/mps2_an385/pinmux.c | 168 + boards/arm/nrf51_blenano/Kconfig.board | 12 +- boards/arm/nrf51_blenano/Kconfig.defconfig | 22 +- boards/arm/nrf51_blenano/board.h | 12 +- boards/arm/nrf51_pca10028/Kconfig.board | 12 +- boards/arm/nrf51_pca10028/Kconfig.defconfig | 22 +- boards/arm/nrf51_pca10028/board.h | 44 +- .../arm/nrf51_pca10028/doc/img/nrf51_pca10028.jpg | Bin 0 -> 260686 bytes boards/arm/nrf51_pca10028/doc/nrf51_pca10028.rst | 166 + boards/arm/nrf52840_pca10056/Kconfig | 13 + boards/arm/nrf52840_pca10056/Kconfig.board | 9 + boards/arm/nrf52840_pca10056/Kconfig.defconfig | 35 + boards/arm/nrf52840_pca10056/Makefile | 2 + boards/arm/nrf52840_pca10056/board.h | 44 + .../doc/img/nrf52840_pca10056.jpg | Bin 0 -> 301419 bytes .../nrf52840_pca10056/doc/nrf52840_pca10056.rst | 169 + .../nrf52840_pca10056/nrf52840_pca10056_defconfig | 20 + boards/arm/nrf52_pca10040/Kconfig | 12 +- boards/arm/nrf52_pca10040/Kconfig.board | 12 +- boards/arm/nrf52_pca10040/Kconfig.defconfig | 22 +- boards/arm/nrf52_pca10040/board.h | 46 +- .../arm/nrf52_pca10040/doc/img/nrf52_pca10040.jpg | Bin 0 -> 430502 bytes boards/arm/nrf52_pca10040/doc/nordic_segger.rst | 217 + boards/arm/nrf52_pca10040/doc/nrf52_pca10040.rst | 407 + boards/arm/nrf52_pca10040/nrf52_pca10040_defconfig | 1 + boards/arm/nucleo_f103rb/Kconfig.board | 12 +- boards/arm/nucleo_f103rb/Kconfig.defconfig | 12 +- boards/arm/nucleo_f103rb/Makefile.board | 1 + boards/arm/nucleo_f103rb/board.h | 29 +- boards/arm/nucleo_f103rb/nucleo_f103rb_defconfig | 11 +- boards/arm/nucleo_f334r8/Kconfig.board | 10 + boards/arm/nucleo_f334r8/Kconfig.defconfig | 13 + boards/arm/nucleo_f334r8/Makefile | 2 + boards/arm/nucleo_f334r8/Makefile.board | 7 + boards/arm/nucleo_f334r8/board.h | 26 + boards/arm/nucleo_f334r8/nucleo_f334r8_defconfig | 57 + boards/arm/nucleo_f334r8/support/openocd.cfg | 12 + boards/arm/nucleo_f401re/Kconfig.board | 12 +- boards/arm/nucleo_f401re/Kconfig.defconfig | 12 +- boards/arm/nucleo_f401re/Makefile.board | 1 + boards/arm/nucleo_f401re/board.h | 26 +- .../doc/img/nucleo64_perf_logo_1024.png | Bin 0 -> 780528 bytes .../doc/img/nucleo_f401re_arduino.png | Bin 0 -> 575018 bytes .../nucleo_f401re/doc/img/nucleo_f401re_morpho.png | Bin 0 -> 481267 bytes boards/arm/nucleo_f401re/doc/nucleof401re.rst | 200 + boards/arm/nucleo_f401re/nucleo_f401re_defconfig | 11 +- boards/arm/nucleo_f411re/Kconfig.board | 10 + boards/arm/nucleo_f411re/Kconfig.defconfig | 13 + boards/arm/nucleo_f411re/Makefile | 2 + boards/arm/nucleo_f411re/Makefile.board | 7 + boards/arm/nucleo_f411re/board.h | 27 + .../doc/img/nucleo64_perf_logo_1024.png | Bin 0 -> 780528 bytes .../doc/img/nucleo_f411re_arduino.png | Bin 0 -> 566518 bytes .../nucleo_f411re/doc/img/nucleo_f411re_morpho.png | Bin 0 -> 481546 bytes boards/arm/nucleo_f411re/doc/nucleof411re.rst | 201 + boards/arm/nucleo_f411re/nucleo_f411re_defconfig | 36 + boards/arm/nucleo_f411re/support/openocd.cfg | 12 + boards/arm/nucleo_l476rg/Kconfig.board | 11 + boards/arm/nucleo_l476rg/Kconfig.defconfig | 14 + boards/arm/nucleo_l476rg/Makefile | 2 + boards/arm/nucleo_l476rg/board.h | 27 + .../doc/img/nucleo64_ulp_logo_1024.jpg | Bin 0 -> 16731 bytes .../doc/img/nucleo_l476rg_arduino.png | Bin 0 -> 564540 bytes .../nucleo_l476rg/doc/img/nucleo_l476rg_morpho.png | Bin 0 -> 485284 bytes boards/arm/nucleo_l476rg/doc/nucleol476rg.rst | 239 + boards/arm/nucleo_l476rg/nucleo_l476rg_defconfig | 60 + boards/arm/olimexino_stm32/Kconfig.board | 12 +- boards/arm/olimexino_stm32/Kconfig.defconfig | 12 +- boards/arm/olimexino_stm32/board.h | 12 +- .../arm/olimexino_stm32/olimexino_stm32_defconfig | 6 +- boards/arm/qemu_cortex_m3/Makefile.board | 14 + boards/arm/qemu_cortex_m3/board.h | 12 +- boards/arm/qemu_cortex_m3/doc/board.rst | 74 + boards/arm/quark_se_c1000_ble/Kconfig.board | 12 +- boards/arm/quark_se_c1000_ble/Kconfig.defconfig | 12 +- boards/arm/quark_se_c1000_ble/board.h | 12 +- boards/arm/sam_e70_xplained/Kconfig.board | 9 + boards/arm/sam_e70_xplained/Kconfig.defconfig | 13 + boards/arm/sam_e70_xplained/Makefile | 8 + boards/arm/sam_e70_xplained/Makefile.board | 7 + boards/arm/sam_e70_xplained/board.h | 13 + .../sam_e70_xplained/sam_e70_xplained_defconfig | 16 + boards/arm/sam_e70_xplained/support/openocd.cfg | 12 + boards/arm/stm3210c_eval/Kconfig.board | 10 + boards/arm/stm3210c_eval/Kconfig.defconfig | 13 + boards/arm/stm3210c_eval/Makefile | 2 + boards/arm/stm3210c_eval/Makefile.board | 7 + boards/arm/stm3210c_eval/board.h | 32 + boards/arm/stm3210c_eval/stm3210c_eval_defconfig | 61 + boards/arm/stm3210c_eval/support/openocd.cfg | 12 + boards/arm/stm32373c_eval/Kconfig.board | 10 + boards/arm/stm32373c_eval/Kconfig.defconfig | 13 + boards/arm/stm32373c_eval/Makefile | 2 + boards/arm/stm32373c_eval/Makefile.board | 7 + boards/arm/stm32373c_eval/board.h | 32 + boards/arm/stm32373c_eval/stm32373c_eval_defconfig | 66 + boards/arm/stm32373c_eval/support/openocd.cfg | 12 + boards/arm/stm32_mini_a15/Kconfig.board | 12 +- boards/arm/stm32_mini_a15/Kconfig.defconfig | 12 +- boards/arm/stm32_mini_a15/board.h | 12 +- boards/arm/stm32_mini_a15/stm32_mini_a15_defconfig | 4 +- boards/arm/v2m_beetle/Kconfig.board | 12 +- boards/arm/v2m_beetle/Kconfig.defconfig | 57 +- boards/arm/v2m_beetle/Makefile | 12 +- boards/arm/v2m_beetle/board.h | 12 +- boards/arm/v2m_beetle/doc/img/v2m_beetle.png | Bin 0 -> 231342 bytes boards/arm/v2m_beetle/doc/v2m_beetle.rst | 267 + boards/arm/v2m_beetle/v2m_beetle_defconfig | 19 +- boards/boards.rst | 49 + boards/nios2/altera_max10/Makefile.board | 1 + boards/nios2/altera_max10/board.h | 12 +- boards/nios2/altera_max10/doc/board.rst | 334 + .../altera_max10/doc/img/Altera_MAX10_switches.jpg | Bin 0 -> 221390 bytes .../doc/img/max_10_dev_kit_top_photo.jpg | Bin 0 -> 125013 bytes boards/nios2/qemu_nios2/Makefile.board | 11 +- boards/nios2/qemu_nios2/board.h | 12 +- boards/riscv32/qemu_riscv32/Kconfig.board | 4 + boards/riscv32/qemu_riscv32/Kconfig.defconfig | 6 + boards/riscv32/qemu_riscv32/Makefile | 2 + boards/riscv32/qemu_riscv32/Makefile.board | 11 + boards/riscv32/qemu_riscv32/board.h | 12 + boards/riscv32/qemu_riscv32/qemu_riscv32_defconfig | 11 + boards/riscv32/zedboard_pulpino/Kconfig.board | 4 + boards/riscv32/zedboard_pulpino/Kconfig.defconfig | 6 + boards/riscv32/zedboard_pulpino/Makefile | 2 + boards/riscv32/zedboard_pulpino/README | 10 + boards/riscv32/zedboard_pulpino/board.h | 62 + .../zedboard_pulpino/zedboard_pulpino_defconfig | 13 + boards/x86/arduino_101/Kconfig.defconfig | 22 + boards/x86/arduino_101/Makefile.board | 1 + boards/x86/arduino_101/arduino_101_defconfig | 1 + boards/x86/arduino_101/board.h | 14 +- boards/x86/arduino_101/doc/board.rst | 485 + boards/x86/arduino_101/doc/img/arduino_101.jpg | Bin 0 -> 62638 bytes .../x86/arduino_101/doc/img/arduino_101_flat.jpg | Bin 0 -> 103350 bytes boards/x86/arduino_101/pinmux.c | 22 +- boards/x86/galileo/Kconfig | 12 +- boards/x86/galileo/Makefile | 1 - boards/x86/galileo/board.h | 12 +- boards/x86/galileo/galileo_defconfig | 2 - boards/x86/galileo/pinmux.c | 79 +- boards/x86/galileo/pinmux_dev.c | 110 - boards/x86/galileo/pinmux_galileo.h | 12 +- boards/x86/minnowboard/board.h | 12 +- boards/x86/panther/Kconfig.board | 4 + boards/x86/panther/Kconfig.defconfig | 30 + boards/x86/panther/Makefile | 7 + boards/x86/panther/Makefile.board | 8 + boards/x86/panther/board.c | 29 + boards/x86/panther/board.h | 33 + boards/x86/panther/panther_defconfig | 15 + boards/x86/panther/pinmux.c | 145 + boards/x86/panther/support/openocd.cfg | 8 + boards/x86/qemu_x86/Makefile.board | 21 + boards/x86/qemu_x86/board.h | 12 +- boards/x86/qemu_x86/doc/board.rst | 65 + boards/x86/quark_d2000_crb/Makefile.board | 1 + boards/x86/quark_d2000_crb/board.h | 12 +- .../doc/quark-d2000-developers-kit.png | Bin 0 -> 276854 bytes boards/x86/quark_d2000_crb/doc/quark_d2000_crb.rst | 134 + boards/x86/quark_d2000_crb/pinmux.c | 14 +- .../x86/quark_se_c1000_devboard/Kconfig.defconfig | 18 +- boards/x86/quark_se_c1000_devboard/Makefile | 9 - boards/x86/quark_se_c1000_devboard/Makefile.board | 1 + boards/x86/quark_se_c1000_devboard/board.c | 73 +- boards/x86/quark_se_c1000_devboard/board.h | 49 +- boards/x86/quark_se_c1000_devboard/pinmux.c | 14 +- boards/x86/tinytile/Kconfig.board | 4 + boards/x86/tinytile/Kconfig.defconfig | 54 + boards/x86/tinytile/Makefile | 6 + boards/x86/tinytile/board.h | 22 + boards/x86/tinytile/doc/TINYTILE.jpg | Bin 0 -> 15850 bytes boards/x86/tinytile/doc/board.rst | 35 + boards/x86/tinytile/pinmux.c | 172 + boards/x86/tinytile/tinytile_defconfig | 16 + boards/xtensa/xt-sim/Kconfig | 12 + boards/xtensa/xt-sim/Kconfig.board | 8 + boards/xtensa/xt-sim/Kconfig.defconfig | 11 + boards/xtensa/xt-sim/Makefile | 5 + boards/xtensa/xt-sim/Makefile.board | 4 + boards/xtensa/xt-sim/board.c | 4 + boards/xtensa/xt-sim/board.h | 10 + boards/xtensa/xt-sim/xt-sim_defconfig | 4 + doc/LICENSING.rst | 66 +- doc/Makefile | 21 +- doc/README.rst | 93 +- doc/api/api.rst | 4 +- doc/api/event_logger.rst | 30 - doc/api/io_interfaces.rst | 7 + doc/api/kernel_api.rst | 13 +- doc/api/networking.rst | 66 + doc/api/system_log.rst | 95 - doc/api/testing.rst | 147 - doc/application/application.rst | 785 +- doc/application/apps_build.rst | 117 - doc/application/apps_code_dev.rst | 152 - doc/application/apps_common_procedures.rst | 38 - doc/application/apps_kernel_conf.rst | 256 - doc/application/apps_overview.rst | 37 - doc/application/apps_run.rst | 58 - doc/application/apps_structure.rst | 166 - doc/application/figures/app_kernel_conf_1.png | Bin 56041 -> 113697 bytes doc/board/board.rst | 8 - doc/conf.py | 75 +- doc/copyright.rst | 7 + doc/doxygen.config | 336 - doc/drivers/drivers.rst | 37 - doc/getting_started/getting_started.rst | 18 +- doc/getting_started/installation_linux.rst | 13 +- doc/getting_started/installation_win.rst | 4 +- doc/index.rst | 19 +- doc/introduction/introducing_zephyr.rst | 15 +- .../data_passing/data_passing.rst | 0 doc/{kernel_v2 => kernel}/data_passing/fifos.rst | 0 doc/{kernel_v2 => kernel}/data_passing/lifos.rst | 0 .../data_passing/mailboxes.rst | 0 .../data_passing/message_queues.rst | 0 doc/{kernel_v2 => kernel}/data_passing/pipes.rst | 0 doc/{kernel_v2 => kernel}/data_passing/stacks.rst | 0 doc/kernel/kernel.rst | 20 + doc/{kernel_v2 => kernel}/memory/heap.rst | 0 doc/{kernel_v2 => kernel}/memory/memory.rst | 0 doc/{kernel_v2 => kernel}/memory/pools.rst | 0 doc/{kernel_v2 => kernel}/memory/slabs.rst | 0 doc/{kernel_v2 => kernel}/other/atomic.rst | 0 doc/kernel/other/cpu_idle.rst | 143 + doc/{kernel_v2 => kernel}/other/cxx_support.rst | 0 doc/{kernel_v2 => kernel}/other/float.rst | 0 doc/kernel/other/interrupts.rst | 250 + doc/kernel/other/other.rst | 16 + doc/{kernel_v2 => kernel}/other/ring_buffers.rst | 0 doc/kernel/overview/changes.rst | 168 + doc/{kernel_v2 => kernel}/overview/glossary.rst | 0 doc/{kernel_v2 => kernel}/overview/overview.rst | 0 doc/kernel/overview/source_tree.rst | 66 + .../synchronization/alerts.rst | 0 .../synchronization/mutexes.rst | 0 .../synchronization/semaphores.rst | 0 .../synchronization/synchronization.rst | 0 doc/kernel/threads/custom_data.rst | 83 + doc/kernel/threads/lifecycle.rst | 238 + doc/{kernel_v2 => kernel}/threads/scheduling.rst | 0 .../threads/system_threads.rst | 0 doc/{kernel_v2 => kernel}/threads/threads.rst | 0 doc/{kernel_v2 => kernel}/threads/workqueues.rst | 0 doc/{kernel_v2 => kernel}/timing/clocks.rst | 0 doc/{kernel_v2 => kernel}/timing/timers.rst | 0 doc/{kernel_v2 => kernel}/timing/timing.rst | 0 doc/kernel_v2/kernel.rst | 20 - doc/kernel_v2/other/c_library.rst | 12 - doc/kernel_v2/other/interrupts.rst | 198 - doc/kernel_v2/other/kernel_event_logger.rst | 252 - doc/kernel_v2/other/other.rst | 17 - doc/kernel_v2/overview/changes.rst | 166 - doc/kernel_v2/overview/source_tree.rst | 67 - doc/kernel_v2/threads/custom_data.rst | 83 - doc/kernel_v2/threads/lifecycle.rst | 236 - doc/porting/application.rst | 138 + doc/porting/arch.rst | 198 +- doc/porting/porting.rst | 1 + doc/porting/sync_v1.c | 59 + doc/porting/sync_v1_nano.c | 78 + doc/porting/sync_v2.c | 89 + doc/porting/v1.mdef | 11 + doc/reference/kbuild/kbuild.rst | 21 - doc/reference/kbuild/kbuild_kconfig.rst | 114 - doc/reference/kbuild/kbuild_makefiles.rst | 96 - doc/reference/kbuild/kbuild_project.rst | 194 - doc/release-notes.rst | 375 + doc/scripts/extract_content.py | 64 + doc/static/zephyr-custom.css | 6 + doc/subsystems/bluetooth/bluetooth.rst | 8 +- doc/subsystems/bluetooth/devel.rst | 8 +- doc/subsystems/bluetooth/gap-pics.rst | 98 +- doc/subsystems/bluetooth/gatt-pics.rst | 24 +- doc/subsystems/bluetooth/l2cap-pics.rst | 8 +- doc/subsystems/bluetooth/qualification.rst | 1 + doc/subsystems/bluetooth/rfcomm-pics.rst | 51 + doc/subsystems/bluetooth/sm-pics.rst | 14 +- doc/subsystems/c_library.rst | 19 + doc/subsystems/logging/index.rst | 8 + doc/subsystems/logging/kernel_event_logger.rst | 276 + doc/subsystems/logging/system_log.rst | 92 + doc/subsystems/networking/buffers.rst | 42 +- .../networking/connectivity-example-app.c | 214 + .../networking/ip-stack-architecture.dia | Bin 0 -> 3467 bytes .../networking/ip-stack-architecture.png | Bin 0 -> 55050 bytes .../networking/ip-stack-architecture.rst | 105 + .../networking/ip-stack-architecture.svg | 229 + doc/subsystems/networking/ip-stack-data-flow.dia | Bin 0 -> 3735 bytes doc/subsystems/networking/ip-stack-data-flow.png | Bin 0 -> 47931 bytes doc/subsystems/networking/ip-stack-data-flow.svg | 219 + doc/subsystems/networking/ip-stack-migrate.rst | 61 + doc/subsystems/networking/l2-and-drivers.rst | 154 + .../networking/network-management-api.rst | 100 + doc/subsystems/networking/networking-api-usage.rst | 57 + doc/subsystems/networking/networking.rst | 66 +- doc/subsystems/networking/overview.rst | 58 + doc/subsystems/networking/qemu_setup.rst | 158 + doc/subsystems/sensor.rst | 20 +- doc/subsystems/shell.rst | 146 +- doc/subsystems/subsystems.rst | 9 +- doc/{api => subsystems/test}/mocking.c | 0 doc/subsystems/test/ztest.rst | 147 + doc/templates/board.tmpl | 41 + doc/templates/sample.tmpl | 31 + doc/zephyr.doxyfile | 339 + drivers/Kconfig | 20 +- drivers/Makefile | 6 +- drivers/adc/Kconfig | 134 +- drivers/adc/adc_dw.c | 30 +- drivers/adc/adc_dw.h | 2 +- drivers/adc/adc_qmsi.c | 24 +- drivers/adc/adc_qmsi_ss.c | 34 +- drivers/adc/adc_ti_adc108s102.c | 33 +- drivers/adc/adc_ti_adc108s102.h | 12 +- drivers/aio/Kconfig | 20 +- drivers/aio/aio_comparator_qmsi.c | 21 +- drivers/bluetooth/Kconfig | 12 +- drivers/bluetooth/hci/Kconfig | 113 +- drivers/bluetooth/hci/Makefile | 1 + drivers/bluetooth/hci/h4.c | 465 +- drivers/bluetooth/hci/h5.c | 111 +- drivers/bluetooth/hci/spi.c | 387 + drivers/bluetooth/nble/Kconfig | 19 +- drivers/bluetooth/nble/Makefile | 2 - drivers/bluetooth/nble/conn.c | 20 +- drivers/bluetooth/nble/conn.h | 12 +- drivers/bluetooth/nble/conn_internal.h | 12 +- drivers/bluetooth/nble/gap.c | 25 +- drivers/bluetooth/nble/gap_internal.h | 12 +- drivers/bluetooth/nble/gatt.c | 114 +- drivers/bluetooth/nble/gatt_internal.h | 12 +- drivers/bluetooth/nble/rpc.h | 12 +- drivers/bluetooth/nble/rpc_deserialize.c | 42 +- drivers/bluetooth/nble/rpc_functions_to_ble_core.h | 12 +- drivers/bluetooth/nble/rpc_functions_to_quark.h | 12 +- drivers/bluetooth/nble/rpc_serialize.c | 23 +- drivers/bluetooth/nble/smp.c | 15 +- drivers/bluetooth/nble/smp.h | 12 +- drivers/bluetooth/nble/stubs.c | 12 +- drivers/bluetooth/nble/uart.c | 43 +- drivers/bluetooth/nble/uart.h | 12 +- drivers/bluetooth/nrf51_pm.c | 13 +- drivers/bluetooth/nrf51_pm.h | 12 +- drivers/bluetooth/util.h | 12 +- drivers/clock_control/Kconfig | 35 +- drivers/clock_control/Kconfig.beetle | 46 + drivers/clock_control/Kconfig.nrf5 | 14 +- drivers/clock_control/Kconfig.quark_se | 19 +- drivers/clock_control/Kconfig.stm32 | 186 + drivers/clock_control/Kconfig.stm32f107xx | 147 + drivers/clock_control/Kconfig.stm32f10x | 18 +- drivers/clock_control/Kconfig.stm32f4x | 14 +- drivers/clock_control/Makefile | 10 +- drivers/clock_control/beetle_clock_control.c | 248 + drivers/clock_control/nrf5_power_clock.c | 21 +- drivers/clock_control/quark_se_clock_control.c | 22 +- drivers/clock_control/stm32_ll_clock.c | 295 + drivers/clock_control/stm32_ll_clock.h | 16 + drivers/clock_control/stm32f107xx_clock.c | 416 + drivers/clock_control/stm32f10x_clock.c | 20 +- drivers/clock_control/stm32f3x_ll_clock.c | 73 + drivers/clock_control/stm32f4x_clock.c | 20 +- drivers/clock_control/stm32l4x_ll_clock.c | 35 + drivers/console/Kconfig | 64 +- drivers/console/Kconfig.telnet | 124 + drivers/console/Makefile | 5 +- drivers/console/console_handler_shell.c | 548 - drivers/console/ipm_console_receiver.c | 14 +- drivers/console/ipm_console_sender.c | 12 +- drivers/console/ram_console.c | 14 +- drivers/console/rtt_console.c | 45 + drivers/console/shells/Kconfig | 20 - drivers/console/shells/Makefile | 2 - drivers/console/shells/kernel_service.c | 57 - drivers/console/shells/shell_service.c | 40 - drivers/console/telnet_console.c | 558 + drivers/console/telnet_protocol.h | 125 + drivers/console/uart_console.c | 33 +- drivers/console/uart_pipe.c | 14 +- drivers/console/xtensa_sim_console.c | 86 + drivers/counter/Kconfig | 56 +- drivers/counter/Kconfig.dtmr_cmsdk_apb | 75 + drivers/counter/Kconfig.qmsi | 51 + drivers/counter/Kconfig.tmr_cmsdk_apb | 115 + drivers/counter/Makefile | 4 + drivers/counter/counter_dtmr_cmsdk_apb.c | 120 + drivers/counter/counter_qmsi_aon.c | 14 +- drivers/counter/counter_qmsi_aonpt.c | 107 +- drivers/counter/counter_tmr_cmsdk_apb.c | 140 + drivers/counter/dualtimer_cmsdk_apb.h | 68 + drivers/counter/timer_cmsdk_apb.h | 40 + drivers/counter/timer_dtmr_cmsdk_apb.c | 206 + drivers/counter/timer_tmr_cmsdk_apb.c | 241 + drivers/crypto/Kconfig | 67 + drivers/crypto/Kconfig.ataes132a | 44 + drivers/crypto/Makefile | 4 + drivers/crypto/crypto_ataes132a.c | 903 + drivers/crypto/crypto_ataes132a_priv.h | 394 + drivers/crypto/tc_shim.c | 323 + drivers/crypto/tc_shim_priv.h | 38 + drivers/dma/Kconfig | 12 +- drivers/dma/dma_qmsi.c | 184 +- drivers/ethernet/Kconfig | 92 +- drivers/ethernet/Kconfig.dw | 68 + drivers/ethernet/Kconfig.enc28j60 | 45 +- drivers/ethernet/Kconfig.ksdk | 113 - drivers/ethernet/Kconfig.mcux | 89 + drivers/ethernet/Kconfig.sam_gmac | 104 + drivers/ethernet/Makefile | 7 +- drivers/ethernet/eth_dw.c | 18 +- drivers/ethernet/eth_dw_priv.h | 12 +- drivers/ethernet/eth_enc28j60.c | 365 +- drivers/ethernet/eth_enc28j60_priv.h | 34 +- drivers/ethernet/eth_ksdk.c | 335 - drivers/ethernet/eth_mcux.c | 548 + drivers/ethernet/eth_sam_gmac.c | 835 + drivers/ethernet/eth_sam_gmac_priv.h | 190 + drivers/ethernet/phy_sam_gmac.c | 263 + drivers/ethernet/phy_sam_gmac.h | 60 + drivers/flash/Kconfig | 44 +- drivers/flash/Kconfig.stm32f3x | 25 + drivers/flash/Makefile | 7 +- drivers/flash/flash_stm32f3x.c | 150 + drivers/flash/flash_stm32f3x.h | 66 + drivers/flash/flash_stm32f3x_priv.c | 208 + drivers/flash/soc_flash_ksdk.c | 120 - drivers/flash/soc_flash_mcux.c | 110 + drivers/flash/soc_flash_nrf5.c | 29 +- drivers/flash/soc_flash_qmsi.c | 85 +- drivers/flash/spi_flash_w25qxxdv.c | 12 +- drivers/flash/spi_flash_w25qxxdv.h | 12 +- drivers/flash/spi_flash_w25qxxdv_defs.h | 12 +- drivers/gpio/Kconfig | 18 +- drivers/gpio/Kconfig.atmel_sam3 | 46 +- drivers/gpio/Kconfig.cc32xx | 93 + drivers/gpio/Kconfig.cmsdk_ahb | 12 +- drivers/gpio/Kconfig.dw | 33 +- drivers/gpio/Kconfig.k64 | 139 - drivers/gpio/Kconfig.mcux | 103 + drivers/gpio/Kconfig.nrf5 | 13 +- drivers/gpio/Kconfig.pcal9535a | 13 +- drivers/gpio/Kconfig.pulpino | 15 + drivers/gpio/Kconfig.qmsi | 12 +- drivers/gpio/Kconfig.sch | 12 +- drivers/gpio/Kconfig.stm32 | 16 +- drivers/gpio/Makefile | 4 +- drivers/gpio/gpio_atmel_sam3.c | 18 +- drivers/gpio/gpio_cc32xx.c | 325 + drivers/gpio/gpio_cmsdk_ahb.c | 65 +- drivers/gpio/gpio_cmsdk_ahb.h | 12 +- drivers/gpio/gpio_dw.c | 20 +- drivers/gpio/gpio_dw.h | 17 +- drivers/gpio/gpio_dw_registers.h | 17 +- drivers/gpio/gpio_k64.c | 405 - drivers/gpio/gpio_k64.h | 51 - drivers/gpio/gpio_mcux.c | 363 + drivers/gpio/gpio_nrf5.c | 235 +- drivers/gpio/gpio_pcal9535a.c | 18 +- drivers/gpio/gpio_pcal9535a.h | 17 +- drivers/gpio/gpio_pulpino.c | 280 + drivers/gpio/gpio_qmsi.c | 91 +- drivers/gpio/gpio_qmsi_ss.c | 96 +- drivers/gpio/gpio_sch.c | 14 +- drivers/gpio/gpio_sch.h | 16 +- drivers/gpio/gpio_stm32.c | 96 +- drivers/gpio/gpio_stm32.h | 49 +- drivers/gpio/gpio_utils.h | 17 +- drivers/grove/Kconfig | 12 +- drivers/grove/lcd_rgb.c | 22 +- drivers/grove/light_sensor.c | 22 +- drivers/grove/temperature_sensor.c | 23 +- drivers/i2c/Kconfig | 127 +- drivers/i2c/Makefile | 6 +- drivers/i2c/i2c_atmel_sam3.c | 32 +- drivers/i2c/i2c_atmel_sam3.h | 12 +- drivers/i2c/i2c_dw.c | 44 +- drivers/i2c/i2c_dw.h | 14 +- drivers/i2c/i2c_dw_registers.h | 12 +- drivers/i2c/i2c_ksdk.c | 246 - drivers/i2c/i2c_mcux.c | 241 + drivers/i2c/i2c_nrf5.c | 379 + drivers/i2c/i2c_qmsi.c | 47 +- drivers/i2c/i2c_qmsi_ss.c | 86 +- drivers/i2c/i2c_stm32lx.c | 477 + drivers/i2c/i2c_stm32lx.h | 209 + drivers/ieee802154/Kconfig | 90 +- drivers/ieee802154/Kconfig.cc2520 | 67 + drivers/ieee802154/Kconfig.mcr20a | 120 + drivers/ieee802154/Makefile | 11 +- drivers/ieee802154/ieee802154_cc2520.c | 901 +- drivers/ieee802154/ieee802154_cc2520.h | 32 +- drivers/ieee802154/ieee802154_cc2520_regs.h | 12 +- drivers/ieee802154/ieee802154_mcr20a.c | 1508 + drivers/ieee802154/ieee802154_mcr20a.h | 185 + drivers/ieee802154/ieee802154_mcr20a_regs.h | 590 + drivers/ieee802154/ieee802154_uart_pipe.c | 289 + drivers/ieee802154/ieee802154_uart_pipe.h | 26 + drivers/interrupt_controller/Kconfig | 12 +- drivers/interrupt_controller/Kconfig.stm32 | 12 +- drivers/interrupt_controller/arcv2_irq_unit.c | 166 +- drivers/interrupt_controller/exti_stm32.c | 109 +- drivers/interrupt_controller/exti_stm32.h | 12 +- drivers/interrupt_controller/i8259.c | 14 +- drivers/interrupt_controller/ioapic_intr.c | 14 +- drivers/interrupt_controller/ioapic_priv.h | 12 +- drivers/interrupt_controller/loapic_intr.c | 14 +- drivers/interrupt_controller/loapic_spurious.S | 14 +- drivers/interrupt_controller/mvic.c | 14 +- drivers/interrupt_controller/system_apic.c | 14 +- drivers/ipm/Makefile | 2 +- drivers/ipm/ipm_quark_se.c | 14 +- drivers/ipm/ipm_quark_se.h | 14 +- drivers/pci/Kconfig | 12 +- drivers/pci/pci.c | 14 +- drivers/pci/pci_config.c | 14 +- drivers/pci/pci_interface.c | 14 +- drivers/pci/pci_legacy_bridge.c | 14 +- drivers/pinmux/Kconfig | 22 +- drivers/pinmux/Kconfig.beetle | 12 +- drivers/pinmux/Kconfig.mcux | 72 + drivers/pinmux/Kconfig.stm32 | 12 +- drivers/pinmux/Makefile | 12 +- drivers/pinmux/beetle/pinmux_board_v2m_beetle.c | 14 +- drivers/pinmux/dev/Kconfig | 26 +- drivers/pinmux/dev/Makefile | 2 - drivers/pinmux/dev/pinmux_dev_arm_beetle.c | 14 +- drivers/pinmux/dev/pinmux_dev_atmel_sam3x.c | 16 +- drivers/pinmux/dev/pinmux_dev_k64.c | 16 +- drivers/pinmux/dev/pinmux_dev_qmsi.c | 99 - drivers/pinmux/dev/pinmux_dev_stm32.c | 16 +- drivers/pinmux/k64/pinmux.c | 163 - drivers/pinmux/k64/pinmux.h | 289 - drivers/pinmux/k64/pinmux_board_frdm_k64f.c | 117 - drivers/pinmux/k64/pinmux_board_hexiwear.c | 69 - drivers/pinmux/pinmux.h | 12 +- drivers/pinmux/pinmux_mcux.c | 127 + drivers/pinmux/pinmux_qmsi.c | 89 + drivers/pinmux/pinmux_quark_mcu.h | 12 +- drivers/pinmux/stm32/pinmux_board_carbon.c | 22 +- drivers/pinmux/stm32/pinmux_board_nucleo_f103rb.c | 32 +- drivers/pinmux/stm32/pinmux_board_nucleo_f334r8.c | 45 + drivers/pinmux/stm32/pinmux_board_nucleo_f401re.c | 25 +- drivers/pinmux/stm32/pinmux_board_nucleo_f411re.c | 38 + drivers/pinmux/stm32/pinmux_board_nucleo_l476rg.c | 62 + .../pinmux/stm32/pinmux_board_olimexino_stm32.c | 26 +- drivers/pinmux/stm32/pinmux_board_stm3210c_eval.c | 34 + drivers/pinmux/stm32/pinmux_board_stm32373c_eval.c | 34 + drivers/pinmux/stm32/pinmux_board_stm32_mini_a15.c | 26 +- drivers/pinmux/stm32/pinmux_stm32.c | 51 +- drivers/pinmux/stm32/pinmux_stm32.h | 50 +- drivers/pinmux/stm32/pinmux_stm32f1.h | 16 +- drivers/pinmux/stm32/pinmux_stm32f3.h | 39 + drivers/pinmux/stm32/pinmux_stm32f4.h | 14 +- drivers/pinmux/stm32/pinmux_stm32l4x.h | 81 + drivers/pwm/Kconfig | 14 +- drivers/pwm/Kconfig.dw | 12 +- drivers/pwm/Kconfig.k64 | 12 +- drivers/pwm/Kconfig.pca9685 | 12 +- drivers/pwm/Kconfig.qmsi | 12 +- drivers/pwm/Kconfig.stm32 | 46 + drivers/pwm/Makefile | 2 +- drivers/pwm/pwm_dw.c | 14 +- drivers/pwm/pwm_k64_ftm.c | 16 +- drivers/pwm/pwm_k64_ftm.h | 12 +- drivers/pwm/pwm_pca9685.c | 14 +- drivers/pwm/pwm_pca9685.h | 12 +- drivers/pwm/pwm_qmsi.c | 72 +- drivers/pwm/pwm_stm32.c | 313 + drivers/pwm/pwm_stm32.h | 50 + drivers/random/Kconfig | 65 +- drivers/random/Kconfig.mcux | 14 + drivers/random/Makefile | 2 +- drivers/random/rand32_ksdk_rnga.c | 68 - drivers/random/rand32_timer.c | 32 +- drivers/random/rand32_timestamp.c | 28 +- drivers/random/random_mcux.c | 93 + drivers/rtc/Kconfig | 12 +- drivers/rtc/rtc_qmsi.c | 84 +- drivers/sensor/Kconfig | 14 +- drivers/sensor/Makefile | 1 + drivers/sensor/ak8975/Kconfig | 12 +- drivers/sensor/ak8975/ak8975.c | 23 +- drivers/sensor/ak8975/ak8975.h | 14 +- drivers/sensor/bma280/Kconfig | 12 +- drivers/sensor/bma280/bma280.c | 16 +- drivers/sensor/bma280/bma280.h | 14 +- drivers/sensor/bma280/bma280_trigger.c | 14 +- drivers/sensor/bmc150_magn/Kconfig | 12 +- drivers/sensor/bmc150_magn/bmc150_magn.c | 43 +- drivers/sensor/bmc150_magn/bmc150_magn.h | 16 +- drivers/sensor/bmc150_magn/bmc150_magn_trigger.c | 16 +- drivers/sensor/bme280/Kconfig | 12 +- drivers/sensor/bme280/bme280.c | 15 +- drivers/sensor/bme280/bme280.h | 14 +- drivers/sensor/bmg160/Kconfig | 8 + drivers/sensor/bmg160/bmg160.c | 28 +- drivers/sensor/bmg160/bmg160.h | 14 +- drivers/sensor/bmg160/bmg160_trigger.c | 27 +- drivers/sensor/bmi160/Kconfig | 30 +- drivers/sensor/bmi160/bmi160.c | 89 +- drivers/sensor/bmi160/bmi160.h | 21 +- drivers/sensor/bmi160/bmi160_trigger.c | 69 +- drivers/sensor/dht/Kconfig | 12 +- drivers/sensor/dht/dht.c | 20 +- drivers/sensor/dht/dht.h | 14 +- drivers/sensor/fxos8700/Kconfig | 173 +- drivers/sensor/fxos8700/Makefile | 13 +- drivers/sensor/fxos8700/fxos8700.c | 77 +- drivers/sensor/fxos8700/fxos8700.h | 69 +- drivers/sensor/fxos8700/fxos8700_trigger.c | 316 + drivers/sensor/hdc1008/Kconfig | 12 +- drivers/sensor/hdc1008/hdc1008.c | 14 +- drivers/sensor/hdc1008/hdc1008.h | 14 +- drivers/sensor/hmc5883l/Kconfig | 12 +- drivers/sensor/hmc5883l/hmc5883l.c | 15 +- drivers/sensor/hmc5883l/hmc5883l.h | 14 +- drivers/sensor/hmc5883l/hmc5883l_trigger.c | 12 +- drivers/sensor/hp206c/Kconfig | 12 +- drivers/sensor/hp206c/hp206c.c | 30 +- drivers/sensor/hp206c/hp206c.h | 20 +- drivers/sensor/hts221/Kconfig | 12 +- drivers/sensor/hts221/hts221.c | 14 +- drivers/sensor/hts221/hts221.h | 14 +- drivers/sensor/hts221/hts221_trigger.c | 12 +- drivers/sensor/isl29035/Kconfig | 14 +- drivers/sensor/isl29035/isl29035.c | 15 +- drivers/sensor/isl29035/isl29035.h | 14 +- drivers/sensor/isl29035/isl29035_trigger.c | 25 +- drivers/sensor/lis3dh/Kconfig | 12 +- drivers/sensor/lis3dh/lis3dh.c | 18 +- drivers/sensor/lis3dh/lis3dh.h | 14 +- drivers/sensor/lis3dh/lis3dh_trigger.c | 12 +- drivers/sensor/lis3mdl/Kconfig | 12 +- drivers/sensor/lis3mdl/lis3mdl.c | 15 +- drivers/sensor/lis3mdl/lis3mdl.h | 14 +- drivers/sensor/lis3mdl/lis3mdl_trigger.c | 12 +- drivers/sensor/lps25hb/Kconfig | 32 +- drivers/sensor/lps25hb/lps25hb.c | 37 +- drivers/sensor/lps25hb/lps25hb.h | 14 +- drivers/sensor/lsm6ds0/Kconfig | 31 +- drivers/sensor/lsm6ds0/lsm6ds0.c | 58 +- drivers/sensor/lsm6ds0/lsm6ds0.h | 14 +- drivers/sensor/lsm9ds0_gyro/Kconfig | 12 +- drivers/sensor/lsm9ds0_gyro/lsm9ds0_gyro.c | 39 +- drivers/sensor/lsm9ds0_gyro/lsm9ds0_gyro.h | 16 +- drivers/sensor/lsm9ds0_gyro/lsm9ds0_gyro_trigger.c | 12 +- drivers/sensor/lsm9ds0_mfd/Kconfig | 12 +- drivers/sensor/lsm9ds0_mfd/lsm9ds0_mfd.c | 70 +- drivers/sensor/lsm9ds0_mfd/lsm9ds0_mfd.h | 16 +- drivers/sensor/max44009/Kconfig | 12 +- drivers/sensor/max44009/max44009.c | 20 +- drivers/sensor/max44009/max44009.h | 14 +- drivers/sensor/mcp9808/Kconfig | 12 +- drivers/sensor/mcp9808/mcp9808.c | 14 +- drivers/sensor/mcp9808/mcp9808.h | 14 +- drivers/sensor/mcp9808/mcp9808_trigger.c | 30 +- drivers/sensor/mpu6050/Kconfig | 12 +- drivers/sensor/mpu6050/mpu6050.c | 19 +- drivers/sensor/mpu6050/mpu6050.h | 14 +- drivers/sensor/mpu6050/mpu6050_trigger.c | 12 +- drivers/sensor/nrf5/Kconfig | 32 + drivers/sensor/nrf5/Makefile | 1 + drivers/sensor/nrf5/temp_nrf5.c | 126 + drivers/sensor/sht3xd/Kconfig | 12 +- drivers/sensor/sht3xd/sht3xd.c | 18 +- drivers/sensor/sht3xd/sht3xd.h | 14 +- drivers/sensor/sht3xd/sht3xd_trigger.c | 35 +- drivers/sensor/sx9500/Kconfig | 12 +- drivers/sensor/sx9500/sx9500.c | 14 +- drivers/sensor/sx9500/sx9500.h | 14 +- drivers/sensor/sx9500/sx9500_trigger.c | 12 +- drivers/sensor/th02/Kconfig | 14 +- drivers/sensor/th02/th02.c | 22 +- drivers/sensor/th02/th02.h | 14 +- drivers/sensor/tmp007/Kconfig | 12 +- drivers/sensor/tmp007/tmp007.c | 13 +- drivers/sensor/tmp007/tmp007.h | 14 +- drivers/sensor/tmp007/tmp007_trigger.c | 12 +- drivers/sensor/tmp112/Kconfig | 12 +- drivers/sensor/tmp112/tmp112.c | 25 +- drivers/serial/Kconfig | 20 +- drivers/serial/Kconfig.cc32xx | 3 + drivers/serial/Kconfig.cmsdk_apb | 27 +- drivers/serial/Kconfig.k20 | 178 - drivers/serial/Kconfig.mcux | 174 + drivers/serial/Kconfig.mcux_lpuart | 44 + drivers/serial/Kconfig.nrf5 | 14 +- drivers/serial/Kconfig.ns16550 | 7 + drivers/serial/Kconfig.riscv_qemu | 14 + drivers/serial/Kconfig.stm32 | 82 +- drivers/serial/Kconfig.usart_sam | 85 + drivers/serial/Makefile | 5 +- drivers/serial/uart_altera_jtag.c | 14 +- drivers/serial/uart_atmel_sam3.c | 16 +- drivers/serial/uart_cc32xx.c | 21 +- drivers/serial/uart_cmsdk_apb.c | 67 +- drivers/serial/uart_k20.c | 594 - drivers/serial/uart_k20.h | 26 - drivers/serial/uart_k20_priv.h | 262 - drivers/serial/uart_mcux.c | 508 + drivers/serial/uart_mcux_lpuart.c | 307 + drivers/serial/uart_nrf5.c | 30 +- drivers/serial/uart_ns16550.c | 30 +- drivers/serial/uart_ns16550.h | 12 +- drivers/serial/uart_nsim.c | 14 +- drivers/serial/uart_qmsi.c | 22 +- drivers/serial/uart_riscv_qemu.c | 54 + drivers/serial/uart_stellaris.c | 14 +- drivers/serial/uart_stellaris.h | 12 +- drivers/serial/uart_stm32.c | 397 +- drivers/serial/uart_stm32.h | 162 +- drivers/serial/usart_sam.c | 222 + drivers/shared_irq/Kconfig | 12 +- drivers/shared_irq/shared_irq.c | 14 +- drivers/slip/Kconfig | 80 + drivers/slip/Makefile | 1 + drivers/slip/slip.c | 427 + drivers/spi/Kconfig | 129 +- drivers/spi/Kconfig.dw | 12 +- drivers/spi/Kconfig.mcux | 36 + drivers/spi/Makefile | 2 +- drivers/spi/spi_dw.c | 22 +- drivers/spi/spi_dw.h | 14 +- drivers/spi/spi_dw_quark_se_ss_regs.h | 12 +- drivers/spi/spi_dw_regs.h | 12 +- drivers/spi/spi_intel.c | 22 +- drivers/spi/spi_intel.h | 14 +- drivers/spi/spi_k64.c | 1172 - drivers/spi/spi_k64_priv.h | 176 - drivers/spi/spi_mcux.c | 321 + drivers/spi/spi_qmsi.c | 50 +- drivers/spi/spi_qmsi_ss.c | 95 +- drivers/timer/Kconfig | 88 +- drivers/timer/Makefile | 9 +- drivers/timer/altera_avalon_timer.c | 25 +- drivers/timer/arcv2_timer0.c | 101 +- drivers/timer/cortex_m_systick.c | 111 +- drivers/timer/cortex_m_systick_gdb.S | 39 - drivers/timer/hpet.c | 39 +- drivers/timer/loapic_timer.c | 27 +- drivers/timer/nrf_rtc_timer.c | 198 + drivers/timer/pulpino_timer.c | 74 + drivers/timer/riscv_machine_timer.c | 107 + drivers/timer/sys_clock_init.c | 27 +- drivers/timer/xtensa_sys_timer.c | 351 + drivers/usb/Kconfig | 12 +- drivers/usb/device/Kconfig | 12 +- drivers/usb/device/Makefile | 2 - drivers/usb/device/usb_dc_dw.c | 18 +- drivers/usb/device/usb_dw_registers.h | 12 +- drivers/watchdog/Kconfig | 44 +- drivers/watchdog/Kconfig.cmsdk_apb | 35 + drivers/watchdog/Kconfig.qmsi | 36 + drivers/watchdog/Kconfig.stm32 | 40 +- drivers/watchdog/Makefile | 1 + drivers/watchdog/iwdg_stm32.c | 12 +- drivers/watchdog/iwdg_stm32.h | 12 +- drivers/watchdog/wdog_cmsdk_apb.c | 207 + drivers/watchdog/wdt_qmsi.c | 67 +- dts/arm/Makefile | 9 + dts/arm/armv6-m.dtsi | 25 + dts/arm/armv7-m.dtsi | 25 + dts/arm/cc3200_launchxl.dts | 22 + dts/arm/cc3200_launchxl.fixup | 7 + dts/arm/cc32xx_launchxl.dtsi | 52 + dts/arm/frdm_k64f.dts | 33 + dts/arm/frdm_k64f.fixup | 20 + dts/arm/frdm_kw41z.dts | 28 + dts/arm/frdm_kw41z.fixup | 5 + dts/arm/hexiwear_k64.dts | 34 + dts/arm/hexiwear_k64.fixup | 20 + dts/arm/nucleo_l476rg.dts | 75 + dts/arm/nucleo_l476rg.fixup | 34 + dts/arm/nxp_k6x.dtsi | 288 + dts/arm/nxp_kw41z.dtsi | 191 + dts/arm/stm32l476.dtsi | 158 + dts/arm/v2m_beetle.dts | 54 + dts/arm/v2m_beetle.fixup | 10 + dts/arm/yaml/arm,armv6m-nvic.yaml | 37 + dts/arm/yaml/arm,cmsdk-uart.yaml | 31 + dts/arm/yaml/arm_cortex_m4_nvic.yaml | 37 + dts/arm/yaml/k64gpio.yaml | 32 + dts/arm/yaml/k64pinmux.yaml | 32 + dts/arm/yaml/k64sim.yaml | 26 + dts/arm/yaml/k64uart.yaml | 43 + dts/arm/yaml/nxp,kw41z-lpuart.yaml | 37 + dts/arm/yaml/nxp,kw41z-pinmux.yaml | 32 + dts/arm/yaml/nxp,kw41z-sim.yaml | 26 + dts/arm/yaml/st,stm32-usart.yaml | 37 + dts/arm/yaml/ti,cc32xx-uart.yaml | 31 + dts/common/skeleton.dtsi | 13 + dts/common/yaml/uart.yaml | 25 + dts/common/yaml/zephyr_devices.yaml | 14 + ext/Kbuild | 1 + ext/Kconfig | 14 +- ext/Makefile | 1 + ext/debug/Kbuild | 1 + ext/debug/Kconfig | 15 + ext/debug/Makefile | 3 + ext/debug/segger/Kbuild | 1 + ext/debug/segger/Kconfig | 10 + ext/debug/segger/Makefile | 4 + ext/debug/segger/rtt/SEGGER_RTT.c | 1457 + ext/debug/segger/rtt/SEGGER_RTT.h | 248 + ext/debug/segger/rtt/SEGGER_RTT_Conf.h | 269 + ext/debug/segger/rtt/SEGGER_RTT_printf.c | 515 + ext/fs/Kconfig | 12 +- ext/fs/fat/README | 10 +- ext/fs/fat/diskio.c | 20 +- ext/fs/fat/ff.c | 413 +- ext/fs/fat/include/diskio.h | 19 - ext/fs/fat/include/ff.h | 6 +- ext/fs/fat/include/ffconf.h | 31 +- ext/fs/fat/include/integer.h | 19 - ext/fs/fat/option/cc932.c | 18 - ext/fs/fat/option/cc936.c | 18 - ext/fs/fat/option/cc949.c | 18 - ext/fs/fat/option/cc950.c | 18 - ext/fs/fat/option/ccsbcs.c | 18 - ext/fs/fat/option/syscall.c | 18 - ext/fs/fat/option/unicode.c | 18 - ext/hal/Kbuild | 5 +- ext/hal/Kconfig | 18 +- ext/hal/Makefile | 7 +- ext/hal/README | 11 +- ext/hal/atmel/asf/Kconfig | 10 + ext/hal/atmel/asf/Makefile | 9 + ext/hal/atmel/asf/sam/Makefile | 7 + .../asf/sam/include/sam3x/component-version.h | 72 + .../atmel/asf/sam/include/sam3x/component/adc.h | 498 + .../atmel/asf/sam/include/sam3x/component/can.h | 298 + .../atmel/asf/sam/include/sam3x/component/chipid.h | 121 + .../atmel/asf/sam/include/sam3x/component/dacc.h | 210 + .../atmel/asf/sam/include/sam3x/component/dmac.h | 359 + .../atmel/asf/sam/include/sam3x/component/efc.h | 90 + .../atmel/asf/sam/include/sam3x/component/emac.h | 335 + .../atmel/asf/sam/include/sam3x/component/gpbr.h | 53 + .../atmel/asf/sam/include/sam3x/component/hsmci.h | 334 + .../atmel/asf/sam/include/sam3x/component/matrix.h | 285 + .../atmel/asf/sam/include/sam3x/component/pdc.h | 98 + .../atmel/asf/sam/include/sam3x/component/pio.h | 1435 + .../atmel/asf/sam/include/sam3x/component/pmc.h | 398 + .../atmel/asf/sam/include/sam3x/component/pwm.h | 667 + .../atmel/asf/sam/include/sam3x/component/rstc.h | 78 + .../atmel/asf/sam/include/sam3x/component/rtc.h | 178 + .../atmel/asf/sam/include/sam3x/component/rtt.h | 69 + .../atmel/asf/sam/include/sam3x/component/sdramc.h | 188 + .../atmel/asf/sam/include/sam3x/component/smc.h | 484 + .../atmel/asf/sam/include/sam3x/component/spi.h | 159 + .../atmel/asf/sam/include/sam3x/component/ssc.h | 265 + .../atmel/asf/sam/include/sam3x/component/supc.h | 299 + ext/hal/atmel/asf/sam/include/sam3x/component/tc.h | 303 + .../atmel/asf/sam/include/sam3x/component/trng.h | 72 + .../atmel/asf/sam/include/sam3x/component/twi.h | 217 + .../atmel/asf/sam/include/sam3x/component/uart.h | 185 + .../atmel/asf/sam/include/sam3x/component/uotghs.h | 939 + .../atmel/asf/sam/include/sam3x/component/usart.h | 403 + .../atmel/asf/sam/include/sam3x/component/wdt.h | 72 + ext/hal/atmel/asf/sam/include/sam3x/instance/adc.h | 92 + .../atmel/asf/sam/include/sam3x/instance/can0.h | 192 + .../atmel/asf/sam/include/sam3x/instance/can1.h | 192 + .../atmel/asf/sam/include/sam3x/instance/chipid.h | 42 + .../atmel/asf/sam/include/sam3x/instance/dacc.h | 76 + .../atmel/asf/sam/include/sam3x/instance/dmac.h | 138 + .../atmel/asf/sam/include/sam3x/instance/efc0.h | 46 + .../atmel/asf/sam/include/sam3x/instance/efc1.h | 46 + .../atmel/asf/sam/include/sam3x/instance/emac.h | 128 + .../atmel/asf/sam/include/sam3x/instance/gpbr.h | 40 + .../atmel/asf/sam/include/sam3x/instance/hsmci.h | 78 + .../atmel/asf/sam/include/sam3x/instance/matrix.h | 68 + .../atmel/asf/sam/include/sam3x/instance/pioa.h | 124 + .../atmel/asf/sam/include/sam3x/instance/piob.h | 124 + .../atmel/asf/sam/include/sam3x/instance/pioc.h | 124 + .../atmel/asf/sam/include/sam3x/instance/piod.h | 124 + .../atmel/asf/sam/include/sam3x/instance/pioe.h | 124 + .../atmel/asf/sam/include/sam3x/instance/piof.h | 124 + ext/hal/atmel/asf/sam/include/sam3x/instance/pmc.h | 90 + ext/hal/atmel/asf/sam/include/sam3x/instance/pwm.h | 306 + .../atmel/asf/sam/include/sam3x/instance/rstc.h | 44 + ext/hal/atmel/asf/sam/include/sam3x/instance/rtc.h | 64 + ext/hal/atmel/asf/sam/include/sam3x/instance/rtt.h | 46 + .../atmel/asf/sam/include/sam3x/instance/sdramc.h | 60 + ext/hal/atmel/asf/sam/include/sam3x/instance/smc.h | 184 + .../atmel/asf/sam/include/sam3x/instance/spi0.h | 60 + .../atmel/asf/sam/include/sam3x/instance/spi1.h | 60 + ext/hal/atmel/asf/sam/include/sam3x/instance/ssc.h | 74 + .../atmel/asf/sam/include/sam3x/instance/supc.h | 50 + ext/hal/atmel/asf/sam/include/sam3x/instance/tc0.h | 120 + ext/hal/atmel/asf/sam/include/sam3x/instance/tc1.h | 120 + ext/hal/atmel/asf/sam/include/sam3x/instance/tc2.h | 120 + .../atmel/asf/sam/include/sam3x/instance/trng.h | 50 + .../atmel/asf/sam/include/sam3x/instance/twi0.h | 80 + .../atmel/asf/sam/include/sam3x/instance/twi1.h | 80 + .../atmel/asf/sam/include/sam3x/instance/uart.h | 76 + .../atmel/asf/sam/include/sam3x/instance/uotghs.h | 234 + .../atmel/asf/sam/include/sam3x/instance/usart0.h | 98 + .../atmel/asf/sam/include/sam3x/instance/usart1.h | 98 + .../atmel/asf/sam/include/sam3x/instance/usart2.h | 98 + .../atmel/asf/sam/include/sam3x/instance/usart3.h | 98 + ext/hal/atmel/asf/sam/include/sam3x/instance/wdt.h | 44 + ext/hal/atmel/asf/sam/include/sam3x/pio/sam3x4c.h | 358 + ext/hal/atmel/asf/sam/include/sam3x/pio/sam3x4e.h | 552 + ext/hal/atmel/asf/sam/include/sam3x/pio/sam3x8c.h | 358 + ext/hal/atmel/asf/sam/include/sam3x/pio/sam3x8e.h | 552 + ext/hal/atmel/asf/sam/include/sam3x/pio/sam3x8h.h | 680 + ext/hal/atmel/asf/sam/include/sam3x/sam3x4c.h | 550 + ext/hal/atmel/asf/sam/include/sam3x/sam3x4e.h | 590 + ext/hal/atmel/asf/sam/include/sam3x/sam3x8c.h | 550 + ext/hal/atmel/asf/sam/include/sam3x/sam3x8e.h | 590 + ext/hal/atmel/asf/sam/include/sam3x/sam3x8h.h | 615 + .../asf/sam/include/same70/component-version.h | 65 + .../atmel/asf/sam/include/same70/component/acc.h | 389 + .../atmel/asf/sam/include/same70/component/aes.h | 580 + .../atmel/asf/sam/include/same70/component/afec.h | 1681 + .../asf/sam/include/same70/component/chipid.h | 247 + .../atmel/asf/sam/include/same70/component/dacc.h | 705 + .../atmel/asf/sam/include/same70/component/efc.h | 287 + .../atmel/asf/sam/include/same70/component/gmac.h | 5125 + .../atmel/asf/sam/include/same70/component/gpbr.h | 88 + .../atmel/asf/sam/include/same70/component/hsmci.h | 1170 + .../atmel/asf/sam/include/same70/component/icm.h | 504 + .../atmel/asf/sam/include/same70/component/isi.h | 1053 + .../asf/sam/include/same70/component/matrix.h | 501 + .../atmel/asf/sam/include/same70/component/mcan.h | 3175 + .../atmel/asf/sam/include/same70/component/pio.h | 7396 ++ .../atmel/asf/sam/include/same70/component/pmc.h | 3032 + .../atmel/asf/sam/include/same70/component/pwm.h | 2825 + .../atmel/asf/sam/include/same70/component/qspi.h | 734 + .../atmel/asf/sam/include/same70/component/rstc.h | 188 + .../atmel/asf/sam/include/same70/component/rswdt.h | 168 + .../atmel/asf/sam/include/same70/component/rtc.h | 711 + .../atmel/asf/sam/include/same70/component/rtt.h | 185 + .../asf/sam/include/same70/component/sdramc.h | 499 + .../atmel/asf/sam/include/same70/component/smc.h | 417 + .../atmel/asf/sam/include/same70/component/spi.h | 574 + .../atmel/asf/sam/include/same70/component/ssc.h | 878 + .../atmel/asf/sam/include/same70/component/supc.h | 814 + .../atmel/asf/sam/include/same70/component/tc.h | 1043 + .../atmel/asf/sam/include/same70/component/trng.h | 218 + .../atmel/asf/sam/include/same70/component/twihs.h | 933 + .../atmel/asf/sam/include/same70/component/uart.h | 535 + .../atmel/asf/sam/include/same70/component/usart.h | 1446 + .../atmel/asf/sam/include/same70/component/usbhs.h | 3550 + .../atmel/asf/sam/include/same70/component/utmi.h | 135 + .../atmel/asf/sam/include/same70/component/wdt.h | 172 + .../atmel/asf/sam/include/same70/component/xdmac.h | 2516 + .../atmel/asf/sam/include/same70/instance/acc.h | 60 + .../atmel/asf/sam/include/same70/instance/aes.h | 140 + .../atmel/asf/sam/include/same70/instance/afec0.h | 101 + .../atmel/asf/sam/include/same70/instance/afec1.h | 101 + .../atmel/asf/sam/include/same70/instance/chipid.h | 43 + .../atmel/asf/sam/include/same70/instance/dacc.h | 75 + .../atmel/asf/sam/include/same70/instance/efc.h | 55 + .../atmel/asf/sam/include/same70/instance/gmac.h | 434 + .../atmel/asf/sam/include/same70/instance/gpbr.h | 57 + .../atmel/asf/sam/include/same70/instance/hsmci.h | 604 + .../atmel/asf/sam/include/same70/instance/icm.h | 80 + .../atmel/asf/sam/include/same70/instance/isi.h | 92 + .../atmel/asf/sam/include/same70/instance/matrix.h | 133 + .../atmel/asf/sam/include/same70/instance/mcan0.h | 130 + .../atmel/asf/sam/include/same70/instance/mcan1.h | 130 + .../atmel/asf/sam/include/same70/instance/pioa.h | 155 + .../atmel/asf/sam/include/same70/instance/piob.h | 154 + .../atmel/asf/sam/include/same70/instance/pioc.h | 154 + .../atmel/asf/sam/include/same70/instance/piod.h | 154 + .../atmel/asf/sam/include/same70/instance/pioe.h | 154 + .../atmel/asf/sam/include/same70/instance/pmc.h | 132 + .../atmel/asf/sam/include/same70/instance/pwm0.h | 261 + .../atmel/asf/sam/include/same70/instance/pwm1.h | 261 + .../atmel/asf/sam/include/same70/instance/qspi.h | 76 + .../atmel/asf/sam/include/same70/instance/rstc.h | 48 + .../atmel/asf/sam/include/same70/instance/rswdt.h | 48 + .../atmel/asf/sam/include/same70/instance/rtc.h | 68 + .../atmel/asf/sam/include/same70/instance/rtt.h | 50 + .../atmel/asf/sam/include/same70/instance/sdramc.h | 68 + .../atmel/asf/sam/include/same70/instance/smc.h | 84 + .../atmel/asf/sam/include/same70/instance/spi0.h | 74 + .../atmel/asf/sam/include/same70/instance/spi1.h | 74 + .../atmel/asf/sam/include/same70/instance/ssc.h | 80 + .../atmel/asf/sam/include/same70/instance/supc.h | 54 + .../atmel/asf/sam/include/same70/instance/tc0.h | 139 + .../atmel/asf/sam/include/same70/instance/tc1.h | 139 + .../atmel/asf/sam/include/same70/instance/tc2.h | 139 + .../atmel/asf/sam/include/same70/instance/tc3.h | 139 + .../atmel/asf/sam/include/same70/instance/trng.h | 54 + .../atmel/asf/sam/include/same70/instance/twihs0.h | 76 + .../atmel/asf/sam/include/same70/instance/twihs1.h | 76 + .../atmel/asf/sam/include/same70/instance/twihs2.h | 76 + .../atmel/asf/sam/include/same70/instance/uart0.h | 66 + .../atmel/asf/sam/include/same70/instance/uart1.h | 66 + .../atmel/asf/sam/include/same70/instance/uart2.h | 66 + .../atmel/asf/sam/include/same70/instance/uart3.h | 66 + .../atmel/asf/sam/include/same70/instance/uart4.h | 66 + .../atmel/asf/sam/include/same70/instance/usart0.h | 106 + .../atmel/asf/sam/include/same70/instance/usart1.h | 106 + .../atmel/asf/sam/include/same70/instance/usart2.h | 106 + .../atmel/asf/sam/include/same70/instance/usbhs.h | 556 + .../atmel/asf/sam/include/same70/instance/utmi.h | 43 + .../atmel/asf/sam/include/same70/instance/wdt.h | 48 + .../atmel/asf/sam/include/same70/instance/xdmac.h | 748 + .../atmel/asf/sam/include/same70/pio/same70j19.h | 1401 + .../atmel/asf/sam/include/same70/pio/same70j20.h | 1401 + .../atmel/asf/sam/include/same70/pio/same70j21.h | 1401 + .../atmel/asf/sam/include/same70/pio/same70n19.h | 1443 + .../atmel/asf/sam/include/same70/pio/same70n20.h | 1443 + .../atmel/asf/sam/include/same70/pio/same70n21.h | 1443 + .../atmel/asf/sam/include/same70/pio/same70q19.h | 2681 + .../atmel/asf/sam/include/same70/pio/same70q20.h | 2681 + .../atmel/asf/sam/include/same70/pio/same70q21.h | 2684 + ext/hal/atmel/asf/sam/include/same70/same70j19.h | 817 + ext/hal/atmel/asf/sam/include/same70/same70j20.h | 818 + ext/hal/atmel/asf/sam/include/same70/same70j21.h | 818 + ext/hal/atmel/asf/sam/include/same70/same70n19.h | 833 + ext/hal/atmel/asf/sam/include/same70/same70n20.h | 833 + ext/hal/atmel/asf/sam/include/same70/same70n21.h | 833 + ext/hal/atmel/asf/sam/include/same70/same70q19.h | 887 + ext/hal/atmel/asf/sam/include/same70/same70q20.h | 887 + ext/hal/atmel/asf/sam/include/same70/same70q21.h | 870 + ext/hal/cmsis/Kconfig | 12 +- ext/hal/ksdk/Kconfig | 22 - ext/hal/ksdk/Makefile | 45 - ext/hal/ksdk/README | 8 - ext/hal/ksdk/components/Makefile | 18 - ext/hal/ksdk/drivers/Makefile | 21 - ext/hal/ksdk/drivers/fsl_adc16.c | 363 - ext/hal/ksdk/drivers/fsl_cmp.c | 279 - ext/hal/ksdk/drivers/fsl_cmt.c | 260 - ext/hal/ksdk/drivers/fsl_common.c | 95 - ext/hal/ksdk/drivers/fsl_dac.c | 213 - ext/hal/ksdk/drivers/fsl_dac.h | 379 - ext/hal/ksdk/drivers/fsl_dspi.c | 1659 - ext/hal/ksdk/drivers/fsl_dspi.h | 1185 - ext/hal/ksdk/drivers/fsl_dspi_edma.c | 1262 - ext/hal/ksdk/drivers/fsl_flash.c | 2610 - ext/hal/ksdk/drivers/fsl_flash.h | 1177 - ext/hal/ksdk/drivers/fsl_i2c.c | 1536 - ext/hal/ksdk/drivers/fsl_i2c.h | 781 - ext/hal/ksdk/drivers/fsl_llwu.h | 321 - ext/hal/ksdk/drivers/fsl_lptmr.h | 351 - ext/hal/ksdk/drivers/fsl_port.h | 382 - ext/hal/ksdk/drivers/fsl_rtc.c | 370 - ext/hal/ksdk/drivers/fsl_rtc.h | 405 - ext/hal/nordic/Kbuild | 1 + ext/hal/nordic/Kconfig | 11 + ext/hal/nordic/Makefile | 7 + ext/hal/nordic/hal/nrf_adc.c | 97 + ext/hal/nordic/hal/nrf_adc.h | 449 + ext/hal/nordic/hal/nrf_assert.h | 53 + ext/hal/nordic/hal/nrf_clock.h | 393 + ext/hal/nordic/hal/nrf_comp.h | 501 + ext/hal/nordic/hal/nrf_ecb.c | 92 + ext/hal/nordic/hal/nrf_ecb.h | 93 + ext/hal/nordic/hal/nrf_egu.h | 343 + ext/hal/nordic/hal/nrf_gpio.h | 787 + ext/hal/nordic/hal/nrf_gpiote.h | 422 + ext/hal/nordic/hal/nrf_i2s.h | 555 + ext/hal/nordic/hal/nrf_lpcomp.h | 417 + ext/hal/nordic/hal/nrf_nvmc.c | 135 + ext/hal/nordic/hal/nrf_nvmc.h | 117 + ext/hal/nordic/hal/nrf_pdm.h | 388 + ext/hal/nordic/hal/nrf_peripherals.h | 61 + ext/hal/nordic/hal/nrf_power.h | 1030 + ext/hal/nordic/hal/nrf_ppi.h | 431 + ext/hal/nordic/hal/nrf_pwm.h | 693 + ext/hal/nordic/hal/nrf_qdec.h | 496 + ext/hal/nordic/hal/nrf_qspi.h | 757 + ext/hal/nordic/hal/nrf_radio.h | 609 + ext/hal/nordic/hal/nrf_rng.h | 243 + ext/hal/nordic/hal/nrf_rtc.h | 335 + ext/hal/nordic/hal/nrf_saadc.c | 54 + ext/hal/nordic/hal/nrf_saadc.h | 601 + ext/hal/nordic/hal/nrf_spi.h | 366 + ext/hal/nordic/hal/nrf_spim.h | 543 + ext/hal/nordic/hal/nrf_spis.h | 545 + ext/hal/nordic/hal/nrf_systick.h | 176 + ext/hal/nordic/hal/nrf_temp.h | 83 + ext/hal/nordic/hal/nrf_timer.h | 622 + ext/hal/nordic/hal/nrf_twi.h | 444 + ext/hal/nordic/hal/nrf_twim.h | 510 + ext/hal/nordic/hal/nrf_twis.h | 697 + ext/hal/nordic/hal/nrf_uart.h | 541 + ext/hal/nordic/hal/nrf_uarte.h | 567 + ext/hal/nordic/hal/nrf_usbd.h | 1281 + ext/hal/nordic/hal/nrf_wdt.h | 331 + ext/hal/nordic/mdk/Kconfig | 18 - ext/hal/nordic/mdk/Makefile | 4 - ext/hal/nordic/mdk/compiler_abstraction.h | 21 +- ext/hal/nordic/mdk/nrf.h | 36 +- ext/hal/nordic/mdk/nrf51.h | 28 +- ext/hal/nordic/mdk/nrf51422_peripherals.h | 144 + ext/hal/nordic/mdk/nrf51802_peripherals.h | 144 + ext/hal/nordic/mdk/nrf51822_peripherals.h | 144 + ext/hal/nordic/mdk/nrf51824_peripherals.h | 144 + ext/hal/nordic/mdk/nrf51_bitfields.h | 604 +- ext/hal/nordic/mdk/nrf51_deprecated.h | 6 +- ext/hal/nordic/mdk/nrf51_to_nrf52.h | 19 +- ext/hal/nordic/mdk/nrf51_to_nrf52840.h | 567 + ext/hal/nordic/mdk/nrf52.h | 62 +- ext/hal/nordic/mdk/nrf52832_peripherals.h | 218 + ext/hal/nordic/mdk/nrf52840.h | 2417 + ext/hal/nordic/mdk/nrf52840_bitfields.h | 14633 +++ ext/hal/nordic/mdk/nrf52840_peripherals.h | 240 + ext/hal/nordic/mdk/nrf52_bitfields.h | 2696 +- ext/hal/nordic/mdk/nrf52_name_change.h | 6 +- ext/hal/nordic/mdk/nrf52_to_nrf52840.h | 88 + ext/hal/nordic/mdk/system_nrf52.h | 4 +- ext/hal/nordic/mdk/system_nrf52840.h | 69 + ext/hal/nxp/mcux/Kconfig | 11 + ext/hal/nxp/mcux/Makefile | 39 + ext/hal/nxp/mcux/README | 29 + ext/hal/nxp/mcux/components/Makefile | 8 + .../nxp/mcux/components/mcr20a/MCR20Overwrites.h | 309 + .../mcux}/components/phyksz8081/fsl_phy.c | 0 .../mcux}/components/phyksz8081/fsl_phy.h | 0 .../{ksdk => nxp/mcux}/devices/MK64F12/MK64F12.h | 0 .../{ksdk => nxp/mcux}/devices/MK64F12/MK64F12.svd | 0 .../mcux}/devices/MK64F12/MK64F12_features.h | 0 .../mcux}/devices/MK64F12/clock_config.c | 0 .../mcux}/devices/MK64F12/clock_config.h | 0 .../{ksdk => nxp/mcux}/devices/MK64F12/fsl_clock.c | 0 .../{ksdk => nxp/mcux}/devices/MK64F12/fsl_clock.h | 0 .../mcux}/devices/MK64F12/fsl_device_registers.h | 0 .../mcux}/devices/MK64F12/system_MK64F12.c | 0 .../mcux}/devices/MK64F12/system_MK64F12.h | 0 ext/hal/nxp/mcux/devices/MKW21Z4/MKW21Z4.h | 12908 +++ ext/hal/nxp/mcux/devices/MKW21Z4/MKW21Z4.svd | 103175 +++++++++++++++++ .../nxp/mcux/devices/MKW21Z4/MKW21Z4_features.h | 1719 + .../mcux/devices/MKW21Z4/fsl_device_registers.h | 56 + ext/hal/nxp/mcux/devices/MKW21Z4/system_MKW21Z4.c | 179 + ext/hal/nxp/mcux/devices/MKW21Z4/system_MKW21Z4.h | 133 + ext/hal/nxp/mcux/devices/MKW31Z4/MKW31Z4.h | 12275 +++ ext/hal/nxp/mcux/devices/MKW31Z4/MKW31Z4.svd | 98412 +++++++++++++++++ .../nxp/mcux/devices/MKW31Z4/MKW31Z4_features.h | 1719 + .../mcux/devices/MKW31Z4/fsl_device_registers.h | 56 + ext/hal/nxp/mcux/devices/MKW31Z4/system_MKW31Z4.c | 179 + ext/hal/nxp/mcux/devices/MKW31Z4/system_MKW31Z4.h | 133 + ext/hal/nxp/mcux/devices/MKW41Z4/MKW41Z4.h | 12978 +++ ext/hal/nxp/mcux/devices/MKW41Z4/MKW41Z4.svd | 103301 ++++++++++++++++++ .../nxp/mcux/devices/MKW41Z4/MKW41Z4_features.h | 1719 + ext/hal/nxp/mcux/devices/MKW41Z4/clock_config.c | 221 + ext/hal/nxp/mcux/devices/MKW41Z4/clock_config.h | 55 + ext/hal/nxp/mcux/devices/MKW41Z4/fsl_clock.c | 1321 + ext/hal/nxp/mcux/devices/MKW41Z4/fsl_clock.h | 1138 + .../mcux/devices/MKW41Z4/fsl_device_registers.h | 56 + ext/hal/nxp/mcux/devices/MKW41Z4/system_MKW41Z4.c | 179 + ext/hal/nxp/mcux/devices/MKW41Z4/system_MKW41Z4.h | 133 + ext/hal/nxp/mcux/drivers/Makefile | 13 + ext/hal/nxp/mcux/drivers/fsl_adc16.c | 364 + ext/hal/{ksdk => nxp/mcux}/drivers/fsl_adc16.h | 0 ext/hal/nxp/mcux/drivers/fsl_cmp.c | 279 + ext/hal/{ksdk => nxp/mcux}/drivers/fsl_cmp.h | 0 ext/hal/nxp/mcux/drivers/fsl_cmt.c | 260 + ext/hal/{ksdk => nxp/mcux}/drivers/fsl_cmt.h | 0 ext/hal/nxp/mcux/drivers/fsl_common.c | 96 + ext/hal/{ksdk => nxp/mcux}/drivers/fsl_common.h | 0 ext/hal/nxp/mcux/drivers/fsl_cop.c | 77 + ext/hal/nxp/mcux/drivers/fsl_cop.h | 188 + ext/hal/{ksdk => nxp/mcux}/drivers/fsl_crc.c | 0 ext/hal/{ksdk => nxp/mcux}/drivers/fsl_crc.h | 0 ext/hal/nxp/mcux/drivers/fsl_dac.c | 213 + ext/hal/nxp/mcux/drivers/fsl_dac.h | 379 + ext/hal/nxp/mcux/drivers/fsl_dcdc.c | 373 + ext/hal/nxp/mcux/drivers/fsl_dcdc.h | 570 + ext/hal/{ksdk => nxp/mcux}/drivers/fsl_dmamux.c | 0 ext/hal/{ksdk => nxp/mcux}/drivers/fsl_dmamux.h | 0 ext/hal/nxp/mcux/drivers/fsl_dspi.c | 1659 + ext/hal/nxp/mcux/drivers/fsl_dspi.h | 1182 + ext/hal/nxp/mcux/drivers/fsl_dspi_edma.c | 1262 + ext/hal/{ksdk => nxp/mcux}/drivers/fsl_dspi_edma.h | 0 ext/hal/{ksdk => nxp/mcux}/drivers/fsl_edma.c | 0 ext/hal/{ksdk => nxp/mcux}/drivers/fsl_edma.h | 0 ext/hal/{ksdk => nxp/mcux}/drivers/fsl_enet.c | 0 ext/hal/{ksdk => nxp/mcux}/drivers/fsl_enet.h | 0 ext/hal/{ksdk => nxp/mcux}/drivers/fsl_ewm.c | 0 ext/hal/{ksdk => nxp/mcux}/drivers/fsl_ewm.h | 0 ext/hal/nxp/mcux/drivers/fsl_flash.c | 2610 + ext/hal/nxp/mcux/drivers/fsl_flash.h | 1177 + ext/hal/{ksdk => nxp/mcux}/drivers/fsl_flexbus.c | 0 ext/hal/{ksdk => nxp/mcux}/drivers/fsl_flexbus.h | 0 ext/hal/{ksdk => nxp/mcux}/drivers/fsl_flexcan.c | 0 ext/hal/{ksdk => nxp/mcux}/drivers/fsl_flexcan.h | 0 ext/hal/{ksdk => nxp/mcux}/drivers/fsl_ftm.c | 0 ext/hal/{ksdk => nxp/mcux}/drivers/fsl_ftm.h | 0 ext/hal/{ksdk => nxp/mcux}/drivers/fsl_gpio.c | 0 ext/hal/{ksdk => nxp/mcux}/drivers/fsl_gpio.h | 0 ext/hal/nxp/mcux/drivers/fsl_i2c.c | 1578 + ext/hal/nxp/mcux/drivers/fsl_i2c.h | 789 + ext/hal/{ksdk => nxp/mcux}/drivers/fsl_i2c_edma.c | 0 ext/hal/{ksdk => nxp/mcux}/drivers/fsl_i2c_edma.h | 0 ext/hal/{ksdk => nxp/mcux}/drivers/fsl_llwu.c | 0 ext/hal/nxp/mcux/drivers/fsl_llwu.h | 321 + ext/hal/{ksdk => nxp/mcux}/drivers/fsl_lptmr.c | 0 ext/hal/nxp/mcux/drivers/fsl_lptmr.h | 371 + ext/hal/nxp/mcux/drivers/fsl_lpuart.c | 1105 + ext/hal/nxp/mcux/drivers/fsl_lpuart.h | 753 + ext/hal/nxp/mcux/drivers/fsl_lpuart_edma.c | 334 + ext/hal/nxp/mcux/drivers/fsl_lpuart_edma.h | 190 + ext/hal/nxp/mcux/drivers/fsl_ltc.c | 4292 + ext/hal/nxp/mcux/drivers/fsl_ltc.h | 1576 + ext/hal/nxp/mcux/drivers/fsl_ltc_edma.c | 1247 + ext/hal/nxp/mcux/drivers/fsl_ltc_edma.h | 850 + ext/hal/{ksdk => nxp/mcux}/drivers/fsl_mpu.c | 0 ext/hal/{ksdk => nxp/mcux}/drivers/fsl_mpu.h | 0 ext/hal/{ksdk => nxp/mcux}/drivers/fsl_pdb.c | 0 ext/hal/{ksdk => nxp/mcux}/drivers/fsl_pdb.h | 0 ext/hal/{ksdk => nxp/mcux}/drivers/fsl_pit.c | 0 ext/hal/{ksdk => nxp/mcux}/drivers/fsl_pit.h | 0 ext/hal/{ksdk => nxp/mcux}/drivers/fsl_pmc.c | 0 ext/hal/{ksdk => nxp/mcux}/drivers/fsl_pmc.h | 0 ext/hal/nxp/mcux/drivers/fsl_port.h | 382 + ext/hal/{ksdk => nxp/mcux}/drivers/fsl_rcm.c | 0 ext/hal/{ksdk => nxp/mcux}/drivers/fsl_rcm.h | 0 ext/hal/{ksdk => nxp/mcux}/drivers/fsl_rnga.c | 0 ext/hal/{ksdk => nxp/mcux}/drivers/fsl_rnga.h | 0 ext/hal/nxp/mcux/drivers/fsl_rtc.c | 370 + ext/hal/nxp/mcux/drivers/fsl_rtc.h | 413 + ext/hal/{ksdk => nxp/mcux}/drivers/fsl_sai.c | 0 ext/hal/{ksdk => nxp/mcux}/drivers/fsl_sai.h | 0 ext/hal/{ksdk => nxp/mcux}/drivers/fsl_sai_edma.c | 0 ext/hal/{ksdk => nxp/mcux}/drivers/fsl_sai_edma.h | 0 ext/hal/{ksdk => nxp/mcux}/drivers/fsl_sdhc.c | 0 ext/hal/{ksdk => nxp/mcux}/drivers/fsl_sdhc.h | 0 ext/hal/{ksdk => nxp/mcux}/drivers/fsl_sim.c | 0 ext/hal/{ksdk => nxp/mcux}/drivers/fsl_sim.h | 0 ext/hal/{ksdk => nxp/mcux}/drivers/fsl_smc.c | 0 ext/hal/{ksdk => nxp/mcux}/drivers/fsl_smc.h | 0 ext/hal/nxp/mcux/drivers/fsl_tpm.c | 665 + ext/hal/nxp/mcux/drivers/fsl_tpm.h | 590 + ext/hal/nxp/mcux/drivers/fsl_trng.c | 1618 + ext/hal/nxp/mcux/drivers/fsl_trng.h | 232 + ext/hal/nxp/mcux/drivers/fsl_tsi_v4.c | 190 + ext/hal/nxp/mcux/drivers/fsl_tsi_v4.h | 711 + ext/hal/{ksdk => nxp/mcux}/drivers/fsl_uart.c | 0 ext/hal/{ksdk => nxp/mcux}/drivers/fsl_uart.h | 0 ext/hal/{ksdk => nxp/mcux}/drivers/fsl_uart_edma.c | 0 ext/hal/{ksdk => nxp/mcux}/drivers/fsl_uart_edma.h | 0 ext/hal/{ksdk => nxp/mcux}/drivers/fsl_vref.c | 0 ext/hal/{ksdk => nxp/mcux}/drivers/fsl_vref.h | 0 ext/hal/{ksdk => nxp/mcux}/drivers/fsl_wdog.c | 0 ext/hal/{ksdk => nxp/mcux}/drivers/fsl_wdog.h | 0 ext/hal/qmsi/Kbuild | 7 +- ext/hal/qmsi/Kconfig | 12 +- ext/hal/qmsi/README | 2 +- ext/hal/qmsi/drivers/adc/qm_adc.c | 4 - ext/hal/qmsi/drivers/adc/qm_ss_adc.c | 18 + .../qmsi/drivers/aon_counters/qm_aon_counters.c | 221 +- ext/hal/qmsi/drivers/comparator/qm_comparator.c | 26 +- ext/hal/qmsi/drivers/dma/dma.h | 8 +- ext/hal/qmsi/drivers/dma/qm_dma.c | 89 +- ext/hal/qmsi/drivers/flash/qm_flash.c | 56 +- ext/hal/qmsi/drivers/fpr/qm_fpr.c | 26 +- ext/hal/qmsi/drivers/gpio/qm_gpio.c | 36 +- ext/hal/qmsi/drivers/gpio/qm_ss_gpio.c | 42 +- ext/hal/qmsi/drivers/i2c/qm_i2c.c | 392 +- ext/hal/qmsi/drivers/i2c/qm_ss_i2c.c | 571 +- ext/hal/qmsi/drivers/include/qm_aon_counters.h | 45 +- ext/hal/qmsi/drivers/include/qm_comparator.h | 11 +- ext/hal/qmsi/drivers/include/qm_dma.h | 2 - ext/hal/qmsi/drivers/include/qm_flash.h | 10 +- ext/hal/qmsi/drivers/include/qm_fpr.h | 2 - ext/hal/qmsi/drivers/include/qm_gpio.h | 3 - ext/hal/qmsi/drivers/include/qm_i2c.h | 2 - ext/hal/qmsi/drivers/include/qm_interrupt.h | 14 +- ext/hal/qmsi/drivers/include/qm_isr.h | 122 +- ext/hal/qmsi/drivers/include/qm_mailbox.h | 43 +- ext/hal/qmsi/drivers/include/qm_mpr.h | 2 - ext/hal/qmsi/drivers/include/qm_pic_timer.h | 3 +- ext/hal/qmsi/drivers/include/qm_pwm.h | 2 - ext/hal/qmsi/drivers/include/qm_rtc.h | 31 + ext/hal/qmsi/drivers/include/qm_spi.h | 189 +- ext/hal/qmsi/drivers/include/qm_ss_adc.h | 2 - ext/hal/qmsi/drivers/include/qm_ss_gpio.h | 2 - ext/hal/qmsi/drivers/include/qm_ss_i2c.h | 2 - ext/hal/qmsi/drivers/include/qm_ss_isr.h | 71 +- ext/hal/qmsi/drivers/include/qm_ss_spi.h | 77 +- ext/hal/qmsi/drivers/include/qm_ss_timer.h | 2 - ext/hal/qmsi/drivers/include/qm_uart.h | 30 - ext/hal/qmsi/drivers/include/qm_wdt.h | 2 - ext/hal/qmsi/drivers/include/soc_watch.h | 19 +- ext/hal/qmsi/drivers/interrupt/idt.h | 8 + ext/hal/qmsi/drivers/interrupt/qm_interrupt.c | 93 +- ext/hal/qmsi/drivers/interrupt/qm_ss_interrupt.c | 5 - ext/hal/qmsi/drivers/mailbox/qm_mailbox.c | 287 - ext/hal/qmsi/drivers/mailbox/qm_mailbox_se.c | 283 + ext/hal/qmsi/drivers/mpr/qm_mpr.c | 19 +- ext/hal/qmsi/drivers/pwm/qm_pwm.c | 128 +- ext/hal/qmsi/drivers/rtc/qm_rtc.c | 136 +- ext/hal/qmsi/drivers/soc_watch.c | 105 +- ext/hal/qmsi/drivers/spi/qm_spi.c | 501 +- ext/hal/qmsi/drivers/spi/qm_ss_spi.c | 170 +- ext/hal/qmsi/drivers/timer/qm_pic_timer.c | 14 + ext/hal/qmsi/drivers/timer/qm_ss_timer.c | 18 + ext/hal/qmsi/drivers/uart/qm_uart.c | 17 + ext/hal/qmsi/drivers/usb/qm_usb.c | 60 +- ext/hal/qmsi/drivers/wdt/qm_wdt.c | 84 +- ext/hal/qmsi/include/qm_common.h | 17 +- ext/hal/qmsi/soc/quark_d2000/drivers/clk.c | 34 +- .../qmsi/soc/quark_d2000/drivers/power_states.c | 48 +- .../soc/quark_d2000/drivers/qm_interrupt_router.c | 100 + ext/hal/qmsi/soc/quark_d2000/include/clk.h | 31 + .../qmsi/soc/quark_d2000/include/power_states.h | 29 +- .../soc/quark_d2000/include/qm_interrupt_router.h | 65 + .../quark_d2000/include/qm_interrupt_router_regs.h | 13 + .../soc/quark_d2000/include/qm_pin_functions.h | 205 + .../soc/quark_d2000/include/qm_soc_interrupts.h | 2 +- ext/hal/qmsi/soc/quark_d2000/include/qm_soc_regs.h | 128 +- ext/hal/qmsi/soc/quark_se/drivers/clk.c | 35 +- ext/hal/qmsi/soc/quark_se/drivers/power_states.c | 32 +- .../soc/quark_se/drivers/qm_interrupt_router.c | 122 + .../qmsi/soc/quark_se/drivers/ss_power_states.c | 102 +- ext/hal/qmsi/soc/quark_se/include/clk.h | 31 + ext/hal/qmsi/soc/quark_se/include/power_states.h | 55 +- .../soc/quark_se/include/qm_interrupt_router.h | 71 + .../quark_se/include/qm_interrupt_router_regs.h | 149 +- .../qmsi/soc/quark_se/include/qm_mailbox_defs.h | 70 + .../qmsi/soc/quark_se/include/qm_pin_functions.h | 461 + ext/hal/qmsi/soc/quark_se/include/qm_sensor_regs.h | 286 +- .../qmsi/soc/quark_se/include/qm_soc_interrupts.h | 4 +- ext/hal/qmsi/soc/quark_se/include/qm_soc_regs.h | 183 +- .../qmsi/soc/quark_se/include/ss_power_states.h | 30 +- ext/hal/st/stm32cube/Kbuild | 13 + ext/hal/st/stm32cube/Kconfig | 12 +- ext/hal/st/stm32cube/Makefile | 12 +- ext/hal/st/stm32cube/README | 40 + ext/hal/st/stm32cube/stm32f4xx/README | 2 +- .../drivers/include/Legacy/stm32_hal_legacy.h | 4 +- .../stm32f4xx/drivers/include/stm32f4xx_hal.h | 9 +- .../stm32f4xx/drivers/include/stm32f4xx_hal_adc.h | 4 +- .../drivers/include/stm32f4xx_hal_adc_ex.h | 16 +- .../stm32f4xx/drivers/include/stm32f4xx_hal_can.h | 13 +- .../stm32f4xx/drivers/include/stm32f4xx_hal_cec.h | 4 +- .../stm32f4xx/drivers/include/stm32f4xx_hal_conf.h | 4 +- .../drivers/include/stm32f4xx_hal_cortex.h | 4 +- .../stm32f4xx/drivers/include/stm32f4xx_hal_crc.h | 4 +- .../stm32f4xx/drivers/include/stm32f4xx_hal_cryp.h | 634 +- .../drivers/include/stm32f4xx_hal_cryp_ex.h | 82 +- .../stm32f4xx/drivers/include/stm32f4xx_hal_dac.h | 9 +- .../drivers/include/stm32f4xx_hal_dac_ex.h | 9 +- .../stm32f4xx/drivers/include/stm32f4xx_hal_dcmi.h | 8 +- .../drivers/include/stm32f4xx_hal_dcmi_ex.h | 4 +- .../stm32f4xx/drivers/include/stm32f4xx_hal_def.h | 4 +- .../drivers/include/stm32f4xx_hal_dfsdm.h | 231 +- .../stm32f4xx/drivers/include/stm32f4xx_hal_dma.h | 33 +- .../drivers/include/stm32f4xx_hal_dma2d.h | 4 +- .../drivers/include/stm32f4xx_hal_dma_ex.h | 4 +- .../stm32f4xx/drivers/include/stm32f4xx_hal_dsi.h | 4 +- .../stm32f4xx/drivers/include/stm32f4xx_hal_eth.h | 4 +- .../drivers/include/stm32f4xx_hal_flash.h | 6 +- .../drivers/include/stm32f4xx_hal_flash_ex.h | 164 +- .../drivers/include/stm32f4xx_hal_flash_ramfunc.h | 4 +- .../drivers/include/stm32f4xx_hal_fmpi2c.h | 9 +- .../drivers/include/stm32f4xx_hal_fmpi2c_ex.h | 8 +- .../stm32f4xx/drivers/include/stm32f4xx_hal_gpio.h | 4 +- .../drivers/include/stm32f4xx_hal_gpio_ex.h | 149 +- .../stm32f4xx/drivers/include/stm32f4xx_hal_hash.h | 4 +- .../drivers/include/stm32f4xx_hal_hash_ex.h | 4 +- .../stm32f4xx/drivers/include/stm32f4xx_hal_hcd.h | 10 +- .../stm32f4xx/drivers/include/stm32f4xx_hal_i2c.h | 4 +- .../drivers/include/stm32f4xx_hal_i2c_ex.h | 9 +- .../stm32f4xx/drivers/include/stm32f4xx_hal_i2s.h | 4 +- .../drivers/include/stm32f4xx_hal_i2s_ex.h | 19 +- .../stm32f4xx/drivers/include/stm32f4xx_hal_irda.h | 18 +- .../stm32f4xx/drivers/include/stm32f4xx_hal_iwdg.h | 4 +- .../drivers/include/stm32f4xx_hal_lptim.h | 14 +- .../stm32f4xx/drivers/include/stm32f4xx_hal_ltdc.h | 4 +- .../drivers/include/stm32f4xx_hal_ltdc_ex.h | 4 +- .../stm32f4xx/drivers/include/stm32f4xx_hal_nand.h | 4 +- .../stm32f4xx/drivers/include/stm32f4xx_hal_nor.h | 12 +- .../drivers/include/stm32f4xx_hal_pccard.h | 4 +- .../stm32f4xx/drivers/include/stm32f4xx_hal_pcd.h | 12 +- .../drivers/include/stm32f4xx_hal_pcd_ex.h | 24 +- .../stm32f4xx/drivers/include/stm32f4xx_hal_pwr.h | 4 +- .../drivers/include/stm32f4xx_hal_pwr_ex.h | 22 +- .../stm32f4xx/drivers/include/stm32f4xx_hal_qspi.h | 9 +- .../stm32f4xx/drivers/include/stm32f4xx_hal_rcc.h | 63 +- .../drivers/include/stm32f4xx_hal_rcc_ex.h | 867 +- .../stm32f4xx/drivers/include/stm32f4xx_hal_rng.h | 8 +- .../stm32f4xx/drivers/include/stm32f4xx_hal_rtc.h | 4 +- .../drivers/include/stm32f4xx_hal_rtc_ex.h | 38 +- .../stm32f4xx/drivers/include/stm32f4xx_hal_sai.h | 31 +- .../drivers/include/stm32f4xx_hal_sai_ex.h | 40 +- .../stm32f4xx/drivers/include/stm32f4xx_hal_sd.h | 8 +- .../drivers/include/stm32f4xx_hal_sdram.h | 4 +- .../drivers/include/stm32f4xx_hal_smartcard.h | 18 +- .../drivers/include/stm32f4xx_hal_spdifrx.h | 4 +- .../stm32f4xx/drivers/include/stm32f4xx_hal_spi.h | 4 +- .../stm32f4xx/drivers/include/stm32f4xx_hal_sram.h | 13 +- .../stm32f4xx/drivers/include/stm32f4xx_hal_tim.h | 4 +- .../drivers/include/stm32f4xx_hal_tim_ex.h | 40 +- .../stm32f4xx/drivers/include/stm32f4xx_hal_uart.h | 18 +- .../drivers/include/stm32f4xx_hal_usart.h | 8 +- .../stm32f4xx/drivers/include/stm32f4xx_hal_wwdg.h | 4 +- .../stm32f4xx/drivers/include/stm32f4xx_ll_fmc.h | 4 +- .../stm32f4xx/drivers/include/stm32f4xx_ll_fsmc.h | 10 +- .../stm32f4xx/drivers/include/stm32f4xx_ll_sdmmc.h | 8 +- .../stm32f4xx/drivers/include/stm32f4xx_ll_usb.h | 8 +- .../stm32f4xx/drivers/src/stm32f4xx_hal.c | 17 +- .../stm32f4xx/drivers/src/stm32f4xx_hal_adc.c | 4 +- .../stm32f4xx/drivers/src/stm32f4xx_hal_adc_ex.c | 4 +- .../stm32f4xx/drivers/src/stm32f4xx_hal_can.c | 208 +- .../stm32f4xx/drivers/src/stm32f4xx_hal_cec.c | 27 +- .../stm32f4xx/drivers/src/stm32f4xx_hal_cortex.c | 4 +- .../stm32f4xx/drivers/src/stm32f4xx_hal_crc.c | 4 +- .../stm32f4xx/drivers/src/stm32f4xx_hal_cryp.c | 1358 +- .../stm32f4xx/drivers/src/stm32f4xx_hal_cryp_ex.c | 2992 +- .../stm32f4xx/drivers/src/stm32f4xx_hal_dac.c | 9 +- .../stm32f4xx/drivers/src/stm32f4xx_hal_dac_ex.c | 9 +- .../stm32f4xx/drivers/src/stm32f4xx_hal_dcmi.c | 4 +- .../stm32f4xx/drivers/src/stm32f4xx_hal_dcmi_ex.c | 9 +- .../stm32f4xx/drivers/src/stm32f4xx_hal_dfsdm.c | 853 +- .../stm32f4xx/drivers/src/stm32f4xx_hal_dma.c | 13 +- .../stm32f4xx/drivers/src/stm32f4xx_hal_dma2d.c | 16 +- .../stm32f4xx/drivers/src/stm32f4xx_hal_dma_ex.c | 4 +- .../stm32f4xx/drivers/src/stm32f4xx_hal_dsi.c | 8 +- .../stm32f4xx/drivers/src/stm32f4xx_hal_eth.c | 4 +- .../stm32f4xx/drivers/src/stm32f4xx_hal_flash.c | 6 +- .../stm32f4xx/drivers/src/stm32f4xx_hal_flash_ex.c | 45 +- .../drivers/src/stm32f4xx_hal_flash_ramfunc.c | 4 +- .../stm32f4xx/drivers/src/stm32f4xx_hal_fmpi2c.c | 18 +- .../drivers/src/stm32f4xx_hal_fmpi2c_ex.c | 9 +- .../stm32f4xx/drivers/src/stm32f4xx_hal_gpio.c | 4 +- .../stm32f4xx/drivers/src/stm32f4xx_hal_hash.c | 4 +- .../stm32f4xx/drivers/src/stm32f4xx_hal_hash_ex.c | 4 +- .../stm32f4xx/drivers/src/stm32f4xx_hal_hcd.c | 8 +- .../stm32f4xx/drivers/src/stm32f4xx_hal_i2c.c | 1427 +- .../stm32f4xx/drivers/src/stm32f4xx_hal_i2c_ex.c | 9 +- .../stm32f4xx/drivers/src/stm32f4xx_hal_i2s.c | 4 +- .../stm32f4xx/drivers/src/stm32f4xx_hal_i2s_ex.c | 29 +- .../stm32f4xx/drivers/src/stm32f4xx_hal_irda.c | 573 +- .../stm32f4xx/drivers/src/stm32f4xx_hal_iwdg.c | 12 +- .../stm32f4xx/drivers/src/stm32f4xx_hal_lptim.c | 8 +- .../stm32f4xx/drivers/src/stm32f4xx_hal_ltdc.c | 16 +- .../stm32f4xx/drivers/src/stm32f4xx_hal_ltdc_ex.c | 14 +- .../drivers/src/stm32f4xx_hal_msp_template.c | 4 +- .../stm32f4xx/drivers/src/stm32f4xx_hal_nand.c | 4 +- .../stm32f4xx/drivers/src/stm32f4xx_hal_nor.c | 8 +- .../stm32f4xx/drivers/src/stm32f4xx_hal_pccard.c | 4 +- .../stm32f4xx/drivers/src/stm32f4xx_hal_pcd.c | 13 +- .../stm32f4xx/drivers/src/stm32f4xx_hal_pcd_ex.c | 16 +- .../stm32f4xx/drivers/src/stm32f4xx_hal_pwr.c | 4 +- .../stm32f4xx/drivers/src/stm32f4xx_hal_pwr_ex.c | 24 +- .../stm32f4xx/drivers/src/stm32f4xx_hal_qspi.c | 9 +- .../stm32f4xx/drivers/src/stm32f4xx_hal_rcc.c | 6 +- .../stm32f4xx/drivers/src/stm32f4xx_hal_rcc_ex.c | 209 +- .../stm32f4xx/drivers/src/stm32f4xx_hal_rng.c | 8 +- .../stm32f4xx/drivers/src/stm32f4xx_hal_rtc.c | 4 +- .../stm32f4xx/drivers/src/stm32f4xx_hal_rtc_ex.c | 9 +- .../stm32f4xx/drivers/src/stm32f4xx_hal_sai.c | 9 +- .../stm32f4xx/drivers/src/stm32f4xx_hal_sai_ex.c | 71 +- .../stm32f4xx/drivers/src/stm32f4xx_hal_sd.c | 8 +- .../stm32f4xx/drivers/src/stm32f4xx_hal_sdram.c | 4 +- .../drivers/src/stm32f4xx_hal_smartcard.c | 586 +- .../stm32f4xx/drivers/src/stm32f4xx_hal_spdifrx.c | 4 +- .../stm32f4xx/drivers/src/stm32f4xx_hal_spi.c | 4 +- .../stm32f4xx/drivers/src/stm32f4xx_hal_sram.c | 8 +- .../stm32f4xx/drivers/src/stm32f4xx_hal_tim.c | 4 +- .../stm32f4xx/drivers/src/stm32f4xx_hal_tim_ex.c | 28 +- .../stm32f4xx_hal_timebase_rtc_alarm_template.c | 7 +- .../stm32f4xx_hal_timebase_rtc_wakeup_template.c | 7 +- .../src/stm32f4xx_hal_timebase_tim_template.c | 13 +- .../stm32f4xx/drivers/src/stm32f4xx_hal_uart.c | 576 +- .../stm32f4xx/drivers/src/stm32f4xx_hal_usart.c | 281 +- .../stm32f4xx/drivers/src/stm32f4xx_hal_wwdg.c | 4 +- .../stm32f4xx/drivers/src/stm32f4xx_ll_fmc.c | 4 +- .../stm32f4xx/drivers/src/stm32f4xx_ll_fsmc.c | 23 +- .../stm32f4xx/drivers/src/stm32f4xx_ll_sdmmc.c | 8 +- .../stm32f4xx/drivers/src/stm32f4xx_ll_usb.c | 16 +- ext/hal/st/stm32cube/stm32f4xx/soc/stm32f401xc.h | 10136 +- ext/hal/st/stm32cube/stm32f4xx/soc/stm32f401xe.h | 10126 +- ext/hal/st/stm32cube/stm32f4xx/soc/stm32f405xx.h | 17434 ++- ext/hal/st/stm32cube/stm32f4xx/soc/stm32f407xx.h | 18802 +++- ext/hal/st/stm32cube/stm32f4xx/soc/stm32f410cx.h | 8240 +- ext/hal/st/stm32cube/stm32f4xx/soc/stm32f410rx.h | 8252 +- ext/hal/st/stm32cube/stm32f4xx/soc/stm32f410tx.h | 8188 +- ext/hal/st/stm32cube/stm32f4xx/soc/stm32f411xe.h | 10179 +- ext/hal/st/stm32cube/stm32f4xx/soc/stm32f412cx.h | 15997 ++- ext/hal/st/stm32cube/stm32f4xx/soc/stm32f412rx.h | 17391 ++- ext/hal/st/stm32cube/stm32f4xx/soc/stm32f412vx.h | 17390 ++- ext/hal/st/stm32cube/stm32f4xx/soc/stm32f412zx.h | 17391 ++- ext/hal/st/stm32cube/stm32f4xx/soc/stm32f413xx.h | 14994 +++ ext/hal/st/stm32cube/stm32f4xx/soc/stm32f415xx.h | 17691 ++- ext/hal/st/stm32cube/stm32f4xx/soc/stm32f417xx.h | 19055 +++- ext/hal/st/stm32cube/stm32f4xx/soc/stm32f423xx.h | 15147 +++ ext/hal/st/stm32cube/stm32f4xx/soc/stm32f427xx.h | 20258 ++-- ext/hal/st/stm32cube/stm32f4xx/soc/stm32f429xx.h | 20563 ++-- ext/hal/st/stm32cube/stm32f4xx/soc/stm32f437xx.h | 20513 ++-- ext/hal/st/stm32cube/stm32f4xx/soc/stm32f439xx.h | 20824 ++-- ext/hal/st/stm32cube/stm32f4xx/soc/stm32f446xx.h | 18942 +++- ext/hal/st/stm32cube/stm32f4xx/soc/stm32f469xx.h | 24262 ++-- ext/hal/st/stm32cube/stm32f4xx/soc/stm32f479xx.h | 24509 +++-- ext/hal/st/stm32cube/stm32f4xx/soc/stm32f4xx.h | 19 +- .../st/stm32cube/stm32f4xx/soc/system_stm32f4xx.c | 12 +- .../st/stm32cube/stm32f4xx/soc/system_stm32f4xx.h | 6 +- ext/hal/st/stm32cube/stm32l4xx/README | 2 +- .../drivers/include/Legacy/stm32_hal_legacy.h | 18 +- .../drivers/include/stm32_assert_template.h | 4 +- .../stm32l4xx/drivers/include/stm32l4xx_hal.h | 14 +- .../stm32l4xx/drivers/include/stm32l4xx_hal_adc.h | 10 +- .../drivers/include/stm32l4xx_hal_adc_ex.h | 172 +- .../stm32l4xx/drivers/include/stm32l4xx_hal_can.h | 4 +- .../stm32l4xx/drivers/include/stm32l4xx_hal_comp.h | 89 +- .../stm32l4xx/drivers/include/stm32l4xx_hal_conf.h | 4 +- .../drivers/include/stm32l4xx_hal_cortex.h | 4 +- .../stm32l4xx/drivers/include/stm32l4xx_hal_crc.h | 4 +- .../drivers/include/stm32l4xx_hal_crc_ex.h | 4 +- .../stm32l4xx/drivers/include/stm32l4xx_hal_cryp.h | 138 +- .../drivers/include/stm32l4xx_hal_cryp_ex.h | 8 +- .../stm32l4xx/drivers/include/stm32l4xx_hal_dac.h | 30 +- .../drivers/include/stm32l4xx_hal_dac_ex.h | 39 +- .../stm32l4xx/drivers/include/stm32l4xx_hal_def.h | 4 +- .../drivers/include/stm32l4xx_hal_dfsdm.h | 56 +- .../stm32l4xx/drivers/include/stm32l4xx_hal_dma.h | 22 +- .../drivers/include/stm32l4xx_hal_firewall.h | 4 +- .../drivers/include/stm32l4xx_hal_flash.h | 49 +- .../drivers/include/stm32l4xx_hal_flash_ex.h | 4 +- .../drivers/include/stm32l4xx_hal_flash_ramfunc.h | 4 +- .../stm32l4xx/drivers/include/stm32l4xx_hal_gpio.h | 7 +- .../drivers/include/stm32l4xx_hal_gpio_ex.h | 257 +- .../stm32l4xx/drivers/include/stm32l4xx_hal_hcd.h | 4 +- .../stm32l4xx/drivers/include/stm32l4xx_hal_i2c.h | 4 +- .../drivers/include/stm32l4xx_hal_i2c_ex.h | 12 +- .../stm32l4xx/drivers/include/stm32l4xx_hal_irda.h | 52 +- .../drivers/include/stm32l4xx_hal_irda_ex.h | 92 +- .../stm32l4xx/drivers/include/stm32l4xx_hal_iwdg.h | 4 +- .../stm32l4xx/drivers/include/stm32l4xx_hal_lcd.h | 4 +- .../drivers/include/stm32l4xx_hal_lptim.h | 4 +- .../stm32l4xx/drivers/include/stm32l4xx_hal_nand.h | 4 +- .../stm32l4xx/drivers/include/stm32l4xx_hal_nor.h | 4 +- .../drivers/include/stm32l4xx_hal_opamp.h | 19 +- .../drivers/include/stm32l4xx_hal_opamp_ex.h | 4 +- .../stm32l4xx/drivers/include/stm32l4xx_hal_pcd.h | 27 +- .../drivers/include/stm32l4xx_hal_pcd_ex.h | 18 +- .../stm32l4xx/drivers/include/stm32l4xx_hal_pwr.h | 4 +- .../drivers/include/stm32l4xx_hal_pwr_ex.h | 101 +- .../stm32l4xx/drivers/include/stm32l4xx_hal_qspi.h | 19 +- .../stm32l4xx/drivers/include/stm32l4xx_hal_rcc.h | 151 +- .../drivers/include/stm32l4xx_hal_rcc_ex.h | 183 +- .../stm32l4xx/drivers/include/stm32l4xx_hal_rng.h | 4 +- .../stm32l4xx/drivers/include/stm32l4xx_hal_rtc.h | 4 +- .../drivers/include/stm32l4xx_hal_rtc_ex.h | 4 +- .../stm32l4xx/drivers/include/stm32l4xx_hal_sai.h | 14 +- .../stm32l4xx/drivers/include/stm32l4xx_hal_sd.h | 4 +- .../drivers/include/stm32l4xx_hal_smartcard.h | 4 +- .../drivers/include/stm32l4xx_hal_smartcard_ex.h | 9 +- .../drivers/include/stm32l4xx_hal_smbus.h | 117 +- .../stm32l4xx/drivers/include/stm32l4xx_hal_spi.h | 18 +- .../drivers/include/stm32l4xx_hal_spi_ex.h | 4 +- .../stm32l4xx/drivers/include/stm32l4xx_hal_sram.h | 4 +- .../drivers/include/stm32l4xx_hal_swpmi.h | 10 +- .../stm32l4xx/drivers/include/stm32l4xx_hal_tim.h | 4 +- .../drivers/include/stm32l4xx_hal_tim_ex.h | 85 +- .../stm32l4xx/drivers/include/stm32l4xx_hal_tsc.h | 4 +- .../stm32l4xx/drivers/include/stm32l4xx_hal_uart.h | 24 +- .../drivers/include/stm32l4xx_hal_uart_ex.h | 113 +- .../drivers/include/stm32l4xx_hal_usart.h | 74 +- .../drivers/include/stm32l4xx_hal_usart_ex.h | 4 +- .../stm32l4xx/drivers/include/stm32l4xx_hal_wwdg.h | 4 +- .../stm32l4xx/drivers/include/stm32l4xx_ll_adc.h | 111 +- .../stm32l4xx/drivers/include/stm32l4xx_ll_bus.h | 59 +- .../stm32l4xx/drivers/include/stm32l4xx_ll_comp.h | 14 +- .../drivers/include/stm32l4xx_ll_cortex.h | 4 +- .../stm32l4xx/drivers/include/stm32l4xx_ll_crc.h | 4 +- .../stm32l4xx/drivers/include/stm32l4xx_ll_crs.h | 4 +- .../stm32l4xx/drivers/include/stm32l4xx_ll_dac.h | 271 +- .../stm32l4xx/drivers/include/stm32l4xx_ll_dma.h | 4 +- .../stm32l4xx/drivers/include/stm32l4xx_ll_exti.h | 32 +- .../stm32l4xx/drivers/include/stm32l4xx_ll_fmc.h | 434 +- .../stm32l4xx/drivers/include/stm32l4xx_ll_gpio.h | 9 +- .../stm32l4xx/drivers/include/stm32l4xx_ll_i2c.h | 8 +- .../stm32l4xx/drivers/include/stm32l4xx_ll_iwdg.h | 4 +- .../stm32l4xx/drivers/include/stm32l4xx_ll_lptim.h | 6 +- .../drivers/include/stm32l4xx_ll_lpuart.h | 4 +- .../stm32l4xx/drivers/include/stm32l4xx_ll_opamp.h | 4 +- .../stm32l4xx/drivers/include/stm32l4xx_ll_pwr.h | 48 +- .../stm32l4xx/drivers/include/stm32l4xx_ll_rcc.h | 73 +- .../stm32l4xx/drivers/include/stm32l4xx_ll_rng.h | 4 +- .../stm32l4xx/drivers/include/stm32l4xx_ll_rtc.h | 4 +- .../stm32l4xx/drivers/include/stm32l4xx_ll_sdmmc.h | 4 +- .../stm32l4xx/drivers/include/stm32l4xx_ll_spi.h | 4 +- .../stm32l4xx/drivers/include/stm32l4xx_ll_swpmi.h | 4 +- .../drivers/include/stm32l4xx_ll_system.h | 23 +- .../stm32l4xx/drivers/include/stm32l4xx_ll_tim.h | 155 +- .../stm32l4xx/drivers/include/stm32l4xx_ll_usart.h | 4 +- .../stm32l4xx/drivers/include/stm32l4xx_ll_usb.h | 18 +- .../stm32l4xx/drivers/include/stm32l4xx_ll_utils.h | 4 +- .../stm32l4xx/drivers/include/stm32l4xx_ll_wwdg.h | 4 +- .../stm32l4xx/drivers/src/stm32l4xx_hal.c | 10 +- .../stm32l4xx/drivers/src/stm32l4xx_hal_adc.c | 14 +- .../stm32l4xx/drivers/src/stm32l4xx_hal_adc_ex.c | 4 +- .../stm32l4xx/drivers/src/stm32l4xx_hal_can.c | 4 +- .../stm32l4xx/drivers/src/stm32l4xx_hal_comp.c | 4 +- .../stm32l4xx/drivers/src/stm32l4xx_hal_cortex.c | 4 +- .../stm32l4xx/drivers/src/stm32l4xx_hal_crc.c | 4 +- .../stm32l4xx/drivers/src/stm32l4xx_hal_crc_ex.c | 4 +- .../stm32l4xx/drivers/src/stm32l4xx_hal_cryp.c | 94 +- .../stm32l4xx/drivers/src/stm32l4xx_hal_cryp_ex.c | 780 +- .../stm32l4xx/drivers/src/stm32l4xx_hal_dac.c | 161 +- .../stm32l4xx/drivers/src/stm32l4xx_hal_dac_ex.c | 164 +- .../stm32l4xx/drivers/src/stm32l4xx_hal_dfsdm.c | 15 +- .../stm32l4xx/drivers/src/stm32l4xx_hal_dma.c | 21 +- .../stm32l4xx/drivers/src/stm32l4xx_hal_firewall.c | 4 +- .../stm32l4xx/drivers/src/stm32l4xx_hal_flash.c | 59 +- .../stm32l4xx/drivers/src/stm32l4xx_hal_flash_ex.c | 232 +- .../drivers/src/stm32l4xx_hal_flash_ramfunc.c | 6 +- .../stm32l4xx/drivers/src/stm32l4xx_hal_gpio.c | 4 +- .../stm32l4xx/drivers/src/stm32l4xx_hal_hcd.c | 4 +- .../stm32l4xx/drivers/src/stm32l4xx_hal_i2c.c | 60 +- .../stm32l4xx/drivers/src/stm32l4xx_hal_i2c_ex.c | 8 +- .../stm32l4xx/drivers/src/stm32l4xx_hal_irda.c | 136 +- .../stm32l4xx/drivers/src/stm32l4xx_hal_iwdg.c | 4 +- .../stm32l4xx/drivers/src/stm32l4xx_hal_lcd.c | 4 +- .../stm32l4xx/drivers/src/stm32l4xx_hal_lptim.c | 4 +- .../drivers/src/stm32l4xx_hal_msp_template.c | 4 +- .../stm32l4xx/drivers/src/stm32l4xx_hal_nand.c | 4 +- .../stm32l4xx/drivers/src/stm32l4xx_hal_nor.c | 4 +- .../stm32l4xx/drivers/src/stm32l4xx_hal_opamp.c | 10 +- .../stm32l4xx/drivers/src/stm32l4xx_hal_opamp_ex.c | 4 +- .../stm32l4xx/drivers/src/stm32l4xx_hal_pcd.c | 84 +- .../stm32l4xx/drivers/src/stm32l4xx_hal_pcd_ex.c | 27 +- .../stm32l4xx/drivers/src/stm32l4xx_hal_pwr.c | 4 +- .../stm32l4xx/drivers/src/stm32l4xx_hal_pwr_ex.c | 196 +- .../stm32l4xx/drivers/src/stm32l4xx_hal_qspi.c | 12 +- .../stm32l4xx/drivers/src/stm32l4xx_hal_rcc.c | 6 +- .../stm32l4xx/drivers/src/stm32l4xx_hal_rcc_ex.c | 122 +- .../stm32l4xx/drivers/src/stm32l4xx_hal_rng.c | 4 +- .../stm32l4xx/drivers/src/stm32l4xx_hal_rtc.c | 43 +- .../stm32l4xx/drivers/src/stm32l4xx_hal_rtc_ex.c | 99 +- .../stm32l4xx/drivers/src/stm32l4xx_hal_sai.c | 5 +- .../stm32l4xx/drivers/src/stm32l4xx_hal_sd.c | 4 +- .../drivers/src/stm32l4xx_hal_smartcard.c | 6 +- .../drivers/src/stm32l4xx_hal_smartcard_ex.c | 4 +- .../stm32l4xx/drivers/src/stm32l4xx_hal_smbus.c | 103 +- .../stm32l4xx/drivers/src/stm32l4xx_hal_spi.c | 8 +- .../stm32l4xx/drivers/src/stm32l4xx_hal_spi_ex.c | 4 +- .../stm32l4xx/drivers/src/stm32l4xx_hal_sram.c | 4 +- .../stm32l4xx/drivers/src/stm32l4xx_hal_swpmi.c | 10 +- .../stm32l4xx/drivers/src/stm32l4xx_hal_tim.c | 4 +- .../stm32l4xx/drivers/src/stm32l4xx_hal_tim_ex.c | 93 +- .../src/stm32l4xx_hal_timebase_tim_template.c | 4 +- .../stm32l4xx/drivers/src/stm32l4xx_hal_tsc.c | 4 +- .../stm32l4xx/drivers/src/stm32l4xx_hal_uart.c | 34 +- .../stm32l4xx/drivers/src/stm32l4xx_hal_uart_ex.c | 4 +- .../stm32l4xx/drivers/src/stm32l4xx_hal_usart.c | 7 +- .../stm32l4xx/drivers/src/stm32l4xx_hal_wwdg.c | 4 +- .../stm32l4xx/drivers/src/stm32l4xx_ll_adc.c | 4 +- .../stm32l4xx/drivers/src/stm32l4xx_ll_comp.c | 31 +- .../stm32l4xx/drivers/src/stm32l4xx_ll_crc.c | 4 +- .../stm32l4xx/drivers/src/stm32l4xx_ll_crs.c | 4 +- .../stm32l4xx/drivers/src/stm32l4xx_ll_dac.c | 16 +- .../stm32l4xx/drivers/src/stm32l4xx_ll_dma.c | 4 +- .../stm32l4xx/drivers/src/stm32l4xx_ll_exti.c | 4 +- .../stm32l4xx/drivers/src/stm32l4xx_ll_fmc.c | 414 +- .../stm32l4xx/drivers/src/stm32l4xx_ll_gpio.c | 15 +- .../stm32l4xx/drivers/src/stm32l4xx_ll_i2c.c | 18 +- .../stm32l4xx/drivers/src/stm32l4xx_ll_lptim.c | 4 +- .../stm32l4xx/drivers/src/stm32l4xx_ll_lpuart.c | 4 +- .../stm32l4xx/drivers/src/stm32l4xx_ll_opamp.c | 4 +- .../stm32l4xx/drivers/src/stm32l4xx_ll_pwr.c | 4 +- .../stm32l4xx/drivers/src/stm32l4xx_ll_rcc.c | 46 +- .../stm32l4xx/drivers/src/stm32l4xx_ll_rng.c | 4 +- .../stm32l4xx/drivers/src/stm32l4xx_ll_rtc.c | 4 +- .../stm32l4xx/drivers/src/stm32l4xx_ll_sdmmc.c | 4 +- .../stm32l4xx/drivers/src/stm32l4xx_ll_spi.c | 4 +- .../stm32l4xx/drivers/src/stm32l4xx_ll_swpmi.c | 4 +- .../stm32l4xx/drivers/src/stm32l4xx_ll_tim.c | 153 +- .../stm32l4xx/drivers/src/stm32l4xx_ll_usart.c | 4 +- .../stm32l4xx/drivers/src/stm32l4xx_ll_usb.c | 38 +- .../stm32l4xx/drivers/src/stm32l4xx_ll_utils.c | 16 +- ext/hal/st/stm32cube/stm32l4xx/soc/stm32l431xx.h | 14983 +-- ext/hal/st/stm32cube/stm32l4xx/soc/stm32l432xx.h | 14921 +-- ext/hal/st/stm32cube/stm32l4xx/soc/stm32l433xx.h | 16093 +-- ext/hal/st/stm32cube/stm32l4xx/soc/stm32l442xx.h | 15195 +-- ext/hal/st/stm32cube/stm32l4xx/soc/stm32l443xx.h | 16367 +-- ext/hal/st/stm32cube/stm32l4xx/soc/stm32l451xx.h | 15451 +++ ext/hal/st/stm32cube/stm32l4xx/soc/stm32l452xx.h | 16177 +++ ext/hal/st/stm32cube/stm32l4xx/soc/stm32l462xx.h | 16405 +++ ext/hal/st/stm32cube/stm32l4xx/soc/stm32l471xx.h | 17226 +-- ext/hal/st/stm32cube/stm32l4xx/soc/stm32l475xx.h | 19702 ++-- ext/hal/st/stm32cube/stm32l4xx/soc/stm32l476xx.h | 19926 ++-- ext/hal/st/stm32cube/stm32l4xx/soc/stm32l485xx.h | 19976 ++-- ext/hal/st/stm32cube/stm32l4xx/soc/stm32l486xx.h | 20200 ++-- ext/hal/st/stm32cube/stm32l4xx/soc/stm32l4xx.h | 20 +- .../st/stm32cube/stm32l4xx/soc/system_stm32l4xx.c | 4 +- .../st/stm32cube/stm32l4xx/soc/system_stm32l4xx.h | 4 +- ext/hal/ti/cc3200sdk/Kbuild | 17 +- ext/hal/ti/cc3200sdk/Kconfig | 19 +- ext/hal/ti/cc3200sdk/Makefile | 14 +- ext/hal/ti/cc3200sdk/README | 28 +- ext/lib/crypto/Kconfig | 12 +- ext/lib/crypto/mbedtls/Kbuild | 57 +- ext/lib/crypto/mbedtls/README | 4 +- .../crypto/mbedtls/configs/config-ccm-psk-tls1_2.h | 1 - ext/lib/crypto/mbedtls/configs/config-coap.h | 102 + .../crypto/mbedtls/configs/config-mini-tls1_2.h | 91 + ext/lib/crypto/mbedtls/configs/config-threadnet.h | 3 +- .../crypto/mbedtls/include/mbedtls/check_config.h | 41 + ext/lib/crypto/mbedtls/include/mbedtls/cipher.h | 10 + ext/lib/crypto/mbedtls/include/mbedtls/cmac.h | 166 + ext/lib/crypto/mbedtls/include/mbedtls/config.h | 47 +- ext/lib/crypto/mbedtls/include/mbedtls/entropy.h | 20 + .../crypto/mbedtls/include/mbedtls/entropy_poll.h | 2 + ext/lib/crypto/mbedtls/include/mbedtls/gcm.h | 4 +- ext/lib/crypto/mbedtls/include/mbedtls/md.h | 7 +- ext/lib/crypto/mbedtls/include/mbedtls/net.h | 212 +- .../crypto/mbedtls/include/mbedtls/net_sockets.h | 225 + ext/lib/crypto/mbedtls/include/mbedtls/platform.h | 37 +- .../crypto/mbedtls/include/mbedtls/platform_time.h | 81 + ext/lib/crypto/mbedtls/include/mbedtls/rsa.h | 2 +- ext/lib/crypto/mbedtls/include/mbedtls/ssl.h | 11 +- .../crypto/mbedtls/include/mbedtls/ssl_internal.h | 6 + ext/lib/crypto/mbedtls/include/mbedtls/version.h | 8 +- ext/lib/crypto/mbedtls/include/mbedtls/x509_crt.h | 4 + ext/lib/crypto/mbedtls/include/mbedtls/x509_csr.h | 2 +- ext/lib/crypto/mbedtls/library/Makefile | 13 +- ext/lib/crypto/mbedtls/library/asn1parse.c | 2 +- ext/lib/crypto/mbedtls/library/asn1write.c | 43 +- ext/lib/crypto/mbedtls/library/cipher.c | 19 + ext/lib/crypto/mbedtls/library/cmac.c | 1033 + ext/lib/crypto/mbedtls/library/entropy.c | 115 +- ext/lib/crypto/mbedtls/library/error.c | 6 +- ext/lib/crypto/mbedtls/library/gcm.c | 3 +- ext/lib/crypto/mbedtls/library/net.c | 586 - ext/lib/crypto/mbedtls/library/net_sockets.c | 585 + ext/lib/crypto/mbedtls/library/oid.c | 62 +- ext/lib/crypto/mbedtls/library/pkcs5.c | 3 +- ext/lib/crypto/mbedtls/library/platform.c | 4 + ext/lib/crypto/mbedtls/library/ripemd160.c | 3 + ext/lib/crypto/mbedtls/library/rsa.c | 18 +- ext/lib/crypto/mbedtls/library/sha256.c | 15 +- ext/lib/crypto/mbedtls/library/sha512.c | 15 +- ext/lib/crypto/mbedtls/library/ssl_cache.c | 2 - ext/lib/crypto/mbedtls/library/ssl_ciphersuites.c | 1 - ext/lib/crypto/mbedtls/library/ssl_cli.c | 33 +- ext/lib/crypto/mbedtls/library/ssl_cookie.c | 2 - ext/lib/crypto/mbedtls/library/ssl_srv.c | 78 +- ext/lib/crypto/mbedtls/library/ssl_ticket.c | 2 - ext/lib/crypto/mbedtls/library/ssl_tls.c | 124 +- ext/lib/crypto/mbedtls/library/threading.c | 5 +- ext/lib/crypto/mbedtls/library/version_features.c | 6 +- ext/lib/crypto/mbedtls/library/x509.c | 45 +- ext/lib/crypto/mbedtls/library/x509_crt.c | 19 +- ext/lib/crypto/mbedtls/library/x509write_crt.c | 3 + ext/lib/crypto/mbedtls/library/x509write_csr.c | 3 + ext/lib/crypto/tinycrypt/Kconfig | 12 +- ext/lib/crypto/tinycrypt/README | 2 +- .../crypto/tinycrypt/include/tinycrypt/ecc_dh.h | 2 +- .../crypto/tinycrypt/include/tinycrypt/sha256.h | 2 +- ext/lib/crypto/tinycrypt/source/ccm_mode.c | 4 +- ext/lib/crypto/tinycrypt/source/ctr_prng.c | 2 +- include/adc.h | 12 +- include/aio_comparator.h | 12 +- include/arch/arc/arch.h | 69 +- include/arch/arc/v2/addr_types.h | 12 +- include/arch/arc/v2/arcv2_irq_unit.h | 27 +- include/arch/arc/v2/asm_inline.h | 12 +- include/arch/arc/v2/asm_inline_gcc.h | 18 +- include/arch/arc/v2/aux_regs.h | 12 +- include/arch/arc/v2/error.h | 14 +- include/arch/arc/v2/exc.h | 14 +- include/arch/arc/v2/ffs.h | 16 +- include/arch/arc/v2/irq.h | 50 +- include/arch/arc/v2/linker.ld | 68 +- include/arch/arc/v2/misc.h | 22 +- include/arch/arm/arch.h | 27 +- include/arch/arm/cortex_m/addr_types.h | 12 +- include/arch/arm/cortex_m/asm_inline.h | 12 +- include/arch/arm/cortex_m/asm_inline_gcc.h | 50 +- include/arch/arm/cortex_m/cmsis.h | 145 + include/arch/arm/cortex_m/error.h | 14 +- include/arch/arm/cortex_m/exc.h | 36 +- include/arch/arm/cortex_m/gdb_stub.h | 72 - include/arch/arm/cortex_m/irq.h | 104 +- include/arch/arm/cortex_m/memory_map.h | 20 +- include/arch/arm/cortex_m/misc.h | 18 +- include/arch/arm/cortex_m/nmi.h | 12 +- include/arch/arm/cortex_m/nvic.h | 236 - include/arch/arm/cortex_m/scb.h | 1218 - include/arch/arm/cortex_m/scripts/linker.ld | 71 +- include/arch/arm/cortex_m/scs.h | 677 - include/arch/arm/cortex_m/sys_io.h | 12 +- include/arch/cpu.h | 16 +- include/arch/nios2/arch.h | 34 +- include/arch/nios2/asm.h | 12 +- include/arch/nios2/asm_inline.h | 12 +- include/arch/nios2/asm_inline_gcc.h | 12 +- include/arch/nios2/linker.ld | 55 +- include/arch/riscv32/arch.h | 124 + include/arch/riscv32/common/linker.ld | 161 + include/arch/riscv32/exp.h | 81 + include/arch/riscv32/pulpino/asm_inline.h | 21 + include/arch/riscv32/pulpino/asm_inline_gcc.h | 108 + include/arch/riscv32/pulpino/linker.ld | 144 + include/arch/riscv32/riscv32-qemu/asm_inline.h | 21 + include/arch/riscv32/riscv32-qemu/asm_inline_gcc.h | 66 + include/arch/riscv32/sys_io.h | 133 + include/arch/x86/addr_types.h | 12 +- include/arch/x86/arch.h | 78 +- include/arch/x86/asm.h | 12 +- include/arch/x86/asm_inline.h | 12 +- include/arch/x86/asm_inline_gcc.h | 12 +- include/arch/x86/irq_controller.h | 21 +- include/arch/x86/linker.ld | 34 +- include/arch/x86/segmentation.h | 31 +- include/arch/xtensa/addr_types.h | 15 + include/arch/xtensa/arch.h | 144 + include/arch/xtensa/exc.h | 45 + include/arch/xtensa/offsets.h | 11 + include/arch/xtensa/sys_io.h | 113 + include/arch/xtensa/xtensa_irq.h | 54 + include/atomic.h | 12 +- include/bluetooth/a2dp.h | 25 +- include/bluetooth/att.h | 13 +- include/bluetooth/avdtp.h | 54 + include/bluetooth/bluetooth.h | 31 +- include/bluetooth/buf.h | 45 +- include/bluetooth/conn.h | 93 +- include/bluetooth/gatt.h | 33 +- include/bluetooth/hci.h | 73 +- include/bluetooth/hci_raw.h | 12 +- include/bluetooth/hfp_hf.h | 85 +- include/bluetooth/l2cap.h | 34 +- include/bluetooth/log.h | 67 +- include/bluetooth/rfcomm.h | 40 +- include/bluetooth/sdp.h | 158 +- include/bluetooth/storage.h | 15 +- include/bluetooth/uuid.h | 14 +- include/cache.h | 14 +- include/clock_control.h | 12 +- include/counter.h | 16 +- include/crypto/cipher.h | 281 + include/crypto/cipher_structs.h | 263 + include/debug/debug_info.h | 42 + include/debug/gdb_server.h | 68 + include/debug/mem_safe.h | 154 + include/debug/object_tracing.h | 89 + include/debug/object_tracing_common.h | 105 + include/device.h | 19 +- include/disk_access.h | 12 +- include/display/grove_lcd.h | 14 +- include/dma.h | 202 +- include/drivers/bluetooth/hci_driver.h | 131 +- include/drivers/clock_control/arm_clock_control.h | 40 + include/drivers/clock_control/nrf5_clock_control.h | 12 +- .../drivers/clock_control/quark_se_clock_control.h | 12 +- .../drivers/clock_control/stm32_clock_control.h | 31 +- .../drivers/clock_control/stm32f1_clock_control.h | 12 +- .../drivers/clock_control/stm32f4_clock_control.h | 12 +- include/drivers/console/console.h | 49 + include/drivers/console/ipm_console.h | 12 +- include/drivers/console/telnet_console.h | 37 + include/drivers/console/uart_console.h | 22 +- include/drivers/console/uart_pipe.h | 12 +- include/drivers/ieee802154/cc2520.h | 25 + include/drivers/ioapic.h | 12 +- include/drivers/k20_mcg.h | 12 +- include/drivers/k20_pcr.h | 12 +- include/drivers/k20_sim.h | 22 +- include/drivers/k20_watchdog.h | 12 +- include/drivers/k6x_mpu.h | 12 +- include/drivers/k6x_pmc.h | 12 +- include/drivers/loapic.h | 12 +- include/drivers/mvic.h | 20 +- include/drivers/pci/pci.h | 12 +- include/drivers/pci/pci_mgr.h | 12 +- include/drivers/rand32.h | 23 +- include/drivers/serial/uart_nsim.h | 12 +- include/drivers/spi/spi_intel.h | 12 +- include/drivers/spi/spi_k64.h | 78 - include/drivers/sysapic.h | 25 +- include/drivers/system_timer.h | 23 +- include/drivers/usb/usb_dc.h | 12 +- include/eth.h | 12 +- include/flash.h | 12 +- include/fs.h | 12 +- include/fs/fat_fs.h | 12 +- include/fs/fs_interface.h | 12 +- include/gpio.h | 100 +- include/i2c.h | 370 +- include/init.h | 12 +- include/ipm.h | 14 +- include/irq.h | 122 +- include/irq_offload.h | 12 +- include/kernel.h | 634 +- include/kernel_version.h | 12 +- include/legacy.h | 604 +- include/linker-defs.h | 16 +- include/linker-tool-gcc.h | 17 +- include/linker-tool.h | 12 +- include/linker/common-ram.ld | 54 +- include/linker/common-rom.ld | 7 + include/linker/intlist.ld | 51 + include/logging/event_logger.h | 163 + include/logging/kernel_event_logger.h | 319 + include/logging/sys_log.h | 204 + include/microkernel.h | 12 +- include/misc/__assert.h | 12 +- include/misc/byteorder.h | 14 +- include/misc/debug/debug_info.h | 52 - include/misc/debug/gdb_server.h | 78 - include/misc/debug/mem_safe.h | 164 - include/misc/debug/object_tracing.h | 99 - include/misc/debug/object_tracing_common.h | 121 - include/misc/dlist.h | 98 +- include/misc/event_logger.h | 173 - include/misc/kernel_event_logger.h | 318 - include/misc/nano_work.h | 12 +- include/misc/printk.h | 44 +- include/misc/reboot.h | 12 +- include/misc/ring_buffer.h | 18 +- include/misc/shell.h | 128 - include/misc/slist.h | 84 +- include/misc/stack.h | 12 +- include/misc/sys_log.h | 212 - include/misc/util.h | 94 +- include/nanokernel.h | 12 +- include/net/arp.h | 28 +- include/net/bt.h | 54 + include/net/buf.h | 240 +- include/net/dhcpv4.h | 51 + include/net/dns_client.h | 107 + include/net/ethernet.h | 50 +- include/net/http_parser.h | 325 + include/net/ieee802154.h | 196 + include/net/ieee802154_radio.h | 94 + include/net/ip_buf.h | 402 - include/net/l2_buf.h | 166 - include/net/mii.h | 79 + include/net/mqtt.h | 421 + include/net/mqtt_types.h | 89 + include/net/nbuf.h | 1055 +- include/net/net_context.h | 706 +- include/net/net_core.h | 210 +- include/net/net_event.h | 92 + include/net/net_if.h | 1185 +- include/net/net_ip.h | 830 +- include/net/net_l2.h | 123 +- include/net/net_linkaddr.h | 89 +- include/net/net_mgmt.h | 185 + include/net/net_socket.h | 17 - include/net/net_stats.h | 229 +- include/net/offload_ip.h | 439 + include/net/tinydtls.h | 33 - include/net/trickle.h | 126 + include/net/uip/net_core.h | 164 - include/net/uip/net_if.h | 163 - include/net/uip/net_ip.h | 119 - include/net/uip/net_socket.h | 135 - include/net/zoap.h | 817 + include/net/zoap_link_format.h | 52 + include/pinmux.h | 12 +- include/power.h | 12 +- include/pwm.h | 12 +- include/random.h | 72 + include/rtc.h | 12 +- include/section_tags.h | 47 +- include/sections.h | 30 +- include/sensor.h | 172 +- include/shared_irq.h | 12 +- include/shell/shell.h | 123 + include/spi.h | 12 +- include/sw_isr_table.h | 62 +- include/sys_clock.h | 12 +- include/sys_io.h | 14 +- include/toolchain.h | 12 +- include/toolchain/common.h | 16 +- include/toolchain/gcc.h | 34 +- include/uart.h | 15 +- include/usb/usb_device.h | 2 +- include/watchdog.h | 12 +- include/zephyr.h | 12 +- kernel/Kconfig | 632 +- kernel/Kconfig.event_logger | 75 + kernel/Kconfig.power_mgmt | 79 + kernel/Makefile | 42 + kernel/alert.c | 94 + kernel/atomic_c.c | 352 + kernel/compiler_stack_protect.c | 56 + kernel/configs/kernel.config | 2 + kernel/configs/unified.config | 2 - kernel/device.c | 146 + kernel/errno.c | 29 + kernel/fifo.c | 174 + kernel/idle.c | 149 + kernel/include/gen_offset.h | 82 + kernel/include/kernel_offsets.h | 66 + kernel/include/kernel_structs.h | 244 + kernel/include/ksched.h | 484 + kernel/include/nano_internal.h | 78 + kernel/include/offsets_short.h | 67 + kernel/include/timeout_q.h | 248 + kernel/include/wait_q.h | 51 + kernel/init.c | 381 + kernel/int_latency_bench.c | 225 + kernel/legacy_offload.c | 79 + kernel/legacy_timer.c | 117 + kernel/lifo.c | 105 + kernel/mailbox.c | 571 + kernel/mem_pool.c | 602 + kernel/mem_slab.c | 132 + kernel/msg_q.c | 181 + kernel/mutex.c | 257 + kernel/pipes.c | 702 + kernel/poll.c | 350 + kernel/sched.c | 391 + kernel/sem.c | 375 + kernel/stack.c | 112 + kernel/sys_clock.c | 314 + kernel/system_work_q.c | 33 + kernel/thread.c | 475 + kernel/thread_abort.c | 49 + kernel/timer.c | 228 + kernel/unified/Kconfig | 365 - kernel/unified/Makefile | 42 - kernel/unified/alert.c | 104 - kernel/unified/atomic_c.c | 362 - kernel/unified/compiler_stack_protect.c | 66 - kernel/unified/device.c | 152 - kernel/unified/errno.c | 39 - kernel/unified/event_logger.c | 151 - kernel/unified/fifo.c | 160 - kernel/unified/idle.c | 159 - kernel/unified/include/gen_offset.h | 92 - kernel/unified/include/kernel_offsets.h | 69 - kernel/unified/include/kernel_structs.h | 223 - kernel/unified/include/ksched.h | 401 - kernel/unified/include/nano_internal.h | 89 - kernel/unified/include/offsets_short.h | 68 - kernel/unified/include/timeout_q.h | 251 - kernel/unified/include/wait_q.h | 59 - kernel/unified/init.c | 418 - kernel/unified/int_latency_bench.c | 235 - kernel/unified/kernel_event_logger.c | 210 - kernel/unified/legacy_offload.c | 89 - kernel/unified/legacy_timer.c | 127 - kernel/unified/lifo.c | 115 - kernel/unified/mailbox.c | 579 - kernel/unified/mem_pool.c | 610 - kernel/unified/mem_slab.c | 142 - kernel/unified/msg_q.c | 191 - kernel/unified/mutex.c | 265 - kernel/unified/pipes.c | 710 - kernel/unified/sched.c | 381 - kernel/unified/sem.c | 364 - kernel/unified/stack.c | 122 - kernel/unified/sys_clock.c | 245 - kernel/unified/system_work_q.c | 43 - kernel/unified/thread.c | 464 - kernel/unified/thread_abort.c | 59 - kernel/unified/timer.c | 225 - kernel/unified/version.c | 36 - kernel/unified/work_q.c | 150 - kernel/version.c | 26 + kernel/work_q.c | 140 + lib/Kbuild | 1 - lib/Kconfig | 14 +- lib/Makefile | 8 +- lib/iot/Kbuild | 1 - lib/iot/Kconfig | 21 - lib/iot/Makefile | 3 - lib/iot/zoap/Kbuild | 7 - lib/iot/zoap/Kconfig | 24 - lib/iot/zoap/Makefile | 1 - lib/iot/zoap/zoap.c | 1246 - lib/iot/zoap/zoap.h | 551 - lib/libc/Kconfig | 34 + lib/libc/Makefile | 7 +- lib/libc/minimal/include/assert.h | 12 +- lib/libc/minimal/include/bits/restrict.h | 28 +- lib/libc/minimal/include/ctype.h | 12 +- lib/libc/minimal/include/errno.h | 12 +- lib/libc/minimal/include/inttypes.h | 12 +- lib/libc/minimal/include/limits.h | 12 +- lib/libc/minimal/include/stdbool.h | 12 +- lib/libc/minimal/include/stdint.h | 12 +- lib/libc/minimal/include/stdio.h | 38 +- lib/libc/minimal/include/stdlib.h | 12 +- lib/libc/minimal/include/string.h | 26 +- lib/libc/minimal/include/strings.h | 12 +- lib/libc/minimal/include/sys/types.h | 29 +- lib/libc/minimal/include/time.h | 10 + lib/libc/minimal/source/stdlib/Makefile | 2 +- lib/libc/minimal/source/stdlib/atoi.c | 2 + lib/libc/minimal/source/stdout/fprintf.c | 21 +- lib/libc/minimal/source/stdout/prf.c | 12 +- lib/libc/minimal/source/stdout/sprintf.c | 23 +- lib/libc/minimal/source/stdout/stdout_console.c | 18 +- lib/libc/minimal/source/string/Makefile | 4 +- lib/libc/minimal/source/string/string.c | 23 +- lib/libc/newlib/libc-hooks.c | 25 +- misc/Kconfig | 225 +- misc/Makefile | 7 +- misc/cpp_ctors.c | 12 +- misc/cpp_dtors.c | 12 +- misc/cpp_init_array.c | 12 +- misc/cpp_virtual.c | 12 +- misc/cpp_vtable.cpp | 12 +- misc/debug/Kconfig | 127 - misc/debug/Makefile | 6 - misc/debug/gdb_server.c | 2469 - misc/debug/mem_safe_check_boundaries.c | 293 - misc/printk.c | 191 +- misc/reboot.c | 16 +- misc/ring_buffer.c | 12 +- net/Kconfig | 48 - net/Makefile | 2 - net/buf.c | 393 - net/ip/Kconfig | 609 - net/ip/Kconfig.debug | 284 - net/ip/Makefile | 184 - net/ip/cc2520_15_4_radio.h | 8 - net/ip/contiki/contiki-conf.h | 254 - net/ip/contiki/contiki-default-conf.h | 266 - net/ip/contiki/contiki-lib.h | 43 - net/ip/contiki/contiki-net.h | 59 - net/ip/contiki/contiki-version.h | 41 - net/ip/contiki/contiki.h | 61 - net/ip/contiki/ip/dhcpc.c | 495 - net/ip/contiki/ip/dhcpc.h | 61 - net/ip/contiki/ip/psock.c | 342 - net/ip/contiki/ip/psock.h | 400 - net/ip/contiki/ip/simple-udp.c | 221 - net/ip/contiki/ip/simple-udp.h | 182 - net/ip/contiki/ip/tcpip.c | 956 - net/ip/contiki/ip/tcpip.h | 391 - net/ip/contiki/ip/udp-socket.c | 207 - net/ip/contiki/ip/udp-socket.h | 197 - net/ip/contiki/ip/uip-debug.c | 107 - net/ip/contiki/ip/uip-debug.h | 108 - net/ip/contiki/ip/uip-nameserver.c | 236 - net/ip/contiki/ip/uip-nameserver.h | 101 - net/ip/contiki/ip/uip-packetqueue.c | 85 - net/ip/contiki/ip/uip-packetqueue.h | 37 - net/ip/contiki/ip/uip-split.h | 95 - net/ip/contiki/ip/uip-udp-packet.c | 124 - net/ip/contiki/ip/uip-udp-packet.h | 54 - net/ip/contiki/ip/uip.h | 2236 - net/ip/contiki/ip/uipaddr.h | 97 - net/ip/contiki/ip/uiplib.c | 143 - net/ip/contiki/ip/uiplib.h | 80 - net/ip/contiki/ip/uipopt.h | 684 - net/ip/contiki/ipv4/uip-neighbor.c | 158 - net/ip/contiki/ipv4/uip-neighbor.h | 60 - net/ip/contiki/ipv4/uip.c | 2278 - net/ip/contiki/ipv4/uip_arp.c | 437 - net/ip/contiki/ipv4/uip_arp.h | 142 - net/ip/contiki/ipv6/multicast/README.md | 114 - net/ip/contiki/ipv6/multicast/roll-tm.c | 1448 - net/ip/contiki/ipv6/multicast/roll-tm.h | 244 - net/ip/contiki/ipv6/multicast/smrf.c | 221 - net/ip/contiki/ipv6/multicast/smrf.h | 88 - net/ip/contiki/ipv6/multicast/uip-mcast6-engines.h | 55 - net/ip/contiki/ipv6/multicast/uip-mcast6-route.c | 135 - net/ip/contiki/ipv6/multicast/uip-mcast6-route.h | 110 - net/ip/contiki/ipv6/multicast/uip-mcast6-stats.c | 54 - net/ip/contiki/ipv6/multicast/uip-mcast6-stats.h | 117 - net/ip/contiki/ipv6/multicast/uip-mcast6.h | 181 - net/ip/contiki/ipv6/uip-ds6-nbr.c | 335 - net/ip/contiki/ipv6/uip-ds6-nbr.h | 114 - net/ip/contiki/ipv6/uip-ds6-route.c | 649 - net/ip/contiki/ipv6/uip-ds6-route.h | 169 - net/ip/contiki/ipv6/uip-ds6.c | 737 - net/ip/contiki/ipv6/uip-ds6.h | 350 - net/ip/contiki/ipv6/uip-icmp6.c | 426 - net/ip/contiki/ipv6/uip-icmp6.h | 243 - net/ip/contiki/ipv6/uip-nd6.c | 1159 - net/ip/contiki/ipv6/uip-nd6.h | 577 - net/ip/contiki/ipv6/uip6.c | 2647 - net/ip/contiki/linkaddr.c | 90 - net/ip/contiki/linkaddr.h | 140 - net/ip/contiki/llsec/anti-replay.c | 112 - net/ip/contiki/llsec/anti-replay.h | 82 - net/ip/contiki/llsec/ccm-star.c | 192 - net/ip/contiki/llsec/ccm-star.h | 87 - net/ip/contiki/llsec/llsec.h | 99 - net/ip/contiki/llsec/llsec802154.h | 99 - net/ip/contiki/llsec/nullsec.c | 105 - net/ip/contiki/llsec/nullsec.h | 63 - net/ip/contiki/mac/csma.c | 479 - net/ip/contiki/mac/csma.h | 51 - net/ip/contiki/mac/frame802154.c | 404 - net/ip/contiki/mac/frame802154.h | 199 - net/ip/contiki/mac/framer-802154.c | 300 - net/ip/contiki/mac/framer-802154.h | 50 - net/ip/contiki/mac/framer-nullmac.c | 99 - net/ip/contiki/mac/framer-nullmac.h | 46 - net/ip/contiki/mac/framer.c | 50 - net/ip/contiki/mac/framer.h | 62 - net/ip/contiki/mac/handler-802154.c | 420 - net/ip/contiki/mac/handler-802154.h | 86 - net/ip/contiki/mac/mac-sequence.c | 110 - net/ip/contiki/mac/mac-sequence.h | 66 - net/ip/contiki/mac/mac.c | 79 - net/ip/contiki/mac/mac.h | 113 - net/ip/contiki/mac/nullmac.c | 96 - net/ip/contiki/mac/nullmac.h | 49 - net/ip/contiki/mac/rdc.h | 94 - net/ip/contiki/mac/sicslowmac/sicslowmac.c | 292 - net/ip/contiki/mac/sicslowmac/sicslowmac.h | 53 - net/ip/contiki/mac/simplerdc.c | 289 - net/ip/contiki/nbr-table.c | 350 - net/ip/contiki/nbr-table.h | 103 - net/ip/contiki/netstack.c | 50 - net/ip/contiki/netstack.h | 149 - net/ip/contiki/os/dev/nullradio.c | 109 - net/ip/contiki/os/dev/nullradio.h | 8 - net/ip/contiki/os/dev/radio.h | 284 - net/ip/contiki/os/dev/slip-arch.c | 34 - net/ip/contiki/os/dev/slip.c | 474 - net/ip/contiki/os/dev/slip.h | 108 - net/ip/contiki/os/dev/watchdog.h | 42 - net/ip/contiki/os/lib/aes-128.c | 198 - net/ip/contiki/os/lib/aes-128.h | 82 - net/ip/contiki/os/lib/list.c | 330 - net/ip/contiki/os/lib/list.h | 157 - net/ip/contiki/os/lib/memb.c | 124 - net/ip/contiki/os/lib/memb.h | 138 - net/ip/contiki/os/lib/mmem.c | 164 - net/ip/contiki/os/lib/mmem.h | 93 - net/ip/contiki/os/lib/random.c | 36 - net/ip/contiki/os/lib/random.h | 52 - net/ip/contiki/os/rtimer-arch.h | 33 - net/ip/contiki/os/sys/arg.c | 133 - net/ip/contiki/os/sys/arg.h | 42 - net/ip/contiki/os/sys/autostart.h | 62 - net/ip/contiki/os/sys/cc.h | 140 - net/ip/contiki/os/sys/clock.c | 76 - net/ip/contiki/os/sys/clock.h | 162 - net/ip/contiki/os/sys/ctimer.c | 175 - net/ip/contiki/os/sys/ctimer.h | 152 - net/ip/contiki/os/sys/energest.h | 129 - net/ip/contiki/os/sys/etimer.c | 250 - net/ip/contiki/os/sys/etimer.h | 245 - net/ip/contiki/os/sys/inttypes.h | 1 - net/ip/contiki/os/sys/lc-switch.h | 75 - net/ip/contiki/os/sys/lc.h | 130 - net/ip/contiki/os/sys/loader.h | 132 - net/ip/contiki/os/sys/log.h | 45 - net/ip/contiki/os/sys/process.c | 398 - net/ip/contiki/os/sys/process.h | 539 - net/ip/contiki/os/sys/procinit.h | 44 - net/ip/contiki/os/sys/pt.h | 322 - net/ip/contiki/os/sys/rtimer.c | 108 - net/ip/contiki/os/sys/rtimer.h | 157 - net/ip/contiki/os/sys/stimer.c | 163 - net/ip/contiki/os/sys/stimer.h | 97 - net/ip/contiki/os/sys/time.h | 1 - net/ip/contiki/os/sys/timer.c | 267 - net/ip/contiki/os/sys/timer.h | 116 - net/ip/contiki/os/sys/types.h | 1 - net/ip/contiki/packetbuf.c | 344 - net/ip/contiki/packetbuf.h | 500 - net/ip/contiki/queuebuf.c | 532 - net/ip/contiki/queuebuf.h | 117 - net/ip/contiki/rpl/rpl-conf.h | 271 - net/ip/contiki/rpl/rpl-dag.c | 1440 - net/ip/contiki/rpl/rpl-ext-header.c | 391 - net/ip/contiki/rpl/rpl-icmp6.c | 997 - net/ip/contiki/rpl/rpl-mrhof.c | 297 - net/ip/contiki/rpl/rpl-of0.c | 175 - net/ip/contiki/rpl/rpl-private.h | 330 - net/ip/contiki/rpl/rpl-timers.c | 429 - net/ip/contiki/rpl/rpl.c | 321 - net/ip/contiki/rpl/rpl.h | 298 - net/ip/contiki/sicslowpan/compression.h | 31 - net/ip/contiki/sicslowpan/fragmentation.h | 31 - net/ip/contiki/sicslowpan/null_compression.c | 55 - net/ip/contiki/sicslowpan/null_compression.h | 26 - net/ip/contiki/sicslowpan/null_fragmentation.c | 120 - net/ip/contiki/sicslowpan/null_fragmentation.h | 26 - net/ip/contiki/sicslowpan/sicslowpan_compression.c | 1102 - net/ip/contiki/sicslowpan/sicslowpan_compression.h | 268 - .../contiki/sicslowpan/sicslowpan_fragmentation.c | 792 - .../contiki/sicslowpan/sicslowpan_fragmentation.h | 43 - net/ip/contiki/trickle/trickle-timer.c | 409 - net/ip/contiki/trickle/trickle-timer.h | 514 - net/ip/contiki/uip-log.c | 47 - net/ip/dummy_15_4_radio.c | 329 - net/ip/dummy_15_4_radio.h | 8 - net/ip/er-coap/er-coap-block1.c | 111 - net/ip/er-coap/er-coap-block1.h | 47 - net/ip/er-coap/er-coap-conf.h | 74 - net/ip/er-coap/er-coap-constants.h | 168 - net/ip/er-coap/er-coap-context.c | 687 - net/ip/er-coap/er-coap-context.h | 172 - net/ip/er-coap/er-coap-engine.c | 540 - net/ip/er-coap/er-coap-engine.h | 93 - net/ip/er-coap/er-coap-observe-client.c | 352 - net/ip/er-coap/er-coap-observe-client.h | 127 - net/ip/er-coap/er-coap-observe.c | 315 - net/ip/er-coap/er-coap-observe.h | 96 - net/ip/er-coap/er-coap-res-well-known-core.c | 201 - net/ip/er-coap/er-coap-separate.c | 142 - net/ip/er-coap/er-coap-separate.h | 69 - net/ip/er-coap/er-coap-transactions.c | 218 - net/ip/er-coap/er-coap-transactions.h | 85 - net/ip/er-coap/er-coap.c | 1273 - net/ip/er-coap/er-coap.h | 292 - net/ip/ip_buf.c | 411 - net/ip/l2_buf.c | 171 - net/ip/net_context.c | 697 - net/ip/net_core.c | 1174 - net/ip/net_driver_15_4.c | 178 - net/ip/net_driver_15_4.h | 19 - net/ip/net_driver_bt.c | 206 - net/ip/net_driver_bt.h | 17 - net/ip/net_driver_ethernet.c | 154 - net/ip/net_driver_ethernet.h | 16 - net/ip/net_driver_loopback.c | 93 - net/ip/net_driver_loopback.h | 25 - net/ip/net_driver_slip.c | 63 - net/ip/net_driver_slip.h | 6 - net/ip/rest-engine/rest-constants.h | 118 - net/ip/rest-engine/rest-engine.c | 222 - net/ip/rest-engine/rest-engine.h | 262 - net/ip/tinydtls/.gitignore | 29 - net/ip/tinydtls/LICENSE | 21 - net/ip/tinydtls/Makefile.in | 141 - net/ip/tinydtls/Makefile.tinydtls | 27 - net/ip/tinydtls/README | 26 - net/ip/tinydtls/aes/Makefile.in | 76 - net/ip/tinydtls/aes/rijndael.c | 1280 - net/ip/tinydtls/aes/rijndael.h | 66 - net/ip/tinydtls/alert.h | 81 - net/ip/tinydtls/ccm.c | 311 - net/ip/tinydtls/ccm.h | 69 - net/ip/tinydtls/configure.in | 121 - net/ip/tinydtls/crypto.c | 572 - net/ip/tinydtls/crypto.h | 359 - net/ip/tinydtls/debug.c | 380 - net/ip/tinydtls/debug.h | 143 - net/ip/tinydtls/doc/Doxyfile.in | 1551 - net/ip/tinydtls/doc/DoxygenLayout.xml | 184 - net/ip/tinydtls/doc/Makefile.in | 36 - net/ip/tinydtls/dtls.c | 4032 - net/ip/tinydtls/dtls.h | 733 - net/ip/tinydtls/dtls_config.h | 153 - net/ip/tinydtls/dtls_time.c | 79 - net/ip/tinydtls/dtls_time.h | 69 - net/ip/tinydtls/ecc/Makefile.contiki | 7 - net/ip/tinydtls/ecc/Makefile.ecc | 3 - net/ip/tinydtls/ecc/Makefile.in | 90 - net/ip/tinydtls/ecc/ecc.c | 707 - net/ip/tinydtls/ecc/ecc.h | 86 - net/ip/tinydtls/ecc/test_helper.c | 79 - net/ip/tinydtls/ecc/test_helper.h | 51 - net/ip/tinydtls/ecc/testecc.c | 226 - net/ip/tinydtls/ecc/testfield.c | 290 - net/ip/tinydtls/examples/contiki/Makefile.in | 59 - net/ip/tinydtls/examples/contiki/dtls-client.c | 337 - net/ip/tinydtls/examples/contiki/dtls-server.c | 332 - net/ip/tinydtls/global.h | 147 - net/ip/tinydtls/hmac.c | 171 - net/ip/tinydtls/hmac.h | 154 - net/ip/tinydtls/netq.c | 140 - net/ip/tinydtls/netq.h | 103 - net/ip/tinydtls/numeric.h | 142 - net/ip/tinydtls/peer.c | 90 - net/ip/tinydtls/peer.h | 140 - net/ip/tinydtls/platform-specific/Makefile.in | 27 - .../tinydtls/platform-specific/config-cc2538dk.h | 2 - .../tinydtls/platform-specific/config-econotag.h | 2 - .../platform-specific/config-minimal-net.h | 1 - net/ip/tinydtls/platform-specific/config-native.h | 1 - net/ip/tinydtls/platform-specific/config-sky.h | 3 - net/ip/tinydtls/platform-specific/config-wismote.h | 1 - net/ip/tinydtls/platform-specific/config-zephyr.h | 29 - net/ip/tinydtls/platform-specific/platform.h | 91 - net/ip/tinydtls/prng.h | 87 - net/ip/tinydtls/session.c | 83 - net/ip/tinydtls/session.h | 78 - net/ip/tinydtls/sha2/Makefile.in | 78 - net/ip/tinydtls/sha2/README | 272 - net/ip/tinydtls/sha2/sha2.c | 1101 - net/ip/tinydtls/sha2/sha2.h | 216 - net/ip/tinydtls/sha2/sha2prog.c | 132 - net/ip/tinydtls/sha2/sha2speed.c | 174 - net/ip/tinydtls/sha2/sha2test.pl | 358 - net/ip/tinydtls/sha2/testvectors/vector001.dat | 1 - net/ip/tinydtls/sha2/testvectors/vector001.info | 21 - net/ip/tinydtls/sha2/testvectors/vector002.dat | 1 - net/ip/tinydtls/sha2/testvectors/vector002.info | 21 - net/ip/tinydtls/sha2/testvectors/vector003.dat | 1 - net/ip/tinydtls/sha2/testvectors/vector003.info | 22 - net/ip/tinydtls/sha2/testvectors/vector004.dat | 1 - net/ip/tinydtls/sha2/testvectors/vector004.info | 22 - net/ip/tinydtls/sha2/testvectors/vector005.info | 23 - net/ip/tinydtls/sha2/testvectors/vector006.dat | 1 - net/ip/tinydtls/sha2/testvectors/vector006.info | 22 - net/ip/tinydtls/sha2/testvectors/vector007.dat | 1 - net/ip/tinydtls/sha2/testvectors/vector007.info | 22 - net/ip/tinydtls/sha2/testvectors/vector008.dat | 1 - net/ip/tinydtls/sha2/testvectors/vector008.info | 22 - net/ip/tinydtls/sha2/testvectors/vector009.dat | 1 - net/ip/tinydtls/sha2/testvectors/vector009.info | 22 - net/ip/tinydtls/sha2/testvectors/vector010.dat | Bin 320 -> 0 bytes net/ip/tinydtls/sha2/testvectors/vector010.info | 22 - net/ip/tinydtls/sha2/testvectors/vector011.dat | Bin 447 -> 0 bytes net/ip/tinydtls/sha2/testvectors/vector011.info | 22 - net/ip/tinydtls/sha2/testvectors/vector012.dat | Bin 640 -> 0 bytes net/ip/tinydtls/sha2/testvectors/vector012.info | 22 - net/ip/tinydtls/sha2/testvectors/vector013.dat | Bin 2175 -> 0 bytes net/ip/tinydtls/sha2/testvectors/vector013.info | 22 - net/ip/tinydtls/sha2/testvectors/vector014.dat | Bin 16384 -> 0 bytes net/ip/tinydtls/sha2/testvectors/vector014.info | 22 - net/ip/tinydtls/sha2/testvectors/vector015.dat | 1 - net/ip/tinydtls/sha2/testvectors/vector015.info | 21 - net/ip/tinydtls/sha2/testvectors/vector016.dat | 1 - net/ip/tinydtls/sha2/testvectors/vector016.info | 23 - net/ip/tinydtls/sha2/testvectors/vector017.dat | Bin 12271 -> 0 bytes net/ip/tinydtls/sha2/testvectors/vector017.info | 32 - net/ip/tinydtls/sha2/testvectors/vector018.dat | Bin 1079 -> 0 bytes net/ip/tinydtls/sha2/testvectors/vector018.info | 26 - net/ip/tinydtls/state.h | 64 - net/ip/tinydtls/t_list.h | 194 - net/ip/tinydtls/tests/Makefile.in | 84 - net/ip/tinydtls/tests/cbc_aes128-test.c | 60 - net/ip/tinydtls/tests/cbc_aes128-testdata.c | 72 - net/ip/tinydtls/tests/ccm-test.c | 96 - net/ip/tinydtls/tests/ccm-testdata.c | 395 - net/ip/tinydtls/tests/dsrv-test.c | 108 - net/ip/tinydtls/tests/dtls-client.c | 502 - net/ip/tinydtls/tests/dtls-server.c | 366 - net/ip/tinydtls/tests/netq-test.c | 103 - net/ip/tinydtls/tests/pcap.c | 478 - net/ip/tinydtls/tests/prf-test.c | 31 - net/ip/tinydtls/tests/secure-server.c | 862 - net/ip/tinydtls/tinydtls.h | 45 - net/ip/tinydtls/tinydtls.h.in | 44 - release-notes.rst | 370 - samples/advanced.rst | 17 + samples/basic/basic.rst | 8 + samples/{drivers/pwm => basic}/blink_led/Makefile | 0 samples/basic/blink_led/README.rst | 46 + samples/{drivers/pwm => basic}/blink_led/prj.conf | 0 .../{drivers/pwm => basic}/blink_led/src/Makefile | 0 samples/basic/blink_led/src/main.c | 74 + samples/basic/blink_led/testcase.ini | 5 + samples/basic/blinky/README.rst | 30 +- samples/basic/blinky/prj.conf | 1 - samples/basic/blinky/src/main.c | 12 +- samples/basic/button/README.rst | 52 + samples/basic/button/README.txt | 41 - samples/basic/button/src/main.c | 27 +- samples/basic/disco/README.rst | 81 + samples/basic/disco/README.txt | 42 - samples/basic/disco/prj.conf | 2 +- samples/basic/disco/src/main.c | 12 +- samples/basic/disco/testcase.ini | 4 + samples/{drivers/pwm => basic}/fade_led/Makefile | 0 samples/basic/fade_led/README.rst | 42 + samples/{drivers/pwm => basic}/fade_led/prj.conf | 0 .../{drivers/pwm => basic}/fade_led/src/Makefile | 0 samples/basic/fade_led/src/main.c | 77 + samples/basic/fade_led/testcase.ini | 5 + samples/{drivers/pwm => basic}/rgb_led/Makefile | 0 samples/basic/rgb_led/README.rst | 43 + samples/{drivers/pwm => basic}/rgb_led/prj.conf | 0 .../{drivers/pwm => basic}/rgb_led/src/Makefile | 0 samples/basic/rgb_led/src/main.c | 73 + .../{drivers/pwm => basic}/rgb_led/testcase.ini | 0 .../{drivers/pwm => basic}/servo_motor/Makefile | 0 samples/basic/servo_motor/README.rst | 41 + .../{drivers/pwm => basic}/servo_motor/prj.conf | 0 .../pwm => basic}/servo_motor/src/Makefile | 0 samples/basic/servo_motor/src/main.c | 67 + .../blink_led => basic/servo_motor}/testcase.ini | 0 samples/bluetooth/README | 109 - samples/bluetooth/beacon/README.rst | 24 + samples/bluetooth/beacon/prj.conf | 1 + samples/bluetooth/beacon/prj_nble.conf | 1 + samples/bluetooth/beacon/src/main.c | 16 +- samples/bluetooth/bluetooth.rst | 43 + samples/bluetooth/central/Makefile | 12 +- samples/bluetooth/central/README.rst | 26 + samples/bluetooth/central/src/main.c | 12 +- samples/bluetooth/central_hr/Makefile | 12 +- samples/bluetooth/central_hr/README.rst | 25 + samples/bluetooth/central_hr/src/main.c | 12 +- samples/bluetooth/eddystone/README.rst | 28 + samples/bluetooth/eddystone/prj.conf | 1 + samples/bluetooth/eddystone/prj_nble.conf | 1 + samples/bluetooth/eddystone/src/main.c | 14 +- samples/bluetooth/gatt/bas.c | 12 +- samples/bluetooth/gatt/bas.h | 20 +- samples/bluetooth/gatt/cts.c | 12 +- samples/bluetooth/gatt/cts.h | 20 +- samples/bluetooth/gatt/dis.c | 12 +- samples/bluetooth/gatt/dis.h | 20 +- samples/bluetooth/gatt/gap.c | 12 +- samples/bluetooth/gatt/gap.h | 20 +- samples/bluetooth/gatt/hog.c | 12 +- samples/bluetooth/gatt/hog.h | 20 +- samples/bluetooth/gatt/hrs.c | 12 +- samples/bluetooth/gatt/hrs.h | 20 +- samples/bluetooth/gatt/ipss.c | 14 +- samples/bluetooth/gatt/ipss.h | 20 +- samples/bluetooth/handsfree/Makefile | 12 +- samples/bluetooth/handsfree/README.rst | 23 + samples/bluetooth/handsfree/prj.conf | 3 +- samples/bluetooth/handsfree/src/main.c | 54 +- samples/bluetooth/hci_uart/README.rst | 23 + samples/bluetooth/hci_uart/microbit.conf | 9 +- samples/bluetooth/hci_uart/nrf5.conf | 8 +- samples/bluetooth/hci_uart/src/main.c | 70 +- samples/bluetooth/hci_usb/README.rst | 22 + samples/bluetooth/hci_usb/src/main.c | 53 +- samples/bluetooth/ipsp/README | 24 - samples/bluetooth/ipsp/README.rst | 45 + samples/bluetooth/ipsp/prj.conf | 35 +- samples/bluetooth/ipsp/src/Makefile | 4 - samples/bluetooth/ipsp/src/main.c | 373 +- samples/bluetooth/peripheral/README.rst | 25 + samples/bluetooth/peripheral/prj.conf | 1 + samples/bluetooth/peripheral/prj_nble.conf | 1 + samples/bluetooth/peripheral/src/main.c | 14 +- samples/bluetooth/peripheral_csc/README.rst | 26 + samples/bluetooth/peripheral_csc/prj.conf | 2 + samples/bluetooth/peripheral_csc/prj_nble.conf | 3 +- samples/bluetooth/peripheral_csc/src/main.c | 14 +- samples/bluetooth/peripheral_dis/README.rst | 24 + samples/bluetooth/peripheral_dis/prj.conf | 1 + samples/bluetooth/peripheral_dis/src/main.c | 14 +- samples/bluetooth/peripheral_esp/README.rst | 30 + samples/bluetooth/peripheral_esp/prj.conf | 2 +- samples/bluetooth/peripheral_esp/prj_nble.conf | 1 + samples/bluetooth/peripheral_esp/src/main.c | 14 +- samples/bluetooth/peripheral_hids/README.rst | 26 + samples/bluetooth/peripheral_hids/prj.conf | 1 + samples/bluetooth/peripheral_hids/prj_nble.conf | 1 + samples/bluetooth/peripheral_hids/src/main.c | 14 +- samples/bluetooth/peripheral_hr/README.rst | 26 + samples/bluetooth/peripheral_hr/prj.conf | 1 + samples/bluetooth/peripheral_hr/prj_nble.conf | 1 + samples/bluetooth/peripheral_hr/src/main.c | 14 +- samples/bluetooth/peripheral_sc_only/README.rst | 26 + samples/bluetooth/peripheral_sc_only/prj.conf | 1 + samples/bluetooth/peripheral_sc_only/src/main.c | 14 +- samples/drivers/aio_comparator/src/main.c | 33 +- .../drivers/crypto}/Makefile | 0 samples/drivers/crypto/README.txt | 52 + samples/drivers/crypto/prj.conf | 13 + .../{sensor_apds9960 => crypto}/src/Makefile | 0 samples/drivers/crypto/src/main.c | 337 + samples/drivers/crypto/testcase.ini | 5 + samples/drivers/current_sensing/src/main.c | 13 +- samples/drivers/gpio/src/main.c | 16 +- samples/drivers/i2c_fujitsu_fram/README | 2 +- samples/drivers/i2c_fujitsu_fram/src/main.c | 51 +- samples/drivers/i2c_lsm9ds0/src/main.c | 12 +- samples/drivers/lcd_hd44780/src/main.c | 12 +- samples/drivers/led_apa102c/src/main.c | 13 +- samples/drivers/pwm/blink_led/README | 13 - samples/drivers/pwm/blink_led/src/main.c | 72 - samples/drivers/pwm/fade_led/README | 13 - samples/drivers/pwm/fade_led/src/main.c | 75 - samples/drivers/pwm/fade_led/testcase.ini | 5 - samples/drivers/pwm/rgb_led/README | 21 - samples/drivers/pwm/rgb_led/src/main.c | 83 - samples/drivers/pwm/servo_motor/README | 19 - samples/drivers/pwm/servo_motor/src/main.c | 77 - samples/drivers/pwm/servo_motor/testcase.ini | 5 - samples/drivers/random/Makefile | 4 + samples/drivers/random/README.txt | 23 + samples/drivers/random/prj.conf | 2 + samples/drivers/random/src/Makefile | 1 + samples/drivers/random/src/main.c | 45 + samples/drivers/random/testcase.ini | 3 + samples/drivers/rtc/src/main.c | 12 +- samples/drivers/sensor_apds9960/src/main.c | 265 - samples/drivers/soc_flash_nrf5/src/main.c | 12 +- samples/drivers/spi_flash/prj.conf | 3 - samples/drivers/spi_flash/src/main.c | 12 +- samples/drivers/spi_fujitsu_fram/src/main.c | 59 +- samples/drivers/spi_lsm9ds0/src/main.c | 12 +- samples/drivers/watchdog/src/main.c | 12 +- samples/drivers/watchdog/testcase.ini | 2 +- samples/environmental_sensing/Makefile | 22 + samples/environmental_sensing/README.rst | 160 + samples/environmental_sensing/README.txt | 80 - samples/environmental_sensing/ap/Makefile | 4 + samples/environmental_sensing/ap/prj.conf | 13 + .../environmental_sensing/{x86 => ap}/src/Makefile | 0 samples/environmental_sensing/ap/src/main.c | 133 + samples/environmental_sensing/ap/testcase.ini | 4 + samples/environmental_sensing/arc/prj.conf | 21 - samples/environmental_sensing/arc/src/main.c | 139 - .../figures/temp_sensing_4.png | Bin 0 -> 149145 bytes .../figures/temp_sensing_5.png | Bin 0 -> 116040 bytes samples/environmental_sensing/figures/wiring.png | Bin 0 -> 417686 bytes .../environmental_sensing/{arc => sensor}/Makefile | 0 samples/environmental_sensing/sensor/prj.conf | 20 + .../{arc => sensor}/src/Makefile | 0 samples/environmental_sensing/sensor/src/main.c | 129 + .../{arc => sensor}/testcase.ini | 0 samples/environmental_sensing/x86/Makefile | 4 - samples/environmental_sensing/x86/prj_nble.conf | 11 - samples/environmental_sensing/x86/prj_nimble.conf | 14 - samples/environmental_sensing/x86/src/main.c | 143 - samples/environmental_sensing/x86/testcase.ini | 11 - samples/grove/grove.rst | 16 + samples/grove/lcd/README | 11 - samples/grove/lcd/README.rst | 53 + samples/grove/lcd/src/main.c | 12 +- samples/grove/light/prj.conf | 1 - samples/grove/light/src/main.c | 15 +- samples/grove/temperature/prj.conf | 1 - samples/grove/temperature/src/main.c | 19 +- samples/hello_world/Makefile | 2 +- samples/hello_world/README.rst | 38 + samples/hello_world/README.txt | 18 - samples/hello_world/prj_single.conf | 1 + samples/hello_world/src/main.c | 12 +- samples/hello_world/testcase.ini | 6 + samples/ipm/ipm_demo_arc/prj.conf | 1 - samples/ipm/ipm_demo_arc/src/hello.c | 12 +- samples/ipm/ipm_demo_lmt/prj.conf | 1 - samples/ipm/ipm_demo_lmt/src/hello.c | 12 +- samples/kernel.rst | 18 + .../cpp_synchronization/microkernel/README.txt | 2 +- .../cpp_synchronization/microkernel/prj.conf | 1 + .../cpp_synchronization/microkernel/src/main.cpp | 12 +- .../cpp_synchronization/microkernel/testcase.ini | 3 +- .../cpp_synchronization/nanokernel/README.txt | 2 +- .../legacy/cpp_synchronization/nanokernel/prj.conf | 1 + .../cpp_synchronization/nanokernel/src/main.cpp | 12 +- .../cpp_synchronization/nanokernel/testcase.ini | 3 +- .../kernel_event_logger/microkernel/README.txt | 2 +- .../kernel_event_logger/microkernel/prj.conf | 1 + .../microkernel/prj_unified.conf | 1 + .../src/kernel_event_collector_sample.c | 15 +- .../kernel_event_logger/microkernel/testcase.ini | 2 +- .../kernel_event_logger/nanokernel/README.txt | 2 +- .../legacy/kernel_event_logger/nanokernel/prj.conf | 2 + .../kernel_event_logger/nanokernel/testcase.ini | 2 +- samples/legacy/philosophers/microkernel/README.txt | 2 +- samples/legacy/philosophers/microkernel/prj.conf | 4 +- samples/legacy/philosophers/microkernel/src/phil.h | 12 +- .../philosophers/microkernel/src/phil_fiber.c | 12 +- .../philosophers/microkernel/src/phil_task.c | 13 +- .../legacy/philosophers/microkernel/testcase.ini | 2 +- samples/legacy/philosophers/nanokernel/README.txt | 2 +- samples/legacy/philosophers/nanokernel/prj.conf | 2 + .../legacy/philosophers/nanokernel/testcase.ini | 2 +- .../legacy/synchronization/microkernel/README.txt | 2 +- .../legacy/synchronization/microkernel/prj.conf | 2 +- .../legacy/synchronization/microkernel/src/main.c | 12 +- .../synchronization/microkernel/testcase.ini | 2 +- .../legacy/synchronization/nanokernel/README.txt | 2 +- samples/legacy/synchronization/nanokernel/prj.conf | 1 + .../legacy/synchronization/nanokernel/src/main.c | 12 +- .../legacy/synchronization/nanokernel/testcase.ini | 2 +- samples/legacy/task_profiler/README.txt | 5 +- samples/legacy/task_profiler/microkernel/prj.conf | 5 +- .../microkernel/prj_quark_se_c1000_devboard.conf | 5 +- .../legacy/task_profiler/microkernel/src/hello.c | 16 +- .../legacy/task_profiler/microkernel/testcase.ini | 2 +- samples/legacy/task_profiler/nanokernel/prj.conf | 5 +- .../nanokernel/prj_quark_se_c1000_devboard.conf | 5 +- .../legacy/task_profiler/nanokernel/src/hello.c | 16 +- .../legacy/task_profiler/nanokernel/testcase.ini | 2 +- .../profiler/scripts/contextswitch_parse.py | 14 +- .../profiler/scripts/contextswitch_run.py | 14 +- .../profiler/scripts/contextswitch_timeslice.py | 14 +- .../profiler/scripts/contextswitch_totals.py | 14 +- .../task_profiler/profiler/scripts/profile.sh | 12 +- .../profiler/scripts/profile_kernel.py | 14 +- .../profiler/scripts/profile_monitor.py | 14 +- .../task_profiler/profiler/scripts/term/term.c | 12 +- .../legacy/task_profiler/profiler/src/profiler.c | 20 +- .../legacy/task_profiler/profiler/src/profiler.h | 14 +- .../test_xip => samples/logger-hook}/Makefile | 0 samples/logger-hook/README.txt | 38 + samples/logger-hook/prj.conf | 13 + samples/logger-hook/sample.tc | 7 + .../fs/fat_fs => samples/logger-hook}/src/Makefile | 0 samples/logger-hook/src/main.c | 95 + samples/logger-hook/testcase.ini | 4 + samples/net/README | 74 - samples/net/coap_observe_client/Makefile | 30 - samples/net/coap_observe_client/prj.mdef | 5 - samples/net/coap_observe_client/prj_802154.conf | 12 - samples/net/coap_observe_client/prj_bt.conf | 8 - samples/net/coap_observe_client/prj_slip.conf | 13 - samples/net/coap_observe_client/src/Makefile | 20 - .../coap_observe_client/src/coap-observe-client.c | 367 - samples/net/coap_observe_client/testcase.ini | 12 - samples/net/coap_server/Makefile | 30 - samples/net/coap_server/prj.mdef | 5 - samples/net/coap_server/prj_802154.conf | 10 - samples/net/coap_server/prj_bt.conf | 7 - samples/net/coap_server/prj_slip.conf | 10 - samples/net/coap_server/src/Makefile | 38 - samples/net/coap_server/src/coap-server.c | 322 - samples/net/coap_server/src/er-plugtest.h | 55 - .../src/resources/res-plugtest-create1.c | 80 - .../src/resources/res-plugtest-create2.c | 60 - .../src/resources/res-plugtest-create3.c | 80 - .../src/resources/res-plugtest-large-create.c | 91 - .../src/resources/res-plugtest-large-update.c | 128 - .../coap_server/src/resources/res-plugtest-large.c | 92 - .../coap_server/src/resources/res-plugtest-links.c | 71 - .../src/resources/res-plugtest-locquery.c | 65 - .../src/resources/res-plugtest-longpath.c | 68 - .../coap_server/src/resources/res-plugtest-multi.c | 87 - .../coap_server/src/resources/res-plugtest-obs.c | 155 - .../coap_server/src/resources/res-plugtest-path.c | 72 - .../coap_server/src/resources/res-plugtest-query.c | 75 - .../src/resources/res-plugtest-separate.c | 136 - .../coap_server/src/resources/res-plugtest-test.c | 166 - .../src/resources/res-plugtest-validate.c | 139 - samples/net/coap_server/testcase.ini | 12 - samples/net/coaps_client/Makefile | 14 + samples/net/coaps_client/README.rst | 49 + samples/net/coaps_client/prj_qemu_x86.conf | 27 + samples/net/coaps_client/src/Makefile | 7 + samples/net/coaps_client/src/coaps_client.c | 447 + samples/net/coaps_client/src/udp.c | 202 + samples/net/coaps_client/src/udp.h | 23 + samples/net/coaps_client/src/udp_cfg.h | 21 + samples/net/coaps_client/testcase.ini | 4 + samples/net/coaps_server/Makefile | 14 + samples/net/coaps_server/README.rst | 75 + samples/net/coaps_server/prj_qemu_x86.conf | 30 + samples/net/coaps_server/src/Makefile | 7 + samples/net/coaps_server/src/coaps_server.c | 685 + samples/net/coaps_server/src/udp.c | 186 + samples/net/coaps_server/src/udp.h | 24 + samples/net/coaps_server/src/udp_cfg.h | 20 + samples/net/coaps_server/testcase.ini | 4 + samples/net/common/Makefile.ipstack | 30 +- samples/net/common/cc2520_a101.c | 57 + samples/net/common/cc2520_frdm_k64f.c | 86 + samples/net/common/net_testing.h | 157 - samples/net/dhcp_client/Makefile | 24 - samples/net/dhcp_client/prj.mdef | 5 - samples/net/dhcp_client/prj_frdm_k64f.conf | 32 - samples/net/dhcp_client/prj_galileo.conf | 34 - samples/net/dhcp_client/src/Makefile | 6 - samples/net/dhcp_client/src/dhcp-client.c | 52 - samples/net/dhcp_client/testcase.ini | 5 - samples/net/dhcpv4_client/Makefile | 5 + samples/net/dhcpv4_client/README.rst | 156 + samples/net/dhcpv4_client/prj_arduino_101.conf | 44 + samples/net/dhcpv4_client/prj_frdm_k64f.conf | 32 + samples/net/dhcpv4_client/prj_qemu_x86.conf | 35 + samples/net/dhcpv4_client/src/Makefile | 2 + samples/net/dhcpv4_client/src/main.c | 85 + samples/net/dns_client/KNOWN_ISSUES | 17 - samples/net/dns_client/Makefile | 19 +- samples/net/dns_client/README | 139 - samples/net/dns_client/README.rst | 244 + samples/net/dns_client/README_API | 22 - samples/net/dns_client/prj_arduino_101.conf | 45 + samples/net/dns_client/prj_frdm_k64f.conf | 33 + samples/net/dns_client/prj_galileo.conf | 17 - samples/net/dns_client/prj_qemu_x86.conf | 33 + samples/net/dns_client/sample_output_IPv4.txt | 46 + samples/net/dns_client/sample_output_IPv6.txt | 39 + samples/net/dns_client/src/Makefile | 20 +- samples/net/dns_client/src/config.h | 38 + samples/net/dns_client/src/dns_pack.c | 296 - samples/net/dns_client/src/dns_pack.h | 358 - samples/net/dns_client/src/dns_utils.c | 153 - samples/net/dns_client/src/dns_utils.h | 28 - samples/net/dns_client/src/main.c | 280 +- samples/net/dns_client/src/tcp.c | 120 - samples/net/dns_client/src/tcp.h | 26 - samples/net/dns_client/src/tcp_config.h | 46 - samples/net/dns_client/testcase.ini | 2 +- samples/net/dtls_client/Makefile | 25 - samples/net/dtls_client/prj.mdef | 5 - samples/net/dtls_client/prj_802154.conf | 11 - samples/net/dtls_client/prj_qemu.conf | 13 - samples/net/dtls_client/prj_slip.conf | 10 - samples/net/dtls_client/src/Makefile | 12 - samples/net/dtls_client/src/dtls-client.c | 479 - samples/net/dtls_client/testcase.ini | 5 - samples/net/dtls_server/Makefile | 30 - samples/net/dtls_server/prj.mdef | 5 - samples/net/dtls_server/prj_802154.conf | 10 - samples/net/dtls_server/prj_bt.conf | 6 - samples/net/dtls_server/prj_qemu.conf | 13 - samples/net/dtls_server/prj_slip.conf | 11 - samples/net/dtls_server/src/Makefile | 17 - samples/net/dtls_server/src/dtls-server.c | 406 - samples/net/dtls_server/testcase.ini | 6 - samples/net/echo_client/Makefile | 18 +- samples/net/echo_client/README.rst | 98 + samples/net/echo_client/prj.mdef | 5 - samples/net/echo_client/prj_802154.conf | 10 - samples/net/echo_client/prj_arduino_101.conf | 27 + .../net/echo_client/prj_arduino_101_cc2520.conf | 52 + samples/net/echo_client/prj_bt.conf | 35 +- samples/net/echo_client/prj_cc2520.conf | 47 + samples/net/echo_client/prj_frdm_k64f_cc2520.conf | 54 + samples/net/echo_client/prj_frdm_k64f_mcr20a.conf | 48 + samples/net/echo_client/prj_qemu.conf | 13 - samples/net/echo_client/prj_qemu_802154.conf | 48 + samples/net/echo_client/prj_qemu_cortex_m3.conf | 26 + samples/net/echo_client/prj_qemu_x86.conf | 29 + samples/net/echo_client/prj_slip.conf | 9 - samples/net/echo_client/src/Makefile | 28 +- samples/net/echo_client/src/echo-client.c | 1100 +- samples/net/echo_client/testcase.ini | 8 + samples/net/echo_server/Makefile | 18 +- samples/net/echo_server/README.rst | 102 + samples/net/echo_server/prj.mdef | 5 - samples/net/echo_server/prj_802154.conf | 10 - samples/net/echo_server/prj_arduino_101.conf | 27 + .../net/echo_server/prj_arduino_101_cc2520.conf | 52 + samples/net/echo_server/prj_bt.conf | 31 +- samples/net/echo_server/prj_cc2520.conf | 46 + samples/net/echo_server/prj_ethernet.conf | 9 - samples/net/echo_server/prj_frdm_k64f.conf | 31 + samples/net/echo_server/prj_frdm_k64f_cc2520.conf | 53 + samples/net/echo_server/prj_frdm_k64f_mcr20a.conf | 46 + samples/net/echo_server/prj_qemu.conf | 12 - samples/net/echo_server/prj_qemu_802154.conf | 47 + samples/net/echo_server/prj_qemu_cortex_m3.conf | 27 + samples/net/echo_server/prj_qemu_x86.conf | 29 + samples/net/echo_server/prj_sam_e70_xplained.conf | 38 + samples/net/echo_server/prj_slip.conf | 10 - samples/net/echo_server/src/Makefile | 26 +- samples/net/echo_server/src/echo-server.c | 676 +- samples/net/echo_server/testcase.ini | 6 +- samples/net/http_client/Makefile | 10 + samples/net/http_client/README.rst | 229 + samples/net/http_client/prj_frdm_k64f.conf | 34 + samples/net/http_client/src/Makefile | 11 + samples/net/http_client/src/config.h | 74 + samples/net/http_client/src/http_client.c | 158 + samples/net/http_client/src/http_client.h | 38 + samples/net/http_client/src/http_client_cb.c | 133 + samples/net/http_client/src/http_client_cb.h | 38 + samples/net/http_client/src/http_client_rcv.c | 101 + samples/net/http_client/src/http_client_rcv.h | 15 + samples/net/http_client/src/http_client_types.h | 28 + samples/net/http_client/src/main.c | 128 + samples/net/http_client/src/tcp_client.c | 162 + samples/net/http_client/src/tcp_client.h | 31 + samples/net/http_client/testcase.ini | 4 + samples/net/http_server/Makefile | 13 + samples/net/http_server/README.rst | 287 + samples/net/http_server/prj_frdm_k64f.conf | 29 + samples/net/http_server/prj_qemu_x86.conf | 34 + samples/net/http_server/src/Makefile | 15 + samples/net/http_server/src/config.h | 32 + samples/net/http_server/src/http_server.c | 435 + samples/net/http_server/src/http_server.h | 55 + samples/net/http_server/src/http_types.h | 98 + samples/net/http_server/src/http_utils.c | 51 + samples/net/http_server/src/http_utils.h | 18 + samples/net/http_server/src/http_write_utils.c | 183 + samples/net/http_server/src/http_write_utils.h | 63 + samples/net/http_server/src/https_server.c | 406 + samples/net/http_server/src/main.c | 118 + samples/net/http_server/src/ssl_utils.c | 295 + samples/net/http_server/src/ssl_utils.h | 37 + samples/net/http_server/src/test_certs.h | 92 + samples/net/http_server/testcase.ini | 4 + samples/net/ieee802154/hw/Makefile | 12 + samples/net/ieee802154/hw/prj.conf | 44 + samples/net/ieee802154/hw/prj_mcr20a.conf | 45 + samples/net/ieee802154/hw/src/Makefile | 1 + samples/net/ieee802154/hw/src/ieee802154_test.c | 96 + samples/net/ieee802154/qemu/Makefile | 14 + samples/net/ieee802154/qemu/Makefile.qemu | 79 + samples/net/ieee802154/qemu/prj.conf | 39 + samples/net/ieee802154/qemu/src/Makefile | 1 + .../net/ieee802154/qemu/src/ieee802154_qemu_test.c | 56 + samples/net/irc_bot/Makefile | 24 + samples/net/irc_bot/prj_frdm_k64f.conf | 36 + samples/net/irc_bot/prj_qemu_x86.conf | 33 + samples/net/irc_bot/src/Makefile | 1 + samples/net/irc_bot/src/irc-bot.c | 940 + samples/net/irc_bot/testcase.ini | 4 + samples/net/leds_demo/Makefile | 15 + samples/net/leds_demo/prj.conf | 11 + samples/net/leds_demo/prj_802154.conf | 11 + samples/net/leds_demo/src/Makefile | 14 + samples/net/leds_demo/src/leds-demo.c | 495 + samples/net/leds_demo/testcase.ini | 5 + samples/net/loopback_test/Makefile | 22 - samples/net/loopback_test/prj.conf | 5 - samples/net/loopback_test/prj_10000.conf | 6 - samples/net/loopback_test/sample.tc | 8 - samples/net/loopback_test/src/Makefile | 6 - samples/net/loopback_test/src/network.c | 263 - samples/net/loopback_test/testcase.ini | 4 - samples/net/mbedtls_dtlsclient/Makefile | 14 + samples/net/mbedtls_dtlsclient/README.rst | 104 + .../net/mbedtls_dtlsclient/prj_arduino_101.conf | 32 + samples/net/mbedtls_dtlsclient/prj_qemu_x86.conf | 21 + samples/net/mbedtls_dtlsclient/src/Makefile | 7 + samples/net/mbedtls_dtlsclient/src/dtls_client.c | 334 + samples/net/mbedtls_dtlsclient/src/udp.c | 262 + samples/net/mbedtls_dtlsclient/src/udp.h | 23 + samples/net/mbedtls_dtlsclient/src/udp_cfg.h | 28 + samples/net/mbedtls_dtlsclient/testcase.ini | 4 + samples/net/mbedtls_dtlsserver/Makefile | 14 + samples/net/mbedtls_dtlsserver/README.rst | 108 + samples/net/mbedtls_dtlsserver/prj_qemu_x86.conf | 22 + samples/net/mbedtls_dtlsserver/src/Makefile | 7 + samples/net/mbedtls_dtlsserver/src/dtls_server.c | 416 + samples/net/mbedtls_dtlsserver/src/udp.c | 243 + samples/net/mbedtls_dtlsserver/src/udp.h | 24 + samples/net/mbedtls_dtlsserver/src/udp_cfg.h | 27 + samples/net/mbedtls_dtlsserver/testcase.ini | 4 + samples/net/mbedtls_sslclient/Makefile | 16 +- samples/net/mbedtls_sslclient/prj_arduino_101.conf | 34 + samples/net/mbedtls_sslclient/prj_galileo.conf | 3 - samples/net/mbedtls_sslclient/src/Makefile | 17 +- samples/net/mbedtls_sslclient/src/mini_client.c | 17 +- samples/net/mbedtls_sslclient/src/tcp.c | 205 +- samples/net/mbedtls_sslclient/src/tcp.h | 14 +- samples/net/mbedtls_sslclient/src/tcp_cfg.h | 15 +- samples/net/mbedtls_sslclient/testcase.ini | 2 - samples/net/mqtt_publisher/Makefile | 14 + samples/net/mqtt_publisher/README.rst | 242 + samples/net/mqtt_publisher/prj_96b_nitrogen.conf | 65 + samples/net/mqtt_publisher/prj_frdm_k64f.conf | 36 + samples/net/mqtt_publisher/prj_qemu_x86.conf | 37 + samples/net/mqtt_publisher/src/Makefile | 12 + samples/net/mqtt_publisher/src/config.h | 39 + samples/net/mqtt_publisher/src/main.c | 505 + samples/net/mqtt_publisher/testcase.ini | 9 + samples/net/nats_clients/KNOWN_ISSUES | 34 - samples/net/nats_clients/README | 49 - samples/net/nats_clients/publisher/Makefile | 20 - samples/net/nats_clients/publisher/README | 118 - .../net/nats_clients/publisher/prj_galileo.conf | 22 - samples/net/nats_clients/publisher/src/Makefile | 25 - samples/net/nats_clients/publisher/src/app_buf.h | 19 - samples/net/nats_clients/publisher/src/main.c | 122 - .../net/nats_clients/publisher/src/nats_client.c | 153 - .../net/nats_clients/publisher/src/nats_client.h | 120 - samples/net/nats_clients/publisher/src/nats_pack.c | 455 - samples/net/nats_clients/publisher/src/nats_pack.h | 247 - samples/net/nats_clients/publisher/src/netz.c | 223 - samples/net/nats_clients/publisher/src/netz.h | 163 - samples/net/nats_clients/publisher/testcase.ini | 5 - samples/net/nats_clients/subscriber/Kbuild | 1 - samples/net/nats_clients/subscriber/Makefile | 22 - samples/net/nats_clients/subscriber/README | 104 - .../net/nats_clients/subscriber/prj_galileo.conf | 22 - samples/net/nats_clients/subscriber/src/Makefile | 26 - samples/net/nats_clients/subscriber/src/main.c | 162 - samples/net/nats_clients/subscriber/testcase.ini | 5 - samples/net/net.rst | 8 + .../net/paho_mqtt_clients/publisher/KNOWN_ISSUES | 30 - samples/net/paho_mqtt_clients/publisher/Kbuild | 10 - samples/net/paho_mqtt_clients/publisher/Makefile | 22 - samples/net/paho_mqtt_clients/publisher/README | 132 - .../paho_mqtt_clients/publisher/prj_galileo.conf | 19 - .../net/paho_mqtt_clients/publisher/src/Makefile | 25 - .../net/paho_mqtt_clients/publisher/src/app_buf.h | 19 - samples/net/paho_mqtt_clients/publisher/src/main.c | 121 - samples/net/paho_mqtt_clients/publisher/src/mqtt.c | 661 - samples/net/paho_mqtt_clients/publisher/src/mqtt.h | 271 - .../paho_mqtt_clients/publisher/src/mqtt_pack.c | 336 - .../paho_mqtt_clients/publisher/src/mqtt_pack.h | 299 - samples/net/paho_mqtt_clients/publisher/src/netz.c | 225 - samples/net/paho_mqtt_clients/publisher/src/netz.h | 163 - .../net/paho_mqtt_clients/subscriber/KNOWN_ISSUES | 1 - samples/net/paho_mqtt_clients/subscriber/Kbuild | 10 - samples/net/paho_mqtt_clients/subscriber/Makefile | 22 - samples/net/paho_mqtt_clients/subscriber/README | 131 - .../paho_mqtt_clients/subscriber/prj_galileo.conf | 19 - .../net/paho_mqtt_clients/subscriber/src/Makefile | 26 - .../net/paho_mqtt_clients/subscriber/src/main.c | 158 - samples/net/telnet/Makefile | 14 + samples/net/telnet/README.rst | 137 + samples/net/telnet/prj_frdm_k64f.conf | 44 + samples/net/telnet/prj_qemu_x86.conf | 43 + samples/net/telnet/prj_qemu_x86_iamcu.conf | 43 + samples/net/telnet/src/Makefile | 2 + samples/net/telnet/src/telnet.c | 150 + samples/net/telnet/testcase.ini | 4 + samples/net/test/test_15_4/Makefile | 25 - samples/net/test/test_15_4/README | 84 - samples/net/test/test_15_4/prj.conf | 8 - samples/net/test/test_15_4/prj.mdef | 1 - samples/net/test_15_4/Makefile | 25 - samples/net/test_15_4/Makefile.15_4 | 104 - samples/net/test_15_4/README | 84 - samples/net/test_15_4/prj.conf | 7 - samples/net/test_15_4/prj.mdef | 11 - samples/net/test_15_4/sample.tc | 16 - samples/net/test_15_4/src/Makefile | 7 - samples/net/test_15_4/src/network.c | 414 - samples/net/test_15_4/testcase.ini | 4 - samples/net/trickle-legacy/Makefile | 31 - samples/net/trickle-legacy/prj.mdef | 5 - samples/net/trickle-legacy/prj_802154.conf | 13 - samples/net/trickle-legacy/prj_bt.conf | 17 - samples/net/trickle-legacy/prj_ethernet.conf | 12 - samples/net/trickle-legacy/prj_qemu.conf | 9 - samples/net/trickle-legacy/prj_slip.conf | 13 - samples/net/trickle-legacy/src/Makefile | 13 - samples/net/trickle-legacy/src/main.c | 192 - samples/net/wpan_serial/Makefile | 4 + samples/net/wpan_serial/README | 28 + samples/net/wpan_serial/prj.conf | 30 + samples/net/wpan_serial/src/Makefile | 3 + samples/net/wpan_serial/src/main.c | 643 + samples/net/wpan_serial/testcase.ini | 5 + samples/net/wpanusb/Makefile | 4 + samples/net/wpanusb/README | 29 + samples/net/wpanusb/prj.conf | 26 + samples/net/wpanusb/src/Makefile | 9 + samples/net/wpanusb/src/wpanusb.c | 619 + samples/net/wpanusb/src/wpanusb.h | 40 + samples/net/wpanusb/wpan-radio-spec.txt | 107 + samples/net/zoap_client/Makefile | 20 +- samples/net/zoap_client/README.rst | 46 + samples/net/zoap_client/README.txt | 54 - samples/net/zoap_client/prj.conf | 20 +- samples/net/zoap_client/prj.mdef | 5 - samples/net/zoap_client/prj_bt.conf | 22 + samples/net/zoap_client/src/Makefile | 10 +- samples/net/zoap_client/src/zoap-client.c | 214 +- samples/net/zoap_client/testcase.ini | 5 + samples/net/zoap_server/Makefile | 24 +- samples/net/zoap_server/README.rst | 63 + samples/net/zoap_server/README.txt | 51 - samples/net/zoap_server/prj.conf | 19 +- samples/net/zoap_server/prj.mdef | 5 - samples/net/zoap_server/prj_bt.conf | 19 + samples/net/zoap_server/prj_cc2520.conf | 14 + samples/net/zoap_server/src/Makefile | 10 +- samples/net/zoap_server/src/zoap-server.c | 762 +- samples/net/zoap_server/testcase.ini | 12 + samples/net/zperf/Makefile | 11 +- samples/net/zperf/README.rst | 107 +- samples/net/zperf/prj.mdef | 5 - samples/net/zperf/prj_bt.conf | 33 + samples/net/zperf/prj_frdm_k64f.conf | 36 + samples/net/zperf/prj_frdm_k64f_prof.conf | 36 + samples/net/zperf/prj_galileo.conf | 30 + samples/net/zperf/prj_galileo_ethernet.conf | 33 - samples/net/zperf/prj_galileo_ethernet_prof.conf | 46 - samples/net/zperf/prj_galileo_prof.conf | 41 + samples/net/zperf/prj_prof.mdef | 6 - samples/net/zperf/prj_qemu_x86.conf | 36 + samples/net/zperf/prj_quark_se_c1000_devboard.conf | 41 + samples/net/zperf/src/Makefile | 16 +- samples/net/zperf/src/shell_utils.c | 143 +- samples/net/zperf/src/shell_utils.h | 26 +- samples/net/zperf/src/zperf.h | 20 +- samples/net/zperf/src/zperf_internal.h | 80 +- samples/net/zperf/src/zperf_session.c | 81 +- samples/net/zperf/src/zperf_session.h | 26 +- samples/net/zperf/src/zperf_shell.c | 1071 +- samples/net/zperf/src/zperf_tcp_receiver.c | 304 +- samples/net/zperf/src/zperf_tcp_uploader.c | 110 +- samples/net/zperf/src/zperf_udp_receiver.c | 528 +- samples/net/zperf/src/zperf_udp_uploader.c | 382 +- samples/net/zperf/testcase.ini | 2 +- samples/nfc/nfc_hello/README.txt | 48 + samples/nfc/nfc_hello/src/main.c | 72 +- samples/nfc/nfc_hello/testcase.ini | 4 +- samples/philosophers/README.rst | 61 + samples/philosophers/README.txt | 59 - samples/philosophers/prj.conf | 1 - samples/philosophers/src/Makefile | 1 + samples/philosophers/src/main.c | 46 +- samples/philosophers/src/phil_obj_abstract.h | 14 +- samples/philosophers/testcase.ini | 3 + samples/power/power.rst | 8 + samples/power/power_mgr/README.rst | 106 + samples/power/power_mgr/README.txt | 95 - samples/power/power_mgr/src/main.c | 24 +- samples/samples.rst | 23 + .../sensor_apds9960 => sensor/apds9960}/Makefile | 0 samples/sensor/apds9960/README.rst | 50 + .../sensor_apds9960 => sensor/apds9960}/prj.conf | 0 samples/sensor/apds9960/src/Makefile | 1 + samples/sensor/apds9960/src/main.c | 230 + .../apds9960}/testcase.ini | 0 samples/sensor/bme280/src/main.c | 12 +- samples/sensor/bmg160/src/arc_bmg160.c | 29 +- samples/sensor/bmi160/{arc => }/Makefile | 0 samples/sensor/bmi160/README.rst | 24 - samples/sensor/bmi160/arc/prj.conf | 15 - samples/sensor/bmi160/arc/src/Makefile | 1 - samples/sensor/bmi160/arc/src/arc_bmi160.c | 501 - samples/sensor/bmi160/prj.conf | 9 + samples/sensor/bmi160/src/Makefile | 1 + samples/sensor/bmi160/src/bmi160.c | 479 + samples/sensor/bmi160/{arc => }/testcase.ini | 0 samples/sensor/bmi160/x86/Makefile | 4 - samples/sensor/bmi160/x86/prj.conf | 14 - samples/sensor/bmi160/x86/src/Makefile | 4 - samples/sensor/bmi160/x86/src/x86_bmi160.c | 69 - samples/sensor/bmi160/x86/testcase.ini | 4 - samples/sensor/fxos8700/Makefile | 11 + samples/sensor/fxos8700/README.rst | 37 + samples/sensor/fxos8700/prj.conf | 8 + samples/sensor/fxos8700/src/Makefile | 8 + samples/sensor/fxos8700/src/main.c | 78 + samples/sensor/fxos8700/testcase.ini | 4 + samples/sensor/magn_polling/README.rst | 2 +- samples/sensor/magn_polling/src/main.c | 17 +- samples/sensor/max44009/src/main.c | 14 +- samples/sensor/mcp9808/README.rst | 30 +- samples/sensor/mcp9808/src/main.c | 14 +- samples/sensor/sensor.rst | 8 + samples/sensor/sx9500/README.txt | 2 +- samples/sensor/sx9500/src/main.c | 12 +- samples/sensor/th02/README.rst | 27 +- samples/sensor/th02/src/main.c | 18 +- samples/sensor/thermometer/Makefile | 4 + samples/sensor/thermometer/README.txt | 22 + samples/sensor/thermometer/prj.conf | 2 + samples/sensor/thermometer/src/Makefile | 1 + samples/sensor/thermometer/src/main.c | 48 + samples/sensor/thermometer/testcase.ini | 3 + samples/sensor/tmp112/README.txt | 2 +- samples/sensor/tmp112/src/main.c | 15 +- samples/shell/prj.conf | 7 +- samples/shell/src/main.c | 21 +- samples/static_lib/Makefile | 12 +- samples/static_lib/hello_world/Makefile | 12 +- samples/static_lib/hello_world/src/Makefile | 12 +- samples/static_lib/hello_world/src/main.c | 12 +- samples/static_lib/mylib/Makefile | 12 +- samples/static_lib/mylib/include/mylib.h | 12 +- samples/static_lib/mylib/src/mylib.c | 12 +- samples/synchronization/Makefile | 2 +- samples/synchronization/README.rst | 42 + samples/synchronization/README.txt | 48 - samples/synchronization/src/main.c | 22 +- samples/testing/integration/src/main.c | 12 +- samples/testing/unit/Makefile | 2 + samples/testing/unit/main.c | 50 +- samples/usb/cdc_acm/src/main.c | 14 +- samples/usb/console/src/main.c | 14 +- samples/usb/dfu/src/main.c | 12 +- samples/usb/dfu/src/usb_dfu.c | 4 +- samples/usb/mass/prj.conf | 12 +- samples/usb/mass/src/main.c | 14 +- samples/usb/webusb/Makefile | 4 + samples/usb/webusb/README.txt | 86 + samples/usb/webusb/prj.conf | 11 + samples/usb/webusb/src/Makefile | 3 + samples/usb/webusb/src/main.c | 221 + samples/usb/webusb/src/webusb_serial.c | 1003 + samples/usb/webusb/src/webusb_serial.h | 97 + samples/usb/webusb/testcase.ini | 5 + scripts/Makefile.lib | 9 +- scripts/Makefile.qemu | 27 + scripts/Makefile.toolchain.gccarmemb | 4 +- scripts/Makefile.toolchain.riscv32 | 13 + scripts/Makefile.toolchain.xcc | 104 + scripts/Makefile.toolchain.zephyr | 53 +- scripts/Makefile.xt-run | 32 + scripts/Makefile.xtsc-run | 51 + scripts/check_known_checkpatch_issues.sh | 12 +- scripts/check_link_map.py | 2 +- scripts/checkconfig.py | 2 +- scripts/compare_footprint | 14 +- scripts/devicetree.py | 290 + scripts/diffconfig | 2 +- scripts/do_checkpatch.sh | 12 +- scripts/expr_parser.py | 12 +- scripts/extract_dts_includes.py | 632 + scripts/filter-known-issues.py | 171 +- scripts/gen_idt/gen_idt.c | 15 +- scripts/gen_idt/version.c | 12 +- scripts/gen_idt/version.h | 12 +- scripts/gen_offset_header/elf.h | 12 +- scripts/gen_offset_header/gen_offset_header.c | 13 +- scripts/maintainer-checkpatch.bash | 12 +- scripts/make-ll | 12 +- ...support-basepri-primask-interrupt-locking.patch | 203 - scripts/sanity_chk/arches/arm.ini | 4 +- scripts/sanity_chk/arches/riscv32.ini | 8 + scripts/sanity_chk/arches/x86.ini | 2 +- scripts/sanity_chk/arches/xtensa.ini | 7 + scripts/sanity_chk/sanity_compare.args | 18 + scripts/sanity_chk/sanity_last_release.csv | 4712 +- scripts/sanitycheck | 116 +- scripts/size_report | 14 +- scripts/support/qemu.sh | 16 + scripts/support/xt-gdb.sh | 23 + scripts/sysgen | 30 +- scripts/timestamp | 12 +- scripts/uncrustify.cfg | 78 + scripts/waitpid | 5 + subsys/Kconfig | 23 +- subsys/Makefile | 5 + subsys/bluetooth/Kconfig | 14 +- subsys/bluetooth/controller/Kconfig | 81 +- subsys/bluetooth/controller/Makefile | 13 +- subsys/bluetooth/controller/hal/ccm.h | 14 +- subsys/bluetooth/controller/hal/cntr.h | 17 + subsys/bluetooth/controller/hal/cpu.h | 14 +- subsys/bluetooth/controller/hal/debug.h | 14 +- subsys/bluetooth/controller/hal/ecb.c | 185 - subsys/bluetooth/controller/hal/ecb.h | 14 +- subsys/bluetooth/controller/hal/hal_rtc.h | 27 - subsys/bluetooth/controller/hal/hal_work.h | 33 - subsys/bluetooth/controller/hal/nrf5/cntr.c | 61 + subsys/bluetooth/controller/hal/nrf5/ecb.c | 180 + subsys/bluetooth/controller/hal/nrf5/radio.c | 560 + subsys/bluetooth/controller/hal/nrf5/rand.c | 116 + subsys/bluetooth/controller/hal/radio.c | 558 - subsys/bluetooth/controller/hal/radio.h | 16 +- subsys/bluetooth/controller/hal/rand.c | 122 - subsys/bluetooth/controller/hal/rand.h | 16 +- subsys/bluetooth/controller/hal/rtc.c | 68 - subsys/bluetooth/controller/hci/hci.c | 281 +- subsys/bluetooth/controller/hci/hci_driver.c | 311 +- subsys/bluetooth/controller/hci/hci_internal.h | 16 +- subsys/bluetooth/controller/ll/ctrl.c | 964 +- subsys/bluetooth/controller/ll/ctrl.h | 94 +- subsys/bluetooth/controller/ll/ctrl_internal.h | 46 +- subsys/bluetooth/controller/ll/ll.c | 24 +- subsys/bluetooth/controller/ll/ll.h | 12 +- subsys/bluetooth/controller/ll/pdu.h | 31 +- subsys/bluetooth/controller/ll/ticker.c | 1537 - subsys/bluetooth/controller/ll/ticker.h | 138 - subsys/bluetooth/controller/ticker/ticker.c | 1792 + subsys/bluetooth/controller/ticker/ticker.h | 128 + subsys/bluetooth/controller/util/config.h | 30 + subsys/bluetooth/controller/util/defines.h | 34 - subsys/bluetooth/controller/util/mayfly.c | 153 + subsys/bluetooth/controller/util/mayfly.h | 29 + subsys/bluetooth/controller/util/mem.c | 57 +- subsys/bluetooth/controller/util/mem.h | 20 +- subsys/bluetooth/controller/util/memq.c | 30 +- subsys/bluetooth/controller/util/memq.h | 13 +- subsys/bluetooth/controller/util/util.c | 12 +- subsys/bluetooth/controller/util/util.h | 20 +- subsys/bluetooth/controller/util/work.c | 165 - subsys/bluetooth/controller/util/work.h | 38 - subsys/bluetooth/host/Kconfig | 208 +- subsys/bluetooth/host/a2dp.c | 114 +- subsys/bluetooth/host/a2dp_internal.h | 18 +- subsys/bluetooth/host/at.c | 240 +- subsys/bluetooth/host/at.h | 47 +- subsys/bluetooth/host/att.c | 124 +- subsys/bluetooth/host/att_internal.h | 18 +- subsys/bluetooth/host/avdtp.c | 198 +- subsys/bluetooth/host/avdtp_internal.h | 114 +- subsys/bluetooth/host/conn.c | 390 +- subsys/bluetooth/host/conn_internal.h | 37 +- subsys/bluetooth/host/ecc.h | 12 +- subsys/bluetooth/host/gatt.c | 232 +- subsys/bluetooth/host/gatt_internal.h | 12 +- subsys/bluetooth/host/hci_core.c | 1266 +- subsys/bluetooth/host/hci_core.h | 68 +- subsys/bluetooth/host/hci_ecc.c | 138 +- subsys/bluetooth/host/hci_ecc.h | 12 +- subsys/bluetooth/host/hci_raw.c | 70 +- subsys/bluetooth/host/hci_raw_internal.h | 24 + subsys/bluetooth/host/hfp_hf.c | 385 +- subsys/bluetooth/host/hfp_internal.h | 28 +- subsys/bluetooth/host/keys.c | 18 +- subsys/bluetooth/host/keys.h | 16 +- subsys/bluetooth/host/keys_br.c | 18 +- subsys/bluetooth/host/l2cap.c | 203 +- subsys/bluetooth/host/l2cap_br.c | 188 +- subsys/bluetooth/host/l2cap_internal.h | 25 +- subsys/bluetooth/host/log.c | 14 +- subsys/bluetooth/host/monitor.c | 18 +- subsys/bluetooth/host/monitor.h | 12 +- subsys/bluetooth/host/rfcomm.c | 801 +- subsys/bluetooth/host/rfcomm_internal.h | 77 +- subsys/bluetooth/host/sdp.c | 1125 +- subsys/bluetooth/host/sdp_internal.h | 24 +- subsys/bluetooth/host/smp.c | 361 +- subsys/bluetooth/host/smp.h | 14 +- subsys/bluetooth/host/smp_null.c | 27 +- subsys/bluetooth/host/storage.c | 25 +- subsys/bluetooth/host/uuid.c | 23 +- subsys/debug/Kconfig | 131 + subsys/debug/Makefile | 12 + subsys/debug/gdb_server.c | 2461 + subsys/debug/mem_safe_check_boundaries.c | 283 + subsys/debug/openocd.c | 67 + subsys/disk/Kconfig | 72 + subsys/disk/Makefile | 3 + subsys/disk/disk_access_flash.c | 279 + subsys/disk/disk_access_ram.c | 82 + subsys/{fs => disk}/fat12_ramdisk.h | 0 subsys/fs/Kconfig | 87 +- subsys/fs/Makefile | 3 - subsys/fs/disk_access_flash.c | 275 - subsys/fs/disk_access_ram.c | 91 - subsys/fs/fat_fs.c | 14 +- subsys/fs/shell.c | 44 +- subsys/logging/Kconfig | 76 + subsys/logging/Makefile | 3 + subsys/logging/event_logger.c | 141 + subsys/logging/kernel_event_logger.c | 200 + subsys/logging/sys_log.c | 19 + subsys/net/Kconfig | 67 + subsys/net/Makefile | 13 + subsys/net/TODO | 317 + subsys/net/buf.c | 497 + subsys/net/ip/6lo.c | 1460 + subsys/net/ip/6lo.h | 65 + subsys/net/ip/6lo_private.h | 94 + subsys/net/ip/Kconfig | 276 + subsys/net/ip/Kconfig.debug | 107 + subsys/net/ip/Kconfig.ipv4 | 60 + subsys/net/ip/Kconfig.ipv6 | 114 + subsys/net/ip/Kconfig.mgmt | 68 + subsys/net/ip/Kconfig.rpl | 233 + subsys/net/ip/Kconfig.samples | 50 + subsys/net/ip/Kconfig.stack | 44 + subsys/net/ip/Kconfig.stats | 83 + subsys/net/ip/Makefile | 30 + subsys/net/ip/connection.c | 795 + subsys/net/ip/connection.h | 152 + subsys/net/ip/dhcpv4.c | 910 + subsys/net/ip/icmpv4.c | 276 + subsys/net/ip/icmpv4.h | 66 + subsys/net/ip/icmpv6.c | 371 + subsys/net/ip/icmpv6.h | 197 + subsys/net/ip/ipv4.c | 133 + subsys/net/ip/ipv4.h | 87 + subsys/net/ip/ipv6.c | 2219 + subsys/net/ip/ipv6.h | 301 + subsys/net/ip/l2/Kconfig | 131 + subsys/net/ip/l2/Makefile | 9 + subsys/net/ip/l2/arp.c | 489 + subsys/net/ip/l2/bluetooth.c | 533 + subsys/net/ip/l2/bluetooth_shell.c | 141 + subsys/net/ip/l2/dummy.c | 39 + subsys/net/ip/l2/ethernet.c | 311 + subsys/net/ip/l2/ieee802154/Kconfig | 130 + subsys/net/ip/l2/ieee802154/Kconfig.radio | 66 + subsys/net/ip/l2/ieee802154/Makefile | 11 + subsys/net/ip/l2/ieee802154/ieee802154.c | 345 + subsys/net/ip/l2/ieee802154/ieee802154_fragment.c | 577 + subsys/net/ip/l2/ieee802154/ieee802154_fragment.h | 53 + subsys/net/ip/l2/ieee802154/ieee802154_frame.c | 710 + subsys/net/ip/l2/ieee802154/ieee802154_frame.h | 405 + subsys/net/ip/l2/ieee802154/ieee802154_mgmt.c | 478 + subsys/net/ip/l2/ieee802154/ieee802154_mgmt.h | 56 + .../net/ip/l2/ieee802154/ieee802154_radio_aloha.c | 71 + .../ip/l2/ieee802154/ieee802154_radio_csma_ca.c | 98 + .../net/ip/l2/ieee802154/ieee802154_radio_utils.h | 82 + subsys/net/ip/l2/ieee802154/ieee802154_shell.c | 380 + subsys/net/ip/nbr.c | 228 + subsys/net/ip/nbr.h | 215 + subsys/net/ip/nbuf.c | 1396 + subsys/net/ip/net_context.c | 2002 + subsys/net/ip/net_core.c | 753 + subsys/net/ip/net_if.c | 1457 + subsys/net/ip/net_mgmt.c | 210 + subsys/net/ip/net_private.h | 210 + subsys/net/ip/net_shell.c | 784 + subsys/net/ip/net_shell.h | 22 + subsys/net/ip/net_stats.c | 261 + subsys/net/ip/net_stats.h | 272 + subsys/net/ip/route.c | 681 + subsys/net/ip/route.h | 244 + subsys/net/ip/rpl-mrhof.c | 362 + subsys/net/ip/rpl-of0.c | 241 + subsys/net/ip/rpl.c | 3937 + subsys/net/ip/rpl.h | 970 + subsys/net/ip/tcp.c | 838 + subsys/net/ip/tcp.h | 358 + subsys/net/ip/trickle.c | 230 + subsys/net/ip/udp.h | 132 + subsys/net/ip/utils.c | 483 + subsys/net/lib/Kbuild | 4 + subsys/net/lib/Kconfig | 17 + subsys/net/lib/Makefile | 15 + subsys/net/lib/dns/Kconfig | 35 + subsys/net/lib/dns/Makefile | 5 + subsys/net/lib/dns/README | 18 + subsys/net/lib/dns/dns_client.c | 368 + subsys/net/lib/dns/dns_pack.c | 408 + subsys/net/lib/dns/dns_pack.h | 336 + subsys/net/lib/http/Kconfig | 21 + subsys/net/lib/http/Makefile | 3 + subsys/net/lib/http/README_http_parser | 11 + subsys/net/lib/http/http_parser.c | 2935 + subsys/net/lib/mqtt/Kconfig | 43 + subsys/net/lib/mqtt/Makefile | 2 + subsys/net/lib/mqtt/mqtt.c | 859 + subsys/net/lib/mqtt/mqtt_pkt.c | 1191 + subsys/net/lib/mqtt/mqtt_pkt.h | 408 + subsys/net/lib/zoap/Kbuild | 4 + subsys/net/lib/zoap/Kconfig | 14 + subsys/net/lib/zoap/Makefile | 1 + subsys/net/lib/zoap/zoap.c | 1354 + subsys/net/lib/zoap/zoap_link_format.c | 302 + subsys/shell/Kconfig | 37 + subsys/shell/Makefile | 5 + subsys/shell/modules/Kconfig | 15 + subsys/shell/modules/Makefile | 1 + subsys/shell/modules/kernel_service.c | 93 + subsys/shell/shell.c | 559 + subsys/shell/shell_service.c | 30 + subsys/usb/Kconfig | 12 +- subsys/usb/class/Kconfig | 13 +- subsys/usb/class/cdc_acm.c | 114 +- subsys/usb/class/mass_storage.c | 11 +- subsys/usb/usb_device.c | 2 +- tests/Kconfig | 17 +- tests/benchmarks/boot_time/Makefile | 4 + tests/benchmarks/boot_time/README.txt | 64 + tests/benchmarks/boot_time/prj.conf | 3 + tests/benchmarks/boot_time/src/Makefile | 4 + tests/benchmarks/boot_time/src/main.c | 90 + tests/benchmarks/boot_time/testcase.ini | 4 + tests/benchmarks/sys_kernel/Makefile | 4 + tests/benchmarks/sys_kernel/README.txt | 177 + tests/benchmarks/sys_kernel/prj.conf | 7 + tests/benchmarks/sys_kernel/src/Makefile | 7 + tests/benchmarks/sys_kernel/src/lifo.c | 262 + tests/benchmarks/sys_kernel/src/mwfifo.c | 261 + tests/benchmarks/sys_kernel/src/sema.c | 189 + tests/benchmarks/sys_kernel/src/stack.c | 242 + tests/benchmarks/sys_kernel/src/syskernel.c | 192 + tests/benchmarks/sys_kernel/src/syskernel.h | 61 + tests/benchmarks/sys_kernel/testcase.ini | 6 + tests/bluetooth/init/Makefile | 2 +- tests/bluetooth/init/prj_controller_4_0.conf | 14 + tests/bluetooth/init/prj_controller_dbg.conf | 2 + tests/bluetooth/init/src/main.c | 12 +- tests/bluetooth/init/testcase.ini | 11 +- tests/bluetooth/shell/Makefile | 14 +- tests/bluetooth/shell/arduino_101.conf | 9 +- tests/bluetooth/shell/prj.conf | 8 +- tests/bluetooth/shell/prj_br.conf | 6 +- tests/bluetooth/shell/prj_nble.conf | 5 +- tests/bluetooth/shell/prj_nimble.conf | 4 +- tests/bluetooth/shell/src/main.c | 245 +- tests/bluetooth/test_bluetooth/Makefile | 2 +- tests/bluetooth/test_bluetooth/prj.conf | 3 - tests/bluetooth/test_bluetooth/src/bluetooth.c | 12 +- tests/bluetooth/tester/Makefile | 14 +- tests/bluetooth/tester/README | 2 +- tests/bluetooth/tester/src/bttester.c | 19 +- tests/bluetooth/tester/src/bttester.h | 14 +- tests/bluetooth/tester/src/gap.c | 12 +- tests/bluetooth/tester/src/gatt.c | 22 +- tests/bluetooth/tester/src/l2cap.c | 30 +- tests/bluetooth/tester/src/main.c | 12 +- tests/booting/stub/Makefile | 2 +- tests/booting/stub/src/main.c | 12 +- tests/crypto/test_aes/Makefile | 2 +- tests/crypto/test_aes/README.txt | 2 +- tests/crypto/test_aes/prj.conf | 1 - tests/crypto/test_aes/src/test_aes.c | 3894 +- tests/crypto/test_aes/testcase.ini | 2 + tests/crypto/test_cbc_mode/Makefile | 2 +- tests/crypto/test_cbc_mode/README.txt | 2 +- tests/crypto/test_cbc_mode/prj.conf | 1 - tests/crypto/test_ccm_mode/Makefile | 2 +- tests/crypto/test_ccm_mode/README.txt | 2 +- tests/crypto/test_ccm_mode/prj.conf | 1 - tests/crypto/test_ccm_mode/src/test_ccm_mode.c | 231 +- tests/crypto/test_cmac_mode/Makefile | 2 +- tests/crypto/test_cmac_mode/README.txt | 2 +- tests/crypto/test_cmac_mode/prj.conf | 1 - tests/crypto/test_ctr_mode/Makefile | 2 +- tests/crypto/test_ctr_mode/README.txt | 2 +- tests/crypto/test_ctr_mode/prj.conf | 1 - tests/crypto/test_ctr_prng/Makefile | 2 +- tests/crypto/test_ctr_prng/README.txt | 2 +- tests/crypto/test_ctr_prng/prj.conf | 1 - tests/crypto/test_ctr_prng/src/test_ctr_prng.c | 46 +- tests/crypto/test_ctr_prng/testcase.ini | 2 + tests/crypto/test_ecc_dh/Makefile | 2 +- tests/crypto/test_ecc_dh/README.txt | 2 +- tests/crypto/test_ecc_dh/prj.conf | 1 + tests/crypto/test_ecc_dh/testcase.ini | 6 +- tests/crypto/test_ecc_dsa/Makefile | 2 +- tests/crypto/test_ecc_dsa/README.txt | 2 +- tests/crypto/test_ecc_dsa/prj.conf | 1 + tests/crypto/test_ecc_dsa/src/test_ecc_utils.c | 1 - tests/crypto/test_hmac/Makefile | 2 +- tests/crypto/test_hmac/README.txt | 2 +- tests/crypto/test_hmac/prj.conf | 1 - tests/crypto/test_hmac_prng/Makefile | 2 +- tests/crypto/test_hmac_prng/README.txt | 2 +- tests/crypto/test_hmac_prng/prj.conf | 1 - tests/crypto/test_hmac_prng/src/test_hmac_prng.c | 37 +- tests/crypto/test_mbedtls/Makefile | 2 +- tests/crypto/test_mbedtls/prj.conf | 1 - tests/crypto/test_mbedtls/src/mbedtls_test.c | 13 +- tests/crypto/test_sha256/Makefile | 2 +- tests/crypto/test_sha256/README.txt | 2 +- tests/crypto/test_sha256/prj.conf | 1 - tests/drivers/adc/Makefile | 4 - tests/drivers/adc/adc_api/Makefile | 4 + tests/drivers/adc/adc_api/README | 15 + tests/drivers/adc/adc_api/prj_poll_mode.conf | 3 + tests/drivers/adc/adc_api/prj_resolution_10.conf | 3 + tests/drivers/adc/adc_api/prj_resolution_12.conf | 3 + tests/drivers/adc/adc_api/prj_resolution_6.conf | 3 + tests/drivers/adc/adc_api/prj_resolution_8.conf | 3 + tests/drivers/adc/adc_api/src/Makefile | 3 + tests/drivers/adc/adc_api/src/main.c | 24 + tests/drivers/adc/adc_api/src/test_adc.c | 86 + tests/drivers/adc/adc_api/testcase.ini | 29 + tests/drivers/adc/adc_simple/Makefile | 4 + tests/drivers/adc/{ => adc_simple}/prj.conf | 0 tests/drivers/adc/{ => adc_simple}/src/Makefile | 0 tests/drivers/adc/adc_simple/src/main.c | 109 + tests/drivers/adc/{ => adc_simple}/testcase.ini | 0 tests/drivers/adc/src/main.c | 115 - tests/drivers/aio/aio_basic_api/Makefile | 4 + tests/drivers/aio/aio_basic_api/prj.conf | 4 + tests/drivers/aio/aio_basic_api/src/Makefile | 2 + tests/drivers/aio/aio_basic_api/src/main.c | 29 + tests/drivers/aio/aio_basic_api/src/test_aio.h | 31 + .../drivers/aio/aio_basic_api/src/test_callback.c | 56 + tests/drivers/aio/aio_basic_api/testcase.ini | 5 + tests/drivers/aon_counter/Makefile | 4 - tests/drivers/aon_counter/README.txt | 92 - tests/drivers/aon_counter/aon_api/Makefile | 4 + tests/drivers/aon_counter/aon_api/prj.conf | 2 + tests/drivers/aon_counter/aon_api/src/Makefile | 3 + tests/drivers/aon_counter/aon_api/src/main.c | 22 + tests/drivers/aon_counter/aon_api/src/test_aon.h | 27 + .../aon_counter/aon_api/src/test_aon_counter.c | 78 + .../aon_api/src/test_aon_periodic_timer.c | 106 + tests/drivers/aon_counter/aon_api/testcase.ini | 3 + tests/drivers/aon_counter/prj.conf | 3 - tests/drivers/aon_counter/src/main.c | 178 - tests/drivers/aon_counter/testcase.ini | 3 - tests/drivers/build_all/Makefile | 2 +- tests/drivers/build_all/ethernet.conf | 2 + tests/drivers/build_all/sensors_a_m.conf | 3 +- tests/drivers/build_all/sensors_n_z.conf | 6 - tests/drivers/build_all/sensors_trigger.conf | 1 - tests/drivers/build_all/src/main.c | 12 +- tests/drivers/build_all/testcase.ini | 1 + tests/drivers/dma/test_chan_blen_transfer/Makefile | 2 +- .../dma/test_chan_blen_transfer/prj_shell.conf | 3 +- .../drivers/dma/test_chan_blen_transfer/src/main.c | 16 +- .../dma/test_chan_blen_transfer/src/test_dma.c | 73 +- tests/drivers/dma/test_loop_transfer/Makefile | 2 +- tests/drivers/dma/test_loop_transfer/src/dma.c | 78 +- tests/drivers/enc28j60/Makefile | 2 +- tests/drivers/enc28j60/prj.conf | 2 + tests/drivers/enc28j60/src/main.c | 12 +- tests/drivers/gpio/gpio_basic_api/Makefile | 4 + tests/drivers/gpio/gpio_basic_api/prj.conf | 4 + tests/drivers/gpio/gpio_basic_api/src/Makefile | 2 + tests/drivers/gpio/gpio_basic_api/src/main.c | 47 + .../gpio/gpio_basic_api/src/test_callback_manage.c | 162 + .../gpio_basic_api/src/test_callback_trigger.c | 139 + tests/drivers/gpio/gpio_basic_api/src/test_gpio.h | 44 + .../drivers/gpio/gpio_basic_api/src/test_pin_rw.c | 47 + tests/drivers/gpio/gpio_basic_api/testcase.ini | 5 + tests/drivers/i2c/i2c_api/Makefile | 4 + tests/drivers/i2c/i2c_api/prj.conf | 2 + tests/drivers/i2c/i2c_api/src/Makefile | 3 + tests/drivers/i2c/i2c_api/src/main.c | 68 + tests/drivers/i2c/i2c_api/src/test_i2c.c | 152 + tests/drivers/i2c/i2c_api/testcase.ini | 9 + tests/drivers/nsim_uart/Makefile | 2 +- tests/drivers/nsim_uart/src/main.c | 12 +- tests/drivers/pci_enum/Makefile | 2 +- tests/drivers/pci_enum/src/pci_enum.c | 12 +- tests/drivers/pinmux/Makefile | 2 +- tests/drivers/pinmux/README.txt | 2 +- tests/drivers/pinmux/prj_arduino_101.conf | 1 - tests/drivers/pinmux/prj_frdm_k64f.conf | 2 - tests/drivers/pinmux/prj_galileo.conf | 2 - tests/drivers/pinmux/prj_quark_d2000_crb.conf | 1 - .../pinmux/prj_quark_se_c1000_devboard.conf | 1 - tests/drivers/pinmux/src/main.c | 23 +- tests/drivers/pinmux/testcase.ini | 2 +- tests/drivers/pwm/pwm_api/Makefile | 4 + tests/drivers/pwm/pwm_api/prj.conf | 2 + tests/drivers/pwm/pwm_api/prj_d2000.conf | 4 + tests/drivers/pwm/pwm_api/src/Makefile | 3 + tests/drivers/pwm/pwm_api/src/main.c | 26 + tests/drivers/pwm/pwm_api/src/test_pwm.c | 139 + tests/drivers/pwm/pwm_api/testcase.ini | 8 + tests/drivers/quark_clock/Makefile | 2 +- tests/drivers/quark_clock/src/main.c | 12 +- tests/drivers/rtc/rtc_basic_api/Makefile | 4 + tests/drivers/rtc/rtc_basic_api/prj.conf | 3 + tests/drivers/rtc/rtc_basic_api/src/Makefile | 3 + tests/drivers/rtc/rtc_basic_api/src/main.c | 22 + tests/drivers/rtc/rtc_basic_api/src/test_rtc.h | 26 + .../drivers/rtc/rtc_basic_api/src/test_rtc_alarm.c | 116 + .../rtc/rtc_basic_api/src/test_rtc_calendar.c | 73 + tests/drivers/rtc/rtc_basic_api/testcase.ini | 4 + tests/drivers/spi_test/Makefile | 2 +- tests/drivers/spi_test/src/spi.c | 35 +- tests/drivers/spi_test/testcase.ini | 4 +- tests/drivers/uart/Makefile | 2 +- tests/drivers/uart/src/main.c | 12 +- tests/drivers/watchdog/wdt_basic_api/Makefile | 5 + tests/drivers/watchdog/wdt_basic_api/prj.conf | 2 + tests/drivers/watchdog/wdt_basic_api/src/Makefile | 3 + tests/drivers/watchdog/wdt_basic_api/src/main.c | 32 + .../watchdog/wdt_basic_api/src/test_wdt_timeout.c | 150 + tests/drivers/watchdog/wdt_basic_api/testcase.ini | 10 + tests/fs/fat_fs/Makefile | 4 - tests/fs/fat_fs/README.txt | 91 - tests/fs/fat_fs/prj.conf | 9 - tests/fs/fat_fs/src/main.c | 530 - tests/fs/fat_fs_api/Makefile | 4 + tests/fs/fat_fs_api/README.txt | 123 + tests/fs/fat_fs_api/prj.conf | 7 + tests/fs/fat_fs_api/src/Makefile | 3 + tests/fs/fat_fs_api/src/common.c | 21 + tests/fs/fat_fs_api/src/main.c | 23 + tests/fs/fat_fs_api/src/test_fat.h | 21 + tests/fs/fat_fs_api/src/test_fat_dir.c | 166 + tests/fs/fat_fs_api/src/test_fat_file.c | 282 + tests/fs/fat_fs_api/src/test_fat_fs.c | 39 + tests/fs/{fat_fs => fat_fs_api}/testcase.ini | 0 tests/include/tc_nano_timeout_common.h | 12 +- tests/include/tc_util.h | 14 +- tests/include/test.config | 3 + tests/include/test_asm_inline_gcc.h | 39 + tests/include/test_utils.h | 51 +- tests/include/timestamp.h | 115 + tests/include/util_test_common.h | 12 +- tests/kernel/alert/test_alert_api/Makefile | 4 + tests/kernel/alert/test_alert_api/prj.conf | 2 + tests/kernel/alert/test_alert_api/src/Makefile | 3 + tests/kernel/alert/test_alert_api/src/main.c | 41 + .../alert/test_alert_api/src/test_alert_contexts.c | 215 + tests/kernel/alert/test_alert_api/testcase.ini | 2 + tests/kernel/arm_irq_vector_table/Makefile | 4 + tests/kernel/arm_irq_vector_table/README.txt | 40 + tests/kernel/arm_irq_vector_table/prj.conf | 6 + .../arm_irq_vector_table}/src/Makefile | 0 tests/kernel/arm_irq_vector_table/src/main.c | 112 + tests/kernel/arm_irq_vector_table/testcase.ini | 3 + tests/kernel/arm_runtime_nmi/Makefile | 4 + tests/kernel/arm_runtime_nmi/README.txt | 45 + tests/kernel/arm_runtime_nmi/prj.conf | 1 + .../arm_runtime_nmi}/src/Makefile | 0 tests/kernel/arm_runtime_nmi/src/main.c | 42 + tests/kernel/arm_runtime_nmi/testcase.ini | 3 + tests/kernel/bitfield/Makefile | 3 + .../{test_bitfield => bitfield}/src/Makefile | 0 tests/kernel/bitfield/src/bitfield.c | 198 + .../{test_bitfield => bitfield}/testcase.ini | 0 tests/kernel/common/Makefile | 4 + tests/kernel/common/prj.conf | 6 + tests/kernel/common/src/Makefile | 9 + tests/kernel/common/src/atomic.c | 131 + tests/kernel/common/src/bitfield.c | 185 + tests/kernel/common/src/byteorder.c | 50 + tests/kernel/common/src/dlist.c | 268 + tests/kernel/common/src/intmath.c | 32 + tests/kernel/common/src/main.c | 39 + tests/kernel/common/src/printk.c | 103 + tests/kernel/common/src/rand32.c | 54 + tests/kernel/common/src/ring_buf.c | 69 + tests/kernel/common/src/slist.c | 267 + tests/kernel/{test_common => common}/testcase.ini | 0 tests/kernel/context/Makefile | 4 + tests/kernel/context/README.txt | 125 + .../test_irq_offload => kernel/context}/prj.conf | 0 tests/kernel/context/src/Makefile | 3 + tests/kernel/context/src/context.c | 931 + tests/kernel/context/testcase.ini | 2 + tests/kernel/critical/Makefile | 4 + tests/kernel/critical/README.txt | 48 + tests/kernel/critical/prj.conf | 2 + tests/kernel/critical/src/Makefile | 4 + tests/kernel/critical/src/critical.c | 190 + tests/kernel/critical/testcase.ini | 2 + tests/kernel/errno/Makefile | 4 + tests/kernel/errno/README.txt | 44 + tests/kernel/errno/prj.conf | 1 + .../test_irq_offload => kernel/errno}/src/Makefile | 0 tests/kernel/errno/src/main.c | 84 + tests/kernel/errno/testcase.ini | 5 + tests/kernel/fifo/test_fifo_api/Makefile | 4 + tests/kernel/fifo/test_fifo_api/prj.conf | 2 + tests/kernel/fifo/test_fifo_api/src/Makefile | 3 + tests/kernel/fifo/test_fifo_api/src/main.c | 31 + tests/kernel/fifo/test_fifo_api/src/test_fifo.h | 11 + .../fifo/test_fifo_api/src/test_fifo_contexts.c | 153 + .../kernel/fifo/test_fifo_api/src/test_fifo_fail.c | 32 + .../kernel/fifo/test_fifo_api/src/test_fifo_loop.c | 108 + tests/kernel/fifo/test_fifo_api/testcase.ini | 2 + tests/kernel/fp_sharing/Makefile | 4 + tests/kernel/fp_sharing/README.txt | 66 + tests/kernel/fp_sharing/prj.conf | 5 + tests/kernel/fp_sharing/src/Makefile | 11 + tests/kernel/fp_sharing/src/float_context.h | 120 + tests/kernel/fp_sharing/src/float_regs_arm_gcc.h | 91 + tests/kernel/fp_sharing/src/float_regs_x86_gcc.h | 158 + tests/kernel/fp_sharing/src/main.c | 353 + tests/kernel/fp_sharing/src/pi.c | 158 + tests/kernel/fp_sharing/testcase.ini | 15 + tests/kernel/gen_isr_table/Makefile | 4 + tests/kernel/gen_isr_table/prj.conf | 7 + tests/kernel/gen_isr_table/src/Makefile | 4 + tests/kernel/gen_isr_table/src/main.c | 206 + tests/kernel/gen_isr_table/testcase.ini | 4 + tests/kernel/ipm/Makefile | 4 + tests/kernel/{test_ipm => ipm}/prj.conf | 0 tests/kernel/{test_ipm => ipm}/src/Makefile | 0 tests/kernel/ipm/src/ipm_dummy.c | 134 + tests/kernel/ipm/src/ipm_dummy.h | 32 + tests/kernel/ipm/src/main.c | 108 + tests/kernel/{test_ipm => ipm}/testcase.ini | 0 tests/kernel/irq_offload/Makefile | 5 + .../test_irq_offload => kernel/irq_offload}/README | 0 tests/kernel/irq_offload/prj.conf | 1 + tests/kernel/irq_offload/src/Makefile | 3 + tests/kernel/irq_offload/src/main.c | 45 + .../{test_multilib => irq_offload}/testcase.ini | 0 tests/kernel/libs/Makefile | 4 + tests/kernel/libs/README.txt | 55 + tests/kernel/libs/prj.conf | 1 + tests/kernel/libs/src/Makefile | 3 + tests/kernel/libs/src/libraries.c | 277 + tests/kernel/libs/testcase.ini | 2 + tests/kernel/lifo/test_lifo_api/Makefile | 4 + tests/kernel/lifo/test_lifo_api/prj.conf | 2 + tests/kernel/lifo/test_lifo_api/src/Makefile | 3 + tests/kernel/lifo/test_lifo_api/src/main.c | 31 + tests/kernel/lifo/test_lifo_api/src/test_lifo.h | 11 + .../lifo/test_lifo_api/src/test_lifo_contexts.c | 127 + .../kernel/lifo/test_lifo_api/src/test_lifo_fail.c | 32 + .../kernel/lifo/test_lifo_api/src/test_lifo_loop.c | 108 + tests/kernel/lifo/test_lifo_api/testcase.ini | 2 + tests/kernel/mbox/mbox_api/Makefile | 4 + tests/kernel/mbox/mbox_api/prj.conf | 2 + tests/kernel/mbox/mbox_api/src/Makefile | 3 + tests/kernel/mbox/mbox_api/src/main.c | 30 + tests/kernel/mbox/mbox_api/src/test_mbox_api.c | 276 + tests/kernel/mbox/mbox_api/testcase.ini | 2 + tests/kernel/mem_heap/mheap_api_concept/Makefile | 4 + tests/kernel/mem_heap/mheap_api_concept/prj.conf | 2 + .../kernel/mem_heap/mheap_api_concept/src/Makefile | 3 + tests/kernel/mem_heap/mheap_api_concept/src/main.c | 32 + .../mem_heap/mheap_api_concept/src/test_mheap.h | 12 + .../mheap_api_concept/src/test_mheap_api.c | 52 + .../mheap_api_concept/src/test_mheap_concept.c | 104 + .../kernel/mem_heap/mheap_api_concept/testcase.ini | 2 + tests/kernel/mem_pool/test_mpool/Makefile | 4 + tests/kernel/mem_pool/test_mpool/README.txt | 44 + tests/kernel/mem_pool/test_mpool/prj.conf | 1 + tests/kernel/mem_pool/test_mpool/src/Makefile | 3 + tests/kernel/mem_pool/test_mpool/src/pool.c | 590 + tests/kernel/mem_pool/test_mpool/testcase.ini | 8 + tests/kernel/mem_pool/test_mpool_api/Makefile | 4 + tests/kernel/mem_pool/test_mpool_api/prj.conf | 2 + tests/kernel/mem_pool/test_mpool_api/src/Makefile | 3 + tests/kernel/mem_pool/test_mpool_api/src/main.c | 25 + .../mem_pool/test_mpool_api/src/test_mpool.h | 19 + .../mem_pool/test_mpool_api/src/test_mpool_api.c | 182 + .../test_mpool_api/src/test_mpool_extern.c | 21 + tests/kernel/mem_pool/test_mpool_api/testcase.ini | 2 + tests/kernel/mem_pool/test_mpool_concept/Makefile | 4 + tests/kernel/mem_pool/test_mpool_concept/prj.conf | 1 + .../mem_pool/test_mpool_concept/src/Makefile | 5 + .../kernel/mem_pool/test_mpool_concept/src/main.c | 23 + .../mem_pool/test_mpool_concept/src/test_mpool.h | 17 + .../test_mpool_concept/src/test_mpool_alloc_size.c | 37 + .../test_mpool_concept/src/test_mpool_alloc_wait.c | 116 + .../src/test_mpool_merge_fail_diff_parent.c | 45 + .../src/test_mpool_merge_fail_diff_size.c | 58 + .../mem_pool/test_mpool_concept/testcase.ini | 2 + tests/kernel/mem_pool/test_mpool_options/Makefile | 4 + .../test_mpool_options/prj_defrag_split.conf | 2 + .../test_mpool_options/prj_split_defrag.conf | 2 + .../test_mpool_options/prj_split_only.conf | 2 + .../mem_pool/test_mpool_options/src/Makefile | 3 + .../kernel/mem_pool/test_mpool_options/src/main.c | 17 + .../test_mpool_options/src/test_mpool_options.c | 150 + .../mem_pool/test_mpool_options/testcase.ini | 11 + .../kernel/mem_pool/test_mpool_threadsafe/Makefile | 4 + .../kernel/mem_pool/test_mpool_threadsafe/prj.conf | 4 + .../mem_pool/test_mpool_threadsafe/src/Makefile | 3 + .../mem_pool/test_mpool_threadsafe/src/main.c | 17 + .../src/test_mpool_threadsafe.c | 100 + .../mem_pool/test_mpool_threadsafe/testcase.ini | 2 + tests/kernel/mem_slab/test_mslab/Makefile | 4 + tests/kernel/mem_slab/test_mslab/README.txt | 94 + tests/kernel/mem_slab/test_mslab/prj.conf | 2 + tests/kernel/mem_slab/test_mslab/src/Makefile | 3 + tests/kernel/mem_slab/test_mslab/src/slab.c | 426 + tests/kernel/mem_slab/test_mslab/testcase.ini | 3 + tests/kernel/mem_slab/test_mslab_api/Makefile | 4 + tests/kernel/mem_slab/test_mslab_api/prj.conf | 2 + tests/kernel/mem_slab/test_mslab_api/src/Makefile | 3 + tests/kernel/mem_slab/test_mslab_api/src/main.c | 29 + .../mem_slab/test_mslab_api/src/test_mslab.h | 17 + .../mem_slab/test_mslab_api/src/test_mslab_api.c | 177 + .../test_mslab_api/src/test_mslab_extern.c | 20 + tests/kernel/mem_slab/test_mslab_api/testcase.ini | 2 + tests/kernel/mem_slab/test_mslab_concept/Makefile | 4 + tests/kernel/mem_slab/test_mslab_concept/prj.conf | 1 + .../mem_slab/test_mslab_concept/src/Makefile | 3 + .../kernel/mem_slab/test_mslab_concept/src/main.c | 17 + .../mem_slab/test_mslab_concept/src/test_mslab.h | 15 + .../test_mslab_concept/src/test_mslab_alloc_wait.c | 108 + .../mem_slab/test_mslab_concept/testcase.ini | 2 + .../kernel/mem_slab/test_mslab_threadsafe/Makefile | 4 + .../kernel/mem_slab/test_mslab_threadsafe/prj.conf | 4 + .../mem_slab/test_mslab_threadsafe/src/Makefile | 3 + .../mem_slab/test_mslab_threadsafe/src/main.c | 17 + .../src/test_mslab_threadsafe.c | 81 + .../mem_slab/test_mslab_threadsafe/testcase.ini | 2 + tests/kernel/msgq/msgq_api/Makefile | 4 + tests/kernel/msgq/msgq_api/prj.conf | 2 + tests/kernel/msgq/msgq_api/src/Makefile | 3 + tests/kernel/msgq/msgq_api/src/main.c | 31 + tests/kernel/msgq/msgq_api/src/test_msgq.h | 20 + .../kernel/msgq/msgq_api/src/test_msgq_contexts.c | 120 + tests/kernel/msgq/msgq_api/src/test_msgq_fail.c | 56 + tests/kernel/msgq/msgq_api/src/test_msgq_purge.c | 57 + tests/kernel/msgq/msgq_api/testcase.ini | 2 + tests/kernel/multilib/Makefile | 5 + tests/kernel/multilib/README.txt | 50 + tests/kernel/{test_multilib => multilib}/prj.conf | 0 .../{test_multilib => multilib}/src/Makefile | 0 tests/kernel/multilib/src/test_multilib.c | 24 + .../multilib}/testcase.ini | 0 tests/kernel/mutex/mutex/Makefile | 4 + tests/kernel/mutex/mutex/README.txt | 43 + tests/kernel/mutex/mutex/prj.conf | 1 + tests/kernel/mutex/mutex/src/Makefile | 3 + tests/kernel/mutex/mutex/src/mutex.c | 414 + tests/kernel/mutex/mutex/src/task12.c | 51 + tests/kernel/mutex/mutex/testcase.ini | 3 + tests/kernel/mutex/mutex_api/Makefile | 4 + tests/kernel/mutex/mutex_api/prj.conf | 2 + tests/kernel/mutex/mutex_api/src/Makefile | 3 + tests/kernel/mutex/mutex_api/src/main.c | 33 + tests/kernel/mutex/mutex_api/src/test_mutex_apis.c | 153 + tests/kernel/mutex/mutex_api/testcase.ini | 2 + tests/kernel/obj_tracing/Makefile | 4 + tests/kernel/obj_tracing/README.txt | 43 + tests/kernel/obj_tracing/prj.conf | 3 + tests/kernel/obj_tracing/src/Makefile | 3 + tests/kernel/obj_tracing/src/main.c | 49 + tests/kernel/obj_tracing/src/object_monitor.c | 114 + tests/kernel/obj_tracing/src/phil.h | 8 + tests/kernel/obj_tracing/src/philosopher.c | 66 + tests/kernel/obj_tracing/testcase.ini | 5 + tests/kernel/pipe/test_pipe_api/Makefile | 4 + tests/kernel/pipe/test_pipe_api/prj.conf | 2 + tests/kernel/pipe/test_pipe_api/src/Makefile | 3 + tests/kernel/pipe/test_pipe_api/src/main.c | 27 + .../pipe/test_pipe_api/src/test_pipe_contexts.c | 104 + .../kernel/pipe/test_pipe_api/src/test_pipe_fail.c | 59 + tests/kernel/pipe/test_pipe_api/testcase.ini | 2 + tests/kernel/poll/Makefile | 4 + tests/kernel/poll/prj.conf | 2 + tests/kernel/poll/src/Makefile | 3 + tests/kernel/poll/src/main.c | 28 + tests/kernel/poll/src/test_poll.c | 351 + tests/kernel/poll/testcase.ini | 2 + tests/kernel/semaphore/sema_api/Makefile | 4 + tests/kernel/semaphore/sema_api/prj.conf | 2 + tests/kernel/semaphore/sema_api/src/Makefile | 3 + tests/kernel/semaphore/sema_api/src/main.c | 30 + .../semaphore/sema_api/src/test_sema_contexts.c | 115 + tests/kernel/semaphore/sema_api/testcase.ini | 2 + tests/kernel/sprintf/Makefile | 4 + tests/kernel/sprintf/README.txt | 45 + tests/kernel/sprintf/prj.conf | 3 + .../kernel/{test_sprintf => sprintf}/src/Makefile | 0 tests/kernel/sprintf/src/test_sprintf.c | 690 + .../kernel/{test_sprintf => sprintf}/testcase.ini | 0 tests/kernel/stack/stack_api/Makefile | 4 + tests/kernel/stack/stack_api/prj.conf | 2 + tests/kernel/stack/stack_api/src/Makefile | 3 + tests/kernel/stack/stack_api/src/main.c | 27 + .../stack/stack_api/src/test_stack_contexts.c | 118 + tests/kernel/stack/stack_api/src/test_stack_fail.c | 36 + tests/kernel/stack/stack_api/testcase.ini | 2 + tests/kernel/stackprot/Makefile | 4 + tests/kernel/stackprot/README.txt | 54 + tests/kernel/stackprot/defaults.tc | 6 + tests/kernel/stackprot/prj.conf | 4 + tests/kernel/stackprot/src/Makefile | 3 + tests/kernel/stackprot/src/main.c | 134 + tests/kernel/stackprot/testcase.ini | 3 + tests/kernel/systhreads/Makefile | 4 + tests/kernel/systhreads/README | 12 + tests/kernel/systhreads/prj.conf | 5 + tests/kernel/systhreads/src/Makefile | 3 + tests/kernel/systhreads/src/main.c | 30 + tests/kernel/systhreads/src/test_systhreads.c | 37 + tests/kernel/systhreads/src/test_systhreads.h | 14 + tests/kernel/systhreads/testcase.ini | 4 + tests/kernel/test_arm_irq_vector_table/Makefile | 4 - tests/kernel/test_arm_irq_vector_table/README.txt | 40 - tests/kernel/test_arm_irq_vector_table/prj.conf | 7 - .../kernel/test_arm_irq_vector_table/src/Makefile | 3 - tests/kernel/test_arm_irq_vector_table/src/main.c | 116 - .../kernel/test_arm_irq_vector_table/testcase.ini | 4 - tests/kernel/test_bitfield/Makefile | 3 - tests/kernel/test_bitfield/src/bitfield.c | 208 - tests/kernel/test_build/Makefile | 2 +- tests/kernel/test_build/newlib.conf | 5 +- tests/kernel/test_build/runtime_nmi.conf | 1 + tests/kernel/test_build/testcase.ini | 6 +- tests/kernel/test_common/Makefile | 4 - tests/kernel/test_common/prj.conf | 5 - tests/kernel/test_common/src/Makefile | 8 - tests/kernel/test_common/src/atomic.c | 141 - tests/kernel/test_common/src/bitfield.c | 195 - tests/kernel/test_common/src/byteorder.c | 60 - tests/kernel/test_common/src/intmath.c | 42 - tests/kernel/test_common/src/main.c | 47 - tests/kernel/test_common/src/printk.c | 73 - tests/kernel/test_common/src/rand32.c | 64 - tests/kernel/test_common/src/ring_buf.c | 79 - tests/kernel/test_common/src/slist.c | 202 - tests/kernel/test_ipm/Makefile | 4 - tests/kernel/test_ipm/src/ipm_dummy.c | 144 - tests/kernel/test_ipm/src/ipm_dummy.h | 42 - tests/kernel/test_ipm/src/main.c | 118 - tests/kernel/test_multilib/Makefile | 5 - tests/kernel/test_multilib/README.txt | 50 - tests/kernel/test_multilib/src/test_multilib.c | 34 - tests/kernel/test_sprintf/README.txt | 45 - tests/kernel/test_sprintf/prj.conf | 7 - tests/kernel/test_sprintf/src/test_sprintf.c | 700 - tests/kernel/test_xip/README.txt | 37 - tests/kernel/test_xip/src/test.h | 35 - tests/kernel/test_xip/src/test_xip.c | 63 - tests/kernel/test_xip/src/test_xip_helper.c | 33 - tests/kernel/test_xip/testcase.ini | 3 - tests/kernel/threads_customdata/cdata_api/Makefile | 4 + tests/kernel/threads_customdata/cdata_api/README | 10 + tests/kernel/threads_customdata/cdata_api/prj.conf | 2 + .../threads_customdata/cdata_api/src/Makefile | 3 + .../kernel/threads_customdata/cdata_api/src/main.c | 28 + .../threads_customdata/cdata_api/src/test_cdata.h | 13 + .../cdata_api/src/test_customdata_api.c | 65 + .../threads_customdata/cdata_api/testcase.ini | 2 + .../threads_lifecycle/lifecycle_api/Makefile | 4 + .../threads_lifecycle/lifecycle_api/prj.conf | 1 + .../threads_lifecycle/lifecycle_api/src/Makefile | 3 + .../threads_lifecycle/lifecycle_api/src/main.c | 43 + .../lifecycle_api/src/test_threads_cancel_abort.c | 126 + .../lifecycle_api/src/test_threads_spawn.c | 81 + .../src/test_threads_suspend_resume.c | 63 + .../threads_lifecycle/lifecycle_api/testcase.ini | 4 + .../kernel/threads_lifecycle/thread_init/Makefile | 4 + .../kernel/threads_lifecycle/thread_init/prj.conf | 1 + .../threads_lifecycle/thread_init/src/Makefile | 3 + .../threads_lifecycle/thread_init/src/main.c | 24 + .../thread_init/src/test_thread_init.c | 190 + .../threads_lifecycle/thread_init/testcase.ini | 2 + .../threads_scheduling/schedule_api/Makefile | 4 + .../threads_scheduling/schedule_api/prj.conf | 1 + .../threads_scheduling/schedule_api/src/Makefile | 3 + .../threads_scheduling/schedule_api/src/main.c | 33 + .../schedule_api/src/test_sched.h | 35 + .../schedule_api/src/test_sched_priority.c | 80 + .../src/test_sched_timeslice_and_lock.c | 225 + .../threads_scheduling/schedule_api/testcase.ini | 4 + tests/kernel/timer/timer_api/Makefile | 4 + tests/kernel/timer/timer_api/README | 27 + tests/kernel/timer/timer_api/prj.conf | 3 + tests/kernel/timer/timer_api/src/Makefile | 3 + tests/kernel/timer/timer_api/src/main.c | 35 + tests/kernel/timer/timer_api/src/test_timer.h | 26 + tests/kernel/timer/timer_api/src/test_timer_api.c | 266 + tests/kernel/timer/timer_api/testcase.ini | 2 + tests/kernel/workq/workq_api/Makefile | 4 + tests/kernel/workq/workq_api/prj.conf | 2 + tests/kernel/workq/workq_api/src/Makefile | 3 + tests/kernel/workq/workq_api/src/main.c | 40 + tests/kernel/workq/workq_api/src/test_workq_api.c | 270 + tests/kernel/workq/workq_api/testcase.ini | 2 + tests/kernel/xip/Makefile | 4 + tests/kernel/xip/README.txt | 37 + tests/kernel/{test_xip => xip}/prj.conf | 0 tests/kernel/{test_xip => xip}/src/Makefile | 0 tests/kernel/xip/src/test.h | 25 + tests/kernel/xip/src/test_xip.c | 53 + tests/kernel/xip/src/test_xip_helper.c | 23 + tests/kernel/xip/testcase.ini | 6 + tests/legacy/benchmark/app_kernel/Makefile | 2 +- tests/legacy/benchmark/app_kernel/prj_fp.conf | 1 + tests/legacy/benchmark/app_kernel/prj_no_fp.conf | 1 + tests/legacy/benchmark/app_kernel/src/config.h | 12 +- tests/legacy/benchmark/app_kernel/src/event_b.c | 12 +- tests/legacy/benchmark/app_kernel/src/fifo_b.c | 12 +- tests/legacy/benchmark/app_kernel/src/fifo_r.c | 12 +- tests/legacy/benchmark/app_kernel/src/mailbox_b.c | 12 +- tests/legacy/benchmark/app_kernel/src/mailbox_r.c | 12 +- tests/legacy/benchmark/app_kernel/src/master.c | 12 +- tests/legacy/benchmark/app_kernel/src/master.h | 12 +- tests/legacy/benchmark/app_kernel/src/memcfg.h | 12 +- tests/legacy/benchmark/app_kernel/src/memmap_b.c | 12 +- tests/legacy/benchmark/app_kernel/src/mempool_b.c | 12 +- tests/legacy/benchmark/app_kernel/src/mutex_b.c | 12 +- tests/legacy/benchmark/app_kernel/src/pipe_b.c | 12 +- tests/legacy/benchmark/app_kernel/src/pipe_r.c | 12 +- tests/legacy/benchmark/app_kernel/src/receiver.c | 12 +- tests/legacy/benchmark/app_kernel/src/receiver.h | 12 +- tests/legacy/benchmark/app_kernel/src/sema_b.c | 12 +- tests/legacy/benchmark/app_kernel/src/sema_r.c | 12 +- tests/legacy/benchmark/app_kernel/testcase.ini | 2 +- .../benchmark/boot_time/microkernel/Makefile | 4 +- .../microkernel/ia32/prj_expert_test.conf | 5 +- .../microkernel/quark_d2000/quark_d2000_prj.conf | 5 +- .../microkernel/quark_se/quark_se_prj.conf | 5 +- .../boot_time/microkernel/quark_x1000/prj.conf | 3 +- .../boot_time/microkernel/src/boot_time.c | 12 +- .../benchmark/boot_time/microkernel/testcase.ini | 2 +- .../legacy/benchmark/boot_time/nanokernel/Makefile | 4 +- .../boot_time/nanokernel/ia32/prj_expert_test.conf | 5 +- .../nanokernel/quark_d2000/quark_d2000_prj.conf | 5 +- .../nanokernel/quark_se/quark_se_prj.conf | 5 +- .../boot_time/nanokernel/quark_x1000/prj.conf | 2 +- .../benchmark/boot_time/nanokernel/src/boot_time.c | 12 +- .../benchmark/boot_time/nanokernel/testcase.ini | 2 +- .../benchmark/footprint/microkernel/Makefile | 5 +- .../benchmark/footprint/microkernel/float/arm.conf | 2 +- .../benchmark/footprint/microkernel/float/x86.conf | 2 +- .../benchmark/footprint/microkernel/max/arm.conf | 2 +- .../benchmark/footprint/microkernel/max/x86.conf | 2 +- .../benchmark/footprint/microkernel/min/arm.conf | 2 +- .../footprint/microkernel/min/galileo.conf | 2 +- .../benchmark/footprint/microkernel/min/x86.conf | 2 +- .../benchmark/footprint/microkernel/reg/arm.conf | 1 + .../benchmark/footprint/microkernel/reg/x86.conf | 1 + .../microkernel/src/microkernel_footprint.c | 12 +- .../benchmark/footprint/microkernel/testcase.ini | 12 +- .../legacy/benchmark/footprint/nanokernel/Makefile | 10 +- .../benchmark/footprint/nanokernel/float/x86.conf | 1 + .../benchmark/footprint/nanokernel/max/arc.conf | 1 + .../benchmark/footprint/nanokernel/max/arm.conf | 1 + .../footprint/nanokernel/max/default.conf | 4 + .../benchmark/footprint/nanokernel/max/x86.conf | 1 + .../benchmark/footprint/nanokernel/min/arc.conf | 1 + .../benchmark/footprint/nanokernel/min/arm.conf | 1 + .../footprint/nanokernel/min/default.conf | 10 + .../footprint/nanokernel/min/galileo.conf | 1 + .../footprint/nanokernel/min/quark_d2000.conf | 1 + .../benchmark/footprint/nanokernel/min/x86.conf | 1 + .../benchmark/footprint/nanokernel/reg/arc.conf | 1 + .../benchmark/footprint/nanokernel/reg/arm.conf | 1 + .../footprint/nanokernel/reg/default.conf | 4 + .../benchmark/footprint/nanokernel/reg/x86.conf | 1 + .../nanokernel/src/nanokernel_footprint.c | 12 +- .../benchmark/footprint/nanokernel/testcase.ini | 12 +- tests/legacy/benchmark/latency_measure/Makefile | 2 +- tests/legacy/benchmark/latency_measure/prj.conf | 4 + .../latency_measure/prj_small_freq_divider.conf | 1 + tests/legacy/benchmark/latency_measure/src/main.c | 12 +- .../latency_measure/src/micro_int_to_task.c | 12 +- .../latency_measure/src/micro_int_to_task_evt.c | 12 +- .../latency_measure/src/micro_sema_lock_release.c | 12 +- .../latency_measure/src/micro_task_switch_yield.c | 12 +- .../latency_measure/src/nano_ctx_switch.c | 12 +- .../benchmark/latency_measure/src/nano_int.c | 12 +- .../latency_measure/src/nano_int_lock_unlock.c | 12 +- .../latency_measure/src/nano_int_to_fiber.c | 12 +- .../latency_measure/src/nano_int_to_fiber_sem.c | 12 +- .../latency_measure/src/test_asm_inline_gcc.h | 12 +- .../benchmark/latency_measure/src/timestamp.h | 12 +- tests/legacy/benchmark/latency_measure/src/utils.c | 12 +- tests/legacy/benchmark/latency_measure/src/utils.h | 12 +- .../legacy/benchmark/latency_measure/testcase.ini | 2 +- tests/legacy/benchmark/object_footprint/Makefile | 2 +- tests/legacy/benchmark/object_footprint/prj00.conf | 1 + tests/legacy/benchmark/object_footprint/prj01.conf | 1 + tests/legacy/benchmark/object_footprint/prj02.conf | 1 + tests/legacy/benchmark/object_footprint/prj03.conf | 1 + tests/legacy/benchmark/object_footprint/prj04.conf | 1 + tests/legacy/benchmark/object_footprint/prj05.conf | 1 + tests/legacy/benchmark/object_footprint/prj06.conf | 1 + tests/legacy/benchmark/object_footprint/prj07.conf | 1 + tests/legacy/benchmark/object_footprint/prj08.conf | 1 + tests/legacy/benchmark/object_footprint/prj09.conf | 1 + tests/legacy/benchmark/object_footprint/prj10.conf | 1 + tests/legacy/benchmark/object_footprint/prj11.conf | 1 + .../object_footprint/src/nanokernel_objects.c | 12 +- tests/legacy/benchmark/sys_kernel/Makefile | 2 +- tests/legacy/benchmark/sys_kernel/prj.conf | 1 + tests/legacy/benchmark/sys_kernel/src/lifo.c | 12 +- tests/legacy/benchmark/sys_kernel/src/mwfifo.c | 12 +- tests/legacy/benchmark/sys_kernel/src/sema.c | 12 +- tests/legacy/benchmark/sys_kernel/src/stack.c | 12 +- tests/legacy/benchmark/sys_kernel/src/syskernel.c | 12 +- tests/legacy/benchmark/sys_kernel/src/syskernel.h | 12 +- tests/legacy/benchmark/sys_kernel/testcase.ini | 2 +- .../kernel/test_arm_irq_vector_table/Makefile | 4 - .../kernel/test_arm_irq_vector_table/README.txt | 40 - .../kernel/test_arm_irq_vector_table/prj.conf | 3 - .../kernel/test_arm_irq_vector_table/src/main.c | 122 - .../kernel/test_arm_irq_vector_table/testcase.ini | 4 - tests/legacy/kernel/test_context/Makefile | 2 +- tests/legacy/kernel/test_context/prj.conf | 5 +- tests/legacy/kernel/test_context/src/context.c | 35 +- tests/legacy/kernel/test_context/testcase.ini | 2 +- tests/legacy/kernel/test_critical/Makefile | 2 +- tests/legacy/kernel/test_critical/prj.conf | 6 +- tests/legacy/kernel/test_critical/src/critical.c | 12 +- tests/legacy/kernel/test_critical/testcase.ini | 2 +- tests/legacy/kernel/test_early_sleep/Makefile | 2 +- tests/legacy/kernel/test_early_sleep/prj.conf | 1 + .../kernel/test_early_sleep/src/early_sleep.c | 12 +- tests/legacy/kernel/test_early_sleep/testcase.ini | 2 +- tests/legacy/kernel/test_errno/Makefile | 2 +- tests/legacy/kernel/test_errno/prj.conf | 1 + tests/legacy/kernel/test_errno/src/main.c | 14 +- tests/legacy/kernel/test_errno/testcase.ini | 2 +- tests/legacy/kernel/test_events/Makefile | 2 +- tests/legacy/kernel/test_events/prj.conf | 6 +- tests/legacy/kernel/test_events/src/events.c | 12 +- tests/legacy/kernel/test_events/src/test_fiber.c | 12 +- tests/legacy/kernel/test_events/testcase.ini | 2 +- tests/legacy/kernel/test_fifo/microkernel/Makefile | 2 +- tests/legacy/kernel/test_fifo/microkernel/prj.conf | 5 +- .../legacy/kernel/test_fifo/microkernel/src/fifo.c | 12 +- .../kernel/test_fifo/microkernel/testcase.ini | 2 +- tests/legacy/kernel/test_fifo/nanokernel/Makefile | 2 +- tests/legacy/kernel/test_fifo/nanokernel/prj.conf | 5 +- .../legacy/kernel/test_fifo/nanokernel/src/fifo.c | 12 +- .../kernel/test_fifo/nanokernel/src/fifo_timeout.c | 17 +- .../kernel/test_fifo/nanokernel/testcase.ini | 2 +- tests/legacy/kernel/test_fifo_priv/Makefile | 2 +- tests/legacy/kernel/test_fifo_priv/prj.conf | 1 + tests/legacy/kernel/test_fifo_priv/testcase.ini | 2 +- .../kernel/test_fp_sharing/microkernel/Makefile | 2 +- .../kernel/test_fp_sharing/microkernel/prj.conf | 2 +- .../microkernel/src/float_context.h | 12 +- .../microkernel/src/float_regs_arm_gcc.h | 12 +- .../microkernel/src/float_regs_x86_gcc.h | 12 +- .../kernel/test_fp_sharing/microkernel/src/main.c | 12 +- .../kernel/test_fp_sharing/microkernel/src/pi.c | 12 +- .../test_fp_sharing/microkernel/testcase.ini | 4 +- .../kernel/test_fp_sharing/nanokernel/Makefile | 2 +- .../kernel/test_fp_sharing/nanokernel/prj.conf | 6 +- .../test_fp_sharing/nanokernel/src/float_context.h | 12 +- .../nanokernel/src/float_regs_arm_gcc.h | 12 +- .../nanokernel/src/float_regs_x86_gcc.h | 12 +- .../kernel/test_fp_sharing/nanokernel/src/main.c | 12 +- .../kernel/test_fp_sharing/nanokernel/src/pi.c | 12 +- .../kernel/test_fp_sharing/nanokernel/testcase.ini | 4 +- tests/legacy/kernel/test_irq_offload/Makefile | 5 - tests/legacy/kernel/test_irq_offload/src/main.c | 55 - tests/legacy/kernel/test_libs/Makefile | 2 +- tests/legacy/kernel/test_libs/prj.conf | 5 +- tests/legacy/kernel/test_libs/src/libraries.c | 12 +- tests/legacy/kernel/test_libs/src/main.c | 12 +- tests/legacy/kernel/test_libs/testcase.ini | 2 +- tests/legacy/kernel/test_lifo/Makefile | 2 +- tests/legacy/kernel/test_lifo/prj.conf | 5 +- tests/legacy/kernel/test_lifo/src/lifo.c | 12 +- tests/legacy/kernel/test_lifo/testcase.ini | 2 +- tests/legacy/kernel/test_mail/Makefile | 2 +- tests/legacy/kernel/test_mail/prj.conf | 1 + tests/legacy/kernel/test_mail/src/mail.c | 12 +- tests/legacy/kernel/test_mail/src/main.c | 12 +- tests/legacy/kernel/test_mail/testcase.ini | 2 +- tests/legacy/kernel/test_mail_priv/Makefile | 2 +- tests/legacy/kernel/test_mail_priv/prj.conf | 1 + tests/legacy/kernel/test_mail_priv/testcase.ini | 2 +- tests/legacy/kernel/test_map/Makefile | 2 +- tests/legacy/kernel/test_map/prj.conf | 2 + tests/legacy/kernel/test_map/src/map.c | 12 +- tests/legacy/kernel/test_map/testcase.ini | 2 +- tests/legacy/kernel/test_map_priv/Makefile | 2 +- tests/legacy/kernel/test_map_priv/prj.conf | 2 + tests/legacy/kernel/test_map_priv/testcase.ini | 2 +- tests/legacy/kernel/test_mem_safe/Makefile | 2 +- .../kernel/test_mem_safe/prj_qemu_cortex_m3.conf | 1 + .../legacy/kernel/test_mem_safe/prj_qemu_x86.conf | 1 + tests/legacy/kernel/test_mem_safe/src/asm_x86.S | 13 +- tests/legacy/kernel/test_mem_safe/src/main.c | 14 +- tests/legacy/kernel/test_mem_safe/testcase.ini | 2 +- tests/legacy/kernel/test_mutex/Makefile | 2 +- tests/legacy/kernel/test_mutex/prj.conf | 2 +- tests/legacy/kernel/test_mutex/src/mutex.c | 12 +- tests/legacy/kernel/test_mutex/src/task12.c | 12 +- tests/legacy/kernel/test_mutex/testcase.ini | 2 +- tests/legacy/kernel/test_nano_work/Makefile | 2 +- tests/legacy/kernel/test_nano_work/prj.conf | 1 + tests/legacy/kernel/test_nano_work/src/main.c | 12 +- tests/legacy/kernel/test_nano_work/testcase.ini | 2 +- .../kernel/test_obj_tracing/microkernel/Makefile | 2 +- .../kernel/test_obj_tracing/microkernel/prj.conf | 5 +- .../kernel/test_obj_tracing/microkernel/prj.mdef | 16 +- .../microkernel/src/object_monitor.c | 26 +- .../kernel/test_obj_tracing/microkernel/src/phil.h | 12 +- .../test_obj_tracing/microkernel/src/phil_fiber.c | 12 +- .../test_obj_tracing/microkernel/src/phil_task.c | 17 +- .../test_obj_tracing/microkernel/testcase.ini | 2 +- .../kernel/test_obj_tracing/nanokernel/Makefile | 2 +- .../kernel/test_obj_tracing/nanokernel/prj.conf | 1 + .../nanokernel/src/object_monitor.c | 26 +- .../kernel/test_obj_tracing/nanokernel/src/phil.h | 12 +- .../test_obj_tracing/nanokernel/src/phil_fiber.c | 12 +- .../test_obj_tracing/nanokernel/src/phil_task.c | 12 +- .../test_obj_tracing/nanokernel/testcase.ini | 2 +- tests/legacy/kernel/test_pend/Makefile | 2 +- tests/legacy/kernel/test_pend/prj.conf | 5 +- tests/legacy/kernel/test_pend/src/pend.c | 12 +- tests/legacy/kernel/test_pend/testcase.ini | 2 +- tests/legacy/kernel/test_pipe/Makefile | 2 +- tests/legacy/kernel/test_pipe/prj.conf | 5 +- tests/legacy/kernel/test_pipe/src/main.c | 12 +- tests/legacy/kernel/test_pipe/src/pipe.c | 12 +- tests/legacy/kernel/test_pipe/testcase.ini | 2 +- tests/legacy/kernel/test_pipe_priv/Makefile | 2 +- tests/legacy/kernel/test_pipe_priv/prj.conf | 5 +- tests/legacy/kernel/test_pipe_priv/testcase.ini | 2 +- tests/legacy/kernel/test_pool/Makefile | 2 +- tests/legacy/kernel/test_pool/prj.conf | 5 +- tests/legacy/kernel/test_pool/src/pool.c | 12 +- tests/legacy/kernel/test_pool/testcase.ini | 4 +- tests/legacy/kernel/test_sema/microkernel/Makefile | 2 +- tests/legacy/kernel/test_sema/microkernel/prj.conf | 6 +- tests/legacy/kernel/test_sema/microkernel/prj.mdef | 2 +- .../legacy/kernel/test_sema/microkernel/src/main.c | 12 +- .../legacy/kernel/test_sema/microkernel/src/sema.c | 12 +- .../kernel/test_sema/microkernel/src/test_fiber.c | 12 +- .../kernel/test_sema/microkernel/testcase.ini | 4 +- tests/legacy/kernel/test_sema/nanokernel/Makefile | 2 +- tests/legacy/kernel/test_sema/nanokernel/prj.conf | 6 +- .../legacy/kernel/test_sema/nanokernel/src/sema.c | 19 +- .../kernel/test_sema/nanokernel/testcase.ini | 2 +- tests/legacy/kernel/test_sema_priv/Makefile | 2 +- tests/legacy/kernel/test_sema_priv/prj.conf | 5 +- tests/legacy/kernel/test_sema_priv/testcase.ini | 2 +- tests/legacy/kernel/test_sleep/Makefile | 2 +- tests/legacy/kernel/test_sleep/prj.conf | 5 +- tests/legacy/kernel/test_sleep/src/sleep.c | 18 +- tests/legacy/kernel/test_sleep/testcase.ini | 2 +- tests/legacy/kernel/test_stack/nanokernel/Makefile | 2 +- tests/legacy/kernel/test_stack/nanokernel/prj.conf | 5 +- .../kernel/test_stack/nanokernel/src/stack.c | 12 +- .../kernel/test_stack/nanokernel/testcase.ini | 2 +- .../kernel/test_stackprot/microkernel/Makefile | 2 +- .../kernel/test_stackprot/microkernel/prj.conf | 6 +- .../test_stackprot/microkernel/src/stackprot.c | 12 +- .../kernel/test_stackprot/microkernel/testcase.ini | 4 +- .../kernel/test_stackprot/nanokernel/Makefile | 2 +- .../kernel/test_stackprot/nanokernel/prj.conf | 5 + .../test_stackprot/nanokernel/src/stackprot.c | 12 +- .../kernel/test_stackprot/nanokernel/testcase.ini | 2 +- .../kernel/test_static_idt/microkernel/Makefile | 2 +- .../kernel/test_static_idt/microkernel/prj.conf | 5 +- .../test_static_idt/microkernel/src/static_idt.c | 12 +- .../microkernel/src/test_asm_inline_gcc.h | 12 +- .../test_static_idt/microkernel/src/test_stubs.S | 14 +- .../test_static_idt/microkernel/testcase.ini | 2 +- .../kernel/test_static_idt/nanokernel/Makefile | 2 +- .../kernel/test_static_idt/nanokernel/prj.conf | 5 +- .../test_static_idt/nanokernel/src/static_idt.c | 17 +- .../nanokernel/src/test_asm_inline_gcc.h | 12 +- .../test_static_idt/nanokernel/src/test_stubs.S | 14 +- .../kernel/test_static_idt/nanokernel/testcase.ini | 2 +- tests/legacy/kernel/test_task/Makefile | 2 +- tests/legacy/kernel/test_task/prj.conf | 6 +- tests/legacy/kernel/test_task/src/task.c | 12 +- tests/legacy/kernel/test_task/testcase.ini | 2 +- tests/legacy/kernel/test_task_priv/Makefile | 2 +- tests/legacy/kernel/test_task_priv/prj.conf | 6 +- tests/legacy/kernel/test_task_priv/testcase.ini | 2 +- .../kernel/test_tickless/microkernel/Makefile | 2 +- .../kernel/test_tickless/microkernel/prj.conf | 3 +- .../microkernel/prj_soc_quark_se_c1000_ss.conf | 2 +- .../test_tickless/microkernel/src/test_tickless.c | 12 +- .../test_tickless/microkernel/src/timestamps.c | 12 +- .../kernel/test_tickless/microkernel/testcase.ini | 2 +- .../legacy/kernel/test_timer/microkernel/Makefile | 2 +- .../legacy/kernel/test_timer/microkernel/prj.conf | 1 + .../kernel/test_timer/microkernel/src/timer.c | 12 +- .../kernel/test_timer/microkernel/testcase.ini | 2 +- tests/legacy/kernel/test_timer/nanokernel/Makefile | 2 +- tests/legacy/kernel/test_timer/nanokernel/prj.conf | 1 + .../kernel/test_timer/nanokernel/src/timer.c | 12 +- .../kernel/test_timer/nanokernel/testcase.ini | 2 +- tests/net/6lo/Makefile | 4 + tests/net/6lo/prj.conf | 23 + tests/net/6lo/src/Makefile | 3 + tests/net/6lo/src/main.c | 914 + tests/net/6lo/testcase.ini | 4 + tests/net/arp/Makefile | 4 + tests/net/arp/prj.conf | 20 + tests/net/arp/src/Makefile | 3 + tests/net/arp/src/main.c | 697 + tests/net/arp/testcase.ini | 4 + tests/net/buf/Makefile | 2 +- tests/net/buf/prj.conf | 3 +- tests/net/buf/src/Makefile | 1 + tests/net/buf/src/main.c | 198 +- tests/net/context/Makefile | 4 + tests/net/context/prj.conf | 24 + tests/net/context/src/Makefile | 3 + tests/net/context/src/main.c | 1228 + tests/net/context/testcase.ini | 4 + tests/net/dhcpv4/Makefile | 4 + tests/net/dhcpv4/prj.conf | 21 + tests/net/dhcpv4/src/Makefile | 3 + tests/net/dhcpv4/src/main.c | 554 + tests/net/dhcpv4/testcase.ini | 4 + tests/net/icmpv6/Makefile | 4 + tests/net/icmpv6/prj.conf | 12 + tests/net/icmpv6/src/Makefile | 3 + tests/net/icmpv6/src/main.c | 132 + tests/net/icmpv6/testcase.ini | 4 + tests/net/ieee802154/fragment/Makefile | 4 + tests/net/ieee802154/fragment/prj.conf | 22 + tests/net/ieee802154/fragment/src/Makefile | 4 + tests/net/ieee802154/fragment/src/main.c | 540 + tests/net/ieee802154/fragment/testcase.ini | 4 + tests/net/ieee802154/l2/Makefile | 4 + tests/net/ieee802154/l2/prj.conf | 15 + tests/net/ieee802154/l2/src/Makefile | 6 + .../net/ieee802154/l2/src/ieee802154_fake_driver.c | 149 + tests/net/ieee802154/l2/src/ieee802154_test.c | 299 + tests/net/ieee802154/l2/testcase.ini | 4 + tests/net/iface/Makefile | 4 + tests/net/iface/prj.conf | 22 + tests/net/iface/src/Makefile | 4 + tests/net/iface/src/main.c | 376 + tests/net/iface/testcase.ini | 4 + tests/net/ip-addr/Makefile | 4 + tests/net/ip-addr/prj.conf | 17 + tests/net/ip-addr/src/Makefile | 3 + tests/net/ip-addr/src/main.c | 453 + tests/net/ip-addr/testcase.ini | 4 + tests/net/ipv6/Makefile | 4 + tests/net/ipv6/prj.conf | 24 + tests/net/ipv6/src/Makefile | 3 + tests/net/ipv6/src/main.c | 714 + tests/net/ipv6/testcase.ini | 5 + tests/net/lib/http_header_fields/Makefile | 10 + tests/net/lib/http_header_fields/README | 27 + tests/net/lib/http_header_fields/prj.conf | 7 + tests/net/lib/http_header_fields/src/Makefile | 9 + .../http_header_fields/src/http_header_fields.c | 941 + tests/net/lib/http_header_fields/testcase.ini | 4 + tests/net/lib/mqtt_packet/Makefile | 4 + tests/net/lib/mqtt_packet/README | 76 + tests/net/lib/mqtt_packet/prj.conf | 9 + tests/net/lib/mqtt_packet/src/Makefile | 4 + tests/net/lib/mqtt_packet/src/mqtt_packet.c | 1059 + tests/net/lib/mqtt_packet/testcase.ini | 4 + tests/net/lib/zoap/Makefile | 4 + tests/net/lib/zoap/prj.conf | 5 + tests/net/lib/zoap/src/Makefile | 3 + tests/net/lib/zoap/src/main.c | 1076 + tests/net/lib/zoap/testcase.ini | 4 + tests/net/mgmt/Makefile | 4 + tests/net/mgmt/prj.conf | 14 + tests/net/mgmt/src/Makefile | 3 + tests/net/mgmt/src/mgmt.c | 267 + tests/net/mgmt/testcase.ini | 4 + tests/net/nbuf/Makefile | 4 + tests/net/nbuf/prj.conf | 17 + tests/net/nbuf/src/Makefile | 3 + tests/net/nbuf/src/main.c | 1223 + tests/net/nbuf/testcase.ini | 4 + tests/net/neighbor/Makefile | 4 + tests/net/neighbor/prj.conf | 16 + tests/net/neighbor/src/Makefile | 3 + tests/net/neighbor/src/main.c | 380 + tests/net/neighbor/testcase.ini | 4 + tests/net/route/Makefile | 4 + tests/net/route/prj.conf | 19 + tests/net/route/src/Makefile | 3 + tests/net/route/src/main.c | 695 + tests/net/route/testcase.ini | 4 + tests/net/rpl/Makefile | 4 + tests/net/rpl/prj.conf | 31 + tests/net/rpl/src/Makefile | 3 + tests/net/rpl/src/main.c | 707 + tests/net/rpl/testcase.ini | 4 + tests/net/tcp/Makefile | 4 + tests/net/tcp/prj.conf | 28 + tests/net/tcp/src/Makefile | 3 + tests/net/tcp/src/main.c | 1486 + tests/net/tcp/testcase.ini | 5 + tests/net/trickle/Makefile | 4 + tests/net/trickle/prj.conf | 18 + tests/net/trickle/src/Makefile | 3 + tests/net/trickle/src/main.c | 308 + tests/net/trickle/testcase.ini | 4 + tests/net/udp/Makefile | 4 + tests/net/udp/prj.conf | 22 + tests/net/udp/src/Makefile | 3 + tests/net/udp/src/main.c | 601 + tests/net/udp/testcase.ini | 4 + tests/net/utils/Makefile | 4 + tests/net/utils/prj.conf | 14 + tests/net/utils/src/Makefile | 3 + tests/net/utils/src/main.c | 761 + tests/net/utils/testcase.ini | 4 + tests/net/zoap/Makefile | 5 - tests/net/zoap/prj.conf | 3 - tests/net/zoap/prj.mdef | 5 - tests/net/zoap/src/Makefile | 8 - tests/net/zoap/src/main.c | 975 - tests/net/zoap/testcase.ini | 2 - tests/power/multicore/README.rst | 140 + tests/power/multicore/arc/Makefile | 4 + tests/power/multicore/arc/prj.conf | 9 + tests/power/multicore/arc/src/Makefile | 3 + tests/power/multicore/arc/src/main.c | 125 + tests/power/multicore/lmt/Makefile | 4 + tests/power/multicore/lmt/prj.conf | 12 + tests/power/multicore/lmt/src/Makefile | 9 + tests/power/multicore/lmt/src/main.c | 158 + tests/power/power_states/Makefile | 2 +- tests/power/power_states/prj_socwatch.conf | 1 - tests/power/power_states/src/main.c | 25 +- tests/power/power_states/src/soc_watch_logger.c | 12 +- tests/power/power_states/src/soc_watch_logger.h | 14 +- tests/power/power_states/testcase.ini | 2 + tests/subsys/debug/gdb_server/Makefile | 4 + tests/subsys/debug/gdb_server/prj.conf | 1 + tests/subsys/debug/gdb_server/src/Makefile | 1 + tests/subsys/debug/gdb_server/src/main.c | 81 + tests/subsys/debug/gdb_server/testcase.ini | 4 + tests/unit/net/buf/Makefile | 2 + tests/unit/net/buf/main.c | 50 +- tests/ztest/Kconfig | 14 +- tests/ztest/include/ztest.h | 15 +- tests/ztest/include/ztest_assert.h | 12 +- tests/ztest/include/ztest_mock.h | 12 +- tests/ztest/include/ztest_test.h | 12 +- tests/ztest/src/ztest.c | 20 +- tests/ztest/src/ztest_mock.c | 12 +- tests/ztest/test/base/Makefile | 2 +- tests/ztest/test/base/src/main.c | 12 +- tests/ztest/test/mock/Makefile | 2 +- tests/ztest/test/mock/src/main.c | 12 +- zephyr-env.sh | 17 +- 5034 files changed, 1150072 insertions(+), 371513 deletions(-)
|
|
[RFC] Sensor API for devices with multiple channels of the same type
Bogdan Davidoaia
Hello, The current Zephyr Sensor API assumes that devices have a single channel of a particular type. Although this may be the most common case for most devices, it is not a rule (e.g. SI1153 can expose 4 proximity channels to be used for gesture recognition). An improvement to the API to support multiple channels of the same type is needed. The proposal contain the following: int sensor_channel_get_by_idx(struct device *dev, enum sensor_channel chan, int chan_idx, struct sensor_value *val) - new function; gets the sensor value for a channel specified by type and index within that type typedef int (*sensor_channel_get_t)(struct device *, enum sensor_channel chan, int chan_idx, struct sensor_value *val) - update previous sensor_channel_get_t to also accept channel index int sensor_channel_get(struct device *, enum sensor_channel chan, struct sensor_value *val) - old function; will return values from all channels of the specified type; for sensors with a single channel per type, the behavior will be the same as before Regarding the implementation of sensor_channel_count, right now I can think of 2 approaches: 1. Add a sensor_channel_count function to the the driver API, and have each driver write a function that returns the right value for each channel type it supports. 2. Add a .sensor.info section in which each sensor keeps a structure containing an array of (channel_type, count). sensor_channel_count would be implemented similar to device_get_binding, as loop for finding the right structure in the .sensor.info section would be requrired. With approach 2 the driver only needs to declare structure in the .sensor.info section and not write a function with if/else or switch statements for the driver API structure, however sensor_channel_count would contain 2 for statements (to iterate over sensors and channels). I would appreciate your thoughts on the change in general and on the best way to implement sensor_channel_count. Thanks, Bogdan
|
|
Re: Build Flag for prerequisites
Richard Peters <mail@...>
Hi Paul,
thanks for the very useful hints und links! 3. At this point, other good folks joined the effort, culminating in/apps_structure.html#support-for-building-third-party-library-code 5. As a new twist of the story,I didn't know about these docs, thanks! This is something i really looked for. We should extend it with the link to https://github.com/nashif/zephyr_modules as an example and with some further examples. Regards, Richard
|
|
Re: Adding support for CC2650 SoC
Geoffrey LE GOURRIEREC <geoffrey.legourrierec@...>
Alright, I'll follow your advice then. I agree that, ultimately, Device Tree
Hi Geoffrey, [...] I would argue, since the SoCs all still fall within the SimpleLink "family", that the cc26xx/ subdirectory can go under the arch/arm/soc/ti_simplelink/ directory. It seems the cc26xx Kconfig and its new Device Tree files will still be separate from the cc32xx, so that the fact their SoCs include different CPU cores should not cause a conflict. BR, - Gil
|
|
Re: Build Flag for prerequisites
Paul Sokolovsky
Hello Richard,
On Tue, 14 Feb 2017 18:36:31 +0100 Richard Peters <mail@richardpeters.de> wrote: Hi Community,This mail crosses its way with one you sent me privately, about doing the same thing with MicroPython, so let me try to answer both here, with a perspective. So, the first paradigmatic question is what's the center of the world here. For you above, it's Zephyr, all centered around it, and it wants to make other things built. Unsurprisingly, that's also point of view of Anas Nashif, a lead Zephyr developer, so you can look how he recommends to do it (or recommended some time ago): https://github.com/nashif/zephyr_modules However, the point of view that Zephyr is the center of the universe is unhelpful for projects like JerryScript or MicroPython. For them, Zephyr is just yet another, of many, platforms to be ported to (from baremetal vendor SDKs and BSPs thru RTOSes to big OSes). There's one thing common in build systems for all these platforms, that being that they all are absolutely different. It's highly impractical for portable projects to try to integrate "into" foreign build system, or integrate foreign platform build "into" them (deeply, I mean). What they call for is loosely coupled integration, and there's a bit of evolution of how that was achieved re: Zephyr: 1. It started with JerryScript port. It simply tried to duplicate effort of mapping BOARD value to CC and CFLAGS, i.e. did it on ts own, in parallel to what Zephyr did. That worked for subset of targets, and as Zephyr evolved, started to breakdown even for what worked before. 2. When I started MicroPython port, I was set to investigate ways to do it better, the idea was that to integrate 2 build systems to get a complete binary, following is needed: a) Make Zephyr build its stuff. b) As a cross-product of that, there should be available: i) all the compilation flags (Makefile vars); ii) Zephyr config options (a header file). c) Then we build our project using the information above. d) Then we call Zephyr build system again to do the final link. I did that, but it took some quite dirty hacks to persuade Zephyr build system to do its job in the stages above, and give out needed information. 3. At this point, other good folks joined the effort, culminating in the documented way of 3rd party vs Zephyr build system integration: https://www.zephyrproject.org/doc/1.6.0/application/apps_structure.html#support-for-building-third-party-library-code It became also clear that the process above can be optimize a bit to: a) Call Zephyr to give out Makefile and header settings. b) Build application using the info above. c) Call Zephyr to do its compilation and the final link. 4. JerryScript was updated to the process in p.3, MicroPython was updated, but not fully, it still has artifacts from the previous approach (it call Zephyr to link with non-existing library, that causes Zephyr to build its stuff, but fail, when MicroPython code is built and Zephyr make is called again, this time to success). 5. As a new twist of the story, https://gerrit.zephyrproject.org/r/#/c/9387/ removed the docs section linked above (for 1.7 docs), I'm raising the alarm: https://jira.zephyrproject.org/browse/ZEP-1733 -- Best Regards, Paul Linaro.org | Open source software for ARM SoCs Follow Linaro: http://www.facebook.com/pages/Linaro http://twitter.com/#!/linaroorg - http://www.linaro.org/linaro-blog
|
|
Re: Problems managing NBUF DATA pool in the networking stack
Luiz Augusto von Dentz
Hi Geoff,
toggle quoted messageShow quoted text
While it is probably a good idea to look for good research solutions we actually need to make sense what it does, and what doesn't make sense, for zephyr. Pretty much any layer that requires a lot more memory, and that include threads that requires dedicated stack, buffer pools and complexity in general is imo a big no, no for zephyr. That said the net_buf, which is what nbuf uses, has been based on skb concept from Linux, the pool work a big differently though since we don't use memory allocation, but it is not that we haven't look at any prior art, it just that we don't have any plans for queuing discipline/network schedulers that perhaps you have in mind.
On Tue, Feb 14, 2017 at 5:24 PM, Geoff Thorpe <geoff.thorpe@nxp.com> wrote:
While I don't personally have answers to these buffer-management questions, I am certain they are well-studied, because they are intermingled with lots of other well-studied questions and use-cases that influence buffer handling, like flow-control, QoS, order-restoration, order-preservation, bridging, forwarding, tunneling, VLANs, and so on. If I recall, the "obvious solutions" usually aren't - i.e. they're either not obvious or not (general) solutions. The buffer-handling change to remediate one problematic use-case usually causes some other equally valid use-case to degenerate. --
Luiz Augusto von Dentz
|
|
Build Flag for prerequisites
Richard Peters <mail@...>
Hi Community,
I use these flags to link jerryscript against zephyr in my project makefile: ALL_LIBS += jerry-core export ALL_LIBS LDFLAGS_zephyr += "-L $(JERRYOUT)/lib" export LDFLAGS_zephyr 1. This works, but is this the way it should be done? 2. is there a build variable for zephyr to make targets automatically built, before zephyr, which i can use in my Makefile? I think about something like: DEPS+=jerryscript
|
|
Re: did the zephyr kernel support the nested interrupt on all the supported arch?
Boie, Andrew P
On Nios II we currently just support the very simple IIC (Internal Interrupt Controller) and nested interrupts aren't possible.i did not see other arch`s code but just want to know about, is thisShould be supported on architectures where the hardware has support for it. Andrew
|
|
Re: did the zephyr kernel support the nested interrupt on all the supported arch?
Chuck Jordan <Chuck.Jordan@...>
Should be supported on architectures where the hardware has support for it. It is a feature of the kernel.
ARM, ARC, x86 do support it. [ChuckJ] To clarify. On ARC, FIRQ can be nested on top of RIRQ. But at this time RIRQ cannot be nested on top of RIRQ. Some assembly language has to be re-organized in Zephyr to allow for this. But yes, as a goal, nested interrupts are desired.
|
|
Re: Problems managing NBUF DATA pool in the networking stack
Geoff Thorpe <geoff.thorpe@...>
While I don't personally have answers to these buffer-management questions, I am certain they are well-studied, because they are intermingled with lots of other well-studied questions and use-cases that influence buffer handling, like flow-control, QoS, order-restoration, order-preservation, bridging, forwarding, tunneling, VLANs, and so on. If I recall, the "obvious solutions" usually aren't - i.e. they're either not obvious or not (general) solutions. The buffer-handling change to remediate one problematic use-case usually causes some other equally valid use-case to degenerate.
toggle quoted messageShow quoted text
I guess I'm just saying that we should find prior art and best practice, rather than trying to derive it from first principles and experimentation. Do we already have in our midst anyone who has familiarity with NPUs, OpenDataPlane, etc? If not, I can put out some feelers. Cheers Geoff
-----Original Message-----
From: zephyr-devel-bounces@lists.zephyrproject.org [mailto:zephyr-devel-bounces@lists.zephyrproject.org] On Behalf Of Jukka Rissanen Sent: February-14-17 8:46 AM To: Piotr Mieńkowski <piotr.mienkowski@gmail.com>; zephyr-devel@lists.zephyrproject.org Subject: Re: [Zephyr-devel] Problems managing NBUF DATA pool in the networking stack Hi Piotr, On Tue, 2017-02-14 at 02:26 +0100, Piotr Mieńkowski wrote: Hi,I agree that having too fine grained setup for the buffers is bad andSo, what should be the final solution to the NBUF DATA issue? Do weIf you read the entire email it would be clearer that I did notWhile I agree we should prevent the remote to consume all theIndeed the echo server could perhaps be optimized not to deep should be avoided. The current setup of RX, TX and shared DATA buffers has worked for UDP quite well. For TCP the situation gets much more difficult as TCP might hold the nbuf for a while until an ack is received for those pending packets. TCP code should not affect the other part of the IP stack and starve the buffers from other part of the stack. One option is to have a separate pool for TCP data nbuf's that could be shared by all the TCP contexts. The TCP code could allocate all the buffers that need to wait ack from this pool instead of global data pool. This would avoid allocating a separate pool for each context which is sub-optimal for memory consumption. Cheers, Jukka _______________________________________________ Zephyr-devel mailing list Zephyr-devel@lists.zephyrproject.org https://lists.zephyrproject.org/mailman/listinfo/zephyr-devel
|
|
Daily Gerrit Digest
donotreply@...
NEW within last 24 hours:
- https://gerrit.zephyrproject.org/r/11230 : RFC drivers/timer: Refined version of nRF RTC driver. - https://gerrit.zephyrproject.org/r/11233 : Bluetooth: SMP: Fix passkey entry for legacy pairing - https://gerrit.zephyrproject.org/r/11232 : Bluetooth: shell: Fix typo - https://gerrit.zephyrproject.org/r/11231 : Bluetooth: shell: Fix accessing invalid memory - https://gerrit.zephyrproject.org/r/11217 : frdm: fixed path and dependencies for extract_dts_includes.py - https://gerrit.zephyrproject.org/r/11198 : arm: Support for new STM32F4 socs (STM32F407 and STM32F429) - https://gerrit.zephyrproject.org/r/11191 : tests: gen_isr_table: actually run the IRQ - https://gerrit.zephyrproject.org/r/11220 : Bluetooth: SDP: Server: Set security level to NONE - https://gerrit.zephyrproject.org/r/11219 : Bluetooth: SDP: Server: Set correct TX MTU - https://gerrit.zephyrproject.org/r/11209 : tests: kernel: added testapp profiling_api - https://gerrit.zephyrproject.org/r/11216 : tests: kernel: added clock_test - https://gerrit.zephyrproject.org/r/11215 : tests: add PM tests framework for driver PM test case - https://gerrit.zephyrproject.org/r/11214 : tests: add zephyr pinmux driver api test case - https://gerrit.zephyrproject.org/r/11213 : samples: net: Add README.rst to echo apps - https://gerrit.zephyrproject.org/r/11208 : doc: update link to 0.9 SDK - https://gerrit.zephyrproject.org/r/11207 : tests: add zephyr flash driver api test case - https://gerrit.zephyrproject.org/r/11206 : tests: add zephyr uart driver api test case - https://gerrit.zephyrproject.org/r/11205 : tests: kernel: added test cases k_pipe_block_put - https://gerrit.zephyrproject.org/r/11199 : arm: Support for new ARM boards (discovery STM32F4 and STM32F429) - https://gerrit.zephyrproject.org/r/11196 : arch: Atmel SAM E70: remove now redundant IRQ id defines - https://gerrit.zephyrproject.org/r/11193 : arc: enable gen_isr_tables mechanism - https://gerrit.zephyrproject.org/r/11192 : gen_isr_tables: apply offset to irq parameter - https://gerrit.zephyrproject.org/r/11189 : riscv32: enable gen_isr_tables mechanism - https://gerrit.zephyrproject.org/r/11194 : gen_isr_tables: make vector offset a hidden option - https://gerrit.zephyrproject.org/r/11187 : tests: kernel: add test point k_cpu_atomic_idle UPDATED within last 24 hours: - https://gerrit.zephyrproject.org/r/11024 : qemu_cortex_m3: fixed network connectivity - https://gerrit.zephyrproject.org/r/11112 : Merge remote-tracking branch 'origin/core' - https://gerrit.zephyrproject.org/r/4489 : Bluetooth: SDP: Server: Support ServiceAttributeRequest - https://gerrit.zephyrproject.org/r/6716 : Bluetooth: SDP: Server: Refactor data element structure header - https://gerrit.zephyrproject.org/r/4488 : Bluetooth: SDP: Server: Support ServiceSearchRequest - https://gerrit.zephyrproject.org/r/9447 : Bluetooth: SDP: Server: Support ServiceSearchAttributeRequest - https://gerrit.zephyrproject.org/r/11088 : doc: boards: Move nRF5x DK board doc from the wiki to git - https://gerrit.zephyrproject.org/r/11172 : board: defconfig: Enable WDT for ATMEL SAM MCUs - https://gerrit.zephyrproject.org/r/11029 : watchdog: Add WDT driver for Atmel SAM SoCs - https://gerrit.zephyrproject.org/r/10369 : ataes132a: Adds a driver to support ATAES132A device - https://gerrit.zephyrproject.org/r/10140 : tests/gpio: enable gpio cases to run on more platforms - https://gerrit.zephyrproject.org/r/11160 : hosttools-tarball.bb: Integrate YAML library into SDK - https://gerrit.zephyrproject.org/r/3311 : include/crypto: Crypto abstraction header - https://gerrit.zephyrproject.org/r/11177 : tests: kernel: added test case k_fifo_is_empty - https://gerrit.zephyrproject.org/r/10814 : Added sensor driver for SI1153. Added proximity sensor_channel entries in sensor.h - https://gerrit.zephyrproject.org/r/11184 : sensor: add sensor_channel_count function MERGED within last 24 hours: - https://gerrit.zephyrproject.org/r/11218 : net: Fix a const specifier issue - https://gerrit.zephyrproject.org/r/11212 : samples: net: Remove the README file - https://gerrit.zephyrproject.org/r/11211 : samples: net: Remove obsolete prj_slip.conf from echo-* - https://gerrit.zephyrproject.org/r/11186 : Merge net branch into master - https://gerrit.zephyrproject.org/r/11203 : libc/include: Adding time.h - https://gerrit.zephyrproject.org/r/11197 : arc: move openocd_dbg section - https://gerrit.zephyrproject.org/r/11195 : scripts: Fix hardwired python path in extract_dts_include.py - https://gerrit.zephyrproject.org/r/11202 : spi_test: fix variable type mismatches - https://gerrit.zephyrproject.org/r/11200 : samples: webusb: fix variable type mismatches - https://gerrit.zephyrproject.org/r/11201 : test_mpool_api: fix variable type mismatches - https://gerrit.zephyrproject.org/r/11190 : arc: linker.ld: fix BSS section declaration - https://gerrit.zephyrproject.org/r/11182 : toolchain.gccarmemb: set DTC for building targets that use devicetrees - https://gerrit.zephyrproject.org/r/11173 : tests: kernel: remove unsupported tests - https://gerrit.zephyrproject.org/r/11167 : riscv32: move riscv privileged architecture specifics within a common header file - https://gerrit.zephyrproject.org/r/11101 : samples/net/http: Add HTTP over TLS sample application - https://gerrit.zephyrproject.org/r/11161 : boards: tinyTILE: enable USB console by default - https://gerrit.zephyrproject.org/r/9762 : CI: rearchitect with a framework that orchestrates running - https://gerrit.zephyrproject.org/r/10991 : eth/mcux: Add temporary workaround to unbreak IPv6 ND features. - https://gerrit.zephyrproject.org/r/11166 : ext/lib/mbedtls: Add the TLS configuration file - https://gerrit.zephyrproject.org/r/10807 : net/mqtt: Add BT support to MQTT publisher sample
|
|
Re: did the zephyr kernel support the nested interrupt on all the supported arch?
Benjamin Walsh <benjamin.walsh@...>
Hi,
i have reviewed the cortex-m arch about the interrupt flow, andShould be supported on architectures where the hardware has support for it. It is a feature of the kernel. ARM, ARC, x86 do support it. Not entirely sure about Nios2 and RiscV. Regards, Ben -- Benjamin Walsh, SMTS WR VxWorks Virtualization Profile www.windriver.com Zephyr kernel maintainer www.zephyrproject.org
|
|
Re: Problems managing NBUF DATA pool in the networking stack
Marcus Shawcroft <marcus.shawcroft@...>
On 14 February 2017 at 13:46, Jukka Rissanen
<jukka.rissanen@linux.intel.com> wrote: I agree that having too fine grained setup for the buffers is bad andWe do however still need to figure out, for udp, how to prevent: - rx path starving tx path to dead lock - multiple tx paths deadlocking (by attempting to acquire buffers incrementally) Cheers /Marcus
|
|
Re: Problems managing NBUF DATA pool in the networking stack
Jukka Rissanen
Hi Piotr,
On Tue, 2017-02-14 at 02:26 +0100, Piotr Mieńkowski wrote: Hi,I agree that having too fine grained setup for the buffers is bad andSo, what should be the final solution to the NBUF DATA issue? Do weIf you read the entire email it would be clearer that I did notWhile I agree we should prevent the remote to consume all theIndeed the echo server could perhaps be optimized not to deep should be avoided. The current setup of RX, TX and shared DATA buffers has worked for UDP quite well. For TCP the situation gets much more difficult as TCP might hold the nbuf for a while until an ack is received for those pending packets. TCP code should not affect the other part of the IP stack and starve the buffers from other part of the stack. One option is to have a separate pool for TCP data nbuf's that could be shared by all the TCP contexts. The TCP code could allocate all the buffers that need to wait ack from this pool instead of global data pool. This would avoid allocating a separate pool for each context which is sub-optimal for memory consumption. Cheers, Jukka
|
|
Re: Trouble configuring arduino101 via zephyr
Anjali Asar <anjaliasar@...>
Some pins have been pulled up and some have been pulled down. Not able to change it. It seems to be perpetually stuck in that mode. Also pin 8 (Zephyr pin 16) not functioning. Any suggestions?
On 01-Feb-2017 5:19 PM, "Anjali Asar" <anjaliasar@...> wrote:
|
|
did the zephyr kernel support the nested interrupt on all the supported arch?
曹子龙
hi all: i have reviewed the cortex-m arch about the interrupt flow, and found that cortex-m support max 255 interrupt entry and it allows interrupt with higher prio preempted another one with lower priority interrupt, i did not see other arch`s code but just want to know about, is this the feature of zephyr kernel? for the strong real-time feature? or arch related? thanks for your kindly support.
|
|
Re: Problems managing NBUF DATA pool in the networking stack
Piotr Mienkowski
Hi, So, what should be the final solution to the NBUF DATA issue? Do we want to redesign echo_server sample application to use shallow copy, should we introduce NBUF DATA pool per context, a separate NBUF DATA pool for TX and RX? Something else?While I agree we should prevent the remote to consume all the buffer and possible starve the TX, this is probably due to echo_server design that deep copies the buffers from RX to TX, in a normal applicationIndeed the echo server could perhaps be optimized not to deep copy thus removing the issue. The wider question here is whether or not we want a design rule that effectively states that all applications should consume and unref their rx buffers before attempting to allocate tx buffers. This may be convenient for some applications, but I'm not convinced that is always the case. Such a design rule effectively states that an application that needs to retain or process information from request to response must now have somewhere to store all of that information between buffers and rules out any form of incremental processing of an rx buffer interleaved with the construction of the tx message.If you read the entire email it would be clearer that I did not suggest it was fine to rule out incremental processing, in fact I suggested to add pools per net_context that way the stack itself will not have to drop its own packets and stop working because some context is taking all its buffers just to create clones. In my opinion enforcing too much granularity on allocation of data buffers, i.e. having a separate nbuf data pool per context, maybe another one for networking stack will not be optimal. Firstly, Kconfig would become even more complex and users would have hard time figuring out a safe set of options. What if we know one context will not use many data buffers and another one a lot. Should we still assign the same amount of data buffers per context? Secondly, every separate data pool will add some spare buffers as a 'margin error'. Thirdly, Ethernet driver which reserves data buffers for the RX path has no notion of context, doesn't know which packets are meant for the networking stack, which one for the application. It would not know from which data pool to take the buffers. It can only distinguish between RX and TX path. In principle, having shared resources is not a bad design approach. However, we probably should have a way to guarantee a minimum amount of buffers for the TX path. As a software engineer, if I need to design a TX path in my networking application and I know that I have some fixed amount of data buffers available I should be able to manage it. The same task becomes much more difficult if my fixed amount of data buffers can at any given moment become zero for reasons which are beyond my control. This is the case currently. Regards, Piotr
|
|
Re: Adding support for CC2650 SoC
Gil Pitney
Hi Geoffrey,
Good question. I understand "SimpleLink" to describe a family of connectivity SoC's. But an SoC can include a heterogeneous mix of CPU core types: ARM cores (of different types), DSP cores, custom processors. We may be able to designate only one of the SoC cores as the "master", and distinguish the Zephyr SoC family based on that master core; but, master core can depend on the application. I would argue, since the SoCs all still fall within the SimpleLink "family", that the cc26xx/ subdirectory can go under the arch/arm/soc/ti_simplelink/ directory. It seems the cc26xx Kconfig and its new Device Tree files will still be separate from the cc32xx, so that the fact their SoCs include different CPU cores should not cause a conflict. BR, - Gil On 13 February 2017 at 03:12, Geoffrey LE GOURRIEREC <geoffrey.legourrierec@smile.fr> wrote: Hello Gil,
|
|
Re: FRDM eth driver and TCP apps
Marcus Shawcroft <marcus.shawcroft@...>
On 13 February 2017 at 17:13, Santes, Flavio <flavio.santes@intel.com> wrote:
Hello,Can you raise a JIRA issue and add some details of the failure you are seeing ? Thanks /Marcus
|
|