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
9f54c8f5
Commit
9f54c8f5
authored
Jan 23, 2016
by
devsaurus
Browse files
enable -std=gnu11 for driver dir with corrected os_printf* decls
parent
0c3fc6cc
Changes
3
Hide whitespace changes
Inline
Side-by-side
app/driver/Makefile
View file @
9f54c8f5
...
@@ -15,6 +15,7 @@ ifndef PDIR
...
@@ -15,6 +15,7 @@ ifndef PDIR
GEN_LIBS
=
libdriver.a
GEN_LIBS
=
libdriver.a
endif
endif
STD_CFLAGS
=
-std
=
gnu11
-Wimplicit
#############################################################
#############################################################
# Configuration i.e. compile options etc.
# Configuration i.e. compile options etc.
...
...
app/include/rom.h
View file @
9f54c8f5
...
@@ -140,4 +140,7 @@ void Cache_Read_Disable(void);
...
@@ -140,4 +140,7 @@ void Cache_Read_Disable(void);
void
ets_intr_lock
(
void
);
void
ets_intr_lock
(
void
);
void
ets_intr_unlock
(
void
);
void
ets_intr_unlock
(
void
);
void
ets_install_putc1
(
void
*
routine
);
void
uart_div_modify
(
int
no
,
unsigned
int
freq
);
#endif
#endif
sdk-overrides/include/osapi.h
View file @
9f54c8f5
...
@@ -4,6 +4,9 @@
...
@@ -4,6 +4,9 @@
#include "rom.h"
#include "rom.h"
void
ets_timer_arm_new
(
ETSTimer
*
a
,
int
b
,
int
c
,
int
isMstimer
);
void
ets_timer_arm_new
(
ETSTimer
*
a
,
int
b
,
int
c
,
int
isMstimer
);
int
os_printf
(
const
char
*
format
,
...)
__attribute__
((
format
(
printf
,
1
,
2
)));
int
os_printf_plus
(
const
char
*
format
,
...)
__attribute__
((
format
(
printf
,
1
,
2
)));
#include_next "osapi.h"
#include_next "osapi.h"
#endif
#endif
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