first commit
Dependencies: C12832_lcd DigiLogger XBeeLib mbed
Fork of XBee802_Receive_Data by
config.h@3:4cb764d44eac, 2015-05-11 (annotated)
- Committer:
- hbujanda
- Date:
- Mon May 11 17:58:49 2015 +0200
- Revision:
- 3:4cb764d44eac
- Parent:
- 1:bf4296cf56cb
Automatic upload
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
hbujanda | 0:155647ac203f | 1 | |
hbujanda | 0:155647ac203f | 2 | #if !defined(__CONFIG_H_) |
hbujanda | 0:155647ac203f | 3 | #define __CONFIG_H_ |
hbujanda | 0:155647ac203f | 4 | |
hbujanda | 3:4cb764d44eac | 5 | #define PATFORM_ARCHPRO |
hbujanda | 0:155647ac203f | 6 | |
hbujanda | 0:155647ac203f | 7 | /** Library configuration options */ |
hbujanda | 0:155647ac203f | 8 | #define ENABLE_LOGGING |
hbujanda | 0:155647ac203f | 9 | #define ENABLE_ASSERTIONS |
hbujanda | 3:4cb764d44eac | 10 | #define FRAME_BUFFER_SIZE 10 |
hbujanda | 0:155647ac203f | 11 | #define MAX_FRAME_PAYLOAD_LEN 128 |
hbujanda | 0:155647ac203f | 12 | #define ENABLE_PM_SUPPORT |
hbujanda | 0:155647ac203f | 13 | |
hbujanda | 0:155647ac203f | 14 | #define SYNC_OPS_TIMEOUT_MS 2000 |
hbujanda | 0:155647ac203f | 15 | |
hbujanda | 0:155647ac203f | 16 | #if defined(PATFORM_ARCHPRO) |
hbujanda | 0:155647ac203f | 17 | #define RADIO_TX P4_28 |
hbujanda | 0:155647ac203f | 18 | #define RADIO_RX P4_29 |
hbujanda | 3:4cb764d44eac | 19 | #define RADIO_RESET P2_13 |
hbujanda | 0:155647ac203f | 20 | //#define RADIO_RESET NC |
hbujanda | 0:155647ac203f | 21 | #define RADIO_SLEEP_REQ NC |
hbujanda | 0:155647ac203f | 22 | #define RADIO_ON_SLEEP NC |
hbujanda | 0:155647ac203f | 23 | #define DEBUG_TX P0_2 |
hbujanda | 0:155647ac203f | 24 | #define DEBUG_RX P0_3 |
hbujanda | 0:155647ac203f | 25 | #elif defined(TARGET_LPC1768) |
hbujanda | 0:155647ac203f | 26 | #define RADIO_TX p9 |
hbujanda | 0:155647ac203f | 27 | #define RADIO_RX p10 |
hbujanda | 0:155647ac203f | 28 | #define RADIO_RESET p30 |
hbujanda | 0:155647ac203f | 29 | #define RADIO_SLEEP_REQ NC |
hbujanda | 0:155647ac203f | 30 | #define RADIO_ON_SLEEP NC |
hbujanda | 0:155647ac203f | 31 | #define DEBUG_TX P0_2 |
hbujanda | 0:155647ac203f | 32 | #define DEBUG_RX P0_3 |
hbujanda | 0:155647ac203f | 33 | #elif defined(TARGET_FRDM_KL25) |
hbujanda | 0:155647ac203f | 34 | #define RADIO_TX PTD3 |
hbujanda | 0:155647ac203f | 35 | #define RADIO_RX PTD2 |
hbujanda | 0:155647ac203f | 36 | #define RADIO_RESET NC |
hbujanda | 0:155647ac203f | 37 | #define RADIO_SLEEP_REQ NC |
hbujanda | 0:155647ac203f | 38 | #define RADIO_ON_SLEEP NC |
hbujanda | 0:155647ac203f | 39 | #define DEBUG_TX USBTX |
hbujanda | 0:155647ac203f | 40 | #define DEBUG_RX USBRX |
hbujanda | 0:155647ac203f | 41 | #elif (defined TARGET_LPC11U24) |
hbujanda | 0:155647ac203f | 42 | #define RADIO_TX p9 |
hbujanda | 0:155647ac203f | 43 | #define RADIO_RX p10 |
hbujanda | 0:155647ac203f | 44 | #define RADIO_RESET p30 |
hbujanda | 0:155647ac203f | 45 | #define RADIO_SLEEP_REQ NC |
hbujanda | 0:155647ac203f | 46 | #define RADIO_ON_SLEEP NC |
hbujanda | 0:155647ac203f | 47 | #define DEBUG_TX USBTX |
hbujanda | 0:155647ac203f | 48 | #define DEBUG_RX USBRX |
hbujanda | 0:155647ac203f | 49 | #else |
hbujanda | 0:155647ac203f | 50 | #error "Define a platform" |
hbujanda | 0:155647ac203f | 51 | #endif |
hbujanda | 0:155647ac203f | 52 | |
hbujanda | 0:155647ac203f | 53 | #endif /* __CONFIG_H_ */ |
hbujanda | 0:155647ac203f | 54 |