git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4369 35acf78f-673a-0410-8e92-d51de3d6d3f4
parent
bd285a8ea2
commit
08e6d98c0d
|
@ -361,7 +361,7 @@
|
|||
* @note The default is @p FALSE.
|
||||
*/
|
||||
#if !defined(CH_DBG_SYSTEM_STATE_CHECK) || defined(__DOXYGEN__)
|
||||
#define CH_DBG_SYSTEM_STATE_CHECK TRUE
|
||||
#define CH_DBG_SYSTEM_STATE_CHECK FALSE
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@ -395,7 +395,7 @@
|
|||
* @note The default is @p FALSE.
|
||||
*/
|
||||
#if !defined(CH_DBG_ENABLE_TRACE) || defined(__DOXYGEN__)
|
||||
#define CH_DBG_ENABLE_TRACE TRUE
|
||||
#define CH_DBG_ENABLE_TRACE FALSE
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@ -409,7 +409,7 @@
|
|||
* @p panic_msg variable set to @p NULL.
|
||||
*/
|
||||
#if !defined(CH_DBG_ENABLE_STACK_CHECK) || defined(__DOXYGEN__)
|
||||
#define CH_DBG_ENABLE_STACK_CHECK TRUE
|
||||
#define CH_DBG_ENABLE_STACK_CHECK FALSE
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@ -421,7 +421,7 @@
|
|||
* @note The default is @p FALSE.
|
||||
*/
|
||||
#if !defined(CH_DBG_FILL_THREADS) || defined(__DOXYGEN__)
|
||||
#define CH_DBG_FILL_THREADS TRUE
|
||||
#define CH_DBG_FILL_THREADS FALSE
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
@ -110,13 +110,13 @@ static void tmr_init(void *p) {
|
|||
/**
|
||||
* @brief FS object.
|
||||
*/
|
||||
FATFS SDC_FS;
|
||||
static FATFS SDC_FS;
|
||||
|
||||
/* FS mounted and ready.*/
|
||||
static bool_t fs_ready = FALSE;
|
||||
|
||||
/* Generic large buffer.*/
|
||||
uint8_t fbuff[1024];
|
||||
static uint8_t fbuff[1024];
|
||||
|
||||
static FRESULT scan_files(BaseSequentialStream *chp, char *path) {
|
||||
FRESULT res;
|
||||
|
@ -597,7 +597,7 @@ static msg_t Thread1(void *arg) {
|
|||
chRegSetThreadName("blinker");
|
||||
while (TRUE) {
|
||||
palTogglePad(GPIOC, GPIOC_LED);
|
||||
chThdSleepMilliseconds(cnt ? 500 : 125);
|
||||
chThdSleepMilliseconds(fs_ready ? 125 : 500);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -631,6 +631,11 @@ int main(void) {
|
|||
sduStart(&SDU1, &serusbcfg);
|
||||
usbConnectBus(serusbcfg.usbp);
|
||||
|
||||
/*
|
||||
* Shell manager initialization.
|
||||
*/
|
||||
shellInit();
|
||||
|
||||
/*
|
||||
* Activates the serial driver 6 and SDC driver 1 using default
|
||||
* configuration.
|
||||
|
|
|
@ -161,6 +161,9 @@
|
|||
3484947)(backported to 2.4.1).
|
||||
- FIX: Fixed various minor documentation errors (bug 3484942)(backported
|
||||
to 2.4.1).
|
||||
- NEW: Added support for the Olimex STM32-E407 board. Added an integrated
|
||||
demo including USB-CDC, lwIP with web server, FatFs and shell, all running
|
||||
together.
|
||||
- NEW: Added an experimental and unsupported STM8 port for the IAR compiler,
|
||||
contributed by "king2".
|
||||
- NEW: Updated STM8 header files to latest versions from ST.
|
||||
|
|
Loading…
Reference in New Issue