FMUK66 NuttX 10 SocketCAN initialization

This commit is contained in:
Peter van der Perk 2020-12-14 21:49:03 +01:00 committed by Lorenz Meier
parent 8b2d20df34
commit 5f8ad65c40
2 changed files with 9 additions and 1 deletions

View File

@ -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 */

View File

@ -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"