NXP S32K14X improvements from customer testing #673
+69
−18
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added LPUART_CTRL = 0; in hal_prepare_boot() to disable the UART controller before jumping to the application. Previously, only the TX completion was waited for, leaving the UART in an initialized state that could interfere with the application's UART reinitialization.
When building with SIGN=NONE, the test-app failed to link due to undefined keystore references. Fixed by:
Wrapping keystore function calls in app_s32k1xx.c with #ifndef WOLFBOOT_NO_SIGN
Making keystore.o conditional in the test-app Makefile (ifneq ($(SIGN),NONE))
Added --trigger-magic flag to nxp-s32k142-flash.sh for use with --test-update. This automatically includes the "pBOOT" trigger magic bytes at the end of the update partition, causing the update to start automatically on first boot (matching behavior of other ports like nrf5340 and va416x0).
Usage: ./tools/scripts/nxp-s32k142-flash.sh --test-update --trigger-magic