File tree 2 files changed +9
-8
lines changed
2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -112,8 +112,6 @@ void timer1_write(uint32_t ticks); //maximum ticks 8388607
112
112
#undef abs
113
113
#endif
114
114
115
- #define min (a ,b ) ((a)<(b)?(a):(b))
116
- #define max (a ,b ) ((a)>(b)?(a):(b))
117
115
#define abs (x ) ((x)>0?(x):-(x))
118
116
#define constrain (amt ,low ,high ) ((amt)<(low)?(low):((amt)>(high)?(high):(amt)))
119
117
#define round (x ) ((x)>=0?(long)((x)+0.5):(long)((x)-0.5))
@@ -215,6 +213,9 @@ void loop(void);
215
213
#include "Esp.h"
216
214
#include "debug.h"
217
215
216
+ #define min (a ,b ) ((a)<(b)?(a):(b))
217
+ #define max (a ,b ) ((a)>(b)?(a):(b))
218
+
218
219
uint16_t makeWord (uint16_t w );
219
220
uint16_t makeWord (byte h , byte l );
220
221
Original file line number Diff line number Diff line change 6
6
# https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5---3rd-party-Hardware-specification
7
7
8
8
name=ESP8266 Modules
9
- version=1.6.1
9
+ version=1.6.4
10
10
11
- compiler.tools.path={runtime.platform.path}/tools/
12
- compiler.path={compiler.tools.path}xtensa-lx106-elf/bin/
13
- compiler.sdk.path={compiler.tools.path}sdk/
11
+ runtime.tools.xtensa-lx106-elf-gcc.path={runtime.platform.path}/tools/xtensa-lx106-elf
12
+ runtime.tools.esptool.path={runtime.platform.path}/tools
14
13
14
+ compiler.path={runtime.tools.xtensa-lx106-elf-gcc.path}/bin/
15
+ compiler.sdk.path={runtime.platform.path}/tools/sdk/
15
16
compiler.cpreprocessor.flags=-D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-I{compiler.sdk.path}/include"
16
17
17
18
compiler.c.cmd=xtensa-lx106-elf-gcc
@@ -33,7 +34,6 @@ compiler.ar.cmd=xtensa-lx106-elf-ar
33
34
compiler.ar.flags=cru
34
35
35
36
compiler.elf2hex.cmd=esptool
36
-
37
37
compiler.elf2hex.flags=
38
38
39
39
compiler.size.cmd=xtensa-lx106-elf-size
@@ -74,7 +74,7 @@ recipe.objcopy.eep.pattern=
74
74
## Create hex
75
75
#recipe.objcopy.hex.pattern="{compiler.path}{compiler.elf2hex.cmd}" {compiler.elf2hex.flags} {compiler.elf2hex.extra_flags} "{build.path}/{build.project_name}.elf" "{build.path}/{build.project_name}.hex"
76
76
77
- recipe.objcopy.hex.pattern="{compiler .tools.path}{compiler.esptool.cmd}" -eo "{build.path}/{build.project_name}.elf" -bo "{build.path}/{build.project_name}_00000.bin" -bm {build.flash_mode} -bf {build.flash_freq} -bz {build.flash_size} -bs .text -bs .data -bs .rodata -bc -ec -eo "{build.path}/{build.project_name}.elf" -es .irom0.text "{build.path}/{build.project_name}_10000.bin" -ec
77
+ recipe.objcopy.hex.pattern="{runtime .tools.esptool. path}/ {compiler.esptool.cmd}" -eo "{build.path}/{build.project_name}.elf" -bo "{build.path}/{build.project_name}_00000.bin" -bm {build.flash_mode} -bf {build.flash_freq} -bz {build.flash_size} -bs .text -bs .data -bs .rodata -bc -ec -eo "{build.path}/{build.project_name}.elf" -es .irom0.text "{build.path}/{build.project_name}_10000.bin" -ec
78
78
79
79
## Compute size
80
80
recipe.size.pattern="{compiler.path}{compiler.size.cmd}" -A "{build.path}/{build.project_name}.elf"
You can’t perform that action at this time.
0 commit comments