File tree Expand file tree Collapse file tree 7 files changed +25
-9
lines changed
libraries/TFT_Touch_Shield_V2 Expand file tree Collapse file tree 7 files changed +25
-9
lines changed Original file line number Diff line number Diff line change 25
25
#include " interrupts.h"
26
26
#include " MD5Builder.h"
27
27
#include " umm_malloc/umm_malloc.h"
28
+ #include " cont.h"
28
29
29
30
extern " C" {
30
31
#include " user_interface.h"
@@ -177,6 +178,11 @@ uint16_t EspClass::getMaxFreeBlockSize(void)
177
178
return umm_max_block_size ();
178
179
}
179
180
181
+ uint32_t EspClass::getFreeContStack ()
182
+ {
183
+ return cont_get_free_stack (g_pcont);
184
+ }
185
+
180
186
uint32_t EspClass::getChipId (void )
181
187
{
182
188
return system_get_chip_id ();
Original file line number Diff line number Diff line change @@ -110,6 +110,8 @@ class EspClass {
110
110
uint8_t getHeapFragmentation (); // in %
111
111
void getHeapStats (uint32_t * free = nullptr , uint16_t * max = nullptr , uint8_t * frag = nullptr );
112
112
113
+ uint32_t getFreeContStack ();
114
+
113
115
const char * getSdkVersion ();
114
116
String getCoreVersion ();
115
117
String getFullVersion ();
Original file line number Diff line number Diff line change 1
1
# Requirements file for pip
2
2
# list of Python packages used in documentation build
3
- sphinx
3
+ sphinx == 1.7.9
4
4
sphinx-rtd-theme
5
5
breathe
6
6
nbsphinx
Original file line number Diff line number Diff line change
1
+ name =TFT_Touch_Shield_V2
2
+ version =2.0
3
+ author =luweicong@seeedstudio.com
4
+ maintainer =luweicong@seeedstudio.com
5
+ sentence =TFT_Touch_Shield_V2 library
6
+ paragraph =This is a multifunctional Arduino/Seeeduino/Arduino Mega compatible resistive touch screen.
7
+ category =Communication
8
+ url =
9
+ architectures =esp8266
10
+ dot_a_linkage =true
Original file line number Diff line number Diff line change @@ -84,11 +84,9 @@ typedef enum {
84
84
#define SHMEM_ATTR
85
85
86
86
#ifdef ICACHE_FLASH
87
- #define __ICACHE_STRINGIZE_NX (A ) #A
88
- #define __ICACHE_STRINGIZE (A ) __ICACHE_STRINGIZE_NX(A)
89
- #define ICACHE_FLASH_ATTR __attribute__((section("\".irom0.text." __FILE__ "." __ICACHE_STRINGIZE(__LINE__) "." __ICACHE_STRINGIZE(__COUNTER__) "\"")))
90
- #define ICACHE_RAM_ATTR __attribute__((section("\".iram.text." __FILE__ "." __ICACHE_STRINGIZE(__LINE__) "." __ICACHE_STRINGIZE(__COUNTER__) "\"")))
91
- #define ICACHE_RODATA_ATTR __attribute__((section("\".irom.text." __FILE__ "." __ICACHE_STRINGIZE(__LINE__) "." __ICACHE_STRINGIZE(__COUNTER__) "\"")))
87
+ #define ICACHE_FLASH_ATTR __attribute__((section(".irom0.text")))
88
+ #define ICACHE_RAM_ATTR __attribute__((section(".iram.text")))
89
+ #define ICACHE_RODATA_ATTR __attribute__((section(".irom.text")))
92
90
#else
93
91
#define ICACHE_FLASH_ATTR
94
92
#define ICACHE_RAM_ATTR
Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ SECTIONS
127
127
* libwpa .a :(.literal .* .text .* )
128
128
* libwpa2 .a :(.literal .* .text .* )
129
129
* libwps .a :(.literal .* .text .* )
130
- * (.irom0 .literal .irom .literal .irom .text .literal .irom0 .text .irom0 . text . * . irom .text .irom .text .* )
130
+ * (.irom0 .literal .irom .literal .irom .text .literal .irom0 .text .irom .text .irom .text .* )
131
131
_irom0_text_end = ABSOLUTE (.);
132
132
_flash_code_end = ABSOLUTE (.);
133
133
} > irom0_0_seg :irom0_0_phdr
@@ -164,8 +164,8 @@ SECTIONS
164
164
* (.init .literal )
165
165
* (.init )
166
166
* (.literal .text .literal .* .text .* .stub .gnu .warning .gnu .linkonce .literal .* .gnu .linkonce .t .* .literal .gnu .linkonce .t .* )
167
- * .cpp .o (.iram .text . iram . text . * )
168
- * .c .o (.iram .text . iram . text . * )
167
+ * .cpp .o (.iram .text )
168
+ * .c .o (.iram .text )
169
169
#ifdef VTABLES_IN_IRAM
170
170
* (.rodata ._ZTV * ) /* C++ vtables */
171
171
#endif
You can’t perform that action at this time.
0 commit comments