aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils
Commit message (Expand)AuthorAgeFilesLines
* e2fsprogs: fix build on OS X systemsJo-Philipp Wich2016-07-042-1/+11
* jsonfilter: update to latest git HEADJohn Crispin2016-07-021-2/+2
* nand-utile: add packageSergey Sergeev2016-07-021-0/+53
* spidev_test: copy the source code into the package folderJohn Crispin2016-06-302-10/+320
* e2fsprogs: Bump to v1.43.1Xotic7502016-06-201-2/+2
* package/*: update git urls for project reposJohn Crispin2016-06-133-3/+3
* oseama: support extracting entityRafał Miłecki2016-06-131-0/+134
* busybox: Call ntpd hotplug script for every actionHans Dedecker2016-06-102-2/+1
* treewide: replace jow@openwrt.org with jo@mein.ioJo-Philipp Wich2016-06-073-4/+4
* treewide: replace nbd@openwrt.org with nbd@nbd.nameFelix Fietkau2016-06-079-11/+11
* util-linux: fix scanf fallback detection for uClibc-ngWaldemar Brodkorb2016-06-052-1/+35
* jsonfilter: fix printing 64bit valuesJo-Philipp Wich2016-06-011-2/+2
* px5g: add license tagFlorian Eckert2016-05-311-1/+2
* usbutils: add license tagFlorian Eckert2016-05-311-1/+3
* busybox: run sysntpd at higher priorityMaxim Storchak2016-05-301-1/+1
* util-linux: fix breakageDirk Neukirchen2016-05-281-7/+25
* util-linux: fix sfdiskDirk Neukirchen2016-05-271-86/+85
* jsonfilter: allow empty pathsJo-Philipp Wich2016-05-241-2/+2
* busybox: sysntpd - Support for NTP servers received via DHCP(v6)Hans Dedecker2016-05-242-7/+54
* usbutils: Use github aliasDaniel Engberg2016-05-241-1/+1
* package: spidev_test: update location for >Kernel 4.5Dirk Neukirchen2016-05-231-0/+9
* nvram: install init.d quirks script on brcm47xx onlyRafał Miłecki2016-05-201-3/+5
* mdadm: Fix missing conffile and add initscriptDaniel Dickinson2016-05-183-0/+46
* e2fsprogs: update to 1.42.13Kevin Darbyshire-Bryant2016-05-131-2/+2
* lua: Fixed broken __lt/__le operators caused by lnum patch.David Thornley2016-05-132-0/+44
* global: change my email addressJohn Crispin2016-05-122-2/+2
* busybox: fix issues with the ip command on mips64Felix Fietkau2016-05-121-0/+75
* package: remove duplicate lines from otrx and nvram makefilesJo-Philipp Wich2016-04-262-2/+0
* package: flag further target specific packages as nonsharedJo-Philipp Wich2016-04-264-0/+8
* package: mark nvram and otrx nonshared as they're target specificJo-Philipp Wich2016-04-262-0/+2
* image / basefiles: make console password configurableJohn Crispin2016-04-181-2/+2
* busybox: fix setting the kernel timezoneJo-Philipp Wich2016-03-311-10/+14
* usbutils: Update USB IDs list and drop gzip compressionJohn Crispin2016-04-261-9/+11
* util-linux: update to version 2.28Hauke Mehrtens2016-04-176-333/+45
* busybox: update to 1.24.2Hauke Mehrtens2016-04-171-3/+3
* package/utils/usbutils: Update USB IDs list to snapshot 2015-12-17John Crispin2016-04-011-5/+5
* bsdiff: add missing host build dependency on bzip2 (fixes #21990)Felix Fietkau2016-03-071-0/+1
* lua: host: install lnum_config.hJohn Crispin2016-03-041-0/+11
* bsdiff: add bsdiff and bspatch tool packageHauke Mehrtens2016-02-272-0/+162
* toolchain/glibc: remove obsolete versionsFelix Fietkau2016-02-251-6/+0
* busybox: fix broken default for FEATURE_IP_ROUTE_DIR (#21845)Jo-Philipp Wich2016-02-122-3/+3
* util-linux: Subpackage for blkdiscardJohn Crispin2016-02-121-0/+18
* busybox: fix route tables in ip rule show outputFelix Fietkau2016-02-071-0/+23
* oseama: support creating single Seama entityRafał Miłecki2016-01-294-1/+527
* busybox: disable timestamp in versionFelix Fietkau2016-01-281-0/+3
* oseama: small util for reading Seama image format infoRafał Miłecki2016-01-283-0/+287
* bzip2: install to STAGING_DIR/host instead of STAGING_DIR/host/usrFelix Fietkau2016-01-201-1/+1
* bzip2: use $(STAGING_DIR)/host instead of $(STAGING_DIR_HOST)Felix Fietkau2016-01-201-3/+3
* lua: use $(STAGING_DIR)/host instead of $(STAGING_DIR_HOST)Felix Fietkau2016-01-201-2/+2
* opkg: depend on uclient-fetch, disable busybox wgetFelix Fietkau2016-01-191-1/+1
ions and limitations under the License. */ /** * @file templates/halconf.h * @brief HAL configuration header. * @details HAL configuration file, this file allows to enable or disable the * various device drivers from your application. You may also use * this file in order to override the device drivers default settings. * * @addtogroup HAL_CONF * @{ */ #ifndef HALCONF_H #define HALCONF_H #include "mcuconf.h" /** * @brief Enables the TM subsystem. */ #if !defined(HAL_USE_TM) || defined(__DOXYGEN__) #define HAL_USE_TM FALSE #endif /** * @brief Enables the PAL subsystem. */ #if !defined(HAL_USE_PAL) || defined(__DOXYGEN__) #define HAL_USE_PAL TRUE #endif /** * @brief Enables the ADC subsystem. */ #if !defined(HAL_USE_ADC) || defined(__DOXYGEN__) #define HAL_USE_ADC FALSE #endif /** * @brief Enables the cryptographic subsystem. */ #if !defined(HAL_USE_CRY) || defined(__DOXYGEN__) #define HAL_USE_CRY FALSE #endif /** * @brief Enables the DAC subsystem. */ #if !defined(HAL_USE_DAC) || defined(__DOXYGEN__) #define HAL_USE_DAC FALSE #endif /** * @brief Enables the CAN subsystem. */ #if !defined(HAL_USE_CAN) || defined(__DOXYGEN__) #define HAL_USE_CAN FALSE #endif /** * @brief Enables the EXT subsystem. */ #if !defined(HAL_USE_EXT) || defined(__DOXYGEN__) #define HAL_USE_EXT FALSE #endif /** * @brief Enables the GPT subsystem. */ #if !defined(HAL_USE_GPT) || defined(__DOXYGEN__) #define HAL_USE_GPT FALSE #endif /** * @brief Enables the I2C subsystem. */ #if !defined(HAL_USE_I2C) || defined(__DOXYGEN__) #define HAL_USE_I2C FALSE #endif /** * @brief Enables the ICU subsystem. */ #if !defined(HAL_USE_ICU) || defined(__DOXYGEN__) #define HAL_USE_ICU FALSE #endif /** * @brief Enables the MAC subsystem. */ #if !defined(HAL_USE_MAC) || defined(__DOXYGEN__) #define HAL_USE_MAC FALSE #endif /** * @brief Enables the MMC_SPI subsystem. */ #if !defined(HAL_USE_MMC_SPI) || defined(__DOXYGEN__) #define HAL_USE_MMC_SPI FALSE #endif /** * @brief Enables the PWM subsystem. */ #if !defined(HAL_USE_PWM) || defined(__DOXYGEN__) #define HAL_USE_PWM FALSE #endif /** * @brief Enables the QSPI subsystem. */ #if !defined(HAL_USE_QSPI) || defined(__DOXYGEN__) #define HAL_USE_QSPI FALSE #endif /** * @brief Enables the RTC subsystem. */ #if !defined(HAL_USE_RTC) || defined(__DOXYGEN__) #define HAL_USE_RTC FALSE #endif /** * @brief Enables the SDC subsystem. */ #if !defined(HAL_USE_SDC) || defined(__DOXYGEN__) #define HAL_USE_SDC FALSE #endif /** * @brief Enables the SERIAL subsystem. */ #if !defined(HAL_USE_SERIAL) || defined(__DOXYGEN__) #define HAL_USE_SERIAL TRUE #endif /** * @brief Enables the SERIAL over USB subsystem. */ #if !defined(HAL_USE_SERIAL_USB) || defined(__DOXYGEN__) #define HAL_USE_SERIAL_USB FALSE #endif /** * @brief Enables the SPI subsystem. */ #if !defined(HAL_USE_SPI) || defined(__DOXYGEN__) #define HAL_USE_SPI FALSE #endif /** * @brief Enables the UART subsystem. */ #if !defined(HAL_USE_UART) || defined(__DOXYGEN__) #define HAL_USE_UART FALSE #endif /** * @brief Enables the USB subsystem. */ #if !defined(HAL_USE_USB) || defined(__DOXYGEN__) #define HAL_USE_USB FALSE #endif /** * @brief Enables the I2S subsystem. */ #if !defined(HAL_USE_I2S) || defined(__DOXYGEN__) #define HAL_USE_I2S FALSE #endif /** * @brief Enables the WDG subsystem. */ #if !defined(HAL_USE_WDG) || defined(__DOXYGEN__) #define HAL_USE_WDG FALSE #endif /*===========================================================================*/ /* ADC driver related settings. */ /*===========================================================================*/ /** * @brief Enables synchronous APIs. * @note Disabling this option saves both code and data space. */ #if !defined(ADC_USE_WAIT) || defined(__DOXYGEN__) #define ADC_USE_WAIT TRUE #endif /** * @brief Enables the @p adcAcquireBus() and @p adcReleaseBus() APIs. * @note Disabling this option saves both code and data space. */ #if !defined(ADC_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) #define ADC_USE_MUTUAL_EXCLUSION TRUE #endif /*===========================================================================*/ /* CAN driver related settings. */ /*===========================================================================*/ /** * @brief Sleep mode related APIs inclusion switch. */ #if !defined(CAN_USE_SLEEP_MODE) || defined(__DOXYGEN__) #define CAN_USE_SLEEP_MODE TRUE #endif /*===========================================================================*/ /* CRY driver related settings. */ /*===========================================================================*/ /** * @brief Enables the SW fall-back of the cryptographic driver. * @details When enabled, this option, activates a fall-back software * implementation for algorithms not supported by the underlying * hardware. * @note Fall-back implementations may not be present for all algorithms. */ #if !defined(HAL_CRY_USE_FALLBACK) || defined(__DOXYGEN__) #define HAL_CRY_USE_FALLBACK FALSE #endif /** * @brief Makes the driver forcibly use the fall-back implementations. */ #if !defined(HAL_CRY_ENFORCE_FALLBACK) || defined(__DOXYGEN__) #define HAL_CRY_ENFORCE_FALLBACK FALSE #endif /*===========================================================================*/ /* I2C driver related settings. */ /*===========================================================================*/ /** * @brief Enables the mutual exclusion APIs on the I2C bus. */ #if !defined(I2C_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) #define I2C_USE_MUTUAL_EXCLUSION TRUE #endif /*===========================================================================*/ /* MAC driver related settings. */ /*===========================================================================*/ /** * @brief Enables an event sources for incoming packets. */ #if !defined(MAC_USE_ZERO_COPY) || defined(__DOXYGEN__) #define MAC_USE_ZERO_COPY FALSE #endif /** * @brief Enables an event sources for incoming packets. */ #if !defined(MAC_USE_EVENTS) || defined(__DOXYGEN__) #define MAC_USE_EVENTS TRUE #endif /*===========================================================================*/ /* MMC_SPI driver related settings. */ /*===========================================================================*/ /** * @brief Delays insertions. * @details If enabled this options inserts delays into the MMC waiting * routines releasing some extra CPU time for the threads with * lower priority, this may slow down the driver a bit however. * This option is recommended also if the SPI driver does not * use a DMA channel and heavily loads the CPU. */ #if !defined(MMC_NICE_WAITING) || defined(__DOXYGEN__) #define MMC_NICE_WAITING TRUE #endif /*===========================================================================*/ /* SDC driver related settings. */ /*===========================================================================*/ /** * @brief Number of initialization attempts before rejecting the card. * @note Attempts are performed at 10mS intervals. */ #if !defined(SDC_INIT_RETRY) || defined(__DOXYGEN__) #define SDC_INIT_RETRY 100 #endif /** * @brief Include support for MMC cards. * @note MMC support is not yet implemented so this option must be kept * at @p FALSE. */ #if !defined(SDC_MMC_SUPPORT) || defined(__DOXYGEN__) #define SDC_MMC_SUPPORT FALSE #endif /** * @brief Delays insertions. * @details If enabled this options inserts delays into the MMC waiting * routines releasing some extra CPU time for the threads with * lower priority, this may slow down the driver a bit however. */ #if !defined(SDC_NICE_WAITING) || defined(__DOXYGEN__) #define SDC_NICE_WAITING TRUE #endif /*===========================================================================*/ /* SERIAL driver related settings. */ /*===========================================================================*/ /** * @brief Default bit rate. * @details Configuration parameter, this is the baud rate selected for the * default configuration. */ #if !defined(SERIAL_DEFAULT_BITRATE) || defined(__DOXYGEN__) #define SERIAL_DEFAULT_BITRATE 38400 #endif /** * @brief Serial buffers size. * @details Configuration parameter, you can change the depth of the queue * buffers depending on the requirements of your application. * @note The default is 16 bytes for both the transmission and receive * buffers. */ #if !defined(SERIAL_BUFFERS_SIZE) || defined(__DOXYGEN__) #define SERIAL_BUFFERS_SIZE 16 #endif /*===========================================================================*/ /* SERIAL_USB driver related setting. */ /*===========================================================================*/ /** * @brief Serial over USB buffers size. * @details Configuration parameter, the buffer size must be a multiple of * the USB data endpoint maximum packet size. * @note The default is 256 bytes for both the transmission and receive * buffers. */ #if !defined(SERIAL_USB_BUFFERS_SIZE) || defined(__DOXYGEN__) #define SERIAL_USB_BUFFERS_SIZE 256 #endif /** * @brief Serial over USB number of buffers. * @note The default is 2 buffers. */ #if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) #define SERIAL_USB_BUFFERS_NUMBER 2 #endif /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ /** * @brief Enables synchronous APIs. * @note Disabling this option saves both code and data space. */ #if !defined(SPI_USE_WAIT) || defined(__DOXYGEN__) #define SPI_USE_WAIT TRUE #endif /** * @brief Enables the @p spiAcquireBus() and @p spiReleaseBus() APIs. * @note Disabling this option saves both code and data space. */ #if !defined(SPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) #define SPI_USE_MUTUAL_EXCLUSION TRUE #endif /*===========================================================================*/ /* UART driver related settings. */ /*===========================================================================*/ /** * @brief Enables synchronous APIs. * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) #define UART_USE_WAIT FALSE #endif /** * @brief Enables the @p uartAcquireBus() and @p uartReleaseBus() APIs. * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) #define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ /* USB driver related settings. */ /*===========================================================================*/ /** * @brief Enables synchronous APIs. * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) #define USB_USE_WAIT FALSE #endif #endif /* HALCONF_H */ /** @} */