mcuboot/boot/boot_serial
Fabio Utzig 10ee648145 Update bootutil to reduce amount of global state
The boot loader state currently exists as global variable (boot_data)
which is accessed by all routines; this updates all routines that
require access to the state to receive it by parameter.

Variables that are declared as "static" (globals) were #ifdef'ed to
only use static when building a native bootloader, to avoid stack
allocation. When bootutil is built to run in the simulator they are
stack allocated to avoid thread share.

Signed-off-by: Fabio Utzig <utzig@apache.org>
2019-08-07 14:33:36 -03:00
..
include/boot_serial boot_serial; improve platform abstraction. 2018-06-14 23:19:06 +03:00
src Update bootutil to reduce amount of global state 2019-08-07 14:33:36 -03:00
test Remove current_image global and macro updates 2019-08-07 14:33:36 -03:00
pkg.yml boot_serial; improve platform abstraction. 2018-06-14 23:19:06 +03:00
syscfg.yml zephyr/serial_adapter; no need to inject \r on \n anymore. 2018-06-14 23:19:06 +03:00