Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Increase PCLK to use USB mass storage with LPC

  • Loading branch information...
commit 55672048f0a309749d93985f26b656ac5fd2e9de 1 parent 8e732d0
@martinmm martinmm authored
View
3  conf/autopilot/logger.makefile
@@ -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
View
2  sw/airborne/firmwares/logger/main_logger.c
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.