Packet Assembly in ISR

- move packet assembly into ISR, hand completed packets over to protocol task
- remove image data buffer from struct pr_packet, use new struct pr_data
  for accumulating image data
- define likely/unlikely macros, add -freorder-blocks to component makefile
- (hopefully) improve code run time in ISR by using likely/unlikely
This commit is contained in:
Tido Klaassen 2018-08-22 19:13:53 +02:00
parent f0636541e8
commit b1cb95d581
2 changed files with 313 additions and 223 deletions

View file

@ -6,3 +6,6 @@
# in the build directory. This behaviour is entirely configurable,
# please read the ESP-IDF documents if you need to do this.
#
CFLAGS += -freorder-blocks