Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Makefile_cerberos.local
- # Use this file to globally override uPnP settings
- # Path to Contiki
- ifndef CONTIKI
- CONTIKI = $(ROOT)/UPNP/contiki
- endif
- # Board revisions:
- # v2: Old ADC resistors, 10MHz, no case for SMIP radio. Just has RX and TX
- # wired to radio, duty cycling not possible. PB4 switches external
- # reset. (Optical switch, reset on uses a lot of energy!)
- # v2.9: First big production run, used for IPSO. New ADC resistors, 10MHz,
- # full enclosure. TX_RTS pin from radio wired to PB3, TX_CTS grounded.
- # Duty cycling possible when fuses set for fastest wake-up so we do not
- # miss UART from SMIP. PB4 enables/disables ADC for peripheral
- # detection. Has accelerometer on-board.
- # v2.12: Second big production run, new 3.686MHz crystal, bigger form factor,
- # TX_RTS from radio on PB3, TX_CTS wired to PA1 together with ADC
- # enable/disable. Duty cycling possible, radio waits till TX_CTS is low
- # (MCU awake and ready). Has external EEPROM on-board.
- # v2.13: Same as 2.12, but has 10M plug detect pull-ups on-board. controller.c
- # does not use the internal pull-ups in this case.
- CFLAGS += -DBOARD_REV_MAJOR=2
- CFLAGS += -DBOARD_REV_MINOR=9
- # Enable sleep
- #CFLAGS += -DSLEEP_MCU
- #FLAGS += -DDEMO_JOIN_TIMEOUT
- # Global debug disable, overrides all finer grained DEBUG flags.
- # Saves power by disabling USART HW.
- #CFLAGS += -DDBG_UART_DISABLE
- # Disable 0.5s wakeups from clock when measuring sleep current on app board.
- # Connect TX_RTSn on the application board to VSUPPLY to force permanent sleep.
- # GND to force permanent active mode. Alternatively, with SMIP board attached
- # and autojoin off, usefull for measuring app + radio sleep power consumption.
- # !! DISABLES ETIMER/CTIMER, NOT FOR NORMAL OPERATION !!
- #CFLAGS += -DCLOCK_DISABLE
- # Disable the SMIP join-FSM for testing (MCU will not request join etc but just
- # ack notifications from SMIP)
- #CFLAGS += -DJOINFSM_DISABLE
- # Debugging
- CFLAGS += -DUPNP_DEBUG
- CFLAGS += -DSMIP_DEBUG
- #CFLAGS += -DCONTROLLER_DEBUG
- #CFLAGS += -DDRIVER_DEBUG
- #CFLAGS += -DRD_DEBUG
- # Default observe rate for peripherals
- #TESTBED: 1min && 15min
- CFLAGS += -DDEFAULT_RATE=10
- # /rd rate
- CFLAGS += -DRD_RATE=30
Advertisement
Add Comment
Please, Sign In to add comment