-
Notifications
You must be signed in to change notification settings - Fork 36
Conversation
Tested new stacksize on |
needs rebase |
Rebased (and adapted) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks fine to me. Output format looks to be the same except for the 0x prefix. Untested ACK
@@ -45,7 +47,7 @@ | |||
/** | |||
* @brief Stack for the raw dump thread | |||
*/ | |||
static char rawdmp_stack[THREAD_STACKSIZE_MAIN]; | |||
static char rawdmp_stack[THREAD_STACKSIZE_SMALL]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change may need verification on some more platforms though (AVR, msp430, mips)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
z1
is an msp430 platform, so this I already tested. I'm not sure XBee works with the sniffer, but we can maybe try with an OpenLabs for the AVR-based board. Same goes probably for MIPS, though SPI is just in the works.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The z1
would even be happy with THREAD_STACKSIZE_TINY
btw ;-)
Ping |
I was able to reduce stack usage by 2/3 on `samr21-xpro`. Additionally, I removed the leading `0x` for the hexadecimal numbers. The parsing script knows which numbers are hex (all of them) and they just waste time both on the node and in the parsing script
755d7d4
to
c65dc82
Compare
Ping and rebased. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tested ACK
sorry for the delay, I forgot about this one. |
sniffer: use fmt instead of printf
I know this is a little more extreme change, but I was able to reduce stack usage by 2/3 on
samr21-xpro
. Additionally, I removed the leading0x
for the hexadecimal numbers. The parsing script knows which numbers are hex (all of them) and they just waste time both on the node and in the parsing script.(
Needs to be adapted if #33 is merged beforedone)