mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 04:13:33 +08:00
boards: enable NuttX SPI DMA buffers
- update to NuttX with stm32f4 and stm32f7 SPI DMA internal buffers - remove explicit DMA buffer allocations from new IMU drivers - restore original BOARD_DMA_ALLOC_POOL_SIZE - decrease SPI DMA thresholds based on fmu-v2/v3/v4/v5 bench testing
This commit is contained in:
@@ -50,13 +50,13 @@ namespace wq_configurations
|
||||
{
|
||||
static constexpr wq_config_t rate_ctrl{"wq:rate_ctrl", 1600, 0}; // PX4 inner loop highest priority
|
||||
|
||||
static constexpr wq_config_t SPI0{"wq:SPI0", 2000, -1};
|
||||
static constexpr wq_config_t SPI1{"wq:SPI1", 2000, -2};
|
||||
static constexpr wq_config_t SPI2{"wq:SPI2", 2000, -3};
|
||||
static constexpr wq_config_t SPI3{"wq:SPI3", 2000, -4};
|
||||
static constexpr wq_config_t SPI4{"wq:SPI4", 2000, -5};
|
||||
static constexpr wq_config_t SPI5{"wq:SPI5", 2000, -6};
|
||||
static constexpr wq_config_t SPI6{"wq:SPI6", 2000, -7};
|
||||
static constexpr wq_config_t SPI0{"wq:SPI0", 2200, -1};
|
||||
static constexpr wq_config_t SPI1{"wq:SPI1", 2200, -2};
|
||||
static constexpr wq_config_t SPI2{"wq:SPI2", 2200, -3};
|
||||
static constexpr wq_config_t SPI3{"wq:SPI3", 2200, -4};
|
||||
static constexpr wq_config_t SPI4{"wq:SPI4", 2200, -5};
|
||||
static constexpr wq_config_t SPI5{"wq:SPI5", 2200, -6};
|
||||
static constexpr wq_config_t SPI6{"wq:SPI6", 2200, -7};
|
||||
|
||||
static constexpr wq_config_t I2C0{"wq:I2C0", 1400, -8};
|
||||
static constexpr wq_config_t I2C1{"wq:I2C1", 1400, -9};
|
||||
|
||||
Reference in New Issue
Block a user