mirror of
https://github.com/espressif/openthread.git
synced 2026-07-29 23:27:46 +00:00
[posix-app] more baudrates on macOS (#3675)
This commit is contained in:
@@ -63,6 +63,62 @@
|
||||
#define SOCKET_UTILS_DEFAULT_SHELL "/bin/sh"
|
||||
#endif
|
||||
|
||||
#ifdef __APPLE__
|
||||
|
||||
#ifndef B230400
|
||||
#define B230400 230400
|
||||
#endif
|
||||
|
||||
#ifndef B460800
|
||||
#define B460800 460800
|
||||
#endif
|
||||
|
||||
#ifndef B500000
|
||||
#define B500000 500000
|
||||
#endif
|
||||
|
||||
#ifndef B576000
|
||||
#define B576000 576000
|
||||
#endif
|
||||
|
||||
#ifndef B921600
|
||||
#define B921600 921600
|
||||
#endif
|
||||
|
||||
#ifndef B1000000
|
||||
#define B1000000 1000000
|
||||
#endif
|
||||
|
||||
#ifndef B1152000
|
||||
#define B1152000 1152000
|
||||
#endif
|
||||
|
||||
#ifndef B1500000
|
||||
#define B1500000 1500000
|
||||
#endif
|
||||
|
||||
#ifndef B2000000
|
||||
#define B2000000 2000000
|
||||
#endif
|
||||
|
||||
#ifndef B2500000
|
||||
#define B2500000 2500000
|
||||
#endif
|
||||
|
||||
#ifndef B3000000
|
||||
#define B3000000 3000000
|
||||
#endif
|
||||
|
||||
#ifndef B3500000
|
||||
#define B3500000 3500000
|
||||
#endif
|
||||
|
||||
#ifndef B4000000
|
||||
#define B4000000 4000000
|
||||
#endif
|
||||
|
||||
#endif // __APPLE__
|
||||
|
||||
namespace ot {
|
||||
namespace PosixApp {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user