some traps

This commit is contained in:
2018-01-13 21:49:13 +01:00
parent 69443613fc
commit 0ef1134aa0
5 changed files with 11 additions and 10 deletions
+1 -2
View File
@@ -117,8 +117,7 @@ void debug_write(const char *buf, uint16_t len)
/** Debug print, used by debug / newlib */
ssize_t _write_r(struct _reent *rptr, int fd, const void *buf, size_t len)
{
(void)rptr;
debug_write(buf, len);
trap("Use of newlib printf");
return len;
}
+2 -2
View File
@@ -12,10 +12,10 @@
#if DISABLE_MSC
#define TSK_STACK_MAIN 100 // without MSC the stack usage is significantly lower
#else
#define TSK_STACK_MAIN 170
#define TSK_STACK_MAIN 160
#endif
#define TSK_STACK_MSG 220 // TF message handler task stack size (all unit commands run on this thread)
#define TSK_STACK_MSG 180 // TF message handler task stack size (all unit commands run on this thread)
#define BULK_READ_BUF_LEN 256 // Buffer for TF bulk reads
#define UNIT_TMP_LEN 512 // Buffer for internal unit operations