xref: /btstack/3rd-party/lc3-google/test/arm/test_arm.c (revision 4930cef6e21e6da2d7571b9259c7f0fb8bed3d01)
1*4930cef6SMatthias Ringwald /******************************************************************************
2*4930cef6SMatthias Ringwald  *
3*4930cef6SMatthias Ringwald  *  Copyright 2022 Google LLC
4*4930cef6SMatthias Ringwald  *
5*4930cef6SMatthias Ringwald  *  Licensed under the Apache License, Version 2.0 (the "License");
6*4930cef6SMatthias Ringwald  *  you may not use this file except in compliance with the License.
7*4930cef6SMatthias Ringwald  *  You may obtain a copy of the License at:
8*4930cef6SMatthias Ringwald  *
9*4930cef6SMatthias Ringwald  *  http://www.apache.org/licenses/LICENSE-2.0
10*4930cef6SMatthias Ringwald  *
11*4930cef6SMatthias Ringwald  *  Unless required by applicable law or agreed to in writing, software
12*4930cef6SMatthias Ringwald  *  distributed under the License is distributed on an "AS IS" BASIS,
13*4930cef6SMatthias Ringwald  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14*4930cef6SMatthias Ringwald  *  See the License for the specific language governing permissions and
15*4930cef6SMatthias Ringwald  *  limitations under the License.
16*4930cef6SMatthias Ringwald  *
17*4930cef6SMatthias Ringwald  ******************************************************************************/
18*4930cef6SMatthias Ringwald 
19*4930cef6SMatthias Ringwald #include <stdio.h>
20*4930cef6SMatthias Ringwald 
21*4930cef6SMatthias Ringwald int check_ltpf(void);
22*4930cef6SMatthias Ringwald 
main()23*4930cef6SMatthias Ringwald int main()
24*4930cef6SMatthias Ringwald {
25*4930cef6SMatthias Ringwald     int r, ret = 0;
26*4930cef6SMatthias Ringwald 
27*4930cef6SMatthias Ringwald     printf("Checking LTPF ARM... "); fflush(stdout);
28*4930cef6SMatthias Ringwald     printf("%s\n", (r = check_ltpf()) == 0 ? "OK" : "Failed");
29*4930cef6SMatthias Ringwald     ret = ret || r;
30*4930cef6SMatthias Ringwald 
31*4930cef6SMatthias Ringwald     return ret;
32*4930cef6SMatthias Ringwald }
33