mirror of
https://github.com/opentx/opentx.git
synced 2025-07-19 14:25:11 +03:00
Merge pull request #2696 from opentx/bsongis/issue2595_cli
Fixes #2595 and #2598: USB serial port and CLI added
This commit is contained in:
commit
771206e1b2
40 changed files with 1316 additions and 709 deletions
|
@ -40,7 +40,6 @@
|
|||
#define MIXER_STACK_SIZE 500
|
||||
#define AUDIO_STACK_SIZE 500
|
||||
#define BT_STACK_SIZE 500
|
||||
#define DEBUG_STACK_SIZE 500
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#define _ALIGNED(x) __declspec(align(x))
|
||||
|
@ -63,11 +62,6 @@ OS_TID btTaskId;
|
|||
OS_STK btStack[BT_STACK_SIZE];
|
||||
#endif
|
||||
|
||||
#if defined(DEBUG)
|
||||
OS_TID debugTaskId;
|
||||
OS_STK debugStack[DEBUG_STACK_SIZE];
|
||||
#endif
|
||||
|
||||
OS_MutexID audioMutex;
|
||||
OS_MutexID mixerMutex;
|
||||
|
||||
|
@ -205,8 +199,8 @@ void tasksStart()
|
|||
{
|
||||
CoInitOS();
|
||||
|
||||
#if defined(CPUARM) && defined(DEBUG) && !defined(SIMU)
|
||||
debugTaskId = CoCreateTaskEx(debugTask, NULL, 10, &debugStack[DEBUG_STACK_SIZE-1], DEBUG_STACK_SIZE, 1, false);
|
||||
#if defined(CLI)
|
||||
cliStart();
|
||||
#endif
|
||||
|
||||
#if defined(BLUETOOTH)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue