You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

triceStaticBuffer.c 635B

12345678910111213141516
  1. //! \file triceStaticBuffer.c
  2. //! \author Thomas.Hoehenleitner [at] seerose.net
  3. //! //////////////////////////////////////////////////////////////////////////
  4. #include "trice.h"
  5. #if TRICE_BUFFER == TRICE_STATIC_BUFFER && TRICE_OFF == 0
  6. //! triceSingleBuffer holds a single trice during direct trice macro execution.
  7. uint32_t triceSingleBuffer[TRICE_BUFFER_SIZE >> 2];
  8. //! triceSingleBufferStartWritePosition points to trice data start.
  9. uint32_t* const triceSingleBufferStartWritePosition = &triceSingleBuffer[TRICE_DATA_OFFSET >> 2];
  10. void TriceTransfer(void) {}
  11. #endif // #if TRICE_BUFFER == TRICE_STATIC_BUFFER && TRICE_OFF == 0