projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
altoslib: move distinct classes to separate files.
[fw/altos]
/
src
/
megametrum-v0.1
/
ao_pins.h
diff --git
a/src/megametrum-v0.1/ao_pins.h
b/src/megametrum-v0.1/ao_pins.h
index 42715968160a18b6966c11b4d7288ba2735a1719..8b631ae970dff80f19787919843a9c7d30fc5adb 100644
(file)
--- a/
src/megametrum-v0.1/ao_pins.h
+++ b/
src/megametrum-v0.1/ao_pins.h
@@
-305,6
+305,15
@@
struct ao_adc {
#define HAS_HIGHG_ACCEL 0
+/*
+ * mma655x
+ */
+
+#define HAS_MMA655X 0
+#define AO_MMA655X_SPI_INDEX AO_SPI_1_PA5_PA6_PA7
+#define AO_MMA655X_CS_GPIO (&stm_gpiod)
+#define AO_MMA655X_CS 4
+
#define NUM_CMDS 16
/*