mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-23 09:41:03 +00:00
try to work around missing STDOUT_FILENO on IAR
This commit is contained in:
parent
ceea31999e
commit
86faba9c68
@ -17,6 +17,15 @@
|
||||
#include "btstack_memory.h"
|
||||
#include "remote_device_db.h"
|
||||
|
||||
// STDOUT_FILENO and STDERR_FILENO are defined by <unistd.h> with GCC
|
||||
// (this is a hack for IAR)
|
||||
#ifndef STDOUT_FILENO
|
||||
#define STDERR_FILENO 1
|
||||
#endif
|
||||
#ifndef STDERR_FILENO
|
||||
#define STDERR_FILENO 2
|
||||
#endif
|
||||
|
||||
// Configuration
|
||||
// LED2 on PA5
|
||||
// Debug: USART2, TX on PA2
|
||||
|
Loading…
x
Reference in New Issue
Block a user