Refreshed Spark Configurations

This commit is contained in:
Gregory Nutt
2015-02-28 15:44:58 -06:00
parent 0772ca5702
commit e2e7c791c1
7 changed files with 1271 additions and 426 deletions
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+5 -3
View File
@@ -78,7 +78,7 @@ void stm32_boardinitialize(void)
board_led_initialize(); board_led_initialize();
#endif #endif
#ifdef CONFIG_ARCH_HAVE_BUTTONS #ifdef CONFIG_ARCH_BUTTONS
board_button_initialize(); board_button_initialize();
#endif #endif
@@ -128,9 +128,11 @@ void board_initialize(void)
nsh_archinitialize(); nsh_archinitialize();
#endif #endif
/* CC3000 wireless initialization */ /* CC3000 wireless initialization
* Avoid Double registration if CONFIG_EXAMPLES_CC3000BASIC is defined
*/
#ifdef CONFIG_WL_CC3000 #if defined(CONFIG_WL_CC3000) && !defined(CONFIG_EXAMPLES_CC3000BASIC)
wireless_archinitialize(0); wireless_archinitialize(0);
#endif #endif
} }
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -112,7 +112,7 @@ CCASSERT(sizeof(cc3000_buffer_desc) <= CONFIG_MQ_MAXMSGSIZE);
#define FREE_SLOT -1 #define FREE_SLOT -1
#define CLOSE_SLOT -2 #define CLOSE_SLOT -2
#if defined(CONFIG_CC3000_PROBES) #if defined(CONFIG_DEBUG) && defined(CONFIG_CC3000_PROBES)
# define CC3000_GUARD (0xc35aa53c) # define CC3000_GUARD (0xc35aa53c)
# define INIT_GUARD(p) p->guard = CC3000_GUARD # define INIT_GUARD(p) p->guard = CC3000_GUARD
# define CHECK_GUARD(p) DEBUGASSERT(p->guard == CC3000_GUARD) # define CHECK_GUARD(p) DEBUGASSERT(p->guard == CC3000_GUARD)