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