- 08 Jun, 2017 9 commits
-
-
Andrew Boie authored
The hard-coded value of 10ms doesn't take the system configured amount of ticks per second, nor does it account for an unlucky tick advance which causes the test to fail very intermittently in QEMU. Signed-off-by:
Andrew Boie <andrew.p.boie@intel.com>
-
Andrew Boie authored
Signed-off-by:
Andrew Boie <andrew.p.boie@intel.com>
-
David B. Kinder authored
fixed literalinclude warning that referenced beyond end of file and added lineno-start option to show correct line number of included file Signed-off-by:
David B. Kinder <david.b.kinder@intel.com>
-
Sharron LIU authored
Per ISSM team feedbacks: “demostrating” >> “demonstrating” “demonstates” >> ”demonstrates” Signed-off-by:
Sharron LIU <sharron.liu@intel.com>
-
Andrew Boie authored
Signed-off-by:
Andrew Boie <andrew.p.boie@intel.com>
-
Andrew Boie authored
Signed-off-by:
Andrew Boie <andrew.p.boie@intel.com>
-
Andrew Boie authored
Nothing about this test requires tickless idle and it's not even turned on in prj.conf. Signed-off-by:
Andrew Boie <andrew.p.boie@intel.com>
-
Andrew Boie authored
The kernel tracks time slice usage with the _time_slice_elapsed global. Every time the timer interrupt goes off and the timer driver calls _nano_sys_clock_tick_announce() with the elapsed time, this is added to _time_slice_elapsed. If it exceeds the total time slice, the thread is moved to the back of the queue for that priority level and _time_slice_elapsed is reset to zero. In a non-tickless kernel, this is the only time _time_slice_elapsed is reset. If a thread uses up a partial time slice, and then cooperatively switches to another thread, the next thread will inherit the remaining time slice, causing it not to be able to run as long as it ought to. There does exist code to properly reset the elapsed count, but it was only compiled in a tickless kernel. Now it is built any time CONFIG_TIMESLICING is enabled. Issue: ZEP-2107 Signed-off-by:
Andrew Boie <andrew.p.boie@intel.com>
-
Anas Nashif authored
Signed-off-by:
Anas Nashif <anas.nashif@intel.com>
-
- 07 Jun, 2017 16 commits
-
-
chunlin authored
The REGION bits (bit[3:0]) of MPU_RBAR register can specify the number of the region to update if the VALID bit (bit[4]) is also set. If the bit[3:0] of "region_addr" are not zero, might cause to update unexpected region. This could happen since we might not declare stack memory with specific alignment. This patch will mask the bit[4:0] of "region_addr" to prevent updating unexpected region. Signed-off-by:
Chunlin Han <chunlin.han@linaro.org>
-
Andrew Boie authored
Just search for it in the system PATH. Issue: ZEP-2211 Signed-off-by:
Andrew Boie <andrew.p.boie@intel.com>
-
Andrew Boie authored
64-bit types were not being handled properly and depending on the calling convention could result in garbage values being printed. We still truncate these to 32-bit values, the predominant use-case is printing timestamp delta values which generally fit in a 32-bit value. However we are no longer printing random stuff. Test case for printk() updated appripriately to catch this regression. Signed-off-by:
Andrew Boie <andrew.p.boie@intel.com>
-
Harry Jiang authored
Signed-off-by:
Harry Jiang <explora26@gmail.com>
-
Justin Watson authored
Signed-off-by:
Justin Watson <jwatson5@gmail.com>
-
Justin Watson authored
Signed-off-by:
Justin Watson <jwatson5@gmail.com>
-
Carles Cufi authored
Having tried and tested building Zephyr using the standard SDK on Windows 10 using the new WSL (Windows Subsystem for Linux), add the documentation so that others can benefit from the functionality. Signed-off-by:
Carles Cufi <carles.cufi@nordicsemi.no>
-
Anas Nashif authored
When checking for line length limits, ignore lines with Signed-off-by. Some developers have a long name that would not fit within the limits. Signed-off-by:
Anas Nashif <anas.nashif@intel.com>
-
Harry Jiang authored
Signed-off-by:
Harry Jiang <explora26@gmail.com>
-
Andrew Boie authored
Issue: ZEP-634 Signed-off-by:
Andrew Boie <andrew.p.boie@intel.com>
-
Andrew Boie authored
Issue: ZEP-2172 Signed-off-by:
Andrew Boie <andrew.p.boie@intel.com>
-
Andrew Boie authored
Need to set CXXFLAGS just like we did CFLAGS. Signed-off-by:
Andrew Boie <andrew.p.boie@intel.com>
-
Carles Cufi authored
On MSYS2, the #include paths for GCC need to be in native format (Windows-style paths) since GCC is a native Windows application and therefore requires standard paths. Signed-off-by:
Carles Cufi <carles.cufi@nordicsemi.no>
-
David Brown authored
Instead of requiring the dts overlay files to be at the top level directory (where make is invoked), allow this default to be overridden by setting DTS_OVERLAY_DIR. This is a directory where the overlays themselves (which are still named $(BOARD_NAME).overlay) will live. Change-Id: Ie9796afbd27971650b7636a36149c0d1f8e2b9fb Signed-off-by:
David Brown <david.brown@linaro.org>
-
Andy Gross authored
This patch adds a dependency for the DTS overlay so that the DTS is compiled when the state of the overlay file changes. Change-Id: I2affe67f90f56b1d97384d5cd4e3026abed24253 Signed-off-by:
Andy Gross <andy.gross@linaro.org>
-
Vinayak Kariappa Chettimada authored
pop {lr} instruction is not supported in ARMv6-M, fixed by using pop {r0}; mov lr, r0; instructions. Jira: ZEP-2222 Signed-off-by:
Vinayak Kariappa Chettimada <vich@nordicsemi.no>
-
- 03 Jun, 2017 11 commits
-
-
Maureen Helm authored
The original implementation of _get_num_regions() parsed the CESR[NRGD] register field to determine the number of mpu region descriptors implemented in hardware. There was a possible path in the code to return zero, which would cause underflow later on in arm_core_mpu_configure(). Coverity complained despite an assert to catch this condition. Instead, use a preprocessor macro from mcux that defines the number of mpu region descriptors. Coverity-CID: 169811 Jira: ZEP-2208 Signed-off-by:
Maureen Helm <maureen.helm@nxp.com>
-
Paul Sokolovsky authored
As they are part of interrupt-driver API, they must be called from an ISR. That means that calling it outside IST may not have a desired effect, and vice-versa, not calling them from ISR can lead to issues. The patch also eleborates/fixes description of uart_irq_rx_ready(). Jira: ZEP-2016 Signed-off-by:
Paul Sokolovsky <paul.sokolovsky@linaro.org>
-
Andy Gross authored
This patch adds a YAML template file that describes the format of a Zephyr device tree YAML specification. Signed-off-by:
Andy Gross <andy.gross@linaro.org>
-
Andy Gross authored
This patch adds documention for device tree development in Zephyr. This includes a description of device tree, how it is integrated into Zephyr, and other related information. Signed-off-by:
Andy Gross <andy.gross@linaro.org>
-
Andrew Boie authored
Calling 'svc' on ARMv6 causes a hard fault if interrups are locked. Force them unlocked before making the svc call. Signed-off-by:
Andrew Boie <andrew.p.boie@intel.com>
-
Andrew Boie authored
This is needed for irq_offload() and k_oops()/k_panic() Issue: ZEP-2221 Signed-off-by:
Andrew Boie <andrew.p.boie@intel.com>
-
Andrew Boie authored
Signed-off-by:
Andrew Boie <andrew.p.boie@intel.com>
-
Vinayak Kariappa Chettimada authored
Fix nRF RTC timer from returning more than actual cycles in _timer_cycle_get_32, under race condition when ISR announces to kernel. Jira: ZEP-2229 Signed-off-by:
Vinayak Kariappa Chettimada <vich@nordicsemi.no>
-
Tomasz Bursztyka authored
Instead of NULL terminated buffer arrays, let's add a parameter for each that tells the number of spi_buf in it. It adds a little bit more complexity in driver's side (spi_context.h) but not on user side (bufer one has to take care of providing the NULL pointer at the end of the array, now he requires to give the count). This will saves a significant amount of bytes in more complex setup than the current dumb spi driver sample. Fix and Use size_t everywhere (spi_context.h was using u32_t). Signed-off-by:
Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
-
Anas Nashif authored
Increase to 1024 to get more tests and sample running on this device with only 8K of SRAM. Change thread stack size in the mslab test to make it fit into this board. Jira: ZEP-2079 Signed-off-by:
Anas Nashif <anas.nashif@intel.com>
-
Anas Nashif authored
This reverts commit 37f4178f . This change builds gen_idt in the zephyr project tree instead of building it in outdir of the application. The build process should all happen inside outdir and no binaries should be placed in the zephyr tree. Signed-off-by:
Anas Nashif <anas.nashif@intel.com>
-
- 02 Jun, 2017 4 commits
-
-
Jukka Rissanen authored
Instead of waiting forever for a free net_buf, set a timeout to the allocations (500 ms). This way the application will not be blocked by memory exhaustion. Signed-off-by:
Jukka Rissanen <jukka.rissanen@linux.intel.com>
-
Jukka Rissanen authored
In some cases the net_pkt can be null when freeing it, this will print error from net_pkt library. Avoid this by checking the value of net_pkt before calling net_pkt_unref(). Signed-off-by:
Jukka Rissanen <jukka.rissanen@linux.intel.com>
-
Jukka Rissanen authored
If we re-connect to same peer server, then we should select a new source port. Noticed that if the same source port as before is used for the new connection, the peer might drop the packet. This was seen when connecting to Linux peer. Signed-off-by:
Jukka Rissanen <jukka.rissanen@linux.intel.com>
-
Jukka Rissanen authored
The number of RX and TX buffers is increased to 64 as the earlier limit can cause memory exhaust in some cases. Jira: ZEP-2223 Signed-off-by:
Jukka Rissanen <jukka.rissanen@linux.intel.com>
-