Repository navigation
Sync code base with latest official RAK4631 PR changes - #11
Conversation
Signed-off-by: Sercan Erat <sercan.erat@rakwireless.com>
Signed-off-by: Sercan Erat <sercan.erat@rakwireless.com>
macOS ships bash 3.2 without mapfile and a BSD grep without -P, so splitting a board's zephyr_args failed there. On darwin, split them with perl, using the same regular expression.
Signed-off-by: Sercan Erat <sercan.erat@rakwireless.com>
- Arduino pin map - Three USB CDC ACM ports: the sketch's Serial, plus shell and logging ports that only debug builds use - LoRaWAN through the SX1262 on the module - A flash layout and boot-mode retention area shared with MCUboot for a 1200-bps touch serial recovery Signed-off-by: Sercan Erat <sercan.erat@rakwireless.com>
Signed-off-by: Sercan Erat <sercan.erat@rakwireless.com>
Signed-off-by: Sercan Erat <sercan.erat@rakwireless.com>
Signed-off-by: Sercan Erat <sercan.erat@rakwireless.com>
Signed-off-by: Sercan Erat <sercan.erat@rakwireless.com>
Signed-off-by: Sercan Erat <sercan.erat@rakwireless.com>
Signed-off-by: Sercan Erat <sercan.erat@rakwireless.com>
Signed-off-by: Sercan Erat <sercan.erat@rakwireless.com>
Signed-off-by: Sercan Erat <sercan.erat@rakwireless.com>
Signed-off-by: Sercan Erat <sercan.erat@rakwireless.com>
|
Claude finished @srcnert's task in 10m 7s —— View job Review
This PR realigns the RAK4631 port with the latest state of the upstream RAK4631 PR: MCUboot becomes part of the normal build ( The direction is good and the downstream delta genuinely shrinks. I diffed New findings this round:
Still open from earlier rounds (no code change since, only the
Nothing here blocks the sync in principle; the I did not run a build — no Zephyr workspace in this checkout — so the |
Signed-off-by: Sercan Erat <sercan.erat@rakwireless.com>
cff1488 to
9f05724
Compare
Realigns the RAK4631 support in this downstream with the latest state of the
official upstream RAK4631 pull request, so that future merges from
arduino/ArduinoCore-zephyrstay conflict-free.MCUboot is now part of the normal build
rak4631.build.zephyr_argscarries--sysbuild, so the loader always buildsthrough MCUboot and the
--mcubootflag disappears:extra/build.shderives MCUboot mode from--sysbuildin the board'szephyr_argsinstead of a CLI flag, and the option parsing goes back toupstream's
[ x$2 == x"--debug" ]form.firmwares/zephyr-<variant>.mcuboot.hexsoextra/package_core.sh(which globsfirmwares/zephyr-${variant}.*) ships itwith the core.
.vscode/flash_loader.jlink,.vscode/tasks.json,extra/rak/checkall.py(the loader build dir isbuild/<variant>/loaderunder sysbuild) and
rak-build.ymlfollow.extra/bootstrap.shinstalls MCUboot's Python requirements for image signing.Loader and core sources back to upstream shape
cores/arduino/main.cppreturns to upstream's unconditionalSerialUSB.begin(115200); the shell-port exception moves into the loader.loader/main.crestores upstream's#if CONFIG_SHELL/#elif CONFIG_LOGblocks verbatim and adds the RAK case as a separate
SHELL_ON_OWN_CDC_PORTbranch, so the shell stays on its own CDC-ACM port instead of being moved
onto the sketch's
Serial.extra/debug.confgoes back to upstream plus the singleCONFIG_SHELL_LOG_BACKEND=nline; the RAK-specific logging and LoRa shelltuning moves out (
CONFIG_SIZE_OPTIMIZATIONSlands in the variant .conf).USB identity
RAK4631 stops borrowing Nordic's
0x1915:0x5300and uses0x1209:0x0003(
0x0004for MCUboot) inboards.txt, the variant .conf, the samples and theMCUboot fragment.
Tooling and CI
be cross-compiled from Linux) and
extra/package_tool.shusesshasum/wc -cso it runs on both hosts; dependabot now watchestools/mcumgr.package_core.ymlpicks the loader's memory table out of the sysbuildoutput, which contains one table per image.
.editorconfig-checker.jsonandlicense_check.pyexclusions follow thefiles touched above.