1# Taken from amazon-freertos repository 2:cmock: 3 :mock_prefix: mock_ 4 :when_no_prototypes: :warn 5 :enforce_strict_ordering: TRUE 6 :plugins: 7 - :ignore 8 - :ignore_arg 9 - :expect_any_args 10 - :array 11 - :callback 12 - :return_thru_ptr 13 :callback_include_count: true # include a count arg when calling the callback 14 :callback_after_arg_check: false # check arguments before calling the callback 15 :treat_as: 16 uint8: HEX8 17 uint16: HEX16 18 uint32: UINT32 19 int8: INT8 20 bool: UINT8 21 :includes: # This will add these includes to each mock. 22 - <stdbool.h> 23 - <stdint.h> 24 :treat_externs: :exclude # Now the extern-ed functions will be mocked. 25 :weak: __attribute__((weak)) 26 :treat_externs: :include 27