|
- # This file sets up the various options used for compiling
- # code.
- #
- # See bsd.mkopt.mk for more information.
- #
- # An option should only be listed in one of the following sections.
- # If it's listed as a dependent option, do NOT list it in a default
- # section.
- #
-
- #
- # If the option doesn't state if it defines a SRCS var, then
- # the necessary sources are added to the SRCS var.
- #
- # Options (by order in this file):
- #
- # STROBE - The STROBE crypto library. (Defines STROBE_SRCS)
- # SYSINIT - The sysinit framework. Needed to run the init code.
- #
- # NODE151 - Code needed for the Node151 LoRa module
- # RS485FRAME - Base code for RS485 framing tx/rx
- # STM32F103 - Base code for the BluePill microcontroller module
- # SX1276 - LoRa radio code, for Node151
- # USB_CDC - Code implementing the CDC Device mode. (Defines SRCS.USB_CDC)
- # USB_HID - Code implementing the HID Device mode. (Defines SRCS.USB_HID)
- #
- # Dependent options:
- # HAL_INIT - Run hal_init via sysinit.
- # USB - Turn on generic USB support code. (Defines SRCS.USB)
- #
-
- __DEFAULT_YES_OPTIONS = STROBE \
- SYSINIT
-
- __DEFAULT_NO_OPTIONS = \
- NODE151 \
- RS485FRAME \
- STM32F103 \
- SX1276 \
- USB_CDC \
- USB_HID
-
- __DEFAULT_DEPENDENT_OPTIONS = \
- HAL_INIT/STM32F103 \
- USB/USB_CDC \
- USB/USB_HID
-
- .include <$(.PARSEDIR)/bsd.mkopt.mk>
|