1 /* 2 * Licensed to the Apache Software Foundation (ASF) under one 3 * or more contributor license agreements. See the NOTICE file 4 * distributed with this work for additional information 5 * regarding copyright ownership. The ASF licenses this file 6 * to you under the Apache License, Version 2.0 (the 7 * "License"); you may not use this file except in compliance 8 * with the License. You may obtain a copy of the License at 9 * 10 * http://www.apache.org/licenses/LICENSE-2.0 11 * 12 * Unless required by applicable law or agreed to in writing, 13 * software distributed under the License is distributed on an 14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 * KIND, either express or implied. See the License for the 16 * specific language governing permissions and limitations 17 * under the License. 18 */ 19 #ifndef _BOOT_TEST_H 20 #define _BOOT_TEST_H 21 22 #include <assert.h> 23 #include <stddef.h> 24 #include <stdio.h> 25 #include <stdlib.h> 26 #include <string.h> 27 #include <inttypes.h> 28 #include "syscfg/syscfg.h" 29 #include "sysflash/sysflash.h" 30 #include "os/endian.h" 31 #include "base64/base64.h" 32 #include "crc/crc16.h" 33 #include "testutil/testutil.h" 34 #include "hal/hal_flash.h" 35 #include "flash_map_backend/flash_map_backend.h" 36 #include "bootutil/bootutil.h" 37 38 #include "boot_serial_priv.h" 39 40 #ifdef __cplusplus 41 extern "C" { 42 #endif 43 44 void tx_msg(void *src, int len); 45 46 #ifdef __cplusplus 47 } 48 #endif 49 50 #endif /* _BOOT_TEST_H */ 51