Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1537 commits
Select commit Hold shift + click to select a range
45d3d8e
spi: Introduce mcux lpspi shim driver
MaureenHelm Sep 14, 2018
e4aacd3
dts: Add lpspi yaml bindings and dts nodes
MaureenHelm Sep 14, 2018
ae8d4ed
soc: arm: Enable the lpspi driver and clock for the imxrt soc
MaureenHelm Sep 14, 2018
ca6a232
mimxrt1050_evk: Configure an lpspi instance and pins
MaureenHelm Sep 14, 2018
cddf26a
tests: spi_loopback: Add mimxrt1050_evk configuration
MaureenHelm Sep 14, 2018
a0efbf3
samples: bme280: Disable i2c in spi project configuration
MaureenHelm Sep 17, 2018
abf54a5
dts/bindings: document use of value 'use-prop-name'
erwango Sep 14, 2018
8644203
drivers: pinmux: add PINMUX_DEV CMakeLists.txt
aurel32 Sep 16, 2018
5272565
shell: Rename shell to legacy_shell
nordic-krch Aug 9, 2018
6aed72e
shell: Shell subsystem reimplementation
nordic-krch Aug 9, 2018
ba808d7
samples: subsys: shell: Port sample to new shell subsystem
nordic-krch Aug 9, 2018
f7aad1a
sys: dlist: Add sys_dlist_peek_prev_no_check and sys_dlist_peek_prev
nordic-krch Aug 9, 2018
82ca811
shell: Add shell history feature
nordic-krch Aug 9, 2018
989fef9
shell: Add built-in shell commands
nordic-krch Aug 9, 2018
c71a559
shell: Extend shell as a log backend
nordic-krch Aug 9, 2018
ba01a39
logging: Add shell commands
nordic-krch Aug 9, 2018
486b731
ext: lib: Add fnmatch library
nordic-krch Aug 9, 2018
68249ce
shell: Add wildcard support
nordic-krch Aug 9, 2018
b6a65a9
kconfig: Make CONIG_FP_SOFTABI generate floating point instructions
SebastianBoe Sep 19, 2018
47db520
docs: revamp section introducing Zephyr
nashif Sep 19, 2018
6802534
boards/x86: up_squared: add board option for SoC variants
dcpleung Sep 19, 2018
2f0282a
boards/x86: up_squared: updates SYS_CLOCK_HW_CYCLES_PER_SEC
dcpleung Sep 19, 2018
eb6ea28
gpio: enable callback to specify pin in addition to pin_mask
dcpleung Sep 19, 2018
8d18ebd
gpio: add driver for Intel Apollo Lake SoC
dcpleung Sep 19, 2018
d328a4f
boards/x86: up_squared: add GPIO dts configuration
dcpleung Sep 19, 2018
79e8f79
boards/x86: up_squared: add sample app for GPIO
dcpleung Sep 19, 2018
9fe378b
Bluetooth: Mesh: Enforce proper compilation.
AdithyaBaglody Sep 20, 2018
fc27a81
net: context: Select proper network interface when binding
jukkar Sep 13, 2018
3d83601
samples: net: echo_server: Add VLAN support
jukkar Sep 13, 2018
b9fa6d4
samples: net: echo-client: Add VLAN support
jukkar Sep 14, 2018
b17b160
samples: net: sockets: echo-client: Add VLAN support
jukkar Sep 14, 2018
27d99d1
samples: net: sockets: echo_server: Add VLAN support
jukkar Sep 14, 2018
461a9de
doc: Bluetooth: Mention Mesh in the supported features
Sep 20, 2018
eb1ee5f
arch: stm32: Remove STM32_ARM_MPU_ENABLE option.
pizi-nordic Aug 9, 2018
c4cd4cf
arch: beetle: Remove ARM_MPU_ENABLE option.
pizi-nordic Aug 9, 2018
9331064
arch: nrf52: Remove ARM_MPU_NRF52X option.
pizi-nordic Aug 9, 2018
edfcab4
arch: nxp_imx: Remove ARM_MPU_IMX_RT option.
pizi-nordic Aug 9, 2018
d9cc147
arch: nxp_kinetis: Remove HAS_SYSMPU option.
pizi-nordic Sep 17, 2018
d393186
arch: arm: Introduce CPU_HAS_ARM_MPU and CPU_HAS_NXP_MPU options
pizi-nordic Aug 9, 2018
1c16cfc
arch: arm: Make ARM_MPU the sole option controlling MPU usage
pizi-nordic Sep 17, 2018
6320043
qemu: nios2: Enable UART 16550 driver for QEMU
Sep 14, 2018
56117f9
arch: Kconfig: Add Kconfig options for Low Power States
Sep 18, 2018
f0a2f2b
soc: arm: nrf52: Select the supported Power States
Sep 18, 2018
c511857
subsys: power: Add support for pluggable PM policies
Sep 17, 2018
7e273b2
samples: subsys: power_mgr: Add changes as per PM policy Kconfig
Sep 18, 2018
ae92f2b
subsys: app_memory: Fixed the size calculation for power of 2 MPUs
AdithyaBaglody Sep 19, 2018
c764e02
CMakeLists.txt: Updated the rule for shared memory alignment.
AdithyaBaglody Sep 19, 2018
2875c05
drivers: sensor: Fix unused variable warnings
MaureenHelm Sep 18, 2018
7ac70c4
drivers: sensor: Fix compiler format warning in bmi160
MaureenHelm Sep 18, 2018
553a31e
drivers: sensor: Add missing cmake files for bmm150
MaureenHelm Sep 18, 2018
06f7345
drivers: sensor: Fix casting warnings
MaureenHelm Sep 18, 2018
806bc1a
tests: build_all: Add missing dts fixups for sensor drivers
MaureenHelm Sep 18, 2018
71feece
tests: build_all: Add missing sensor drivers and rebalance testcases
MaureenHelm Sep 18, 2018
a013ce3
drivers: sensor: Fix incorrect Kconfig dependency in lsm6dsl
MaureenHelm Sep 20, 2018
b64b9e7
boards: arm: dts: remove unnecessary interrupt flag
jfischer-no Sep 20, 2018
a8f2675
tests: userspace: Update the required stack size for mps2_an385
AdithyaBaglody Apr 12, 2018
023bc92
soc: mps2_an385: Added support for MPU
AdithyaBaglody Apr 11, 2018
36365e3
drivers: timers: systick: Enforce a barrier in _timer_cycle_get_32.
AdithyaBaglody Apr 20, 2018
0e60644
soc: mps2_an385: Enable Memory Protection unit.
AdithyaBaglody Apr 11, 2018
d547c9b
boards: mps2_an385: Enable userspace for MPS2_AN385.
AdithyaBaglody Aug 24, 2018
44057a1
tests: kernel: pipe : Update the stack size.
AdithyaBaglody May 8, 2018
b19f3ec
tests: mem_protect: mem_protect: Update the stack size.
AdithyaBaglody May 8, 2018
0e11792
tests: userspace: Incorrect location to the privileged stack.
AdithyaBaglody Jul 24, 2018
da73606
tests: benchmarks: sys_kernel: Reduce the number of loops.
AdithyaBaglody Jul 25, 2018
31c8817
include: arm: CMSIS header redefining MPU_PRESENT.
AdithyaBaglody Jul 25, 2018
4462dfa
lib: posix: fix couple of race conditions
Sep 19, 2018
58542d8
samples: Include regex matching in samples
spoorthik Sep 17, 2018
de24cd6
boards/arm: Fix button dts syntax for stm32 based boards
erwango Sep 20, 2018
67ca29a
dts: nrf: Expand nRF DTS to support ARM TrustZone CryptoCell 310
doki-nordic Sep 4, 2018
0a23067
Bluetooth: GATT: Remove BT_GATT_WRITE_FLAG_PREPARE check in GAP
Vudentz Sep 19, 2018
6c89c4b
Bluetooth: Controller: Add support for setting public address
sjanc Sep 20, 2018
9da6a85
drivers: flash: nrf5: Use faster write interval with BT sync
cvinayak Sep 19, 2018
1e152ff
lib: cmsis_rtos_v1: do null check before use
Sep 21, 2018
22d653f
tests: sched: Use SCHED_MULTIQ for native posix platform
ajaykish Sep 20, 2018
163629c
drivers: apds9960: use i2c_burst_read to fetch ALS data
jfischer-no Sep 10, 2018
9c3d773
driver: apds9960: reorganize ALS and proximity setups
jfischer-no Sep 13, 2018
963f97d
drivers: apds9960: use interrupt output for sample
jfischer-no Sep 13, 2018
b192b2b
drivers: apds9960: add trigger mode for proximity
jfischer-no Sep 13, 2018
cc56de7
samples: apds9960: rework APDS9960 sample
jfischer-no Sep 10, 2018
59a6ec4
drivers: apds9960: use power management
jfischer-no Sep 14, 2018
8245b0c
scripts/dts: extract_dts_includes: remove unused 'names' argument
erwango Sep 10, 2018
cc054c8
scripts/dts/extract: factorize 'reg' prop extraction
erwango Sep 20, 2018
1ac3517
dts: Add missing 'compatible' property in flash base nodes
erwango Sep 20, 2018
14ced2f
scripts/dts/extract: Cleanup reg extraction
b0661 Sep 21, 2018
c57f3a0
scripts/dts/extract: Fix handling of value extraction based on cells
galak Sep 20, 2018
3b8c37d
net: route: Check NULL value in debug print
jukkar Sep 21, 2018
02e9f9c
net: route: Check that neighbor exists before deleting it
jukkar Sep 21, 2018
0a73ea0
kernel: remove deprecate k_call_stacks_analyze
nashif Sep 18, 2018
d2d0764
tests: build_all: Add missing dts fixups for apds9960
MaureenHelm Sep 21, 2018
836cb5b
ext: hal: nordic: Update nrfx to version 1.3.0
anangl Sep 21, 2018
11716e4
ext: hal: nordic: Update nrfx adaptation layer
anangl Sep 21, 2018
7ed7d53
drivers: adc: nrfx: Use SAADC HAL for setting the burst mode
anangl Sep 21, 2018
0f55538
gitlint: accept "'" in committer names
nashif Sep 21, 2018
3c834bd
kernel: Fix list-node add again corruption case in timeout handling
findlayfeng Aug 30, 2018
89a197b
cmake: Re-direct KCONFIG_ROOT when convention is used
SebastianBoe Sep 21, 2018
72e7bfa
cmake: Remove unnecessary KCONFIG_ROOT configuration
SebastianBoe Sep 21, 2018
f568673
c++: Fix compilation of C++ file that includes i2c.h
metapsychologe Sep 7, 2018
6508527
ext: hal: cypress: Import Cypress PDL for PSoC6 SoC Support
nazrchorn Jun 28, 2018
2aa3815
ext: hal: cypress: Integrate Cypress PDL into Zephyr Build system
nazrchorn Jul 9, 2018
4d6b662
ext: hal: cypress: Protect floating point code with CONFIG_FLOAT
galak Jun 28, 2018
93f938c
arm: Add Cypress PSoC6 SoC support
nazrchorn Jun 28, 2018
edd6c7d
drivers: serial: Add Cypress PSoC6 UART driver
nazrchorn Jun 28, 2018
b9b2e58
boards: arm: Add Cypress PSoC6 cy8ckit_062_wifi_bt_m0 board support
nazrchorn Jul 9, 2018
3591c85
boards: arm: Add Cypress PSoC6 cy8ckit_062_wifi_bt_m4 board support
nazrchorn Jun 28, 2018
ec408d3
boards: add support for shields x-nucleo-iks01a1 and -iks01a2
erwango Mar 15, 2018
6af514b
build: enable shields dir treatment
erwango Mar 15, 2018
7ee8b7a
samples: Provide x-nucleo-iks01a1 shield sample
erwango Apr 9, 2018
242c729
doc: provide shield usage documentation
erwango Apr 9, 2018
350c3d7
dts: Simplify overlay build scripts
SebastianBoe Apr 18, 2018
e48434b
Bluetooth: gatt: gatt_discover_next with inclusive handle range
kapi-no Sep 20, 2018
343c48f
arch: atmel_sam0: sam21j18a: Convert _U to __U to fix compile warning
0xB0D Sep 17, 2018
674ccd3
boards: arm: atsamd21: Add SAMD21 XPlained board
0xB0D Sep 21, 2018
780c1c2
doc: Update intro with ble mesh and kernel features
nashif Sep 20, 2018
8feab48
shell: fix shell_log_backend dependency
nordic-krch Sep 20, 2018
73c01f9
shell: modules: Adapt kernel commands to new shell
nordic-krch Aug 9, 2018
b3829ad
samples: shell: enable kernel shell
nashif Sep 23, 2018
43398eb
sanitycheck: fail on check_compliance issues
nashif Sep 17, 2018
ba4643b
sanitycheck: remove special ansi charachters from xml
nashif Sep 23, 2018
d5d902a
Revert "sanitycheck: fail on check_compliance issues"
nashif Sep 23, 2018
cf6f87f
Bluetooth: samples/peripheral_sc_only: Improve logging
Sep 22, 2018
0287a04
Bluetooth: host: Fix name conflict with kernel smp_init in smp.c
joerchan Sep 20, 2018
3151d26
Bluetooth: L2CAP: Add return to recv
Vudentz Aug 22, 2018
8af4786
Bluetooth: L2CAP: Restore credits after receiving an SDU
Vudentz Aug 22, 2018
62f41df
Bluetooth: L2CAP: Prevent the channel to stall
Vudentz Sep 4, 2018
da83616
Bluetooth: L2CAP: Fix identation of struct members
Vudentz Aug 22, 2018
16fdd74
Bluetooth: L2CAP: Make use of net_buf_append_bytes
Vudentz Sep 11, 2018
9f79862
net: buf: Use net_buf_add_mem in net_buf_append_bytes
Vudentz Sep 11, 2018
8c02af7
Bluetooth: shell: Add l2cap-recv command
Vudentz Sep 17, 2018
204acc8
subsys: logger: fix merge error
aescolar Sep 24, 2018
559578c
Bluetooth: Add API to iterate through existing bonds
Sep 20, 2018
e59b8cb
subsys : shell : Added API changing prompt
Sep 21, 2018
30d0457
CODEOWNERS: Assing maintainer for all native_posix backends
aescolar Sep 24, 2018
c632d25
ext: hal: nrfx: Update README after upgrading to version 1.3.0
anangl Sep 24, 2018
98e3810
arch: arm: fix error reason intialization
ioannisg Sep 24, 2018
7d4339a
arch: arm: add explanatory comment for SPLIM_NS set functions
ioannisg Sep 24, 2018
6619261
arch: arm: Minor style and typo fixes in inline comments
ioannisg Sep 24, 2018
1dd5dc6
drivers: i2c: Add dts support for i2c slaves.
Mierunski Sep 12, 2018
80b8da6
boards: arm: nrf52840_pca10056: Fix typo
rettichschnidi Sep 15, 2018
4e61ccd
cmake: Add quotes to handle missing ZEPHYR_TOOLCHAIN_VARIANT variable
zagor Sep 24, 2018
7c19e90
subsys: logging: Mark the local functions as 'static'
Olivier-ProGlove Sep 19, 2018
ccffca4
soc: arm: mps2: remove un-necessary Kconfig option selection
ioannisg Sep 24, 2018
7228a60
kernel: Fix compilation errors when CONFIG_TIMESLICING=n
dcpleung Sep 21, 2018
f861629
Kconfig: BT: Give the LL selection option a name
SebastianBoe Sep 24, 2018
f3db4d7
subsys: shell: removing troubleshooting assert
Sep 24, 2018
73c2178
shell : assert standardization
Sep 25, 2018
75405f5
Bluetooth: Fix connection parameters update
sjanc Sep 24, 2018
bb271a6
Bluetooth: Add option to configure peripheral connection parameters
sjanc Sep 24, 2018
868a3bf
Bluetooth: host: always set address via HCI before scanning
kapi-no Sep 25, 2018
743e649
samples: net: sockets: Put echo samples configuration into single file
rlubos Sep 24, 2018
b4d8563
samples: net: sockets: Use TLS overlay config file
rlubos Sep 24, 2018
55b462c
scripts: update west to latest upstream version.
Sep 23, 2018
713b6df
doc: fix doxygen BUILD_ASSERT error
dbkinder Sep 25, 2018
7b0ce85
boards: dts: Fix dtc warning in stm32 board dts files
erwango Sep 18, 2018
25fb230
libc: minimal: Add error codes for key management
Aug 28, 2018
b47067b
boards/shields: Clean-up connectors Kconfig options
erwango Sep 25, 2018
9e3edbb
scripts: fix west launcher for macOS
Sep 25, 2018
71f5a17
tests: i2c_slave_api: Add missing testcase.yaml
MaureenHelm Sep 24, 2018
c62815a
boards: nucleo_f091rc: Add i2c to list of supported features
MaureenHelm Sep 24, 2018
ab67639
cmake: Add build system target for west attach command
MaureenHelm Aug 13, 2018
7ba6736
net: ipv6: set pkt properties prior to routing
jfischer-no Sep 25, 2018
684f753
Bluetooth: controller: Fix Data Length Update implementation
cvinayak Sep 26, 2018
c065ebd
drivers: ethernet: native: Fix compile issue in RedHat 7
aescolar Sep 25, 2018
7599fad
doc: cmake: Do not use USES_TERMINAL on latex/pdf targets
carlescufi Sep 26, 2018
4b120c2
tests: adc_api: Fix delay problem with test
punitvara Sep 11, 2018
2df1829
kernel: thread: Typo fixes in comment
pfalcon Sep 26, 2018
d813b13
Bluetooth: controller: Remove timestamp from HCI
carlescufi Sep 26, 2018
07da32a
logging: Add option to suppress level printing in log_output
nordic-krch Sep 26, 2018
2cc6d0c
logging: Add option to suppress timestamp printing in log_output
nordic-krch Sep 26, 2018
c0ff084
cmake: Do not abort even if git describe failed
yashi Sep 25, 2018
e4fa2f5
samples: sockets: echo_client/server: Build for minimal libc
pfalcon Sep 26, 2018
2cd1e41
net: sockets: Add missing POLLERR definition
rlubos Sep 26, 2018
a6de97b
samples: net: sockets: Update docs with TLS information
rlubos Sep 25, 2018
c028769
kconfig: Remove remnants of unimplemented BUILD_TIMESTAMP feature
SebastianBoe Sep 26, 2018
063123f
Bluetooth: Allow to configure background scan window and interval
sjanc Sep 26, 2018
a4633da
ext: hal: nxp: mcux: Add device files for RT1060
jhqian Sep 3, 2018
5b62ea0
arch: arm: nxp: imxrt1060: add device support
jhqian Sep 3, 2018
6585fe4
boards: arm: Add board support for mimxrt1060_evk
jhqian Sep 3, 2018
57b7c3d
kernel: improve help text of INIT_STACKS option
ioannisg Sep 25, 2018
13a4d88
arch: arm: remove un-necessary inclusion of <string.h>
ioannisg Sep 25, 2018
ddad53a
scripts: add colorama to requirements.txt
Sep 26, 2018
50d276f
drivers: i2c: Select HAS_DTS_I2C in designware and qmsi drivers
MaureenHelm Sep 26, 2018
8d89815
boards: Remove redundant "select HAS_DTS_I2C"
MaureenHelm Sep 26, 2018
00d6005
drivers: serial: Add instances to mcux lpuart shim driver
MaureenHelm Sep 24, 2018
3b72a54
soc: nxp_imx: Use generated clock controller in dts fixup
MaureenHelm Sep 24, 2018
c73d5c7
boards: mimxrt1050_evk: Enable lpuart3 for bluetooth hci
MaureenHelm Sep 24, 2018
1692790
doc: fix misspellings in API headers
dbkinder Sep 26, 2018
3a117c2
kernel: remove unused macro parameter
nashif Mar 2, 2018
5755405
kernel: add a new API for setting thread names
nashif Mar 3, 2018
f6e7e98
tests: test k_thread_name_set
nashif Aug 12, 2018
46f7cd5
shell: kernel: print thread name
nashif Aug 12, 2018
739fd90
samples: synchronization: remove unused conf
nashif Sep 9, 2018
2f30c5d
samples: synchronisation: set thread names
nashif Sep 9, 2018
1aed385
logging: rename log_process_thread to logging
nashif Sep 23, 2018
6d3fb8b
shell: kernel: add more thread data to threads command
nashif Sep 25, 2018
ab8d0c4
include/logging: Avoid subtraction on void pointers
ydamigos Sep 26, 2018
27459a1
arch: Add LOG_PANIC to fault handlers
nordic-krch Sep 19, 2018
87d177a
logging: allow mulitple log_panic calls
nordic-krch Sep 19, 2018
e1e12ba
gitignore: Ignore GNU Global's tag files
yashi Sep 26, 2018
78935f9
boards: nucleo_f429zi: Enable USB
erwango Sep 11, 2018
228b148
boards: nucleo_f429zi: fix PWM instance
erwango Sep 11, 2018
96ddb42
boards: nucleo_f412zg: Fix default config
erwango Sep 11, 2018
37e5a9d
boards: nucleo_f413zh: Fix default config
erwango Sep 11, 2018
c0d58d1
boards: nucleo_f207zg: Fix default config
erwango Sep 12, 2018
ebd0ff9
dts: arm: st: Remove use of CONFIG_SOC_* from STM32 F0 dts files
galak Sep 26, 2018
4732328
arch: arm: group Userspace-related regions together
ioannisg Sep 27, 2018
12c0244
arch: arm: style fixes in documentation of MPU region types
ioannisg Sep 25, 2018
5df93af
subsys: storage: flash_map: add API for check flash driver support
nvlsianpu Aug 6, 2018
c09b76a
subsys: shell: support posix arch
aescolar Sep 24, 2018
3e41ac5
subsys: shell: Add missing dependency to SERIAL
aescolar Sep 25, 2018
013f279
uart: Add driver for posix arch
aescolar Sep 22, 2018
bded528
tests: uart: add extra config for native_posix
aescolar Sep 26, 2018
aecc4c5
dts: arm: st: Remove use of CONFIG_SOC_* from STM32 F1 dts files
galak Sep 26, 2018
223d426
dts: arm: st: Remove use of CONFIG_SOC_* from STM32 L0 dts files
galak Sep 27, 2018
46592e6
dts: arm: st: Remove use of CONFIG_SOC_* from STM32 L4 dts files
galak Sep 27, 2018
8592501
net: Remove s_addr/s6_addr defines from in_addr/in6_addr
rlubos Sep 27, 2018
15959c8
drivers: eth_sam: Add generate random mac address feature
qianfan-Zhao Sep 27, 2018
55caa7b
drivers: spi: Select HAS_DTS_SPI in designware driver
MaureenHelm Sep 26, 2018
339a631
boards: Remove redundant "select HAS_DTS_SPI"
MaureenHelm Sep 26, 2018
0be6000
soc: x86: arc: Remove spi base address and irq macros
MaureenHelm Sep 27, 2018
070716e
misc: dlist: Returning boolean for assertive functions
Sep 18, 2018
2c92411
misc: assert: Using boolean constants
Sep 18, 2018
6fdc56d
kernel: Using boolean types for boolean constants
Sep 18, 2018
d8837c6
kernel: Using boolean expression on ASSERT macros
Sep 18, 2018
788f966
misc: list_gen: Using boolean expressions
Sep 18, 2018
420bb62
misc: dlist: Using boolean expressions
Sep 20, 2018
02ed85b
kernel: sched: Change boolean APIs to return bool
Sep 20, 2018
92ea2f9
kernel: Calling Z_SYSCALL_VERIFY_MSG with boolean expressions
Sep 20, 2018
ea716bf
kernel: Explicitly comparing pointer with NULL
Sep 20, 2018
482579e
lib: posix: add error code return
Sep 24, 2018
7e6c103
lib: posix: fix return error code
Sep 27, 2018
d3ab9a3
lib: posix: remove return error code
Sep 27, 2018
a404d4d
soc: arc: quark_se_c1000_ss: Select the supported Power States
Sep 27, 2018
3a8e37c
soc: x86: quark_se: Select the supported Power States
Sep 27, 2018
6a35524
ext: libmetal: Update import of libmetal from b4b5bea to a4f7630
mped-oticon Sep 27, 2018
a82cb24
ext: nffs: portability: Avoid void* arithmetics which is a GNU extension
mped-oticon Sep 27, 2018
d67096d
portability: Avoid void* arithmetics which is a GNU extension
mped-oticon Sep 14, 2018
28394cc
portability: Warn at void* arithmetics which is a GNU C extension
mped-oticon Sep 14, 2018
f0e2e1b
portability: Remove C99-illegal semicolons from the global scope
mped-oticon Sep 11, 2018
9960bd9
portability: Ensure no C99-illegal semicolons exists in structs
mped-oticon Sep 11, 2018
6fc84fe
kernel: syscalls: Change handlers namespace
Sep 24, 2018
0b14866
kernel: sys_clock: Remove unnecessary if
Sep 25, 2018
3e97acc
kernel: Sanitize if else statement according with MISRA-C
Sep 25, 2018
d4c7617
kernel: Remove unused variables
Sep 25, 2018
10f9037
kernel: Avoid duplicated type definition in x86
Sep 25, 2018
78f27a8
kernel: Using the same paramenters names in a specific function
Sep 25, 2018
061a2c5
kernel: mempool: Remove unnecessary condition check
Sep 26, 2018
7f4a317
subsys: app_memory: Fixed incorrect linker syntax.
AdithyaBaglody Sep 21, 2018
10c6a0c
subsys: app_memory: Fixed the build issue wrt ARC.
AdithyaBaglody Sep 21, 2018
2bdc592
net: coap: Fix Coap coap_option_value_to_int and coap_append_option_int
teekey-dev Sep 26, 2018
e2c590a
drivers: ethernet: native: fix compile error when glibc >= 2.20
dcpleung Sep 27, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,11 @@ tags
.xxproject
.envrc
.vscode

