zephyr/drivers
Fabio Baltieri b06f4a5e72 drivers: flash_stm32_v1: fix a potential unaligned access
The flash write function casts a void * to flash_prg_t, which can be 2,
4 or 8 bytes long depending on the SoC. This can trigger a hard fault
exception if data is not aligned, such as when passing a constant string
from settings_save_one().

Copying the chunk of data to a temporary variable on the stack to avoid
the problem.

Signed-off-by: Fabio Baltieri <fabio.baltieri@gmail.com>
2021-06-08 11:15:59 -05:00
..
adc driver: adc: npcx: replace constant value with DT_INST_PROP_LEN macro. 2021-06-07 12:06:33 +02:00
audio drivers/audio: Kconfig: Fix dmic INIT_PRIORITY default value 2021-05-04 08:33:46 -05:00
bluetooth Bluetooth: ISO: Speed up BT ISO data processing 2021-05-27 13:16:40 +02:00
cache cache: Introduce external cache controller system support 2021-05-08 07:00:33 +02:00
can drivers: can: Add Renesas R-Car driver 2021-06-07 12:06:21 +02:00
clock_control driver: clock: npcx: add apb4 clock support for npcx9 series. 2021-06-07 12:06:33 +02:00
console drivers: console: rtt: Add no multithreading support 2021-05-27 13:33:02 +02:00
counter drivers: stm32_rtc: add STM32WL family support 2021-06-07 12:04:15 +02:00
crypto
dac drivers: dac: mcp4725: remove usage of device_pm_control_nop 2021-05-13 22:04:14 -04:00
debug tracing: fix conflict with RTT locking 2021-05-25 07:36:38 -05:00
disk drivers: disk: remove usage of device_pm_control_nop 2021-04-28 16:41:29 -04:00
display pm: do not use deprecate Kconfig 2021-06-04 12:19:38 -05:00
dma drivers: dma: stm32 dmamux has request 0 for mem-to-mem 2021-05-21 04:55:02 -05:00
ec_host_cmd_periph
edac
eeprom drivers: eeprom: at2x: convert to new DT helper macros 2021-06-08 16:09:39 +02:00
entropy drivers: cc13xx_cc26xx: fix pm.h not included 2021-06-04 10:24:10 -05:00
espi drivers: espi: Propagate eSPI host DnX warning to driver's client 2021-06-07 23:52:17 -04:00
ethernet drivers: eth_enc424j600: explicitly disable INTIE after reset 2021-05-21 07:35:19 -04:00
flash drivers: flash_stm32_v1: fix a potential unaligned access 2021-06-08 11:15:59 -05:00
gpio drivers: gpio_litex: add support for changing IRQ type 2021-06-04 16:24:52 -05:00
hwinfo drivers: hwinfo: Add reset cause support 2021-06-08 10:16:17 +02:00
i2c ite: drivers/i2c: it8xxx2: Don't check bus busy during repeat start 2021-06-04 16:30:45 -05:00
i2s drivers: i2s: i2s_sam_ssc: Fix build issue 2021-05-05 13:01:01 -05:00
ieee802154 drivers: ieee802154: include timestamp in acks 2021-06-08 04:54:38 -05:00
interrupt_controller drivers: gpio_litex: add support for litex_vexriscv GPIO interrupts 2021-06-04 16:24:52 -05:00
ipm ipm: cavs: (cosmetic) fix indentation 2021-05-07 12:44:34 -04:00
kscan drivers: kscan: remove usage of device_pm_control_nop 2021-04-28 11:25:42 -04:00
led drivers: led_pwm: Update pm_control function 2021-05-19 07:52:02 -05:00
led_strip drivers: led_strip: remove usage of device_pm_control_nop 2021-04-28 11:25:42 -04:00
lora drivers: lora: remove usage of device_pm_control_nop 2021-04-28 11:25:42 -04:00
memc drivers: memc: Update driver to support XIP on mimxrt685_evk. 2021-05-07 15:44:19 -05:00
misc
modem drivers: modem: ublox-sara-r4: implement F_GETFL in ioctl 2021-05-27 15:44:03 +02:00
net drivers: net: remove usage of device_pm_control_nop 2021-04-28 12:25:24 -04:00
neural_net drivers: neural_net: remove usage of device_pm_control_nop 2021-04-28 12:25:24 -04:00
pcie drivers: pcie: remove usage of device_pm_control_nop 2021-04-28 12:25:24 -04:00
peci drivers: peci: remove usage of device_pm_control_nop 2021-04-28 12:25:24 -04:00
pinmux drivers: pinmux: mchp: Update pinmux based on latest HAL 2021-05-26 19:09:47 -05:00
pm_cpu_ops drivers: pm_cpu_ops: remove usage of device_pm_control_nop 2021-04-28 16:43:29 -04:00
ps2 drivers: ps2: remove usage of device_pm_control_nop 2021-04-28 16:43:29 -04:00
ptp_clock
pwm pm: device: Align state names with system states 2021-05-07 18:35:12 -04:00
regulator drivers: regulator: remove usage of device_pm_control_nop 2021-04-28 16:43:29 -04:00
sensor drivers/sensor: lis2mdl: Add multi-instance support 2021-06-04 16:29:45 -05:00
serial serial: introduce CONFIG_UART_USE_RUNTIME_CONFIGURE 2021-06-07 12:09:01 +02:00
spi drivers: cc13xx_cc26xx: fix pm.h not included 2021-06-04 10:24:10 -05:00
timer drivers: nrf_rtc_timer: Remove unnecessary locking 2021-05-24 23:53:18 -04:00
usb drivers: usb_dc_nrfx: add attached event delay 2021-04-29 09:55:28 -04:00
video drivers: video: remove usage of device_pm_control_nop 2021-04-28 12:25:39 -04:00
virtualization drivers: virtualization: remove usage of device_pm_control_nop 2021-04-28 12:25:39 -04:00
watchdog power: move reboot functionality to os lib 2021-04-28 20:34:00 -04:00
wifi drivers: wifi: esp32: create event handling thread in runtime 2021-06-08 11:15:38 -05:00
CMakeLists.txt cache: Introduce external cache controller system support 2021-05-08 07:00:33 +02:00
Kconfig cache: Introduce external cache controller system support 2021-05-08 07:00:33 +02:00