+75
−88
Loading
Gitlab 现已全面支持 git over ssh 与 git over https。通过 HTTPS 访问请配置带有 read_repository / write_repository 权限的 Personal access token。通过 SSH 端口访问请使用 22 端口或 13389 端口。如果使用CAS注册了账户但不知道密码,可以自行至设置中更改;如有其他问题,请发邮件至 service@cra.moe 寻求协助。
For most upgrade strategies, it is currently needed to determine the sector layout of each flash area to initialize a bootloader state. This is made in loader.c by the internal boot_read_sectors routine. Since doing so will also be needed in boot_serial, this commit exposes this routine in bootutil_priv.h. Previously boot_read_sectors was assuming the provided bootloader state already contained buffers where to store the sectors. To avoid code duplication, the routine is now also responsible for initializing the state with the buffers that are provided as argument. By default, the global static buffers defined in loader.c are used. This will avoid allocating dedicated buffers in boot_serial. Note: This PR has been modified from the upstream commit due to a merge failure from other changes that are not being brought into Zephyr 3.7 Signed-off-by:Thomas Altenbach <thomas.altenbach@legrand.com> (cherry picked from commit f1efd483)
CRA Git | Maintained and supported by SUSTech CRA and CCSE