Skip to content

Commit c33535c

Browse files
committed
Merge remote-tracking branch 'remotes/esp8266/master'
2 parents 2500840 + 212095b commit c33535c

File tree

7 files changed

+33
-2
lines changed

7 files changed

+33
-2
lines changed

boards.txt

+6
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,9 @@ espresso_lite_v1.menu.ResetMethod.nodemcu.upload.resetmethod=nodemcu
421421
espresso_lite_v1.menu.ResetMethod.ck=ck
422422
espresso_lite_v1.menu.ResetMethod.ck.upload.resetmethod=ck
423423

424+
espresso_lite_v1.build.debug_port=
425+
espresso_lite_v1.build.debug_level=
426+
424427
##############################################################
425428
espresso_lite_v2.name=ESPresso Lite 2.0
426429
espresso_lite_v2.upload.tool=esptool
@@ -491,6 +494,9 @@ espresso_lite_v2.menu.ResetMethod.ck.upload.resetmethod=ck
491494
espresso_lite_v2.menu.ResetMethod.nodemcu=nodemcu
492495
espresso_lite_v2.menu.ResetMethod.nodemcu.upload.resetmethod=nodemcu
493496

497+
espresso_lite_v2.build.debug_port=
498+
espresso_lite_v2.build.debug_level=
499+
494500
##############################################################
495501
nodemcu.name=NodeMCU 0.9 (ESP-12 Module)
496502

cores/esp8266/umm_malloc/umm_malloc.h

+7
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212

1313
#include "umm_malloc_cfg.h" /* user-dependent */
1414

15+
#ifdef __cplusplus
16+
extern "C" {
17+
#endif
18+
1519
typedef struct UMM_HEAP_INFO_t {
1620
unsigned short int totalEntries;
1721
unsigned short int usedEntries;
@@ -38,6 +42,9 @@ void umm_free( void *ptr );
3842

3943
size_t umm_free_heap_size( void );
4044

45+
#ifdef __cplusplus
46+
}
47+
#endif
4148

4249
/* ------------------------------------------------------------------------ */
4350

cores/esp8266/umm_malloc/umm_malloc_cfg.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
#include <debug.h>
99
#ifdef __cplusplus
10-
#extern "C" {
10+
extern "C" {
1111
#endif
1212
#include "c_types.h"
1313
#ifdef __cplusplus

doc/boards.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ title: Supported Hardware
3737

3838
## ESPresso Lite 1.0
3939

40-
ESPresso Lite 1.0 (beta version) is an Arduino-compatible Wi-Fi development board powered by Espressif System's own ESP8266 WROOM-02 module. It has breadboard-friendly breakout pins with in-built LED, two reset/flash buttons and a user programmable button . The operating voltage is 3.3VDC, regulated with 800mA maximum current. Special distinctive features include on-board I2C pads that allow direct connection to OLED LCD and sensor boards. (Only 500? units were produced for beta testing before it was retired to make way for the improved V2.0 - i presumed we wont be using this design?)
40+
ESPresso Lite 1.0 (beta version) is an Arduino-compatible Wi-Fi development board powered by Espressif System's own ESP8266 WROOM-02 module. It has breadboard-friendly breakout pins with in-built LED, two reset/flash buttons and a user programmable button . The operating voltage is 3.3VDC, regulated with 800mA maximum current. Special distinctive features include on-board I2C pads that allow direct connection to OLED LCD and sensor boards.
4141

4242
## ESPresso Lite 2.0
4343

tests/.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
hardware
2+
tmp
3+
.env
+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// test that we can include umm_malloc.h from sketch (#1652)
2+
#include <umm_malloc/umm_malloc.h>
3+
4+
5+
void setup() {
6+
Serial.begin(115200);
7+
delay(1000);
8+
umm_info(NULL, 1);
9+
}
10+
11+
void loop() {
12+
13+
}

tools/sdk/ld/eagle.app.v6.common.ld

+2
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,8 @@ SECTIONS
154154
EXCLUDE_FILE (umm_malloc.c.o) .text*)
155155
*.cpp.o(.literal*, .text*)
156156
*libm.a:(.literal .text .literal.* .text.*)
157+
*libgcc.a:_umoddi3.o(.literal .text)
158+
*libgcc.a:_udivdi3.o(.literal .text)
157159
*libsmartconfig.a:(.literal .text .literal.* .text.*)
158160
*(.irom0.literal .irom.literal .irom.text.literal .irom0.text .irom.text .irom.text.*)
159161
_irom0_text_end = ABSOLUTE(.);

0 commit comments

Comments
 (0)