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
0cd287e6
Commit
0cd287e6
authored
Jan 22, 2016
by
Johny Mattsson
Browse files
Added -Wimplicit to modules build.
Plus associated fixes.
parent
182d45f9
Changes
5
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
0cd287e6
...
@@ -131,8 +131,8 @@ CCFLAGS += \
...
@@ -131,8 +131,8 @@ CCFLAGS += \
-mtext-section-literals
-mtext-section-literals
# -Wall
# -Wall
CFLAGS
=
$(CCFLAGS)
$(DEFINES)
$(EXTRA_CCFLAGS)
$(INCLUDES)
CFLAGS
=
$(CCFLAGS)
$(DEFINES)
$(EXTRA_CCFLAGS)
$(STD_CFLAGS)
$(INCLUDES)
DFLAGS
=
$(CCFLAGS)
$(DDEFINES)
$(EXTRA_CCFLAGS)
$(INCLUDES)
DFLAGS
=
$(CCFLAGS)
$(DDEFINES)
$(EXTRA_CCFLAGS)
$(STD_CFLAGS)
$(INCLUDES)
#############################################################
#############################################################
...
...
app/include/lwipopts.h
View file @
0cd287e6
...
@@ -789,7 +789,6 @@
...
@@ -789,7 +789,6 @@
#ifndef LWIP_MDNS
#ifndef LWIP_MDNS
#define LWIP_MDNS 1
#define LWIP_MDNS 1
#endif
#endif
/*
/*
/*
----------------------------------
----------------------------------
---------- DNS options -----------
---------- DNS options -----------
...
...
app/modules/Makefile
View file @
0cd287e6
...
@@ -15,7 +15,7 @@ ifndef PDIR
...
@@ -15,7 +15,7 @@ ifndef PDIR
GEN_LIBS
=
libmodules.a
GEN_LIBS
=
libmodules.a
endif
endif
EXTRA_C
CFLAGS
+
=
-std
=
gnu11
STD_
CFLAGS
=
-std
=
gnu11
-Wimplicit
#############################################################
#############################################################
# Configuration i.e. compile options etc.
# Configuration i.e. compile options etc.
...
...
app/modules/tmr.c
View file @
0cd287e6
...
@@ -52,6 +52,7 @@ tmr.softwd(int)
...
@@ -52,6 +52,7 @@ tmr.softwd(int)
#include "lauxlib.h"
#include "lauxlib.h"
#include "platform.h"
#include "platform.h"
#include "c_types.h"
#include "c_types.h"
#include "user_interface.h"
#define TIMER_MODE_OFF 3
#define TIMER_MODE_OFF 3
#define TIMER_MODE_SINGLE 0
#define TIMER_MODE_SINGLE 0
...
...
app/platform/platform.h
View file @
0cd287e6
...
@@ -260,6 +260,7 @@ void* platform_get_last_free_ram( unsigned id );
...
@@ -260,6 +260,7 @@ void* platform_get_last_free_ram( unsigned id );
int
platform_ow_exists
(
unsigned
id
);
int
platform_ow_exists
(
unsigned
id
);
int
platform_gpio_exists
(
unsigned
id
);
int
platform_gpio_exists
(
unsigned
id
);
int
platform_tmr_exists
(
unsigned
id
);
// *****************************************************************************
// *****************************************************************************
// Helper macros
// Helper macros
...
...
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