Ensure all RST files only ever belong to one single toctree by means of
cleaning up existing in globs used in nested folders.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Main sample category page for CANbus contained "old" toctree alongside
zephyr:code-sample-category, causing doc build warning due to documents
belonging to multiple toctrees.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Ensure all RST files only ever belong to one single toctree by means of
cleaning up existing in globs used in nested folders.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
There are a few board overlay files with identical lines describing the
flash disk. Move these lines to a separate overlay file that could be
used for any board with a large enough storage partition. Update the
documentation accordingly.
Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
Increase stack size as support for SHA512 requires more data.
Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
Product photo from https://learn.adafruit.com/assets/137463
with the license CC BY-SA 3.0
Tested with the command mentioned in the index.rst page.
Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
Product photo from https://learn.adafruit.com/assets/91687
with the licence CC BY 3.0
Tested with the command mentioned on the index.rst page.
Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
Product photo from https://learn.adafruit.com/assets/87727
with the license CC BY-SA 3.0
Tested with the command mentioned in the index.rst page.
Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
Product photo from https://learn.adafruit.com/assets/89850
Tested with the command mentioned on the index.rst page.
Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
Product photo from https://learn.adafruit.com/assets/123033
with license CC BY-SA 3.0.
Tested with the command mentioned on the index.rst page.
Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
Product photo from https://learn.adafruit.com/assets/78982
with license CC BY-SA 3.0
Tested with command mentioned in the index.rst page.
Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
Product photo from https://learn.adafruit.com/assets/87051
with the license CC BY-SA 3.0
Tested with the command mentioned in the index.rst page.
Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
Add configuration overlay file to support observer sample
with Extended Scanning on BBC Micro Bit board.
Due to slow CPU, there will be assertions, and this commit
(for now) validates build-only. And the sample may run for
a duration until it asserts.
Asserts:
- ASSERTION FAIL [start_us == (aux_start_us + 1U)]
@ WEST_TOPDIR/zephyr/subsys/bluetooth/controller/ll_sw/
nordic/lll/lll_scan_aux.c:359
This will happen for small aux offset value, definitely
for the 300 us because CPU usage latency to setup such
auxiliary PDU reception on nRF51 is high due to slow CPU.
- ASSERTION FAIL [0]
@ WEST_TOPDIR/zephyr/subsys/bluetooth/controller/ll_sw/
nordic/lll/lll_scan_aux.c:592
prepare_cb: Actual EVENT_OVERHEAD_START_US = 579
This will happen due to CPU usage latencies scheduling
the radio events, due to slow CPU.
Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
The product photo is from https://learn.adafruit.com/assets/88773
with license CC BY-SA 3.0
Tested with the command mentioned on the index.rst page.
Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
Product photo from https://learn.adafruit.com/assets/122966
with license CC BY-SA 3.0
Tested with the command mentioned in the index.rst page.
Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
Product photo from https://learn.adafruit.com/assets/102984
with the license CC BY-SA 3.0
Tested with the command mentioned on the index.rst page.
Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
Product photo from https://learn.adafruit.com/assets/104390
which has the license CC BY-SA 3.0
Tested with the command mentioned in the index.rst file.
Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
There is a "native" RTC driver for DS3231 now (maxim,ds3231-rtc, one of
the multiple functions implemented as MFD) so do all we can to
discourage the use of the legacy, counter-API based, driver.
Flag the compatible as deprecated.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Tested with the command mentioned on the index.rst page.
The product photo is from https://learn.adafruit.com/assets/95227
with the license CC BY-SA 3.0
Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
The Adafruit ESP32 Feather V2 is a board that uses the Feather standard
layout. It uses an ESP32-PICO v3 02 module, and includes a USB-C
connector, LiPo battery charger, NeoPixel RGB LED, and STEMMA QT
connector.
Signed-off-by: Lena Voytek <lena@voytek.dev>
Add a testcase to execute the samples/drivers/spi_flash on
stm32 disco kits where the external flash is accessible
in memory mapped mode : CONFIG_STM32_MEMMAP=y.
In this testcase condition, the DMA transfer is not used but memcopy.
limit to "st,stm32-Xspi-nor" compatible only.
Signed-off-by: Francois Ramu <francois.ramu@st.com>
Add more apsta_mode configurations for frdm_rw612
and rd_rw612_bga.
Add overlay file to set apsta_mode configurations.
Signed-off-by: Qiankun Li <qiankun.li@nxp.com>
Introduce a dedicated Kconfig option for apsta_mode example to
allow more flexible configuration in the application layer.
This change helps make apsta_mode more generic and easier to
integrate across different vendor platforms.
Add compile-time assertions for the following macros:
CONFIG_WIFI_SAMPLE_AP_SSID
CONFIG_WIFI_SAMPLE_SSID
CONFIG_WIFI_SAMPLE_AP_IP_ADDRESS
CONFIG_WIFI_SAMPLE_AP_NETMASK
Default to empty string ("") if the following
two macros are not defined:
CONFIG_WIFI_SAMPLE_AP_PSK
CONFIG_WIFI_SAMPLE_PSK
Signed-off-by: Qiankun Li <qiankun.li@nxp.com>
There are 14 TIMG and 2 TIMA, all which can be either a counter or a pwm,
so let's fix the names to avoid ambiguity and enforce uniqueness.
Rule applied here being:
tim<g/a><n>: tim<g/a><n>@<address> {
...
counter<g/a><n>: counter<g/a><n> {
...
};
pwm<g/a><n>: pwm<g/a><n> {
...
};
};
It will be much easier then once get the 16 timer nodes included.
Signed-off-by: Tomasz Bursztyka <tobu@bang-olufsen.dk>
Refactors the TX of the unicast server. This commit effectively
copies the TX approach of the unicast client sample, to make
the sample more similar.
This changes the TX to be based on the number of complete
packets event (which results in free'ing the buffer), instead of
a timer. This completely ensures that we do not skip any sequence
numbers which may be rejected by the controller.
Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
The sample output is not rendered properly, as can be seen on
https://docs.zephyrproject.org/latest/samples/sensor/pressure_polling/README.html
Adjust the formatting so that the code block is rendered properly.
The text "## Default configuration" does not appear in the sample output.
Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
Add configuration options CONFIG_I2C_RTIO_LOOPBACK_DATA_READ_MAX_SIZE
and CONFIG_I2C_RTIO_LOOPBACK_DATA_WRITE_MAX_SIZE to set the number
of bytes exchanged during I2C transfers in I2C driver rtio_loopback
sample.
Add also a bit of verbosity when exchanged data are corrupted.
Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
Replace hard-wired constant "2" with CONFIG_I2S_INIT_BUFFERS in the loop
where audio data is read and written.
Signed-off-by: Vit Stanicek <vit.stanicek@nxp.com>
Modify DMIC channel mapping (req_chan_map_lo) to account for physical
1:1 mapping between logical channel numbers and physical channel space.
Signed-off-by: Vit Stanicek <vit.stanicek@nxp.com>
Reorganise Kconfig fragments (prj.conf, boards/*.conf). Rename
mimxrt1170_evk@B/mimxrt1176/cm7 fragments to
mimxrt1170_evk/mimxrt1176/cm7. Change Kconfig defaults for SAMPLE_RATE
and I2S_INIT_BUFFER.
This change is meant to reduce the length of target-specific
configuration, as some of the settings are duplicated across targets.
Also, with the inclusion of the sine wave vector, the default sample
rate of this sample changed to 16 kHz.
Signed-off-by: Vit Stanicek <vit.stanicek@nxp.com>
Use BLOCK_SIZE instead of the test 16 kHz sine wave length. Add a build
check so that BLOCK_SIZE doesn't overflow the test sine wave buffer.
This accounts for situations where the sample queue can't be big enough,
mainly when it doesn't fit in the device's SRAM and the count of samples
queued will be less. As the test sine wave vector contains ~42 periods,
it can be truncated.
Signed-off-by: Vit Stanicek <vit.stanicek@nxp.com>
Move mem_slab (audio queue) to an uncached region with __nocache.
On platforms with data cache (such as platforms with the Cortex M7
core), it's desirable to have the audio data in an uncached region, so
that all data is committed in the selected location before DMA transfers
are triggered.
Playback problems observed on mimxrt1170_evk/mimxrt1176/cm7 before this
was done.
Signed-off-by: Vit Stanicek <vit.stanicek@nxp.com>
Add Kconfig symbol USE_CODEC_CLOCK. Modify configuration for supported
boards.
This change enables to adjust the position of both the codec and I2S
peripheral on the I2S bus.
Signed-off-by: Vit Stanicek <vit.stanicek@nxp.com>