Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Nodemcu Firmware
Commits
729603fa
Commit
729603fa
authored
Jan 06, 2015
by
funshine
Browse files
move some buffer to local
parent
7e51c5d6
Changes
8
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
729603fa
...
...
@@ -13,7 +13,7 @@ bbs: [中文论坛Chinese bbs](http://bbs.nodemcu.com)<br />
Tencent QQ group QQ群: 309957875
<br
/>
# Change log
2015-01-0
5
<br
/>
2015-01-0
6
<br
/>
update sdk to 0.9.5.
<br
/>
pre_build bin now compiled by gcc toolchain.
<br
/>
memory/heap usage optimized.
<br
/>
...
...
app/include/user_config.h
View file @
729603fa
...
...
@@ -7,7 +7,7 @@
#define NODE_VERSION_INTERNAL 0U
#define NODE_VERSION "NodeMcu 0.9.5"
#define BUILD_DATE "build 2015010
5
"
#define BUILD_DATE "build 2015010
6
"
// #define FLASH_512K
// #define FLASH_1M
...
...
app/libc/c_stdio.c
View file @
729603fa
#include "c_stdio.h"
// #include "driver/uart.h"
unsigned
char
__print_buf
[
BUFSIZ
];
int
c_stdin
=
999
;
int
c_stdout
=
1000
;
int
c_stderr
=
1001
;
...
...
app/libc/c_stdio.h
View file @
729603fa
...
...
@@ -49,12 +49,13 @@ extern int c_stderr;
extern
void
output_redirect
(
const
char
*
str
);
#define c_puts output_redirect
extern
unsigned
char
__print_buf
[
BUFSIZ
];
// #define c_printf os_printf
// int c_printf(const char *c, ...);
#define c_sprintf os_sprintf
// #define c_vsprintf ets_vsprintf
#define c_printf(...) do { \
unsigned char __print_buf[BUFSIZ]; \
c_sprintf(__print_buf, __VA_ARGS__); \
c_puts(__print_buf); \
} while(0)
...
...
pre_build/0.9.5/nodemcu_2015010
5
.bin
→
pre_build/0.9.5/nodemcu_2015010
6
.bin
View file @
729603fa
No preview for this file type
pre_build/0.9.5/nodemcu_latest.bin
View file @
729603fa
No preview for this file type
pre_build/latest/nodemcu_512k_latest.bin
View file @
729603fa
No preview for this file type
pre_build/latest/nodemcu_latest.bin
View file @
729603fa
No preview for this file type
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment