Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

My fork/bouffalo zephyr (updated zephyr and added new board) #2

Closed
wants to merge 10,000 commits into from

Conversation

VynDragon
Copy link

@VynDragon VynDragon commented Jan 15, 2024

Code quality is probably low for the bits i modified, and i think i messed the merging of main into my branch, please take a look, thanks!

benediktibk and others added 30 commits December 21, 2023 10:01
Always use k_thread_foreach_unlocked with callbacks which print
something out to the shell, as they might call arch_irq_unlock.
Fixes zephyrproject-rtos#66660.

Signed-off-by: Benedikt Schmidt <[email protected]>
Documentation pages around Kconfig have moved around on a couple of
occasions in the past [1] [2] and current redirects were dysfonctional
(leading /) and incomplete, while an entire set of redirects was also
missing. This notably fixes the "browse latest development version of
this page" link on
https://docs.zephyrproject.org/2.7.5/guides/build/kconfig/tips.html or a
link to the "Kconfig tips" page as found in Kconfiglib's current README
(https://pypi.org/project/kconfiglib/)

[1] commit 5342bc6 [2] commit
5c88418

Fixes zephyrproject-rtos#66701

Signed-off-by: Benjamin Cabé <[email protected]>
Add an initial test suite for the gpio-kbd-matrix driver.

Signed-off-by: Fabio Baltieri <[email protected]>
Add an initial test suite for the keyboard scanning input library.

Signed-off-by: Fabio Baltieri <[email protected]>
This commit updates the support features in document and yaml files
of Ambiq apollo4p_evb and apollo4p_blue_kxr_evb.

Signed-off-by: Aaron Ye <[email protected]>
This commit updates the Ambiq Apollo4x series soc clock frequency
of defined instances to align with context of these dts files.

Signed-off-by: Aaron Ye <[email protected]>
Sample openamp_rsc_table was sending too many characters to master.
It was displayed as unrecognised character when reading message on master.

Signed-off-by: Marc-Antoine Riou <[email protected]>
Add logs in both of the openamp rsc table loops to stick with
what is shown in Zephyr documentation. Prefix each message with the loop
name and unify logs with those from rpmsg_client_sample module.

Signed-off-by: Marc-Antoine Riou <[email protected]>
This change follow the recent commit that update openamp rsc table logs.
Add the logs for both samples sample client & TTY responder,
as well as for both sides Linux & Zephyr.
Remove the serial connection to Zephyr because it is board specific.

Signed-off-by: Marc-Antoine Riou <[email protected]>
The length of the updated metadata was not updated.
Fixes the CAP/INI/BST/BV-13-C test case.

Signed-off-by: Magdalena Kasenberg <[email protected]>
When reconfiguring a previously used endpoint, it may still be locked
when a write was taking place when e.g. the host application crashed.
The call to udc_rpi_cancel_endpoint seems to do a proper cleanup of
the endpoint, i.e. the write semaphore will be released.
Fixes zephyrproject-rtos#66723.

Signed-off-by: Manuel Aebischer <[email protected]>
Check return value from linux_socketcan_set_mode_fd() function call.

Fixes: zephyrproject-rtos#66798

Signed-off-by: Henrik Brix Andersen <[email protected]>
Only copy up to IFNAMSIZ - 1 number of characters of the interface name to
leave room for null termination of string.

Fixes: zephyrproject-rtos#66777

Signed-off-by: Henrik Brix Andersen <[email protected]>
now returns -EINVAL if invalid parameters a are supplied

Signed-off-by: Jonas Woerner <[email protected]>
I/O or memory decoding should be disabled via the command register
before sizing BAR for calculation MMIO size

Signed-off-by: Najumon B.A <[email protected]>
We should set the z_clock_hw_cycles_per_sec as the value of
the system clock frequency.

There was a mistake in referencing the clock source set before
initialization.
I corrected it to reflect the clock value after initialization.

Signed-off-by: TOKITA Hiroshi <[email protected]>
The hoco, moco, and loco are always available.
Enable these by default.

Signed-off-by: TOKITA Hiroshi <[email protected]>
The 64 is a missing entry in this event number table.
All after the 64th entry have shifted one before.

https://www.renesas.com/jp/ja/document/mah/renesas-ra4m1-group-users-manual-hardware?r=1054146#G17.2544398

I corrected the after of the 64th entry to the correct number.

Signed-off-by: TOKITA Hiroshi <[email protected]>
Update LPSS DMA init interface which is common and
independent of parent-node.

Signed-off-by: Anisetti Avinash Krishna <[email protected]>
Enable dma_reload API for DMA 32bit address transfer.

Signed-off-by: Anisetti Avinash Krishna <[email protected]>
Update DMA node access from paren-node to dmas property in dts instance.

Signed-off-by: Anisetti Avinash Krishna <[email protected]>
Update DMA and I2C to support latest LPSS DMA interface.

Signed-off-by: Anisetti Avinash Krishna <[email protected]>
Remove parent node to make a common interface for LPSS DMA.

Signed-off-by: Anisetti Avinash Krishna <[email protected]>
Adding support for the Adafruit QT PY RP2040.

Signed-off-by: Kelly Helmut Lord <[email protected]>
Signed-off-by: Ian Wakely <[email protected]>
Adding a board overlay for the ADC API driver test.

Signed-off-by: Ian Wakely <[email protected]>
Various Ethernet error statistics values were not printed
by the shell.

Signed-off-by: Jukka Rissanen <[email protected]>
Supporting Stop1 mode while BLE RF is enabled requires some specific
adaptation and usage of STM32WBA Cube BLE controller scm API.

scm (Secure clock manager) is in charge of switching clock depending
on RF status and should be informed of PM stop modes scheduling.

Signed-off-by: Erwan Gouriou <[email protected]>
…ation

Call to set_regu_voltage() is required also after the clock configuration
has been performed.


Signed-off-by: Erwan Gouriou <[email protected]>
Useful to achieve minimum consumption in stop mode.

Signed-off-by: Erwan Gouriou <[email protected]>
Declare the SRAM0 region as memory-region
for the stm32f745 serie. Will be included for the stm32f746
for the stm32f765 serie. Will be included for the stm32f767
for the stm32f722 serie. Will be included for the stm32f723

Signed-off-by: Francois Ramu <[email protected]>
ndrs-pst and others added 27 commits January 5, 2024 09:04
This change marks each instance of the 'spi_driver_api' as 'static const'.
The rationale is that 'spi_driver_api' is used for declaring internal
module interfaces and is not intended to be modified at runtime.
By using 'static const', we ensure immutability, leading to usage of only
.rodata and a reduction in the .data area.

Signed-off-by: Pisit Sawangvonganan <[email protected]>
If an instant based remote procedure 'overtakes' a local ditto
the local procedure will be 'completed' by remote rejection
but collision flag would not get set ensuring that a new local
conflicting procedure cannot be started before the remote is completed.
This can thus lead to invalid local initiation.

Added unittest to cover case

Fix by ensuring collision flag is set also in the above mentioned
scenario.

Signed-off-by: Erik Brockhoff <[email protected]>
Dependabot has foud in a fork that we are using
a too old GitHub action version, which contains this
vulnerability:
https://www.cve.org/CVERecord?id=CVE-2023-51664
GHSA-mcph-m25j-8j63

We do not use the output listing all changed files,
so we should not be exposed, but nonetheless,
let's update it.

Signed-off-by: Alberto Escolar Piedras <[email protected]>
Add short delay before triggering registration update. This allows
postponing the update from application side if needed.

Signed-off-by: Juha Ylinen <[email protected]>
lwm2m_engine_pause() caused deadlock if it was called within
engine thread.

Remove while loop from lwm2m_engine_resume().

Signed-off-by: Juha Ylinen <[email protected]>
Add functions to do XOR on arrays of memory, with one that
takes arbitrary sizes and one for 32 bits and 128 bits as
those are common sizes for this functionality.

Signed-off-by: Emil Gydesen <[email protected]>
It allows setting regulator current value during driver
initialization automatically.

Signed-off-by: Bartosz Bilas <[email protected]>
This adds user configurable CONFIG_LOG_MIPI_SYST_DISABLE_TIMESTAMP
Kconfig option to use it for macro MIPI_SYST_PCFG_ENABLE_TIMESTAMP.
Moving macro definition of MIPI_SYST_PCFG_ENABLE_TIMESTAMP from
mipi-sys-t library to platform.h which defaulted to undef.
CONFIG_LOG_MIPI_SYST_DISABLE_TIMESTAMP gives flexibility to users
when needn't use mipi-sys-t protocol timestamp.

Signed-off-by: Fang Huang <[email protected]>
This commit sets linkserver as the runner, if none was set in the
board's board.cmake file. This change will enable NXP to make linkserver
the default runner for the NXP boards.

Signed-off-by: Yves Vandervennet <[email protected]>
Enable quality-of-life kconfig options.
Add destroy callbacks to track lifetime of app buffers.

Signed-off-by: Jonathan Rico <[email protected]>
Prevents confusion, as the similarly-named `l2cap_send()` also unrefs the
buffer if it fails to send.

Signed-off-by: Jonathan Rico <[email protected]>
Makes it clearer what that bit means:
If set, the channel has capacity to send at least one PDU.

If unset, the channel ran out of credits and won't be able to send
anything until the peer sends credits back.

Also add debug logs.

Signed-off-by: Jonathan Rico <[email protected]>
DLCI receive buffer may overrun if data is not processed fast
enough. This error was not reported before this patch, resulting
in unexplained missing bytes.

Signed-off-by: Bjarki Arge Andreasen <[email protected]>
Moves the inclusion of the app_memdomain header file into the
tests' utils.h so that any file that includes this can make
use of the BENCH_BMEM macro.

Signed-off-by: Peter Mitsis <[email protected]>
Changes the summary lines used in the latency_measure benchmark
so that they follow a consistent pattern.

    OBJECT  action.<brief details about action>

This makes it easier to locate results belonging to a particular
object group. It also has the benefit to keep results colocated
should the output be sorted by an external tool.

Signed-off-by: Peter Mitsis <[email protected]>
Adds LIFO support to the latency_measure benchmark test. This covers
both k_lifo_put() and k_lifo_get() with and without context switches
as well as variations for userspace support.

Signed-off-by: Peter Mitsis <[email protected]>
Adds FIFO support to the latency_measure benchmark. This covers
both k_fifo_put() and k_fifo_get() with and without context switches
as well as variations for userspace support.

Signed-off-by: Peter Mitsis <[email protected]>
Updates the sample output in the latency_measure benchmark's
README file.

Signed-off-by: Peter Mitsis <[email protected]>
This moves handling of changed lcov arguments in lcov 2.0 into helper
functions, significantly simplifying Lcov._generate() to reduce the
visual noise of extra arguments that are required but unimportant to the
task at hand.

Signed-off-by: Peter Marheine <[email protected]>
lcov 2.0 added support for processing coverage data in parallel, which
provides a large speedup when processing many files, at the cost of some
additional overhead. When running the Chrome EC tests with coverage,
parallel reporting on a 36C72T machine reduces the time spent generating
coverage reports by 40 minutes (from approximately 1 hour to 20 minutes
total runtime), at the cost of about 3x greater CPU time overall
(assumed to be overhead for parallel processing, likely from spawning
much larger numbers of subprocesses).

The level of lcov parallelism is taken from the --jobs option passed to
twister, allowing lcov to choose if unspecified.

Signed-off-by: Peter Marheine <[email protected]>
Add BLE feature to SensorTile.box PRO board.

Signed-off-by: Ali Hozhabri <[email protected]>
the ram size is used in twister for case filter, so need align them with
real setting.

Signed-off-by: Hake Huang <[email protected]>
this corresponds to soc/arm/nxp_lpc/lpc55xxx/soc.c:129. also, 16MHz is
used on the lpc55s69-evk.

Signed-off-by: Jacob Siverskog <[email protected]>
Let's try to use the host unistd.h when building with
the host library only, instead of assuming
that the native boards are always built with it.
This fixes a build error when building for native boards
using minimal libc.

Signed-off-by: Alberto Escolar Piedras <[email protected]>
Improve a depends on the host libC.
It is technically correct, but NATIVE_LIBC
is shorter and clearer than "ARCH_POSIX && EXTERNAL_LIBC"

Signed-off-by: Alberto Escolar Piedras <[email protected]>
@VynDragon VynDragon requested a review from nandojve as a code owner January 15, 2024 18:39
@VynDragon VynDragon closed this Jan 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.