This reverts commit b9ace36fcc.
This change was added by PR 625 but has a serious logic flaw. It removes all occurrences of INCDIROPT and replaces it with a definition in tools/Config.mk:
else ifeq ($(WINTOOL),y)
DEFINE = "$(TOPDIR)/tools/define.sh"
INCDIR = "$(TOPDIR)/tools/incdir.sh" -w
This logic flaw is the Config.mk is included in all Make.defs files BEFORE WINTOOL is defined. As a result, the definition is wrong in many places when building under Cygwin with a Windows native toolchain.
drivers/wireless: Adds XBee S2C (802.15.4 firmware) support. XBee driver emulates mac802154 interface
* drivers/wireless/xbee: Adds xbee_netdev. Very similar to mac802154_netdev
* configs/same70-xplained: Starts adding support for XBee radio
* drivers/wireless/ieee802154/xbee: More structuring of XBee driver
* drivers/wireless/ieee802154/xbee: More Xbee work. Starts adding support on Clicker2
* drivers/wireless/ieee802154/xbee: More XBee MAC code
* configs/clicker2-stm32: More work to add XBee radio support
* drivers/wireless/ieee802154/xbee: Most of driver is now structured. No build errors
* configs/clicker2-stm32: Adjustments to XBee click module support
* drivers/xbee: Changes md_ prefix to xd_ prefix for xbeenet_driver_s fields
* drivers/xbee: XBee network device now passes MAC events via IOCTL
* drivers/xbee: Support querying device for parameters, setting parameters, and structures association/startpan logic
* configs/clicker2-stm32: Fixes Xbee lower half ATTN poll logic
* drivers/xbee: Removes dependce on CONFIG_IEEE802154_NETDEV
* drivers/xbee: Supports MAC RESET.request primitive
* drivers/xbee: Exposes generic AT query to the rest of driver
* drivers/xbee: Sets local values when writing setting change to Xbee device
* drivers/xbee: Finish association logic
* drivers/xbee: Adds xbee_get_mhrlen( ) allocating enough space for API frame header to frame
* drivers/xbee: Finishes transmit/receive logic
* drivers/xbee: Fixes xbee_netdev to match logic in mac802154_netdev.c
* drivers/xbee: Rearranges logic to prevent a loop condition where recursion could potentially occur to the point of deadlocking the system
Approved-by: Gregory Nutt <gnutt@nuttx.org>
drivers/wireless/ieee802154/Make.defs
Changes to the build infrastructure to include the mrf24j40 driver
include/nuttx/spi/spi.h
Define a IEEE SPI device
include/nuttx/wireless/ieee802154/ieee802154_radio.h
This file defines the API of a IEEE 802.15.4 radio device, to be used by the future common MAC 802.15.4 layer
drivers/wireless/ieee802154/mrf24j40.c
drivers/wireless/ieee802154/mrf24j40.h
The main MRF24J40 IEEE 802.15.4 radio driver
include/nuttx/wireless/ieee802154/mrf24j40.h
This file allows instanciation of the MRF24j40 driver from board configurations