mirror of
https://github.com/kelvinlawson/atomthreads.git
synced 2026-02-26 00:23:16 +01:00
STM8 port: Add UART support. Make use of full 1KB on Discovery. Improve documentation.
This commit is contained in:
@@ -195,7 +195,7 @@ uint32_t test_start (void)
|
||||
|
||||
/* Log the stack usage */
|
||||
#ifdef TESTS_LOG_STACK_USAGE
|
||||
ATOMLOG (_STR("StackUse:%d\n"), used_bytes);
|
||||
ATOMLOG (_STR("StackUse:%d\n"), (int)used_bytes);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -166,7 +166,7 @@ uint32_t test_start (void)
|
||||
|
||||
/* Log the stack usage */
|
||||
#ifdef TESTS_LOG_STACK_USAGE
|
||||
ATOMLOG (_STR("StackUse:%d\n"), used_bytes);
|
||||
ATOMLOG (_STR("StackUse:%d\n"), (int)used_bytes);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -274,7 +274,7 @@ uint32_t test_start (void)
|
||||
|
||||
/* Log the stack usage */
|
||||
#ifdef TESTS_LOG_STACK_USAGE
|
||||
ATOMLOG (_STR("StackUse:%d\n"), used_bytes);
|
||||
ATOMLOG (_STR("StackUse:%d\n"), (int)used_bytes);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -255,7 +255,7 @@ uint32_t test_start (void)
|
||||
|
||||
/* Log the stack usage */
|
||||
#ifdef TESTS_LOG_STACK_USAGE
|
||||
ATOMLOG (_STR("StackUse:%d\n"), used_bytes);
|
||||
ATOMLOG (_STR("StackUse:%d\n"), (int)used_bytes);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -226,7 +226,7 @@ uint32_t test_start (void)
|
||||
|
||||
/* Log the stack usage */
|
||||
#ifdef TESTS_LOG_STACK_USAGE
|
||||
ATOMLOG (_STR("StackUse:%d\n"), used_bytes);
|
||||
ATOMLOG (_STR("StackUse:%d\n"), (int)used_bytes);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -223,7 +223,7 @@ uint32_t test_start (void)
|
||||
|
||||
/* Log the stack usage */
|
||||
#ifdef TESTS_LOG_STACK_USAGE
|
||||
ATOMLOG (_STR("StackUse:%d\n"), used_bytes);
|
||||
ATOMLOG (_STR("StackUse:%d\n"), (int)used_bytes);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -237,7 +237,7 @@ uint32_t test_start (void)
|
||||
|
||||
/* Log the stack usage */
|
||||
#ifdef TESTS_LOG_STACK_USAGE
|
||||
ATOMLOG (_STR("StackUse:%d\n"), used_bytes);
|
||||
ATOMLOG (_STR("StackUse:%d\n"), (int)used_bytes);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -228,7 +228,7 @@ uint32_t test_start (void)
|
||||
|
||||
/* Log the stack usage */
|
||||
#ifdef TESTS_LOG_STACK_USAGE
|
||||
ATOMLOG (_STR("StackUse:%d\n"), used_bytes);
|
||||
ATOMLOG (_STR("StackUse:%d\n"), (int)used_bytes);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -192,7 +192,7 @@ uint32_t test_start (void)
|
||||
|
||||
/* Log the stack usage */
|
||||
#ifdef TESTS_LOG_STACK_USAGE
|
||||
ATOMLOG (_STR("StackUse:%d\n"), used_bytes);
|
||||
ATOMLOG (_STR("StackUse:%d\n"), (int)used_bytes);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -175,7 +175,7 @@ uint32_t test_start (void)
|
||||
|
||||
/* Log the stack usage */
|
||||
#ifdef TESTS_LOG_STACK_USAGE
|
||||
ATOMLOG (_STR("StackUse:%d\n"), used_bytes);
|
||||
ATOMLOG (_STR("StackUse:%d\n"), (int)used_bytes);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -167,7 +167,7 @@ uint32_t test_start (void)
|
||||
|
||||
/* Log the stack usage */
|
||||
#ifdef TESTS_LOG_STACK_USAGE
|
||||
ATOMLOG (_STR("StackUse:%d\n"), used_bytes);
|
||||
ATOMLOG (_STR("StackUse:%d\n"), (int)used_bytes);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -220,7 +220,7 @@ uint32_t test_start (void)
|
||||
|
||||
/* Log the stack usage */
|
||||
#ifdef TESTS_LOG_STACK_USAGE
|
||||
ATOMLOG (_STR("StackUse:%d\n"), used_bytes);
|
||||
ATOMLOG (_STR("StackUse:%d\n"), (int)used_bytes);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -252,7 +252,7 @@ uint32_t test_start (void)
|
||||
|
||||
/* Log the stack usage */
|
||||
#ifdef TESTS_LOG_STACK_USAGE
|
||||
ATOMLOG (_STR("StackUse:%d\n"), used_bytes);
|
||||
ATOMLOG (_STR("StackUse:%d\n"), (int)used_bytes);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -243,7 +243,7 @@ uint32_t test_start (void)
|
||||
|
||||
/* Log the stack usage */
|
||||
#ifdef TESTS_LOG_STACK_USAGE
|
||||
ATOMLOG (_STR("StackUse:%d\n"), used_bytes);
|
||||
ATOMLOG (_STR("StackUse:%d\n"), (int)used_bytes);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -198,7 +198,7 @@ uint32_t test_start (void)
|
||||
|
||||
/* Log the stack usage */
|
||||
#ifdef TESTS_LOG_STACK_USAGE
|
||||
ATOMLOG (_STR("StackUse:%d\n"), used_bytes);
|
||||
ATOMLOG (_STR("StackUse:%d\n"), (int)used_bytes);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -175,7 +175,7 @@ uint32_t test_start (void)
|
||||
|
||||
/* Log the stack usage */
|
||||
#ifdef TESTS_LOG_STACK_USAGE
|
||||
ATOMLOG (_STR("StackUse:%d\n"), used_bytes);
|
||||
ATOMLOG (_STR("StackUse:%d\n"), (int)used_bytes);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -218,7 +218,7 @@ uint32_t test_start (void)
|
||||
|
||||
/* Log the stack usage */
|
||||
#ifdef TESTS_LOG_STACK_USAGE
|
||||
ATOMLOG (_STR("StackUse:%d\n"), used_bytes);
|
||||
ATOMLOG (_STR("StackUse:%d\n"), (int)used_bytes);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -281,7 +281,7 @@ uint32_t test_start (void)
|
||||
|
||||
/* Log the stack usage */
|
||||
#ifdef TESTS_LOG_STACK_USAGE
|
||||
ATOMLOG (_STR("StackUse:%d\n"), used_bytes);
|
||||
ATOMLOG (_STR("StackUse:%d\n"), (int)used_bytes);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -222,7 +222,7 @@ uint32_t test_start (void)
|
||||
|
||||
/* Log the stack usage */
|
||||
#ifdef TESTS_LOG_STACK_USAGE
|
||||
ATOMLOG (_STR("StackUse:%d\n"), used_bytes);
|
||||
ATOMLOG (_STR("StackUse:%d\n"), (int)used_bytes);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -212,7 +212,7 @@ uint32_t test_start (void)
|
||||
|
||||
/* Log the stack usage */
|
||||
#ifdef TESTS_LOG_STACK_USAGE
|
||||
ATOMLOG (_STR("StackUse:%d\n"), used_bytes);
|
||||
ATOMLOG (_STR("StackUse:%d\n"), (int)used_bytes);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -175,7 +175,7 @@ uint32_t test_start (void)
|
||||
|
||||
/* Log the stack usage */
|
||||
#ifdef TESTS_LOG_STACK_USAGE
|
||||
ATOMLOG (_STR("StackUse:%d\n"), used_bytes);
|
||||
ATOMLOG (_STR("StackUse:%d\n"), (int)used_bytes);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -158,7 +158,7 @@ uint32_t test_start (void)
|
||||
|
||||
/* Log the stack usage */
|
||||
#ifdef TESTS_LOG_STACK_USAGE
|
||||
ATOMLOG (_STR("StackUse:%d\n"), used_bytes);
|
||||
ATOMLOG (_STR("StackUse:%d\n"), (int)used_bytes);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -244,7 +244,7 @@ uint32_t test_start (void)
|
||||
|
||||
/* Log the stack usage */
|
||||
#ifdef TESTS_LOG_STACK_USAGE
|
||||
ATOMLOG (_STR("StackUse:%d\n"), used_bytes);
|
||||
ATOMLOG (_STR("StackUse:%d\n"), (int)used_bytes);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -203,7 +203,7 @@ uint32_t test_start (void)
|
||||
|
||||
/* Log the stack usage */
|
||||
#ifdef TESTS_LOG_STACK_USAGE
|
||||
ATOMLOG (_STR("StackUse:%d\n"), used_bytes);
|
||||
ATOMLOG (_STR("StackUse:%d\n"), (int)used_bytes);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -168,7 +168,7 @@ uint32_t test_start (void)
|
||||
|
||||
/* Log the stack usage */
|
||||
#ifdef TESTS_LOG_STACK_USAGE
|
||||
ATOMLOG (_STR("StackUse:%d\n"), used_bytes);
|
||||
ATOMLOG (_STR("StackUse:%d\n"), (int)used_bytes);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -137,7 +137,7 @@ uint32_t test_start (void)
|
||||
|
||||
/* Log the stack usage */
|
||||
#ifdef TESTS_LOG_STACK_USAGE
|
||||
ATOMLOG (_STR("StackUse:%d\n"), used_bytes);
|
||||
ATOMLOG (_STR("StackUse:%d\n"), (int)used_bytes);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user