Skip to content

Commit c57da5b

Browse files
committed
loader: fix rw612 and ek_ra8
1 parent 5898deb commit c57da5b

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Diff for: loader/boards/frdm_rw612.conf

-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,6 @@ CONFIG_NET_L2_ETHERNET=y
126126
CONFIG_NET_DHCPV4_SERVER_ADDR_COUNT=32
127127
CONFIG_NET_IPV4=y
128128
CONFIG_NET_IPV6=y
129-
CONFIG_ETH_MCUX=n
130129
CONFIG_NET_ZPERF=y
131130
CONFIG_NET_ZPERF_MAX_PACKET_SIZE=1500
132131
CONFIG_NET_BUF_LOG=y

Diff for: loader/main.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ static int loader(const struct shell *sh)
132132
printk("Unable to allocate %d bytes\n", sketch_buf_len);
133133
}
134134

135-
rc = flash_area_read(fa, header_len, sketch_buf, sketch_buf_len);
135+
rc = flash_area_read(fa, HEADER_LEN, sketch_buf, sketch_buf_len);
136136
if (rc) {
137137
printk("Failed to read sketch area, rc %d\n", rc);
138138
return rc;

0 commit comments

Comments
 (0)