Ensuring flash region has been erased before writing to avoid
inconsistences and force expected erased value (0xFF) into
flash when erasing a region when Hardware Flash Encryption is
enabled
This is handled on this implementation because MCUboot's state
machine relies on erased valued data (0xFF) readed from a
previously erased region that was not written yet, however when
hardware flash encryption is enabled, the flash read always
decrypts whats being read from flash, thus a region that was
erased would not be read as what MCUboot expected (0xFF).
Signed-off-by: Almir Okato <almir.okato@espressif.com>
Convert address for dma when update tcd registers.
- This commit fixes a bug that dma reports source/destination bus errors
when dma try to access the unconveted addresses. The unconverted
addresses will be reserved address from dma view.
Signed-off-by: Biwen Li <biwen.li@nxp.com>
Unlike most other remote cores on most other TI K3 devices, the M4
on AM62 was only reserved 14MB of shared memory DDR vs the normal 15MB.
Update the same for all AM62 boards to prevent writing into unreserved
memory.
Signed-off-by: Andrew Davis <afd@ti.com>
The introduced CONFIG_TASK_WDT_DUMMY Kconfig symbol allows to easily
disable the Task Watchdog by providing a dummy implementation.
The Task Watchdog can fire when a board is halted on a breakpoint during
a debugging session, so this new feature can turn useful in this case.
Signed-off-by: Adrien Ricciardi <aricciardi@baylibre.com>
Choose another sai1_fs_a pin available to avoid the need to
disable the Zephyr-chosen console and i2c3 node.
Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
Remove the calls to LL_TIM_ENCODER_StructInit and LL_TIM_ENCODER_Init
in the QDEC driver. This avoids calling functions from stm32xxxx_ll_tim.c.
They are replaced by a set of simpler functions from the header file.
Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
Align the definition of the complementary channels to the normal channels.
That way, it is consistent for all arrays, we use channel-1 as index, and
no other operation is necessary.
Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
This change reduces the level of pointer indirection, which minimizes
repeated dereferencing and helps reduce the overall code size, in the same
way as commit 48e326a5520ec884f38f6a7ac4e88c59a01ceb95 for UART.
This also fixes the type complimentary -> complementary.
Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
Remove the calls to LL_TIM_xx_StructInit and LL_TIM_xx_Init in the PWM
driver. This avoids calling functions from stm32xxxx_ll_tim.c.
They are replaced by a set of simpler functions from the header file.
OC Init in particular is much simpler now. The init structure needed to be
filled out with the complementary channel (if it existed), even though its
configuration didn't change.
The new init is much more direct and only touches what needs to be
modified.
Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
Remove the calls to LL_TIM_StructInit and LL_TIM_Init in the counter
driver. This avoids calling functions from stm32xxxx_ll_tim.c.
They are replaced by a set of simpler functions from the header file.
Also replaces some macros that used constants coming from the HAL. Use
an equivalent coming purely from the LL.
Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
Apparently, the code was copied from where the broadcast IP is parsed and
not adjusted correctly. Both the log message and the source of the IP
address were wrong.
Signed-off-by: Michael Zimmermann <michael.zimmermann@sevenlab.de>
The opposite of what was stated previously is true.
NET_SAMPLE_MQTT_SN_GATEWAY_IP is only used when
NET_SAMPLE_MQTT_SN_STATIC_GATEWAY is y.
Since this is already expressed using Kconfig dependencies, this change
simply removes the sentence in question.
Signed-off-by: Michael Zimmermann <michael.zimmermann@sevenlab.de>
The lfrccal takes the two properties tempMeasIntervalSeconds and
tempDeltaCalibrationTriggerCelsius which are in steps of 0.25.
The bicrgen.py script incorrectly treated these values as steps
of 1, so the actual values written to (and read from) bicr where
scaled incorrectly.
This commit fixes the scaling for those two props.
Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
Implement a new compliance check to ensure that all modified files
have correct licensing information (SPDX-License-Identifier as well as
copyright info).
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Add REUSE.toml to describe what license and copyright info applies to
files that may not contain licensing info in their headers.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Due to a change in my work situation, I will no longer
have the time to fulfill my obligations as a maintainer.
The Renesas R-Car area will still have a maintainer and
a collaborator, which is enough given the workload involved.
Signed-off-by: Aymeric Aillet <aymeric.aillet@iot.bzh>
Extend the pin_get_config() test to verify that when
a pin is configured as input,gpio_pin_get_config() returns
the GPIO_INPUT flag and does not set the GPIO_OUTPUT flag.
Signed-off-by: Khaoula Bidani <khaoula.bidani-ext@st.com>
By default, timer2 node is reserved for the OS tick generation and thus,
it should not be referenced by application.
Signed-off-by: Ioannis Karachalios <ioannis.karachalios.px@renesas.com>
PM and PM_DEVICE should be enabled, by default. The latter, require that
timer2 node be employed and reserved for the OS tick generation.
Signed-off-by: Ioannis Karachalios <ioannis.karachalios.px@renesas.com>
Testing with external PSRAM memory requires that an extra overlay file
be defined.
Signed-off-by: Ioannis Karachalios <ioannis.karachalios.px@renesas.com>
Add valid pin configurations boilerplate for SF32LB52x. All valid
configurations will be added in a follow-up commit.
Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>