Date   

[RFC]DMA API Update

Liu, Baohong
 

Hi everyone,

I would like to propose the update for DMA API.
(https://jira.zephyrproject.org/browse/ZEP-873).

Known Problems
--------

Struct dma_channel_config consists of quite a few variables of enum types,
two callback function pointers, and one callback user data pointer.

- The enums can be collapsed into a bit field.
This will reduce the size of the data structure.

- The two callback function pointers (for normal and error cases) can be combined.
A parameter of error code can be used to differentiate the two cases. So, the
current callback parameter of user data pointer will be replaced by two new
parameters. One for error code and the other one for channel id.

- Callback data pointer can be removed.
Currently, this field holds user data. It can be moved to driver data structure.
The callback function can dig out the information from dev pointer and
channel id passed to it.

Proposed Solution
--------

-- The following are the enums we have now.

handshake_interface /* which peripheral and direction*/
hankshake_polarity /* high or low*/
channel_direction /* memory to memory, memory to peripheral ... */
Source_transfer_width /* source data size */
Destination_transfer_width /* destination data size */
Source_burst_length /* source burst length */
Destination_burst_length /* destination burst length */

All these will be collapsed into a bit field. Some of them will have new names.

Besides the above, three new items will be added.
source_handshake /* HW or SW */
dest_handshake /* HW or SW */
channel_priority /* DMA channel priority */

-- For the callback function, there will be three parameters. They are device pointer,
channel_id, and error code. As said above, the error callback will be removed.

-- The callback_data pointer will be removed.

Final API Format
--------

/**
* @brief DMA configuration structure.
*
* config is a bit field with the following parts:
* dma_slot [ 0 : 5 ] --which peripheral and direction(HW specific)
* hankshake_polarity [ 6 ] --high or low
* channel_direction [ 7 : 9 ] --0-memory to memory, 1-memory to peripheral,
* 2-peripheral to memory
* source_data_size [ 10 : 12 ] --source data size(8,16,32,64,128 and 256 bits)
* dest_data_size [ 13 : 15 ] --destination data size(8,16,32,64,128 and 256 bits)
* source_burst_length [ 16 : 18 ] --number of source data unit(1,4,8,16,32,64,128 and 256)
* dest_burst_length [ 19 : 21 ] -- number of dest data unit(1,4,8,16,32,64,128 and 256)
* source_handshake [ 22 ] --HW or SW
* dest_handshake [ 23 ] --HW or SW
* channel_priority [ 24 : 27 ] --DMA channel priority
* RESERVED [ 28 : 31 ]
* dma_callback is the callback function pointer
*/
struct dma_channel_config {
uint32_t config;
void (*dma_callback)(struct device *dev, uint32_t channel, int error_code);
}

The remaining parts will stay the same.
No change to the structure dma_transfer_config.
No change to the API function prototypes:
dma_channel_config(...)
dma_transfer_config(...)
dma_transfer_start(...)
dma_transfer_stop(...)

(Note: for xx_data_size and xx_burst_length in the above bit field, the value will only serve
as an index. For example, for source_data_size, bit field values of 0, 1, 2, 3, 4 and 5 will
correspond to sizes of 8,16,32,64,128 and 256 bits.)

Suggestions and comments are welcome.


Daily JIRA Digest

donotreply@...
 

NEW JIRA items within last 24 hours: 4
[ZEP-1554] Xtensa integration
https://jira.zephyrproject.org/browse/ZEP-1554

[ZEP-1552] Provide apds9960 sensor driver
https://jira.zephyrproject.org/browse/ZEP-1552

[ZEP-1555] echo client/server on 15.4 instability
https://jira.zephyrproject.org/browse/ZEP-1555

[ZEP-1551] Build error when STM32 GPIO Port F/G is selected
https://jira.zephyrproject.org/browse/ZEP-1551


UPDATED JIRA items within last 24 hours: 29
[ZEP-816] Minimum Rank with Hysteresis (RPL)
https://jira.zephyrproject.org/browse/ZEP-816

[ZEP-810] Network Time Protocol v4
https://jira.zephyrproject.org/browse/ZEP-810

[ZEP-887] 802.15.4 - Management service: RFD level support
https://jira.zephyrproject.org/browse/ZEP-887

[ZEP-1457] Add SPDX Tags to Zephyr licence boilerplate
https://jira.zephyrproject.org/browse/ZEP-1457

[ZEP-888] 802.15.4 - Security support
https://jira.zephyrproject.org/browse/ZEP-888

[ZEP-1205] Create test for LIFO kernel object using native unified kernel API
https://jira.zephyrproject.org/browse/ZEP-1205

[ZEP-1206] Create test for FIFO kernel object using native unified kernel API
https://jira.zephyrproject.org/browse/ZEP-1206

[ZEP-1208] Create test for Timer kernel object using native unified kernel API
https://jira.zephyrproject.org/browse/ZEP-1208

[ZEP-1209] Create test for Memory slabs kernel object using native unified kernel API
https://jira.zephyrproject.org/browse/ZEP-1209

[ZEP-1216] Create test for pipe kernel object using native unified kernel API
https://jira.zephyrproject.org/browse/ZEP-1216

[ZEP-1210] Create test for memory pools kernel object using native unified kernel API
https://jira.zephyrproject.org/browse/ZEP-1210

[ZEP-462] tcf: add support for running altera_max10 binaries
https://jira.zephyrproject.org/browse/ZEP-462

[ZEP-1321] Glossary of Terms needs updating
https://jira.zephyrproject.org/browse/ZEP-1321

[ZEP-1429] NXP MCR20A Driver
https://jira.zephyrproject.org/browse/ZEP-1429

[ZEP-964] Add a (hidden?) Kconfig option for disabling legacy API
https://jira.zephyrproject.org/browse/ZEP-964

[ZEP-1472] Support for the KW22D512 Kinetis MCU based USB Dongle
https://jira.zephyrproject.org/browse/ZEP-1472

[ZEP-833] IP-to-IP tunneling support
https://jira.zephyrproject.org/browse/ZEP-833

[ZEP-828] IPv6 - Multicast Join/Leave Support
https://jira.zephyrproject.org/browse/ZEP-828

[ZEP-634] document IRQ handling internals
https://jira.zephyrproject.org/browse/ZEP-634

[ZEP-879] 6LoWPAN - Stateless Address Autoconfiguration
https://jira.zephyrproject.org/browse/ZEP-879

[ZEP-578] handle configuration changes with more code coverage
https://jira.zephyrproject.org/browse/ZEP-578

[ZEP-1513] Port legacy kernel and benchmark tests to unified kernel
https://jira.zephyrproject.org/browse/ZEP-1513

[ZEP-1416] Potential race/non-monotonicity in k_cycle_get_32() for cortex_m, x86 loapic
https://jira.zephyrproject.org/browse/ZEP-1416

[ZEP-706] cannot set debug breakpoints on ARC side of Arduino 101
https://jira.zephyrproject.org/browse/ZEP-706

[ZEP-1545] AON Counter : ISR triggered twice on ARC
https://jira.zephyrproject.org/browse/ZEP-1545

[ZEP-1169] Sample mbedDTLS DTLS client stability on ethernet driver
https://jira.zephyrproject.org/browse/ZEP-1169

[ZEP-723] Sanity Crashes with "FileNotFound" exception when running samples/static_lib/test
https://jira.zephyrproject.org/browse/ZEP-723

[ZEP-1370] There's a wiki page for arduino_due but no zephyr/boards support folder
https://jira.zephyrproject.org/browse/ZEP-1370

[ZEP-1460] Sanity check reports some qemu step failures as 'build_error'
https://jira.zephyrproject.org/browse/ZEP-1460


CLOSED JIRA items within last 24 hours: 32
[ZEP-245] (Won't Do) Restructure Documentation content
https://jira.zephyrproject.org/browse/ZEP-245

[ZEP-1215] (Fixed) Create test for mailbox kernel object using native unified kernel API
https://jira.zephyrproject.org/browse/ZEP-1215

[ZEP-1212] (Fixed) Create test for alert kernel object using native unified kernel API
https://jira.zephyrproject.org/browse/ZEP-1212

[ZEP-1217] (Fixed) Create test for thread kernel object using native unified kernel API
https://jira.zephyrproject.org/browse/ZEP-1217

[ZEP-1214] (Fixed) Create test for message queue kernel object using native unified kernel API
https://jira.zephyrproject.org/browse/ZEP-1214

[ZEP-1213] (Fixed) Create test for stack kernel object using native unified kernel API
https://jira.zephyrproject.org/browse/ZEP-1213

[ZEP-1207] (Fixed) Create test for semaphore kernel object using native unified kernel API
https://jira.zephyrproject.org/browse/ZEP-1207

[ZEP-1211] (Fixed) Create test for mutex kernel object using native unified kernel API
https://jira.zephyrproject.org/browse/ZEP-1211

[ZEP-1494] (Fixed) Create test for work queue kernel object using native unified kernel API
https://jira.zephyrproject.org/browse/ZEP-1494

[ZEP-1222] (Fixed) Add save/restore support to ARC core
https://jira.zephyrproject.org/browse/ZEP-1222

[ZEP-19] (Fixed) IPSP node support
https://jira.zephyrproject.org/browse/ZEP-19

[ZEP-1288] (Fixed) Define _arc_v2_irq_unit device
https://jira.zephyrproject.org/browse/ZEP-1288

[ZEP-1223] (Fixed) Add save/restore support to arcv2_irq_unit
https://jira.zephyrproject.org/browse/ZEP-1223

[ZEP-1224] (Fixed) Add save/restore support to arcv2_timer_0/sys_clock
https://jira.zephyrproject.org/browse/ZEP-1224

[ZEP-690] (Fixed) TCF isn't setting ARCH when running testcases
https://jira.zephyrproject.org/browse/ZEP-690

[ZEP-738] (Fixed) samples/net/test_15_4 doesn't fit in Quark D2000 / Nucleo F103RB / Alimexino STM32
https://jira.zephyrproject.org/browse/ZEP-738

[ZEP-693] (Fixed) tests/kernel/test_lifo: execution fails on ARC
https://jira.zephyrproject.org/browse/ZEP-693

[ZEP-586] (Fixed) test_bat issues
https://jira.zephyrproject.org/browse/ZEP-586

[ZEP-1263] (Duplicate) test_mbox_api failed @ARC @ARM
https://jira.zephyrproject.org/browse/ZEP-1263

[ZEP-1265] (Fixed) test_mslab_init failed @ARC: block_size=5
https://jira.zephyrproject.org/browse/ZEP-1265

[ZEP-1201] (Done) tests/kernel/test_xip Doesn't fit `FLASH' region
https://jira.zephyrproject.org/browse/ZEP-1201

[ZEP-608] (Cannot Reproduce) Shell console suspends to output nothing once sleeping in shell application
https://jira.zephyrproject.org/browse/ZEP-608

[ZEP-1458] (Cannot Reproduce) tests/legacy/kernel/test_events: failure on ARC platforms
https://jira.zephyrproject.org/browse/ZEP-1458

[ZEP-757] (Fixed) tests/kernel/test_context/ fail in Arduino 101 and Quark SE C1000
https://jira.zephyrproject.org/browse/ZEP-757

[ZEP-1124] (Fixed) tests/kernel/test_sprintf/microkernel/testcase.ini#test failure on frdm_k64f
https://jira.zephyrproject.org/browse/ZEP-1124

[ZEP-436] (Fixed) Test case tests/kernel/test_mem_safe fails on ARM hardware
https://jira.zephyrproject.org/browse/ZEP-436

[ZEP-1068] (Fixed) [TCF] samples/net/test_15_4 build fail for EMSK
https://jira.zephyrproject.org/browse/ZEP-1068

[ZEP-674] (Fixed) atomic_test_and_set_bit failed in atomicity testing
https://jira.zephyrproject.org/browse/ZEP-674

[ZEP-685] (Fixed) many sample programs are not built by CI
https://jira.zephyrproject.org/browse/ZEP-685

[ZEP-735] (Fixed) Several Tests and Samples are broken for CONFIG_DEBUG
https://jira.zephyrproject.org/browse/ZEP-735

[ZEP-1060] (Fixed) Contributor guide for documentation missing
https://jira.zephyrproject.org/browse/ZEP-1060

[ZEP-709] (Duplicate) tests/kernel/test_xip/nanokernel Times out on ARC core of Quark SE devboard and Arduino 101
https://jira.zephyrproject.org/browse/ZEP-709


RESOLVED JIRA items within last 24 hours: 0


Daily Gerrit Digest

donotreply@...
 

NEW within last 24 hours:
- https://gerrit.zephyrproject.org/r/9868 : uart/stm32: add STM32F3X support for uart
- https://gerrit.zephyrproject.org/r/9843 : net: ip: save TCP seq/ack values in tcp_synack_received
- https://gerrit.zephyrproject.org/r/9871 : Bluetooth: Add missing documentation to HCI driver APIs
- https://gerrit.zephyrproject.org/r/9870 : Bluetooth: Remove unused bt_hci_driver_unregister() API
- https://gerrit.zephyrproject.org/r/9869 : samples: net: Echo apps need different IP to be able to work
- https://gerrit.zephyrproject.org/r/9864 : net: bt: Add connect management command
- https://gerrit.zephyrproject.org/r/9865 : net: bt: Add shell support
- https://gerrit.zephyrproject.org/r/9866 : net: bt: Add scan management command
- https://gerrit.zephyrproject.org/r/9867 : net: bt: Add scan shell command
- https://gerrit.zephyrproject.org/r/9857 : Bluetooth: Add HCI SPI driver
- https://gerrit.zephyrproject.org/r/9858 : Bluetooth: samples/beacon: Print message at start of sample
- https://gerrit.zephyrproject.org/r/9859 : Bluetooth: Kconfig: Specify stack size for Bluetooth SPI
- https://gerrit.zephyrproject.org/r/9863 : net: bt: Fix not showing any logs
- https://gerrit.zephyrproject.org/r/9862 : net: echo_client: Don't start sending packets if interface is not UP
- https://gerrit.zephyrproject.org/r/9861 : net: echo_client: Fix using CONFIG_NETWORKING_WITH_BT
- https://gerrit.zephyrproject.org/r/9860 : net: mgmt: Decode event fields
- https://gerrit.zephyrproject.org/r/9837 : net: net_context: state setting is a value not individual bits
- https://gerrit.zephyrproject.org/r/9844 : net: ip: reword appdata debug message in packet_received
- https://gerrit.zephyrproject.org/r/9842 : net: ip: set context state to NET_CONTEXT_CONNECTED on synack success
- https://gerrit.zephyrproject.org/r/9841 : net: ip: set local address family during TCP connect
- https://gerrit.zephyrproject.org/r/9840 : net: ip: on synack copy local/remote data prior to net_tcp_register
- https://gerrit.zephyrproject.org/r/9839 : net: ipv6: fix NULL reference in handle_ra_neighbor
- https://gerrit.zephyrproject.org/r/9838 : net: tcp: replace seq/ack/wnd value shifts with system calls
- https://gerrit.zephyrproject.org/r/9849 : samples/mbedtls_dtlsclient: Using printk instead of printf
- https://gerrit.zephyrproject.org/r/9853 : samples/mbedtls_dtlsclient: Remove hardcoded IP adresses
- https://gerrit.zephyrproject.org/r/9852 : samples/mbedtls_dtlsclient: Change Readme files to rst format
- https://gerrit.zephyrproject.org/r/9851 : net: tcp: Don't leak net_conn_handles
- https://gerrit.zephyrproject.org/r/9850 : net: tcp: Signal EOF with a NULL buffer in the callback
- https://gerrit.zephyrproject.org/r/9856 : drivers: gpio: fix build error when stm32f1x/4x port F/G/H is selected
- https://gerrit.zephyrproject.org/r/9845 : samples: remove hack for building static libraries

UPDATED within last 24 hours:
- https://gerrit.zephyrproject.org/r/9802 : samples: basic: Move pwm driver samples
- https://gerrit.zephyrproject.org/r/7613 : soc/stm32: add initial support for STM32F3X series
- https://gerrit.zephyrproject.org/r/9325 : gpio/stm32: provide GPIO driver implementation for STM32F3X family
- https://gerrit.zephyrproject.org/r/7626 : flash/stm32: flash driver for STM32F3x series microcontrollers
- https://gerrit.zephyrproject.org/r/7615 : boards: add initial support for STM32373C-EVAL with SoC STM32F373VC
- https://gerrit.zephyrproject.org/r/9693 : pinmux/stm32: extend pinmux driver functionality to support STM32F3X series MCUs
- https://gerrit.zephyrproject.org/r/7614 : boards: add initial support for Nucleo-64 with Soc STM32F334
- https://gerrit.zephyrproject.org/r/7625 : exti/stm32: add support for F334 & F373 MCUs
- https://gerrit.zephyrproject.org/r/7623 : clock/stm32: add STM32F3X reset and clock control
- https://gerrit.zephyrproject.org/r/9701 : pinmux/stm32: default pin assignment for STM32373C-EVAL board
- https://gerrit.zephyrproject.org/r/9700 : pinmux/stm32: default pin assignment for NUCLEO-F334R8 board
- https://gerrit.zephyrproject.org/r/9699 : pinmux/stm32: default pin assignment for STM3210C-EVAL board
- https://gerrit.zephyrproject.org/r/9001 : counter: cmsdk: Add Timer 0 and 1 as Timers
- https://gerrit.zephyrproject.org/r/9036 : counter: cmsdk: Add Dualtimer as a Timer
- https://gerrit.zephyrproject.org/r/9002 : board: v2m_beetle: Update defconfig
- https://gerrit.zephyrproject.org/r/9031 : counter: cmsdk: Add DualTimer as Counter
- https://gerrit.zephyrproject.org/r/9000 : soc: arm: beetle: Add Timers IRQ map
- https://gerrit.zephyrproject.org/r/8759 : samples/drivers: Add Counters example
- https://gerrit.zephyrproject.org/r/9030 : counter: cmsdk: Add clock control to TMR Counters.
- https://gerrit.zephyrproject.org/r/9663 : Bluetooth: AVDTP: Add AVDTP Receive Function
- https://gerrit.zephyrproject.org/r/9446 : Bluetooth: AVDTP: Added params to AVDTP Request structure
- https://gerrit.zephyrproject.org/r/9460 : Bluetooth: AVDTP: Add AVDTP Discover Function Definition
- https://gerrit.zephyrproject.org/r/9373 : Bluetooth: AVDTP: Add AVDTP Discover API Prototype
- https://gerrit.zephyrproject.org/r/9822 : kernel: profiling: Expose an API call to analyze call stacks
- https://gerrit.zephyrproject.org/r/7104 : drivers: spi: Add nRF5 SPI slave driver
- https://gerrit.zephyrproject.org/r/6719 : Bluetooth: A2DP: Stream End Point Structure
- https://gerrit.zephyrproject.org/r/7492 : Bluetooth: A2DP: Added Preset Structure
- https://gerrit.zephyrproject.org/r/6720 : Bluetooth: A2DP: Stream End Point Registration
- https://gerrit.zephyrproject.org/r/9331 : Bluetooth: A2DP: Adds accept state callback handlers
- https://gerrit.zephyrproject.org/r/6717 : Bluetooth: A2DP: A2DP sink service record registration
- https://gerrit.zephyrproject.org/r/9371 : samples/mbedtls_dtlsclient: IPv6 client version
- https://gerrit.zephyrproject.org/r/9764 : samples/mbedtls_dtlsserver DTLS server example app using mbedTLS
- https://gerrit.zephyrproject.org/r/9653 : net: slip: Do not remove fragments when sending data
- https://gerrit.zephyrproject.org/r/9826 : pinmux/stm32l4: Add support for STM32L SPI1 and SPI3
- https://gerrit.zephyrproject.org/r/9827 : pinmux/nucleo_l476rg: Define pinmuxing for SPI1 and SPI3
- https://gerrit.zephyrproject.org/r/9816 : tests: Add PWM driver api test
- https://gerrit.zephyrproject.org/r/9463 : tests: kernel: added memory pool kconfig test
- https://gerrit.zephyrproject.org/r/9462 : tests: kernel: added memory pool concept test
- https://gerrit.zephyrproject.org/r/9464 : tests: kernel: added memory pool threadsafe test
- https://gerrit.zephyrproject.org/r/9461 : tests: kernel: added memory pool api test
- https://gerrit.zephyrproject.org/r/8711 : timer: added support for the riscv-qemu timer driver
- https://gerrit.zephyrproject.org/r/9722 : tests: legacy: kernel: context: account for riscv32 architecture
- https://gerrit.zephyrproject.org/r/9094 : tests: bitfield: exclude riscv since it is not supported
- https://gerrit.zephyrproject.org/r/7067 : timer: added timer driver for the pulpino SOC
- https://gerrit.zephyrproject.org/r/7064 : arch: added support for the riscv32 architecture
- https://gerrit.zephyrproject.org/r/7066 : unified: added _MOVE_INSTR for RISCV32 architecture
- https://gerrit.zephyrproject.org/r/9721 : tests: kernel: context: account for riscv32 architecture
- https://gerrit.zephyrproject.org/r/9723 : tests: kernel: threads_scheduling: increased stack size to 512 for riscv32 architecture
- https://gerrit.zephyrproject.org/r/8713 : boards: added support for the qemu_riscv32 board
- https://gerrit.zephyrproject.org/r/8710 : riscv32: added support for the riscv32-qemu soc
- https://gerrit.zephyrproject.org/r/8712 : serial: added support for the riscv-qemu UART driver
- https://gerrit.zephyrproject.org/r/7068 : boards: added support for the zedboard_pulpino board
- https://gerrit.zephyrproject.org/r/7065 : kernel: updated default IDLE_STACK_SIZE to 512 for RISCV32
- https://gerrit.zephyrproject.org/r/8960 : gpio: added support for the pulpino GPIO controller driver
- https://gerrit.zephyrproject.org/r/8709 : riscv32: added support for the pulpino soc
- https://gerrit.zephyrproject.org/r/7063 : scripts: added Makefile to handle an external riscv32 toolchain
- https://gerrit.zephyrproject.org/r/9720 : libc-hooks: added USED_RAM_SIZE and MAX_HEAP_SIZE definitions for riscv32
- https://gerrit.zephyrproject.org/r/7101 : drivers: spi: Add STM32f4 SPI driver
- https://gerrit.zephyrproject.org/r/9093 : sanitycheck: add support for risc v boards
- https://gerrit.zephyrproject.org/r/9091 : libc: add support for risc v
- https://gerrit.zephyrproject.org/r/9092 : sanitycheck: riscv: add vector to recognised sections
- https://gerrit.zephyrproject.org/r/9814 : arc: ICCM memory should have read-write-execute attributes
- https://gerrit.zephyrproject.org/r/9813 : arc: i-cache init moved much earlier

MERGED within last 24 hours:
- https://gerrit.zephyrproject.org/r/9872 : MAINTAINERS: Add missing path to the Bluetooth subsystem
- https://gerrit.zephyrproject.org/r/9848 : sanitycheck: properly identify when QEMU crashes out
- https://gerrit.zephyrproject.org/r/9832 : samples: net: Use mcux pinmux driver for frdm_k64f_cc2520 projects
- https://gerrit.zephyrproject.org/r/9834 : samples: net: Remove support for the k64 gpio driver
- https://gerrit.zephyrproject.org/r/9833 : pinmux: Remove the k64 pinmux driver
- https://gerrit.zephyrproject.org/r/9835 : frdm_k64f: hexiwear_k64: Remove defaults for the k64 gpio driver
- https://gerrit.zephyrproject.org/r/9847 : sanitycheck: don't explode if log data can't be read
- https://gerrit.zephyrproject.org/r/9836 : samples: apds9960: move under sensors and update docs
- https://gerrit.zephyrproject.org/r/9793 : gpio: Remove the k64 gpio driver
- https://gerrit.zephyrproject.org/r/9785 : k64: Move uart console pins to board pinmux tables
- https://gerrit.zephyrproject.org/r/9787 : hexiwear_k64: Fix i2c pinmux settings
- https://gerrit.zephyrproject.org/r/9792 : k64: Change the default gpio driver to the mcux one
- https://gerrit.zephyrproject.org/r/9789 : gpio: Introduce new mcux gpio driver
- https://gerrit.zephyrproject.org/r/9790 : frdm_k64f: hexiwear_k64: Add defaults for the mcux gpio driver
- https://gerrit.zephyrproject.org/r/9784 : pinmux: Init mcux pinmux driver in PRE_KERNEL_1
- https://gerrit.zephyrproject.org/r/9788 : frdm_k64f: hexiwear_k64: Fix accel interrupt pinmux settings
- https://gerrit.zephyrproject.org/r/9786 : k64: Remove port clock enables from the soc init
- https://gerrit.zephyrproject.org/r/9791 : samples: net: Add support for the mcux gpio driver
- https://gerrit.zephyrproject.org/r/9771 : build: move qemu definitions to boards
- https://gerrit.zephyrproject.org/r/9770 : build: use target 'debugserver' for Qemu debugging
- https://gerrit.zephyrproject.org/r/9772 : build: abstract emulation and replace qemu goal with run


Re: [net][question] 6LBR support

Ravi kumar Veeramally
 

Hi Richard,

Thanks for the information.

- Ravi.

On 01/10/2017 11:14 PM, Richard Peters wrote:
Hi Ravi,

I think 6LBRs are defined in this RFC:
https://tools.ietf.org/html/rfc6775

And this defines some additions:
https://tools.ietf.org/html/rfc7668

Regards,
Richard


Re: [net][question] 6LBR support

Oliver Hahm <oliver.hahm@...>
 

Hi!

On Tue, Jan 10, 2017 at 10:14:55PM +0100, Richard Peters wrote:
I think 6LBRs are defined in this RFC:
https://tools.ietf.org/html/rfc6775
There are implementations for RIOT, Contiki and Linux if you need something
for interop-testing.

Cheers,
Oleg


Re: [net][question] 6LBR support

Richard Peters <mail@...>
 

Hi Ravi,

I think 6LBRs are defined in this RFC:
https://tools.ietf.org/html/rfc6775

And this defines some additions:
https://tools.ietf.org/html/rfc7668

Regards,
Richard


Re: [net][question] 6LBR support

Richard Peters <mail@...>
 

ZEP-628 was not clear enough. We don't know exactly which
features need to be implemented. If you have something in mind
you can send patches.
i'am afraid i have no patches, but these routing and bridging
capabilities mentioned below
should be the main features of an 6LBR, i think.
These references could be helpful, to define features:
https://github.com/cetic/6lbr/wiki/6LBR-Modes
https://www.cetic.be/IMG/pdf/deru13redundant.pdf

BTW, two further questions:
- does Zephyr OS support NAT64?
- does Zephyr OS support 6in4 tunnels?
- This would be really helpful for IOT applications, too:
https://github.com/contiki-os/contiki/tree/master/core/net/ip64

It would be great to have this functionallity in a state of the art IOT
operating system like Zephyr OS :-)

does ZephyrOS implement functionallity for an 6LBR?
On one side of the 6LBR should be an ordinary IPv6 network, on the other
side an 6LoWPAN network with RPL routing.

If ZephyrOS supports acting as 6LBR, does it also implement the modes:
- routing between 6LoWPAN and IPv6 network with different prefixes
- bridging between 6LoWPAN and IPv6 network with same prefix
- transparent bridging between 6LoWPAN and IPv6 network,
in order to connect devices on the IPv6 side to the same DODAG root node
of the RPL instance in the 6LoWPAN?

I found this ticket:
https://jira.zephyrproject.org/browse/ZEP-628
is this related to that? It seems a liitle bit unclear.


Daily JIRA Digest

donotreply@...
 

NEW JIRA items within last 24 hours: 5
[ZEP-1546] Bug in Zephyr OS high-precision timings sub-system (function sys_cycle_get_32())
https://jira.zephyrproject.org/browse/ZEP-1546

[ZEP-1549] k_cpu_sleep_mode unaligned byte address
https://jira.zephyrproject.org/browse/ZEP-1549

[ZEP-1544] Arduino_101 doesn't response ipv6 ping request affer enable echo_server ipv6
https://jira.zephyrproject.org/browse/ZEP-1544

[ZEP-1545] AON Counter : ISR triggered twice on ARC
https://jira.zephyrproject.org/browse/ZEP-1545

[ZEP-1548] Python script invocation is inconsistent
https://jira.zephyrproject.org/browse/ZEP-1548


UPDATED JIRA items within last 24 hours: 33
[ZEP-1474] BLE Connection Parameter Request/Response Processing
https://jira.zephyrproject.org/browse/ZEP-1474

[ZEP-1103] Propose and implement synchronization flow for multicore power management
https://jira.zephyrproject.org/browse/ZEP-1103

[ZEP-799] HTTP over TLS
https://jira.zephyrproject.org/browse/ZEP-799

[ZEP-820] HTTP v1.1 Server Sample
https://jira.zephyrproject.org/browse/ZEP-820

[ZEP-827] HTTP Client sample application
https://jira.zephyrproject.org/browse/ZEP-827

[ZEP-749] TinyCrypt uses an old, unoptimized version of micro-ecc
https://jira.zephyrproject.org/browse/ZEP-749

[ZEP-873] DMA API Update
https://jira.zephyrproject.org/browse/ZEP-873

[ZEP-1024] GPIO API Update
https://jira.zephyrproject.org/browse/ZEP-1024

[ZEP-1242] audit unit tests for kernel object coverage
https://jira.zephyrproject.org/browse/ZEP-1242

[ZEP-628] Validate RPL Routing node support
https://jira.zephyrproject.org/browse/ZEP-628

[ZEP-800] DHCPv6
https://jira.zephyrproject.org/browse/ZEP-800

[ZEP-911] Refine thread priorities & locking
https://jira.zephyrproject.org/browse/ZEP-911

[ZEP-1394] Add ksdk gpio driver
https://jira.zephyrproject.org/browse/ZEP-1394

[ZEP-1177] Reduce Zephyr's Dependency on Host Tools
https://jira.zephyrproject.org/browse/ZEP-1177

[ZEP-1419] SYS_LOG macros cause potentially bad behavior due to printk/printf selection
https://jira.zephyrproject.org/browse/ZEP-1419

[ZEP-630] Features support matrix for supported boards
https://jira.zephyrproject.org/browse/ZEP-630

[ZEP-513] extern declarations of small microkernel objects in designated sections require __attribute__((section)) in gp-enabled systems
https://jira.zephyrproject.org/browse/ZEP-513

[ZEP-638] feature to consider: flag missing functionality at build time when possible
https://jira.zephyrproject.org/browse/ZEP-638

[ZEP-585] enable GCC link-time optimization
https://jira.zephyrproject.org/browse/ZEP-585

[ZEP-634] document IRQ handling internals
https://jira.zephyrproject.org/browse/ZEP-634

[ZEP-1165] support enums as IRQ line argument in IRQ_CONNECT()
https://jira.zephyrproject.org/browse/ZEP-1165

[ZEP-1374] Add ksdk spi shim driver
https://jira.zephyrproject.org/browse/ZEP-1374

[ZEP-932] Adapt kernel sample & test projects
https://jira.zephyrproject.org/browse/ZEP-932

[ZEP-618] clearly document internal nanokernel interfaces
https://jira.zephyrproject.org/browse/ZEP-618

[ZEP-915] O(1) pend queue support
https://jira.zephyrproject.org/browse/ZEP-915

[ZEP-719] Add ksdk uart shim driver
https://jira.zephyrproject.org/browse/ZEP-719

[ZEP-781] Streamline GPIO, Pinmux driver API
https://jira.zephyrproject.org/browse/ZEP-781

[ZEP-958] simplify pinmux interface and merge the pinmux_dev into one single API
https://jira.zephyrproject.org/browse/ZEP-958

[ZEP-1414] implement _tsc_read for all architectures
https://jira.zephyrproject.org/browse/ZEP-1414

[ZEP-21] BT 4.2 Controller-based link-layer privacy
https://jira.zephyrproject.org/browse/ZEP-21

[ZEP-1032] IPSP router role support
https://jira.zephyrproject.org/browse/ZEP-1032

[ZEP-759] Add preliminary support for Atmel SAM E70 (Cortex-M7) chipset family and SAM E70 Xplained board
https://jira.zephyrproject.org/browse/ZEP-759

[ZEP-1347] sys_bitfield_*() take unsigned long* vs memaddr_t
https://jira.zephyrproject.org/browse/ZEP-1347


CLOSED JIRA items within last 24 hours: 10
[ZEP-591] (Fixed) MQTT Port to New IP Stack
https://jira.zephyrproject.org/browse/ZEP-591

[ZEP-1230] (Fixed) Optimize interrupt return code on ARC.
https://jira.zephyrproject.org/browse/ZEP-1230

[ZEP-1547] (Fixed) Add support for H7 crypto function and CT2 SMP auth flag
https://jira.zephyrproject.org/browse/ZEP-1547

[ZEP-365] (Fixed) Zephyr's MQTT library
https://jira.zephyrproject.org/browse/ZEP-365

[ZEP-1501] (Done) Where to find Auto-PTS source code
https://jira.zephyrproject.org/browse/ZEP-1501

[ZEP-1533] (Won't Do) Some redirected output is note preserved on verify job
https://jira.zephyrproject.org/browse/ZEP-1533

[ZEP-1437] (Fixed) AIO: Fail to retrieve pending interrupt in ISR
https://jira.zephyrproject.org/browse/ZEP-1437

[ZEP-1514] (Fixed) samples/bluetooth/ipsp build fail: net/ip_buf.h No such file or directory
https://jira.zephyrproject.org/browse/ZEP-1514

[ZEP-1525] (Fixed) driver: gpio: GPIO driver still uses nano_timer
https://jira.zephyrproject.org/browse/ZEP-1525

[ZEP-905] (Cannot Reproduce) hello_world compilation for arduino_due target fails when using CROSS_COMPILE
https://jira.zephyrproject.org/browse/ZEP-905


RESOLVED JIRA items within last 24 hours: 0


Daily Gerrit Digest

donotreply@...
 

NEW within last 24 hours:
- https://gerrit.zephyrproject.org/r/9830 : Bluetooth: Kconfig: Specify stack size for Bluetooth SPI
- https://gerrit.zephyrproject.org/r/9829 : Bluetooth: samples/beacon: Print message at start of sample
- https://gerrit.zephyrproject.org/r/9826 : pinmux/stm32l4: Add support for STM32L SPI1 and SPI3
- https://gerrit.zephyrproject.org/r/9828 : Bluetooth: Add HCI SPI driver
- https://gerrit.zephyrproject.org/r/9827 : pinmux/nucleo_l476rg: Define pinmuxing for SPI1 and SPI3
- https://gerrit.zephyrproject.org/r/9825 : shell: add stacks command
- https://gerrit.zephyrproject.org/r/9824 : shell: add tasks command to kernel module
- https://gerrit.zephyrproject.org/r/9822 : kernel: profiling: Expose an API call to analyze call stacks
- https://gerrit.zephyrproject.org/r/9813 : arc: i-cache init moved much earlier
- https://gerrit.zephyrproject.org/r/9814 : arc: ICCM memory should have read-write-execute attributes
- https://gerrit.zephyrproject.org/r/9808 : drivers: ieee802154: add configuration for MCR20A driver
- https://gerrit.zephyrproject.org/r/9809 : samples: ieee802154: add test for mcr20a
- https://gerrit.zephyrproject.org/r/9815 : test: tickless can run on all targets
- https://gerrit.zephyrproject.org/r/9821 : shell: use modules' own help functions if have already defined
- https://gerrit.zephyrproject.org/r/9820 : tests: add zephyr adc driver api test case
- https://gerrit.zephyrproject.org/r/9805 : ext: ksdk: add MCR20Overwrites.h
- https://gerrit.zephyrproject.org/r/9806 : boards: frdm_k64f: add pinmux settings for MCR20A
- https://gerrit.zephyrproject.org/r/9807 : drivers: ieee802154: add MCR20A driver
- https://gerrit.zephyrproject.org/r/9818 : tests: add zephyr i2c driver api test
- https://gerrit.zephyrproject.org/r/9816 : tests: Add PWM driver api test

UPDATED within last 24 hours:
- https://gerrit.zephyrproject.org/r/9772 : build: abstract emulation and replace qemu goal with run
- https://gerrit.zephyrproject.org/r/9699 : pinmux/stm32: default pin assignment for STM3210C-EVAL board
- https://gerrit.zephyrproject.org/r/9701 : pinmux/stm32: default pin assignment for STM32373C-EVAL board
- https://gerrit.zephyrproject.org/r/9700 : pinmux/stm32: default pin assignment for NUCLEO-F334R8 board
- https://gerrit.zephyrproject.org/r/9325 : gpio/stm32: provide GPIO driver implementation for STM32F3X family
- https://gerrit.zephyrproject.org/r/7615 : boards: add initial support for STM32373C-EVAL with SoC STM32F373VC
- https://gerrit.zephyrproject.org/r/9693 : pinmux/stm32: extend pinmux driver functionality to support STM32F3X series MCUs
- https://gerrit.zephyrproject.org/r/7614 : boards: add initial support for Nucleo-64 with Soc STM32F334
- https://gerrit.zephyrproject.org/r/7625 : exti/stm32: add support for F334 & F373 MCUs
- https://gerrit.zephyrproject.org/r/7623 : clock/stm32: add STM32F3X reset and clock control
- https://gerrit.zephyrproject.org/r/7626 : flash/stm32: flash driver for STM32F3x series microcontrollers
- https://gerrit.zephyrproject.org/r/9638 : Bluetooth: HFP HF: Handle +CIEV reponse
- https://gerrit.zephyrproject.org/r/9637 : Bluetooth: AT: HFP HF: Handle unsolicited reponse
- https://gerrit.zephyrproject.org/r/9797 : Bluetooth: AT: Rename enum at_cmd_type elements
- https://gerrit.zephyrproject.org/r/7613 : soc/stm32: add initial support for STM32F3X series
- https://gerrit.zephyrproject.org/r/9653 : net: slip: Do not remove fragments when sending data
- https://gerrit.zephyrproject.org/r/9678 : http: add server sample
- https://gerrit.zephyrproject.org/r/9764 : samples/mbedtls_dtlsserver DTLS server example app using mbedTLS
- https://gerrit.zephyrproject.org/r/9462 : tests: kernel: added memory pool concept test
- https://gerrit.zephyrproject.org/r/9461 : tests: kernel: added memory pool api test
- https://gerrit.zephyrproject.org/r/9762 : RFC: CI: rearchitect with a framework that orchestrates running
- https://gerrit.zephyrproject.org/r/9356 : quark_se: PM: Add multicore support
- https://gerrit.zephyrproject.org/r/9477 : daily: clear up daily email
- https://gerrit.zephyrproject.org/r/9773 : Revert "[REVERTME]boards: omit frame pointer for ARC boards"
- https://gerrit.zephyrproject.org/r/4871 : util.h: Add DEFINED() macro for expresion-legal ifdef-checking
- https://gerrit.zephyrproject.org/r/9354 : samples: task_profiler: Be explicit about python
- https://gerrit.zephyrproject.org/r/7738 : RFC: Add device tree support for ARM platforms
- https://gerrit.zephyrproject.org/r/9353 : scripts: Explicitly call out python2
- https://gerrit.zephyrproject.org/r/9802 : samples: basic: Move pwm driver samples
- https://gerrit.zephyrproject.org/r/9771 : build: move qemu definitions to boards
- https://gerrit.zephyrproject.org/r/9793 : gpio: Deprecate the k64 gpio driver
- https://gerrit.zephyrproject.org/r/9790 : frdm_k64f: hexiwear_k64: Add defaults for the mcux gpio driver
- https://gerrit.zephyrproject.org/r/9770 : build: use target 'debugserver' for Qemu debugging
- https://gerrit.zephyrproject.org/r/9710 : Bluetooth: SDP: Add SDP client interface to BTshell app
- https://gerrit.zephyrproject.org/r/9709 : Bluetooth: SDP: Add API to extract Attribute Value
- https://gerrit.zephyrproject.org/r/9792 : k64: Change the default gpio driver to the mcux one
- https://gerrit.zephyrproject.org/r/9791 : samples: net: Add support for the mcux gpio driver
- https://gerrit.zephyrproject.org/r/9788 : frdm_k64f: hexiwear_k64: Fix accel interrupt pinmux settings
- https://gerrit.zephyrproject.org/r/9787 : hexiwear_k64: Fix i2c pinmux settings

MERGED within last 24 hours:
- https://gerrit.zephyrproject.org/r/9831 : samples: ieee802154: rename cc2520 to hw
- https://gerrit.zephyrproject.org/r/9823 : ieee802154: conf: add common log level
- https://gerrit.zephyrproject.org/r/9819 : Bluetooth: hci_uart: Remove redundant idle & ISR stack size values
- https://gerrit.zephyrproject.org/r/9811 : samples/tests: reduce ram & code size for failing tests on nRF5x boards
- https://gerrit.zephyrproject.org/r/9812 : Bluetooth: remove arduino_101_ble from test_controller_dbg
- https://gerrit.zephyrproject.org/r/9810 : arm: nordic_nrf5: Cleanup Kconfig dependencies for timer and clocks
- https://gerrit.zephyrproject.org/r/9804 : doc: fix documentation target and instructions
- https://gerrit.zephyrproject.org/r/9774 : samples/net: Update DNS client README file to RST format
- https://gerrit.zephyrproject.org/r/9778 : samples/net: Update the zperf/README.rst file
- https://gerrit.zephyrproject.org/r/9777 : samples/net: Rename prj conf files to avoid breaking the build
- https://gerrit.zephyrproject.org/r/9776 : samples/net: Update zperf Makefile
- https://gerrit.zephyrproject.org/r/9775 : samples/net: Update DNS logging info
- https://gerrit.zephyrproject.org/r/9765 : samples/net: Remove legacy reference in Makefile
- https://gerrit.zephyrproject.org/r/9799 : Bluetooth: Controller: Rename hci_le_rand to bt_rand
- https://gerrit.zephyrproject.org/r/9703 : boards: prepare for integration of board documentation
- https://gerrit.zephyrproject.org/r/9706 : boards: add quark_d2000_crb documentation
- https://gerrit.zephyrproject.org/r/9795 : arch: arm: Use smaller ISR stack size for 16k nRF51 SoCs
- https://gerrit.zephyrproject.org/r/9488 : kernel/arch: optimize memory use of some thread fields
- https://gerrit.zephyrproject.org/r/9489 : kernel/arch: inspect prio/sched_locked together for preemptibility
- https://gerrit.zephyrproject.org/r/9794 : filesystem: add mkdir shell command
- https://gerrit.zephyrproject.org/r/9767 : kernel: add LEGACY_KERNEL option
- https://gerrit.zephyrproject.org/r/9801 : samples: disco: fix links to boards in README


Re: "/samples/net/coap_server" example is not working on "nrf52_pca10040" board

Ravi kumar Veeramally
 

Hi Raju,

Current Zephyr upstream doesn't have coap_server. Now we have
zoap_server and zoap_client.

I tried copying prj_bt.conf from echo_server and built zoap_client with
following command.

make BOARD=nrf52_pca10040 CONF_FILE=prj_bt.conf

- Ravi.

On 12/24/2016 08:07 PM, Appala Raju wrote:
Build command is as follows
make BOARD=nrf52_pca10040 NET_IFACE=bt


Re: "/samples/net/coap_server" example is not working on "nrf52_pca10040" board

Tomasz Bursztyka
 

Hi,

As Zephyr supports nRF52xx board, I have build and flashed "/samples/net/coap_server" example
There is no coap_server anymore. Which version of Zephyr are you working on?

Tomasz


Re: "/samples/net/coap_server" example is not working on "nrf52_pca10040" board

Appala Raju <raju.ga@...>
 

Can Any one help me on this...

Thanks,
Raju


Re: [net][question] 6LBR support

Ravi kumar Veeramally
 

Hello Richard,

ZEP-628 was not clear enough. We don't know exactly which
features need to be implemented. If you have something in mind
you can send patches.

- Ravi.

On 01/10/2017 12:57 PM, Richard Peters wrote:
Hi Community,

does ZephyrOS implement functionallity for an 6LBR?
On one side of the 6LBR should be an ordinary IPv6 network, on the other
side an 6LoWPAN network with RPL routing.

If ZephyrOS supports acting as 6LBR, does it also implement the modes:
- routing between 6LoWPAN and IPv6 network with different prefixes
- bridging between 6LoWPAN and IPv6 network with same prefix
- transparent bridging between 6LoWPAN and IPv6 network,
in order to connect devices on the IPv6 side to the same DODAG root node
of the RPL instance in the 6LoWPAN?

I found this ticket:
https://jira.zephyrproject.org/browse/ZEP-628
is this related to that? It seems a liitle bit unclear.

Thank you,
Richard


[net][question] 6LBR support

Richard Peters <mail@...>
 

Hi Community,

does ZephyrOS implement functionallity for an 6LBR?
On one side of the 6LBR should be an ordinary IPv6 network, on the other
side an 6LoWPAN network with RPL routing.

If ZephyrOS supports acting as 6LBR, does it also implement the modes:
- routing between 6LoWPAN and IPv6 network with different prefixes
- bridging between 6LoWPAN and IPv6 network with same prefix
- transparent bridging between 6LoWPAN and IPv6 network,
in order to connect devices on the IPv6 side to the same DODAG root node
of the RPL instance in the 6LoWPAN?

I found this ticket:
https://jira.zephyrproject.org/browse/ZEP-628
is this related to that? It seems a liitle bit unclear.

Thank you,
Richard


[net][question] 6LBR support

Richard Peters <peters@...>
 

Hi Community,

does ZephyrOS implement functionallity for an 6LBR?
On one side of the 6LBR should be an ordinary IPv6 network, on the other
side an 6LoWPAN network with RPL routing.

If ZephyrOS supports acting as 6LBR, does it also implement the modes:
- routing between 6LoWPAN and IPv6 network with different prefixes
- bridging between 6LoWPAN and IPv6 network with same prefix
- transparent bridging between 6LoWPAN and IPv6 network,
in order to connect devices on the IPv6 side to the same DODAG root node
of the RPL instance in the 6LoWPAN?

I found this ticket:
https://jira.zephyrproject.org/browse/ZEP-628?jql=text%20~%20%22RPL%22
is this related to that? It seems a liitle bit unclear.

Thank you,
Richard


Re: Reg: Task state read function in zephyr ?

Benjamin Walsh <benjamin.walsh@...>
 

Hi Mahendra,

Is there any function in Zephyr rtos to know about the Task state ?

Ex: Before suspending a task , check using task state whether the task
is started or not and then suspend the task.

I know we can handle this using some flag.. But need to know any
function call is available in zephyr for this task state.
Not currently, you can ask for an enhancement that does this, or
contribute it yourself if you need it.

However, what is the use case ? If the thread has been spawned but has
not run yet, or if you start it with a timeout, and the timeout has not
expired yet, and you suspend the thread, there should not be any
problem. The 'suspend' state is just a bit in a set of thread states,
and multiple ones can exist concurrently.


Cheers,
Ben

--
Benjamin Walsh, SMTS
Wind River Rocket
www.windriver.com
Zephyr kernel maintainer
www.zephyrproject.org


Re: MIPS support

Benjamin Walsh <benjamin.walsh@...>
 

HI Marcio,

Is there MIPS support available (or planned)?
Sorry for the late reply, and someone correct me if I'm wrong, but AFAIK, no.

Cheers,
Ben

--
Benjamin Walsh, SMTS
Wind River Rocket
www.windriver.com
Zephyr kernel maintainer
www.zephyrproject.org


Daily JIRA Digest

donotreply@...
 

NEW JIRA items within last 24 hours: 2
[ZEP-1543] HTTP Server sample with basic authentication
https://jira.zephyrproject.org/browse/ZEP-1543

[ZEP-1542] Multi Sessions HTTP Server sample
https://jira.zephyrproject.org/browse/ZEP-1542


UPDATED JIRA items within last 24 hours: 8
[ZEP-827] HTTP Client sample application
https://jira.zephyrproject.org/browse/ZEP-827

[ZEP-1483] H:4 HCI driver (h4.c) should rely on UART flow control to avoid dropping packets
https://jira.zephyrproject.org/browse/ZEP-1483

[ZEP-293] Reduce Kconfig variables in sensor drivers
https://jira.zephyrproject.org/browse/ZEP-293

[ZEP-1394] Add ksdk gpio driver
https://jira.zephyrproject.org/browse/ZEP-1394

[ZEP-1358] BMI160 accelerometer gives 0 on all axes
https://jira.zephyrproject.org/browse/ZEP-1358

[ZEP-1325] Eliminate NANOKERNEL_TICKLESS_IDLE_SUPPORTED option
https://jira.zephyrproject.org/browse/ZEP-1325

[ZEP-1512] doc-theme has its own conf.py
https://jira.zephyrproject.org/browse/ZEP-1512

[ZEP-1443] Samples/net/zperf: Build fail as net_private.h can not be founld
https://jira.zephyrproject.org/browse/ZEP-1443


CLOSED JIRA items within last 24 hours: 4
[ZEP-295] (Won't Do) Consolidate and simplify GPIO driver configuration options
https://jira.zephyrproject.org/browse/ZEP-295

[ZEP-1337] (Fixed) Relocate event logger files
https://jira.zephyrproject.org/browse/ZEP-1337

[ZEP-1070] (Won't Do) missing header file to list hpet timer registers
https://jira.zephyrproject.org/browse/ZEP-1070

[ZEP-905] (Cannot Reproduce) hello_world compilation for arduino_due target fails when using CROSS_COMPILE
https://jira.zephyrproject.org/browse/ZEP-905


RESOLVED JIRA items within last 24 hours: 0


Daily Gerrit Digest

donotreply@...
 

NEW within last 24 hours:
- https://gerrit.zephyrproject.org/r/9788 : frdm_k64f: hexiwear_k64: Fix accel interrupt pinmux settings
- https://gerrit.zephyrproject.org/r/9787 : hexiwear_k64: Fix i2c pinmux settings
- https://gerrit.zephyrproject.org/r/9786 : k64: Enable port clocks only if using legacy k64 pinmux driver
- https://gerrit.zephyrproject.org/r/9784 : pinmux: Init k64 and mcux pinmuxes in PRE_KERNEL_1
- https://gerrit.zephyrproject.org/r/9785 : pinmux: k64: Move uart console pins to board pinmux tables
- https://gerrit.zephyrproject.org/r/9802 : samples: basic: Move pwm driver samples
- https://gerrit.zephyrproject.org/r/9801 : samples: disco: fix links to boards in README
- https://gerrit.zephyrproject.org/r/9799 : Bluetooth: Controller: Rename hci_le_rand to bt_rand
- https://gerrit.zephyrproject.org/r/9797 : Bluetooth: AT: Rename enum at_cmd_type elements
- https://gerrit.zephyrproject.org/r/9795 : arch: arm: Use smaller ISR stack size for 16k nRF51 SoCs
- https://gerrit.zephyrproject.org/r/9792 : k64: Change the default gpio driver to the mcux one
- https://gerrit.zephyrproject.org/r/9789 : gpio: Introduce new mcux gpio driver
- https://gerrit.zephyrproject.org/r/9791 : samples: net: Add support for the mcux gpio driver
- https://gerrit.zephyrproject.org/r/9794 : filesystem: add mkdir shell command
- https://gerrit.zephyrproject.org/r/9790 : frdm_k64f: hexiwear_k64: Add defaults for the mcux gpio driver
- https://gerrit.zephyrproject.org/r/9793 : gpio: Deprecate the k64 gpio driver
- https://gerrit.zephyrproject.org/r/9782 : shell: rename command 'set_module' to 'select'

UPDATED within last 24 hours:
- https://gerrit.zephyrproject.org/r/9709 : Bluetooth: SDP: Add API to extract Attribute Value
- https://gerrit.zephyrproject.org/r/9710 : Bluetooth: SDP: Add SDP client interface to BTshell app
- https://gerrit.zephyrproject.org/r/9439 : tests: add timer test case with unified kernel
- https://gerrit.zephyrproject.org/r/9762 : RFC: CI: rearchitect with a framework that orchestrates running
- https://gerrit.zephyrproject.org/r/9772 : build: abstract emulation and replace qemu goal with run
- https://gerrit.zephyrproject.org/r/9771 : build: move qemu definitions to boards
- https://gerrit.zephyrproject.org/r/9770 : build: use target 'debugserver' for Qemu debugging
- https://gerrit.zephyrproject.org/r/9692 : doc: Include main Network APIs doxygen documentation
- https://gerrit.zephyrproject.org/r/9460 : Bluetooth: AVDTP: Add AVDTP Discover Function Definition
- https://gerrit.zephyrproject.org/r/9693 : pinmux/stm32: extend pinmux driver functionality to support STM32F3X series MCUs
- https://gerrit.zephyrproject.org/r/9325 : gpio/stm32: provide GPIO driver implementation for STM32F3X family
- https://gerrit.zephyrproject.org/r/9701 : pinmux/stm32: default pin assignment for STM32373C-EVAL board
- https://gerrit.zephyrproject.org/r/9700 : pinmux/stm32: default pin assignment for NUCLEO-F334R8 board
- https://gerrit.zephyrproject.org/r/9699 : pinmux/stm32: default pin assignment for STM3210C-EVAL board
- https://gerrit.zephyrproject.org/r/9702 : arch: Fix support for Cortex-M7 processor
- https://gerrit.zephyrproject.org/r/9638 : Bluetooth: HFP HF: Handle +CIEV reponse
- https://gerrit.zephyrproject.org/r/9637 : Bluetooth: AT: HFP HF: Handle unsolicited reponse
- https://gerrit.zephyrproject.org/r/9446 : Bluetooth: AVDTP: Added pointer to Pending Request
- https://gerrit.zephyrproject.org/r/9373 : Bluetooth: AVDTP: Add AVDTP Discover API Prototype
- https://gerrit.zephyrproject.org/r/9663 : Bluetooth: AVDTP: Add AVDTP Receive Function
- https://gerrit.zephyrproject.org/r/7614 : boards: add initial support for Nucleo-64 with Soc STM32F334
- https://gerrit.zephyrproject.org/r/7625 : exti/stm32: add support for F334 & F373 MCUs
- https://gerrit.zephyrproject.org/r/7613 : soc/stm32: add initial support for STM32F3X series
- https://gerrit.zephyrproject.org/r/7623 : clock/stm32: add STM32F3X reset and clock control
- https://gerrit.zephyrproject.org/r/7626 : flash/stm32: flash driver for STM32F3x series microcontrollers
- https://gerrit.zephyrproject.org/r/7615 : boards: add initial support for STM32373C-EVAL with SoC STM32F373VC
- https://gerrit.zephyrproject.org/r/9778 : samples/net: Update the zperf/README.rst file
- https://gerrit.zephyrproject.org/r/9777 : samples/net: Rename prj conf files to avoid breaking the build
- https://gerrit.zephyrproject.org/r/9776 : samples/net: Update zperf Makefile
- https://gerrit.zephyrproject.org/r/9775 : samples/net: Update DNS logging info
- https://gerrit.zephyrproject.org/r/9764 : samples/mbedtls_dtlsserver DTLS server example app using mbedTLS
- https://gerrit.zephyrproject.org/r/9371 : samples/mbedtls_dtlsclient: IPv6 client version
- https://gerrit.zephyrproject.org/r/9765 : samples/net: Remove legacy reference in Makefile
- https://gerrit.zephyrproject.org/r/9706 : boards: add quark_d2000_crb documentation
- https://gerrit.zephyrproject.org/r/9703 : boards: prepare for integration of board documentation
- https://gerrit.zephyrproject.org/r/9774 : samples/net: Update DNS client README file to RST format
- https://gerrit.zephyrproject.org/r/9767 : kernel: add LEGACY_KERNEL option

MERGED within last 24 hours:
- https://gerrit.zephyrproject.org/r/9783 : filesystem: fix dependency on shell
- https://gerrit.zephyrproject.org/r/9798 : Bluetooth: Use the controller bt_rand() whenever possible
- https://gerrit.zephyrproject.org/r/9781 : trivial: fix typo
- https://gerrit.zephyrproject.org/r/9769 : Bluetooth: Consolidate most outgoing ACL TX buffers into a single pool
- https://gerrit.zephyrproject.org/r/9724 : Bluetooth: ATT: Fix redundant sys_slist call
- https://gerrit.zephyrproject.org/r/9725 : gcc (ARC): Prevent stores to the frame before the stack adjustment.
- https://gerrit.zephyrproject.org/r/8930 : subsys: disk: Refactor disk_access stuff into a directory
- https://gerrit.zephyrproject.org/r/9766 : kernel: remove dependency on CONFIG_NANO_TIMERS/TIMEOUTS
- https://gerrit.zephyrproject.org/r/9664 : sensor: Fix samples that assume incorrect sensor_value type.


Re: Zephyr with qemu support

Daniel Thompson <daniel.thompson@...>
 

On 09/01/17 09:00, Siddalingesh Koosalapur wrote:
Hi all,

I am beginner for zephyr project, I want to run zephyr for
cortex-m3/m4 platform. I am not finding the clean steps on how to
configure and what are all needed.

Could you please support/help me on this at the earliest.

I am using QEMU -- QEMU emulator version 2.8.50
(v2.8.0-1-g82ecffa-dirty) and zephyr-sdk-0.8.2-i686-setup.run
Assuming you've got ZEPHYR_GCC_VARIANT and ZEPHYR_SDK_INSTALL_DIR set it
should just be:

. zephyr-env.sh
cd samples/hello_world
make qemu BOARD=qemu_cortex_m3


Daniel.

5861 - 5880 of 8045