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.
Add NXP S32K1xx (S32K142/144/146/148) Support
Summary
This PR adds complete bare-metal wolfBoot support for the NXP S32K1xx family of automotive-grade Cortex-M4F microcontrollers. The implementation has been tested on the S32K142 and includes support for all variants (S32K142, S32K144, S32K146, S32K148).
Features
Configuration Options
WOLFBOOT_RESTORE_CLOCKWOLFBOOT_DISABLE_WATCHDOG_ON_BOOTWATCHDOG/WATCHDOG_TIMEOUT_MSDEBUG_UARTS32K144,S32K146,S32K148Memory Layout (S32K142 - 256KB Flash)
Changes
hal/s32k1xx.candhal/s32k1xx.hwith register definitions and flash/clock/UART drivershal/s32k1xx.ld(bootloader) andtest-app/ARM-s32k1xx.ld(application)config/examples/nxp-s32k142.configconfig/examples/nxp-s32k144.configconfig/examples/nxp-s32k146.configconfig/examples/nxp-s32k148.configtest-app/app_s32k1xx.cwith LED blink and wolfBoot API usagearch.mkandtest-app/Makefiledocs/Targets.mdincluding:Testing
Future Work