mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00: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);
|
||||
# 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"
|
||||
|
||||
Reference in New Issue
Block a user