summaryrefslogtreecommitdiff
path: root/openpicc/config/board.h
diff options
context:
space:
mode:
authorhenryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2008-02-29 08:13:12 +0000
committerhenryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2008-02-29 08:13:12 +0000
commit4b03b310ffda11b017ce5166012a7139b09eee90 (patch)
tree7b817d822eda4c24cc813ea98f65a1d4a4f5f9c6 /openpicc/config/board.h
parent4dc2cb5b49115f5376f27ff736a7939247deb111 (diff)
Add information about new hardware patchlevel
git-svn-id: https://svn.openpcd.org:2342/trunk@433 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'openpicc/config/board.h')
-rw-r--r--openpicc/config/board.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/openpicc/config/board.h b/openpicc/config/board.h
index 428acd4..ac6bf81 100644
--- a/openpicc/config/board.h
+++ b/openpicc/config/board.h
@@ -59,6 +59,10 @@ enum openpicc_release {
* + PLL_LOCK relocated from PA4 to PA5
* + Copy of FRAME routed to PA4
* + Connection between R18 and 3V3 removed, instead R18 is now connected to PA31*/
+ OPENPICC_v0_4_p2, /* Enhancement of v0.1p1, Add:
+ * + CARRIER can be switched from PLL output to original carrier
+ * using PA30
+ */
};
struct openpicc_hardware {
enum openpicc_release release;
@@ -66,12 +70,14 @@ struct openpicc_hardware {
struct {
int data_gating:1;
int clock_gating:1;
+ int clock_switching:1;
} features;
int PLL_LOCK;
int CLOCK_GATE;
int DATA_GATE;
+ int CLOCK_SWITCH;
};
extern const struct openpicc_hardware OPENPICC_HARDWARE[];
@@ -121,7 +127,7 @@ extern const struct openpicc_hardware *OPENPICC;
#define TASK_BEACON_PRIORITY ( tskIDLE_PRIORITY )
#define TASK_BEACON_STACK ( 512 )
-#define TASK_CMD_PRIORITY ( tskIDLE_PRIORITY + 1 )
+#define TASK_CMD_PRIORITY ( tskIDLE_PRIORITY + 2 )
#define TASK_CMD_STACK ( 512 )
#define TASK_USB_PRIORITY ( tskIDLE_PRIORITY + 2 )
personal git repositories of Harald Welte. Your mileage may vary