mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-18 03:52:11 +01:00
Move SDCard functions.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@107 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
3a0ecba2cc
commit
5b31cc8813
@ -89,7 +89,6 @@ SRC += $(PIOS)/pios.c
|
||||
## PIOS Hardware (STM32F10x)
|
||||
SRC += $(PIOSSTM32F10X)/pios_sys.c
|
||||
SRC += $(PIOSSTM32F10X)/pios_led.c
|
||||
SRC += $(PIOSSTM32F10X)/pios_sdcard.c
|
||||
SRC += $(PIOSSTM32F10X)/pios_usart.c
|
||||
SRC += $(PIOSSTM32F10X)/pios_irq.c
|
||||
SRC += $(PIOSSTM32F10X)/pios_adc.c
|
||||
@ -97,6 +96,7 @@ SRC += $(PIOSSTM32F10X)/pios_servo.c
|
||||
SRC += $(PIOSSTM32F10X)/pios_i2c.c
|
||||
|
||||
## PIOS Hardware (Common)
|
||||
SRC += $(PIOSCOMMON)/pios_sdcard.c
|
||||
SRC += $(PIOSCOMMON)/pios_settings.c
|
||||
SRC += $(PIOSCOMMON)/pios_com.c
|
||||
SRC += $(PIOSCOMMON)/pios_bmp085.c
|
||||
@ -317,7 +317,7 @@ OOCD_EXE=openocd
|
||||
# debug level
|
||||
OOCD_CL=-d0
|
||||
# interface and board/target settings (using the OOCD target-library here)
|
||||
OOCD_CL+=-f project/OpenOCD/olimex-arm-usb-ocd.cfg -f project/OpenOCD/stm32.cfg
|
||||
OOCD_CL+=-f project/OpenOCD/olimex-arm-usb-tiny-h.cfg -f project/OpenOCD/stm32.cfg
|
||||
# initialize
|
||||
OOCD_CL+=-c init
|
||||
# show the targets
|
||||
|
@ -42,6 +42,7 @@ void vApplicationIdleHook(void);
|
||||
|
||||
/* Function Prototypes */
|
||||
void TestTask( void *pvParameters );
|
||||
|
||||
/**
|
||||
* Main function
|
||||
*/
|
||||
@ -68,7 +69,7 @@ int main()
|
||||
/* Initialise OpenPilot application */
|
||||
// OpenPilotInit();
|
||||
|
||||
xTaskCreate( TestTask, ( signed portCHAR * ) "Test", configMINIMAL_STACK_SIZE, NULL, 2, NULL );
|
||||
xTaskCreate( TestTask, ( signed portCHAR * ) "Test", 128 , NULL, 2, NULL );
|
||||
|
||||
/* Start the FreeRTOS scheduler */
|
||||
vTaskStartScheduler();
|
||||
|
Loading…
x
Reference in New Issue
Block a user