Move app/service code from tactility-core to tactility (#14)
* Move app/service code from tactility-core to tactility * fix formatting * updated dev docs
This commit is contained in:
committed by
GitHub
parent
0c724e2e68
commit
e2209ccba8
@@ -5,3 +5,6 @@ add_executable(app-sim ${SOURCES})
|
||||
target_link_libraries(app-sim PRIVATE tactility)
|
||||
target_link_libraries(app-sim PRIVATE tactility-core)
|
||||
|
||||
add_definitions(-D_Nullable=)
|
||||
add_definitions(-D_Nonnull=)
|
||||
|
||||
|
||||
+7
-16
@@ -1,26 +1,17 @@
|
||||
#include "log.h"
|
||||
|
||||
#include "FreeRTOS.h"
|
||||
#include "task.h"
|
||||
#include "log.h"
|
||||
#include "portmacro.h"
|
||||
#include "tactility.h"
|
||||
#include "task.h"
|
||||
|
||||
|
||||
void vAssertCalled( unsigned long ulLine, const char * const pcFileName )
|
||||
{
|
||||
void vAssertCalled(TT_UNUSED unsigned long line, TT_UNUSED const char* const file) {
|
||||
static portBASE_TYPE xPrinted = pdFALSE;
|
||||
volatile uint32_t ulSetToNonZeroInDebuggerToContinue = 0;
|
||||
|
||||
/* Parameters are not used. */
|
||||
( void ) ulLine;
|
||||
( void ) pcFileName;
|
||||
volatile uint32_t set_to_nonzero_in_debugger_to_continue = 0;
|
||||
|
||||
taskENTER_CRITICAL();
|
||||
{
|
||||
/* You can step out of this function to debug the assertion by using
|
||||
the debugger to set ulSetToNonZeroInDebuggerToContinue to a non-zero
|
||||
value. */
|
||||
while( ulSetToNonZeroInDebuggerToContinue == 0 )
|
||||
{
|
||||
// Step out by attaching a debugger and setting set_to_nonzero_in_debugger_to_continue
|
||||
while (set_to_nonzero_in_debugger_to_continue == 0) { /* NO-OP */
|
||||
}
|
||||
}
|
||||
taskEXIT_CRITICAL();
|
||||
|
||||
Reference in New Issue
Block a user