# Disables the warning about the changed behavior for Kconfig defaults
hide-defaults-note

# Tag files
GPATH
GRTAGS
GTAGS
23 changes: 14 additions & 9 deletions .shippable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ compiler: gcc
env:
global:
- SDK=0.9.3
- SANITYCHECK_OPTIONS=" --inline-logs --enable-coverage"
- SANITYCHECK_OPTIONS=" --inline-logs --enable-coverage -N"
- SANITYCHECK_OPTIONS_RETRY="${SANITYCHECK_OPTIONS} --only-failed --outdir=out-2nd-pass"
- ZEPHYR_SDK_INSTALL_DIR=/opt/sdk/zephyr-sdk-0.9.3
- ZEPHYR_TOOLCHAIN_VARIANT=zephyr
Expand All @@ -19,7 +19,7 @@ env:
- MATRIX_BUILD="5"

build:
cache: true
cache: false
cache_dir_list:
- ${SHIPPABLE_BUILD_DIR}/ccache
pre_ci_boot:
Expand Down Expand Up @@ -47,9 +47,9 @@ build:
echo "Documentation build failed";
exit 1;
fi
if [ -s doc/doc.warnings ]; then
if [ -s doc/_build/doc.warnings ]; then
echo " => New documentation warnings/errors";
cp doc/doc.warnings doc.warnings
cp doc/_build/doc.warnings doc.warnings
fi;
echo "- Verify commit message, coding style, doc build";
./scripts/ci/check-compliance.py --commits ${COMMIT_RANGE} || true;
Expand All @@ -60,18 +60,23 @@ build:
./scripts/ci/get_modified_boards.py --commits origin/${PULL_REQUEST_BASE_BRANCH}..HEAD > modified_boards.args;

if [ -s modified_boards.args ]; then
./scripts/sanitycheck ${SANITYCHECK_OPTIONS} +modified_boards.args --save-tests test_file.txt;
./scripts/sanitycheck ${SANITYCHECK_OPTIONS} +modified_boards.args --save-tests test_file.txt || exit 1;
fi;
if [ -s modified_tests.args ]; then
./scripts/sanitycheck ${SANITYCHECK_OPTIONS} +modified_tests.args --save-tests test_file.txt;
./scripts/sanitycheck ${SANITYCHECK_OPTIONS} +modified_tests.args --save-tests test_file.txt || exit 1;
fi;
rm -f modified_tests.args modified_boards.args;
fi;
- ./scripts/sanitycheck ${SANITYCHECK_OPTIONS} --save-tests test_file.txt
- ./scripts/sanitycheck ${SANITYCHECK_OPTIONS} --save-tests test_file.txt || exit 1
- ./scripts/sanitycheck ${SANITYCHECK_OPTIONS} --load-tests test_file.txt --subset ${MATRIX_BUILD}/${MATRIX_BUILDS} || ./scripts/sanitycheck ${SANITYCHECK_OPTIONS_RETRY} || ./scripts/sanitycheck ${SANITYCHECK_OPTIONS_RETRY}
- rm test_file.txt
- ccache -s
on_failure:
- >
if [ -f "$HOME/.cache/zephyr/ToolchainCapabilityDatabase.cmake" ]; then
echo "Dumping the capability database in case we are affected by #9992"
cat $HOME/.cache/zephyr/ToolchainCapabilityDatabase.cmake
fi;
- rm -rf ccache $HOME/.cache/zephyr
- mkdir -p shippable/testresults
- mkdir -p shippable/codecoverage
Expand All @@ -84,7 +89,7 @@ build:
rm lcov.pre.info;
rm -rf sanity-out out-2nd-pass;
bash <(curl -s https://codecov.io/bash) -f "lcov.info" -X coveragepy -X fixes;
rm lcov.info;
rm -f lcov.info;
else
rm -rf sanity-out out-2nd-pass;
fi;
Expand All @@ -109,7 +114,7 @@ build:
rm lcov.pre.info;
rm -rf sanity-out out-2nd-pass;
bash <(curl -s https://codecov.io/bash) -f "lcov.info" -X coveragepy -X fixes;
rm lcov.info;
rm -f lcov.info;
else
rm -rf sanity-out out-2nd-pass;
fi;
Expand Down
71 changes: 55 additions & 16 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ zephyr_library_named(zephyr)
zephyr_include_directories(
kernel/include
arch/${ARCH}/include
arch/${ARCH}/soc/${SOC_PATH}
arch/${ARCH}/soc/${SOC_PATH}/include
arch/${ARCH}/soc/${SOC_FAMILY}/include
${SOC_DIR}/${ARCH}/${SOC_PATH}
${SOC_DIR}/${ARCH}/${SOC_PATH}/include
${SOC_DIR}/${ARCH}/${SOC_FAMILY}/include
${BOARD_DIR}
include
include/drivers
Expand Down Expand Up @@ -264,6 +264,9 @@ zephyr_system_include_directories(${NOSTDINC})
# Force an error when things like SYS_INIT(foo, ...) occur with a missing header.
zephyr_cc_option(-Werror=implicit-int)

# Prohibit void pointer arithmetic. Illegal in C99
zephyr_cc_option(-Wpointer-arith)

# Prohibit date/time macros, which would make the build non-deterministic
# cc-option(-Werror=date-time)

Expand Down Expand Up @@ -295,7 +298,7 @@ else()
set(LINKER_SCRIPT ${BOARD_DIR}/linker.ld)
if(NOT EXISTS ${LINKER_SCRIPT})
# If not available, try an SoC specific linker file
set(LINKER_SCRIPT ${ZEPHYR_BASE}/arch/${ARCH}/soc/${SOC_PATH}/linker.ld)
set(LINKER_SCRIPT ${SOC_DIR}/${ARCH}/${SOC_PATH}/linker.ld)
endif()
endif()

Expand Down Expand Up @@ -335,6 +338,13 @@ add_subdirectory(misc)
# This is because source file properties are directory scoped, including the GENERATED
# property which is set implicitly for custom command outputs
include(misc/generated/CMakeLists.txt)

if(EXISTS ${SOC_DIR}/${ARCH}/CMakeLists.txt)
add_subdirectory(${SOC_DIR}/${ARCH} soc/${ARCH})
else()
add_subdirectory(${SOC_DIR}/${ARCH}/${SOC_PATH} soc/${ARCH}/${SOC_PATH})
endif()

add_subdirectory(boards)
add_subdirectory(ext)
add_subdirectory(subsys)
Expand Down Expand Up @@ -455,7 +465,7 @@ add_custom_command(OUTPUT include/generated/syscall_dispatch.c ${syscall_list_h}
--json-file ${syscalls_json} # Read this file
--base-output include/generated/syscalls # Write to this dir
--syscall-dispatch include/generated/syscall_dispatch.c # Write this file
> ${syscall_list_h} # Write stdout to this file
--syscall-list ${syscall_list_h}
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
DEPENDS ${syscalls_json}
)
Expand Down Expand Up @@ -618,20 +628,22 @@ if(CONFIG_APPLICATION_MEMORY)
list(APPEND ks ${fixed_path})
endforeach()

# We are done constructing kernel_object_file_list, now we inject this
# information into the linker script through -D's
list(LENGTH kernel_object_file_list NUM_KERNEL_OBJECT_FILES)
list(APPEND LINKER_SCRIPT_DEFINES -DNUM_KERNEL_OBJECT_FILES=${NUM_KERNEL_OBJECT_FILES})
set(i 0)
# We are done constructing kernel_object_file_list, now we inject
# this list into the linker script through the define
# KERNELSPACE_OBJECT_FILES
set(def -DKERNELSPACE_OBJECT_FILES=)
foreach(f ${ks})
list(APPEND LINKER_SCRIPT_DEFINES -DKERNEL_OBJECT_FILE_${i}=${f})
math(EXPR i "${i}+1")
set(def "${def} ${f}")
endforeach()
list(APPEND LINKER_SCRIPT_DEFINES ${def})
endif() # CONFIG_APPLICATION_MEMORY

# Declare MPU userspace dependencies before the linker scripts to make
# sure the order of dependencies are met
if(CONFIG_CPU_HAS_MPU AND CONFIG_USERSPACE)
if(CONFIG_MPU_REQUIRES_POWER_OF_TWO_ALIGNMENT AND CONFIG_APP_SHARED_MEM )
set(APP_SMEM_DEP app_smem_linker)
endif()
if(CONFIG_MPU_REQUIRES_POWER_OF_TWO_ALIGNMENT AND CONFIG_APPLICATION_MEMORY)
set(ALIGN_SIZING_DEP app_sizing_prebuilt linker_app_sizing_script)
endif()
Expand Down Expand Up @@ -697,6 +709,7 @@ add_custom_target(
linker_script
DEPENDS
${ALIGN_SIZING_DEP} ${PRIV_STACK_DEP}
${APP_SMEM_DEP}
linker.cmd
offsets_h
)
Expand All @@ -718,13 +731,11 @@ set(zephyr_lnk
${LINKERFLAGPREFIX},-Map=${PROJECT_BINARY_DIR}/${KERNEL_MAP_NAME}
-u_OffsetAbsSyms
-u_ConfigAbsSyms
${LINKERFLAGPREFIX},--start-group
${LINKERFLAGPREFIX},--whole-archive
${ZEPHYR_LIBS_PROPERTY}
${LINKERFLAGPREFIX},--no-whole-archive
kernel
${OFFSETS_O_PATH}
${LINKERFLAGPREFIX},--end-group
${LIB_INCLUDE_DIR}
-L${PROJECT_BINARY_DIR}
${TOOLCHAIN_LIBS}
Expand Down Expand Up @@ -1008,8 +1019,35 @@ configure_file(
$ENV{ZEPHYR_BASE}/include/arch/arm/cortex_m/scripts/app_data_alignment.ld
${PROJECT_BINARY_DIR}/include/generated/app_data_alignment.ld)

configure_file(
$ENV{ZEPHYR_BASE}/include/arch/arm/cortex_m/scripts/app_smem.ld
${PROJECT_BINARY_DIR}/include/generated/app_smem.ld)

if(CONFIG_CPU_HAS_MPU AND CONFIG_USERSPACE)

if(CONFIG_MPU_REQUIRES_POWER_OF_TWO_ALIGNMENT AND CONFIG_APP_SHARED_MEM)
set(APP_SMEM_LD "${PROJECT_BINARY_DIR}/include/generated/app_smem.ld")
set(OBJ_FILE_DIR "${PROJECT_BINARY_DIR}/../")

add_custom_target(
${APP_SMEM_DEP} ALL
DEPENDS app
kernel
)

add_custom_command(
TARGET ${APP_SMEM_DEP}
COMMAND ${PYTHON_EXECUTABLE}
${ZEPHYR_BASE}/scripts/gen_app_partitions.py
-d ${OBJ_FILE_DIR}
-o ${APP_SMEM_LD}
$<$<BOOL:${CMAKE_VERBOSE_MAKEFILE}>:--verbose>
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/
COMMENT "Generating power of 2 aligned app_smem linker section"
)
endif()


if(CONFIG_MPU_REQUIRES_POWER_OF_TWO_ALIGNMENT AND CONFIG_APPLICATION_MEMORY)

construct_add_custom_command_for_linker_pass(linker_app_sizing custom_command)
Expand All @@ -1022,6 +1060,7 @@ if(CONFIG_CPU_HAS_MPU AND CONFIG_USERSPACE)
DEPENDS
linker_app_sizing.cmd
offsets_h
${APP_SMEM_DEP}
)

set_property(TARGET
Expand All @@ -1038,7 +1077,7 @@ if(CONFIG_CPU_HAS_MPU AND CONFIG_USERSPACE)
add_executable( app_sizing_prebuilt misc/empty_file.c)
target_link_libraries(app_sizing_prebuilt ${TOPT} ${PROJECT_BINARY_DIR}/linker_app_sizing.cmd ${zephyr_lnk})
set_property(TARGET app_sizing_prebuilt PROPERTY LINK_DEPENDS ${PROJECT_BINARY_DIR}/linker_app_sizing.cmd)
add_dependencies( app_sizing_prebuilt linker_app_sizing_script offsets)
add_dependencies( app_sizing_prebuilt linker_app_sizing_script offsets )

add_custom_command(
TARGET app_sizing_prebuilt
Expand All @@ -1060,7 +1099,7 @@ if(CONFIG_ARM)
add_custom_target(
linker_priv_stacks_script
DEPENDS
${ALIGN_SIZING_DEP}
${ALIGN_SIZING_DEP} ${APP_SMEM_DEP}
linker_priv_stacks.cmd
offsets_h
)
Expand Down
Loading