We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3569f82 commit 59e6863Copy full SHA for 59e6863
loader/main.c
@@ -165,7 +165,7 @@ static int loader(const struct shell *sh) {
165
uint8_t *ram_firmware = NULL;
166
uint32_t *ram_start = (uint32_t *)0x20000000;
167
if (!sketch_valid) {
168
- ram_firmware = (uint8_t *)k_malloc(64 * 1024);
+ ram_firmware = (uint8_t *)malloc(64 * 1024);
169
if (!ram_firmware) {
170
printk("Failed to allocate RAM for firmware\n");
171
return -ENOMEM;
0 commit comments