Permalink
Browse files

Increase PCLK to use USB mass storage with LPC

  • Loading branch information...
1 parent 8e732d0 commit 55672048f0a309749d93985f26b656ac5fd2e9de @martinmm martinmm committed Jan 15, 2012
Showing with 4 additions and 1 deletion.
  1. +3 −0 conf/autopilot/logger.makefile
  2. +1 −1 sw/airborne/firmwares/logger/main_logger.c
@@ -50,6 +50,9 @@ ap.srcs += mcu.c
#set SPI interface for SD card (0 or 1)
ap.CFLAGS += -DHW_ENDPOINT_LPC2000_SPINUM=$(SPI_CHANNEL)
+#LPC2148 USB hw module needs at least 18MHz PCLK
+ap.CFLAGS += -DUSE_USB_HIGH_PCLK
+
#efsl
ap.CFLAGS += -I $(SRC_ARCH)/efsl/inc -I $(SRC_ARCH)/efsl/conf
@@ -100,7 +100,7 @@
#endif
#ifndef LOG_STOP_KEY
-/* BUTTON that stops logging (BUTTON = P0.7, DTR = P0.13, INT1 = P0.14) */
+/* BUTTON that stops logging (PPM_IN = P0.6, BUTTON = P0.7, DTR = P0.13, INT1 = P0.14) */
#define LOG_STOP_KEY 7
#endif

0 comments on commit 5567204

Please sign in to comment.