Skip to content

ChibiOS errors when building #1

Description

@cbeighley

Hello,

I'm trying to build this example (have tried using both ChibiOS 2.5.1 and 2.6.0, can't easily find 2.5.2). When doing so I get the following errors:

In file included from ../ChibiOS_2.6.0/os/hal/include/hal.h:43:0,
                 from ../ChibiOS_2.6.0/os/hal/src/hal.c:37:
../ChibiOS_2.6.0/os/hal/platforms/STM32F4xx/hal_lld.h:860:2: error: #error "Using a wrong mcuconf.h file, STM32F4xx_MCUCONF not defined"
 #error "Using a wrong mcuconf.h file, STM32F4xx_MCUCONF not defined"
  ^
In file included from ../ChibiOS_2.6.0/os/hal/include/usb.h:339:0,
                 from ../ChibiOS_2.6.0/os/hal/include/hal.h:68,
                 from ../ChibiOS_2.6.0/os/hal/src/hal.c:37:
../ChibiOS_2.6.0/os/hal/platforms/STM32/OTGv1/usb_lld.h:148:2: error: #error "USB driver activated but no USB peripheral assigned"
 #error "USB driver activated but no USB peripheral assigned"
  ^
make: *** [build/obj/hal.o] Error 1

Any ideas? Thanks,
Colin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions