mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-26 16:30:07 +08:00
Increase PCLK to use USB mass storage with LPC
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user