Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
config.h@1:f5686759c861, 2015-05-05 (annotated)
- Committer:
- spastor
- Date:
- Tue May 05 18:29:29 2015 +0200
- Revision:
- 1:f5686759c861
- Parent:
- 0:fd8c52820c01
- Child:
- 3:91b39019eec3
Automatic upload
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| hbujanda | 0:fd8c52820c01 | 1 | |
| hbujanda | 0:fd8c52820c01 | 2 | #if !defined(__CONFIG_H_) |
| hbujanda | 0:fd8c52820c01 | 3 | #define __CONFIG_H_ |
| hbujanda | 0:fd8c52820c01 | 4 | |
| hbujanda | 0:fd8c52820c01 | 5 | //#define PATFORM_ARCHPRO |
| hbujanda | 0:fd8c52820c01 | 6 | |
| hbujanda | 0:fd8c52820c01 | 7 | /** Library configuration options */ |
| hbujanda | 0:fd8c52820c01 | 8 | #define ENABLE_LOGGING |
| hbujanda | 0:fd8c52820c01 | 9 | #define ENABLE_ASSERTIONS |
| hbujanda | 0:fd8c52820c01 | 10 | #define FRAME_BUFFER_SIZE 4 |
| hbujanda | 0:fd8c52820c01 | 11 | #define MAX_FRAME_PAYLOAD_LEN 128 |
| hbujanda | 0:fd8c52820c01 | 12 | #define ENABLE_PM_SUPPORT |
| hbujanda | 0:fd8c52820c01 | 13 | |
| hbujanda | 0:fd8c52820c01 | 14 | #define SYNC_OPS_TIMEOUT_MS 2000 |
| hbujanda | 0:fd8c52820c01 | 15 | |
| hbujanda | 0:fd8c52820c01 | 16 | #if defined(PATFORM_ARCHPRO) |
| hbujanda | 0:fd8c52820c01 | 17 | #define RADIO_TX P4_28 |
| hbujanda | 0:fd8c52820c01 | 18 | #define RADIO_RX P4_29 |
| hbujanda | 0:fd8c52820c01 | 19 | #define RADIO_RESET NC |
| hbujanda | 0:fd8c52820c01 | 20 | //#define RADIO_RESET NC |
| hbujanda | 0:fd8c52820c01 | 21 | #define RADIO_SLEEP_REQ NC |
| hbujanda | 0:fd8c52820c01 | 22 | #define RADIO_ON_SLEEP NC |
| hbujanda | 0:fd8c52820c01 | 23 | #define DEBUG_TX P0_2 |
| hbujanda | 0:fd8c52820c01 | 24 | #define DEBUG_RX P0_3 |
| hbujanda | 0:fd8c52820c01 | 25 | #elif defined(TARGET_LPC1768) |
| hbujanda | 0:fd8c52820c01 | 26 | #define RADIO_TX p9 |
| hbujanda | 0:fd8c52820c01 | 27 | #define RADIO_RX p10 |
| hbujanda | 0:fd8c52820c01 | 28 | #define RADIO_RESET p30 |
| hbujanda | 0:fd8c52820c01 | 29 | #define RADIO_SLEEP_REQ NC |
| hbujanda | 0:fd8c52820c01 | 30 | #define RADIO_ON_SLEEP NC |
| hbujanda | 0:fd8c52820c01 | 31 | #define DEBUG_TX P0_2 |
| hbujanda | 0:fd8c52820c01 | 32 | #define DEBUG_RX P0_3 |
| hbujanda | 0:fd8c52820c01 | 33 | #elif defined(TARGET_FRDM_KL25) |
| hbujanda | 0:fd8c52820c01 | 34 | #define RADIO_TX PTD3 |
| hbujanda | 0:fd8c52820c01 | 35 | #define RADIO_RX PTD2 |
| hbujanda | 0:fd8c52820c01 | 36 | #define RADIO_RESET NC |
| hbujanda | 0:fd8c52820c01 | 37 | #define RADIO_SLEEP_REQ NC |
| hbujanda | 0:fd8c52820c01 | 38 | #define RADIO_ON_SLEEP NC |
| hbujanda | 0:fd8c52820c01 | 39 | #define DEBUG_TX USBTX |
| hbujanda | 0:fd8c52820c01 | 40 | #define DEBUG_RX USBRX |
| hbujanda | 0:fd8c52820c01 | 41 | #elif (defined TARGET_LPC11U24) |
| hbujanda | 0:fd8c52820c01 | 42 | #define RADIO_TX p9 |
| hbujanda | 0:fd8c52820c01 | 43 | #define RADIO_RX p10 |
| hbujanda | 0:fd8c52820c01 | 44 | #define RADIO_RESET p30 |
| hbujanda | 0:fd8c52820c01 | 45 | #define RADIO_SLEEP_REQ NC |
| hbujanda | 0:fd8c52820c01 | 46 | #define RADIO_ON_SLEEP NC |
| hbujanda | 0:fd8c52820c01 | 47 | #define DEBUG_TX USBTX |
| hbujanda | 0:fd8c52820c01 | 48 | #define DEBUG_RX USBRX |
| hbujanda | 0:fd8c52820c01 | 49 | #else |
| hbujanda | 0:fd8c52820c01 | 50 | #error "Define a platform" |
| hbujanda | 0:fd8c52820c01 | 51 | #endif |
| hbujanda | 0:fd8c52820c01 | 52 | |
| hbujanda | 0:fd8c52820c01 | 53 | #endif /* __CONFIG_H_ */ |
| hbujanda | 0:fd8c52820c01 | 54 |