mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
FMUK66 NuttX 10 SocketCAN initialization
This commit is contained in:
parent
8b2d20df34
commit
5f8ad65c40
@ -290,6 +290,14 @@ __EXPORT int board_app_initialize(uintptr_t arg)
|
||||
kinetis_netinitialize(0);
|
||||
# endif
|
||||
|
||||
# ifdef CONFIG_KINETIS_FLEXCAN0
|
||||
kinetis_caninitialize(0);
|
||||
# endif
|
||||
|
||||
# ifdef CONFIG_KINETIS_FLEXCAN1
|
||||
kinetis_caninitialize(1);
|
||||
# endif
|
||||
|
||||
#endif
|
||||
|
||||
/* Configure the HW based on the manifest */
|
||||
|
||||
@ -5,10 +5,10 @@
|
||||
# You can then do "make savedefconfig" to generate a new defconfig file that includes your
|
||||
# modifications.
|
||||
#
|
||||
# CONFIG_FS_PROCFS_EXCLUDE_ENVIRON is not set
|
||||
# CONFIG_NET_ETHERNET is not set
|
||||
# CONFIG_NET_IPv4 is not set
|
||||
# CONFIG_NSH_CMDOPT_HEXDUMP is not set
|
||||
# CONFIG_FS_PROCFS_EXCLUDE_ENVIRON is not set
|
||||
CONFIG_ARCH="arm"
|
||||
CONFIG_ARCH_BOARD_CUSTOM=y
|
||||
CONFIG_ARCH_BOARD_CUSTOM_DIR="../nuttx-config"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user