Skip to content

Commit

Permalink
Shrink default xtensa fd buffer size to 128 bytes
Browse files Browse the repository at this point in the history
Otherwise default is 1024 bytes
  • Loading branch information
projectgus committed Oct 6, 2015
1 parent 312c7d4 commit ae10be3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions newlib/libc/include/sys/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,8 @@
#ifdef __XTENSA__
#include <xtensa/config/core-isa.h>
#define MALLOC_ALIGNMENT ((XCHAL_DATA_WIDTH) < 16 ? 16 : (XCHAL_DATA_WIDTH))
/* esp8266-specific: shrink the default fd buffer size */
#define __BUFSIZ__ 128
#endif

/* This block should be kept in sync with GCC's limits.h. The point
Expand Down

0 comments on commit ae10be3

Please sign in to comment.