projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ao-tools/ao-makebin: have git ignore built object
[fw/altos]
/
src
/
usbtrng-v2.0
/
ao_pins.h
diff --git
a/src/usbtrng-v2.0/ao_pins.h
b/src/usbtrng-v2.0/ao_pins.h
index 90efb8642877a0dea25619943f9c1f0081190c03..2b23f967d80c44f553aa417588e63388d17a4e66 100644
(file)
--- a/
src/usbtrng-v2.0/ao_pins.h
+++ b/
src/usbtrng-v2.0/ao_pins.h
@@
-3,7
+3,8
@@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2 of the License.
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
@@
-40,8
+41,9
@@
#define AO_APB_PRESCALER 1
#define AO_RCC_CFGR_PPRE_DIV STM_RCC_CFGR_PPRE_DIV_1
#define AO_APB_PRESCALER 1
#define AO_RCC_CFGR_PPRE_DIV STM_RCC_CFGR_PPRE_DIV_1
-#define HAS_USB 1
-#define AO_USB_DIRECTIO 1
+#define HAS_USB 1
+#define AO_USB_DIRECTIO 1
+#define AO_PA11_PA12_RMP 0
#define IS_FLASH_LOADER 0
#define IS_FLASH_LOADER 0
@@
-55,4
+57,12
@@
#define AO_NUM_ADC 1
#define AO_NUM_ADC 1
+/* CRC */
+#define AO_CRC_WIDTH 32
+#define AO_CRC_INIT 0xffffffff
+
+/* TRNG */
+#define AO_LED_TRNG_READ AO_LED_RED
+#define AO_LED_TRNG_WRITE AO_LED_GREEN
+
#endif /* _AO_PINS_H_ */
#endif /* _AO_PINS_H_ */