Angus Gratton
1cf552e131
examples/Makefile: Use MAKE to properly invoke make recursively
2015-08-26 11:14:34 +10:00
Angus Gratton
3408ba6fe9
common_macros: Include sys/cdefs.h, defines _Static_assert among others
2015-08-26 11:11:31 +10:00
Angus Gratton
0720244179
Move c++ operators back to link-time resolutions, part of 'core'
...
This reverts commit e9b1df5cb5
.
2015-08-26 11:07:06 +10:00
Angus Gratton
d7641d0010
gpio.h: Explicit cast to enum type (needed for g++)
2015-08-26 10:49:00 +10:00
Angus Gratton
e43d2dd3de
Merge branch 'master' into feature/c++
2015-08-26 10:46:48 +10:00
Angus Gratton
6e84d08f90
Post-merge cleanup of extras/cpp_support
2015-08-26 10:45:21 +10:00
Michael Jacobsen
38d4bd0f62
Header files adjustment
...
(MQTT changes split from original commit - @projectgus.)
2015-08-26 10:45:21 +10:00
Michael Jacobsen
0a9b491a98
Header files re-arrangement
2015-08-26 10:45:21 +10:00
Michael Jacobsen
b0038d79c8
Updated license
2015-08-26 10:45:21 +10:00
Michael Jacobsen
83fac30143
Header files adjustments
2015-08-26 10:45:21 +10:00
Michael Jacobsen
28f51fb195
Added C++ base components and example
2015-08-26 10:45:21 +10:00
Alex Stewart
0155632dd3
Remove 'packed' attribute from all regs structs
2015-08-25 17:13:13 -07:00
Alex Stewart
b76bf99d7c
Remove unnecessary AND for VAL2FIELD macro
...
Added VAL2FIELD_M / SET_FIELD_M for rare cases when there might actually be some need for it.
2015-08-25 17:07:06 -07:00
Angus Gratton
76ad427dc2
Merge pull request #29 from foogod/issue_8
...
Add more *_regs.h definitions
2015-08-24 16:14:19 +10:00
Angus Gratton
3eb311c316
lwipopts.h: Rearrange debug macros, add placeholdes for UDP and ICMP debug
2015-08-24 10:52:40 +10:00
Angus Gratton
08bb9f16e7
Add a comment explaining commented out REG_BASE lines
...
Change was part of #27
2015-08-22 17:39:25 +10:00
Angus Gratton
348480d3c1
Merge pull request #27 from foogod/issue_8
...
Convert headers to new *_regs.h format
2015-08-22 17:36:37 +10:00
Alex Stewart
9f3f3e5b08
Add esp/rtcmem_regs.h
2015-08-21 14:20:00 -07:00
Alex Stewart
b482a1cc77
Fix a couple of struct def issues with 2 previous commits
2015-08-21 14:06:38 -07:00
Alex Stewart
3f3f257612
Add more regs to esp/dport_regs.h
...
Added a bunch of definitions based on info in http://esp8266-re.foogod.com/wiki/Memory_Map#dport0
2015-08-21 13:59:20 -07:00
Alex Stewart
af32217805
Add esp/uart_regs.h and esp/spi_regs.h
2015-08-21 13:56:23 -07:00
Alex Stewart
d79c1c3983
rename GPIO_CONF_DRIVER_ENABLE back to GPIO_CONF_PUSH_PULL
2015-08-21 09:54:20 -07:00
Angus Gratton
ffab735a84
Clarify some install steps in README
2015-08-21 16:30:02 +10:00
Angus Gratton
78cc610b1b
Add Travis build status icon to README
2015-08-21 16:21:49 +10:00
Angus Gratton
e5ea797ed1
examples/Makefile: Make more make-like instead of using shell loops
...
Shell loops broke Travis fairly severely.
2015-08-21 15:54:01 +10:00
Angus Gratton
7ad1e4c305
Add Travis support - build toolchain, esptool2, all example projects
...
Toolchain & esptool2 are cached for quicker follow-up builds. Versioning
of these is accomplished via commit variables in .travis.yml.
2015-08-21 15:53:25 +10:00
Alex Stewart
820a7006a5
Fixup some constants used in examples
2015-08-20 15:11:29 -07:00
Alex Stewart
8f60f03513
Merge branch 'master' into issue_8
2015-08-20 11:13:41 -07:00
Angus Gratton
6e1fd3415e
Add netbuf_helpers.h temporary header
2015-08-20 15:33:08 +10:00
Alex Stewart
13b924d259
Fix leftover IOMUX_FUNC_A/D references
2015-08-19 16:53:02 -07:00
Alex Stewart
0d6af96f2d
Cleanup a few comments in *_regs.h files
2015-08-19 16:50:56 -07:00
Alex Stewart
c32a6692a0
Add esp/wdt_regs.h
2015-08-19 16:48:11 -07:00
Alex Stewart
eaa090e267
Added esp/timer_regs.h and esp/dport_regs.h
2015-08-19 11:34:18 -07:00
Alex Stewart
3cc5d1fa86
Replace stdint.h with esp/types.h in gpio_regs.h
2015-08-19 09:05:03 -07:00
Alex Stewart
5e6b022e39
Fix cut-paste error in gpio_regs.h comment
2015-08-19 09:03:18 -07:00
Alex Stewart
7fa2817f1b
Add esp/gpio_regs.h
2015-08-18 22:46:25 -07:00
Alex Stewart
9727df5f6c
Add esp/iomux_regs.h
2015-08-18 17:38:31 -07:00
Angus Gratton
00b33c876e
espressif/esp_wifi.h: Add prereq includes
2015-08-13 17:12:02 +10:00
Angus Gratton
584dc0a69d
Add basic C++ new/delete operators, as contributed by @mikejac in #24
2015-08-13 08:33:07 +10:00
Angus Gratton
7f338e66cb
Unaligned load: Remove debugging variables
2015-08-11 16:25:35 +10:00
Angus Gratton
e3b24df043
Unaligned load: Shave a few more instructions off
2015-08-11 16:25:11 +10:00
Angus Gratton
3b3f5ea771
Unaligned loads: Only save working registers, use jump table to load non-working registers
2015-08-11 15:29:53 +10:00
Angus Gratton
8ea4ae27e2
Unaligned loader: Support l16si
2015-08-11 15:03:53 +10:00
Angus Gratton
773a046dc3
Unaligned loader: clean up, reduce number of registers
2015-08-11 14:23:41 +10:00
Angus Gratton
430d0fbcbc
Add C++ support to Makefile, and proof-of-concept simple.cpp example
...
This is a work in progress based on @mikejac's work.
Missing:
* No 'new' operator.
* I don't think STL is currently supported.
2015-08-10 16:14:30 +10:00
Michael Jacobsen
c5bd46dae0
Mostly updated header files for use in C++
2015-08-10 15:31:03 +10:00
Angus Gratton
f4113c6957
Examples: Fix printf argument flags for older example programs
2015-08-10 14:50:56 +10:00
Angus Gratton
e45d519a4d
Update work with WiFi credentials
...
PR #16
2015-08-10 14:50:32 +10:00
Angus Gratton
bfd38cd1e2
Experimental support for storing const strings in SPI flash or IRAM
...
As discussed in #11
Known limitations:
- Only supports l8ui/l16ui
- Unoptimised load routine
- Not called from DoubleExceptionHandler but should be
- Doesn't restore state properly when falling through to fatal exception handler
2015-08-10 12:03:03 +10:00
Angus Gratton
25e124a612
ld: Link memmove into IRAM (used by sprintf, etc.)
2015-08-10 11:54:30 +10:00