|
29 | 29 | /**
|
30 | 30 | * @file
|
31 | 31 | * This file includes the platform-specific configuration.
|
32 |
| - * |
33 | 32 | */
|
34 | 33 |
|
35 | 34 | /**
|
36 | 35 | * @def OPENTHREAD_SIMULATION_UART_BAUDRATE
|
37 | 36 | *
|
38 | 37 | * This setting configures the baud rate of the UART.
|
39 |
| - * |
40 | 38 | */
|
41 | 39 | #ifndef OPENTHREAD_SIMULATION_UART_BAUDRATE
|
42 | 40 | #define OPENTHREAD_SIMULATION_UART_BAUDRATE B115200
|
|
46 | 44 | * @def OPENTHREAD_SIMULATION_VIRTUAL_TIME
|
47 | 45 | *
|
48 | 46 | * This setting configures whether to use virtual time (used for simulation) in simulation platform.
|
49 |
| - * |
50 | 47 | */
|
51 | 48 | #ifndef OPENTHREAD_SIMULATION_VIRTUAL_TIME
|
52 | 49 | #define OPENTHREAD_SIMULATION_VIRTUAL_TIME 0
|
|
56 | 53 | * @def OPENTHREAD_SIMULATION_VIRTUAL_TIME_UART
|
57 | 54 | *
|
58 | 55 | * This setting configures whether to use virtual time for UART.
|
59 |
| - * |
60 | 56 | */
|
61 | 57 | #ifndef OPENTHREAD_SIMULATION_VIRTUAL_TIME_UART
|
62 | 58 | #define OPENTHREAD_SIMULATION_VIRTUAL_TIME_UART 0
|
|
66 | 62 | * @def OPENTHREAD_PLATFORM_USE_PSEUDO_RESET
|
67 | 63 | *
|
68 | 64 | * Define as 1 to enable pseudo-reset.
|
69 |
| - * |
70 | 65 | */
|
71 | 66 | #ifndef OPENTHREAD_PLATFORM_USE_PSEUDO_RESET
|
72 | 67 | #define OPENTHREAD_PLATFORM_USE_PSEUDO_RESET 0
|
|
76 | 71 | * @def OPENTHREAD_CONFIG_NCP_SPI_ENABLE
|
77 | 72 | *
|
78 | 73 | * Define as 1 to enable SPI NCP interface.
|
79 |
| - * |
80 | 74 | */
|
81 | 75 | #ifndef OPENTHREAD_CONFIG_NCP_SPI_ENABLE
|
82 | 76 | #define OPENTHREAD_CONFIG_NCP_SPI_ENABLE 0
|
83 | 77 | #endif
|
84 | 78 |
|
85 | 79 | /**
|
86 | 80 | * Check OTNS configurations
|
87 |
| - * |
88 | 81 | */
|
89 | 82 | #if OPENTHREAD_CONFIG_OTNS_ENABLE
|
90 | 83 |
|
|
98 | 91 | * @def OPENTHREAD_SIMULATION_MAX_NETWORK_SIZE
|
99 | 92 | *
|
100 | 93 | * This setting configures the maximum network size in simulation.
|
101 |
| - * |
102 | 94 | */
|
103 | 95 | #ifndef OPENTHREAD_SIMULATION_MAX_NETWORK_SIZE
|
104 | 96 | #define OPENTHREAD_SIMULATION_MAX_NETWORK_SIZE 33
|
|
111 | 103 | * socket.
|
112 | 104 | *
|
113 | 105 | * This is intended for testing of the OpenThread Multicast DNS (mDNS) module.
|
114 |
| - * |
115 | 106 | */
|
116 | 107 | #ifndef OPENTHREAD_SIMULATION_MDNS_SOCKET_IMPLEMENT_POSIX
|
117 | 108 | #define OPENTHREAD_SIMULATION_MDNS_SOCKET_IMPLEMENT_POSIX 0
|
|
121 | 112 | * @def OPENTHREAD_SIMULATION_IMPLMENT_INFRA_IF
|
122 | 113 | *
|
123 | 114 | * Define as 1 for the simulation platform to provide implementation of `otPlatInfra` APIs.
|
124 |
| - * |
125 | 115 | */
|
126 | 116 | #ifndef OPENTHREAD_SIMULATION_IMPLEMENT_INFRA_IF
|
127 | 117 | #define OPENTHREAD_SIMULATION_IMPLEMENT_INFRA_IF 1
|
|
0 commit comments