mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
add board architecture specific init defaults
This commit is contained in:
committed by
Lorenz Meier
parent
e53e001de1
commit
4d288512b5
12
platforms/nuttx/init/s32k1xx/rc.board_arch_defaults
Normal file
12
platforms/nuttx/init/s32k1xx/rc.board_arch_defaults
Normal file
@@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# S32K1XX specific defaults
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
set LOGGER_BUF 12
|
||||
|
||||
if param greater -s UAVCAN_ENABLE 1
|
||||
then
|
||||
# Reduce logger buffer to free up some RAM for UAVCAN servers.
|
||||
set LOGGER_BUF 4
|
||||
fi
|
||||
Reference in New Issue
Block a user