diff options
Diffstat (limited to 'nuttx/configs/stm32f4discovery/src/Makefile')
-rw-r--r-- | nuttx/configs/stm32f4discovery/src/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/nuttx/configs/stm32f4discovery/src/Makefile b/nuttx/configs/stm32f4discovery/src/Makefile index c1be57268..97753132a 100644 --- a/nuttx/configs/stm32f4discovery/src/Makefile +++ b/nuttx/configs/stm32f4discovery/src/Makefile @@ -56,8 +56,8 @@ ifeq ($(CONFIG_ARCH_BUTTONS),y) CSRCS += up_buttons.c endif -ifeq ($(CONFIG_USBDEV),y) -CSRCS += up_usbdev.c +ifeq ($(CONFIG_STM32_OTGFS),y) +CSRCS += up_usb.c endif ifeq ($(CONFIG_PWM),y) @@ -72,6 +72,10 @@ ifeq ($(CONFIG_WATCHDOG),y) CSRCS += up_watchdog.c endif +ifeq ($(CONFIG_NSH_ARCHINIT),y) +CSRCS += up_nsh.c +endif + ifeq ($(CONFIG_PM_CUSTOMINIT),y) CSRCS += up_pm.c endif |