Skip to content
Permalink
Browse files

tpl_tick type is now generated by goil. Default to uint32

  • Loading branch information...
mbriday committed Sep 20, 2019
1 parent ca257ba commit 48b51079b5540aa8cc826f30f0596ea51fb5f3d4
@@ -0,0 +1,11 @@
/**
* tpl_tick is used for relative and absolute dates.
* tpl_tick should be an unsigned datatype.
*
* On MSP430, tpl_ticks should be limited to 16 bits
* (on 32 bits, arguments for system call SetRelAlarm
* would be passed through the stack, which is not
* possible)
*/
typedef uint16 tpl_tick;

@@ -246,6 +246,18 @@ end if

#endif /* WITH_AUTOSAR */

/* target specific types */

% template if exists tpl_target_specific_types or %
/**
* tpl_tick is used for relative and absolute dates.
* tpl_tick should be an unsigned datatype.
*
* Default aliased type is "unsigned long int"
*/
typedef uint32 tpl_tick;
%end template%

#endif /* TPL_APP_CUSTOM_TYPES_H */

/* End of file % !FILENAME % */
@@ -31,14 +31,6 @@
#include "tpl_os_application_def.h"
#include "tpl_app_custom_types.h"

/**
* tpl_tick is used for relative and absolute dates.
* tpl_tick should be an unsigned datatype.
*
* Default aliased type is "unsigned long int"
*/
typedef uint32 tpl_tick;

/**
* tpl_buffer is a pointer to a chunk of data in memory
*/

0 comments on commit 48b5107

Please sign in to comment.
You can’t perform that action at this time.