File tree Expand file tree Collapse file tree 3 files changed +18
-4
lines changed
Expand file tree Collapse file tree 3 files changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -1778,11 +1778,17 @@ Note: For alternate larger scheme flash `update.bin` to `0x14000` and place trig
17781778
17791779Debugging with JLink:
17801780
1781- In one terminal:
1782- ` JLinkGDBServer -if swd -Device MCXA153 -port 3333 `
1781+ Note: We include a ` .gdbinit ` in the wolfBoot root that loads the wolfboot and test-app elf files.
1782+
1783+ In one terminal: ` JLinkGDBServer -if swd -Device MCXA153 -port 3333 `
17831784
1784- We include a ` .gdbinit ` in the wolfBoot root that loads the wolfboot and test-app elf files:
1785- In another terminal use ` gdb ` .
1785+ In another terminal use ` gdb ` :
1786+
1787+ ```
1788+ b main
1789+ mon reset
1790+ c
1791+ ```
17861792
17871793
17881794## TI Hercules TMS570LC435
Original file line number Diff line number Diff line change @@ -227,6 +227,7 @@ ifeq ($(TARGET),mcxa)
227227 APP_OBJS+ =$(MCUXPRESSO_DRIVERS ) /drivers/fsl_clock.o
228228 APP_OBJS+ =$(MCUXPRESSO_DRIVERS ) /drivers/fsl_reset.o
229229 APP_OBJS+ =$(MCUXPRESSO_DRIVERS ) /drivers/fsl_gpio.o
230+ APP_OBJS+ =$(MCUXPRESSO_DRIVERS ) /drivers/fsl_spc.o
230231endif
231232
232233ifeq ($(TARGET ) ,imx_rt)
Original file line number Diff line number Diff line change 3232
3333#include "wolfboot/wolfboot.h"
3434
35+ extern void hal_init (void );
36+
3537/* init gpio for port 3 */
3638void gpio_port3_init (int pin )
3739{
@@ -70,6 +72,8 @@ void main(void)
7072 uint8_t * bootPart = (uint8_t * )WOLFBOOT_PARTITION_BOOT_ADDRESS ;
7173 uint32_t bootVer = wolfBoot_get_blob_version (bootPart );
7274
75+ hal_init ();
76+
7377 /* If application version 1 then GREEN, else BLUE */
7478 /* RGB LED D15 (RED=P3_12, GREEN=P3_13, BLUE=P3_0) */
7579 if (bootVer == 1 ) {
@@ -81,6 +85,9 @@ void main(void)
8185 GPIO_PinWrite (GPIO3 , 0 , 0 );
8286 }
8387
88+ /* mark boot successful */
89+ wolfBoot_success ();
90+
8491 /* busy wait */
8592 while (1 ) {
8693 __WFI ();
You can’t perform that action at this time.
0 commit comments