From 005095d1997072e458acc3fc48e62d3f15100d10 Mon Sep 17 00:00:00 2001 From: Jukka Laitinen Date: Thu, 24 Feb 2022 15:32:34 +0200 Subject: [PATCH] Add gran allocator also to user side in protected build This is needed for DMA capable memory for fat also in the user side; the file system doesn't seem to work reliably without. Signed-off-by: Jukka Laitinen --- platforms/nuttx/src/px4/common/px4_protected_layers.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/platforms/nuttx/src/px4/common/px4_protected_layers.cmake b/platforms/nuttx/src/px4/common/px4_protected_layers.cmake index b3e8b6209e..954282cc02 100644 --- a/platforms/nuttx/src/px4/common/px4_protected_layers.cmake +++ b/platforms/nuttx/src/px4/common/px4_protected_layers.cmake @@ -2,6 +2,8 @@ # Build the user side px4_layer add_library(px4_layer + board_dma_alloc.c + board_fat_dma_alloc.c tasks.cpp console_buffer_usr.cpp usr_mcu_version.cpp