Angus Gratton
920ee8bf85
libc syscalls: ENOSYS implementations for open,fstat,close,lseek
...
Closes #41
2015-09-03 11:45:52 +10:00
Angus Gratton
568ebc0fdc
libc read()/write() syscalls - return EBADF if fd is not stdin/stdout as applicable
...
As discussed in #41
Also fixes indent in _read_r
2015-09-03 11:34:54 +10:00
Angus Gratton
7e30f48650
Merge pull request #30 from Angus71/master
...
Added bmp180_i2c example
2015-09-03 08:37:53 +10:00
Angus71
fd1081a0cc
Added BMP180 and I2C driver and example
...
Fixed reference to unknown environment var
Moved drivers into extras folder and added additional documentations.
Changed LOCAL to static and renamed DEBUG to BMP180_DEBUG
2015-08-31 13:39:27 +02:00
Angus Gratton
0090153fa7
Reorder library arguments so component libraries come first
...
This allows components to override weak linked symbols in the core or
the SDK libraries, without needing to force symbol discovery.
Will help with #24 , for instance.
2015-08-31 16:59:34 +10:00
Alex Stewart
19f01b2f72
app_main.c: load correct g_ic sector from flash
2015-08-30 13:37:40 -07:00
Alex Stewart
8b5e8b923e
Bug fix for dump_flash_config_sectors
2015-08-30 12:11:08 -07:00
Alex Stewart
a88f36d986
More app_main.c fixups
...
It's alive! IT'S ALIVE!!
2015-08-28 18:53:43 -07:00
Alex Stewart
a9eb3a38e3
More app_main fixups from object code comparisons
2015-08-28 18:53:43 -07:00
Alex Stewart
aa7f305e16
Various app_main.c bug fixes
2015-08-28 18:53:43 -07:00
Alex Stewart
c16dd2ef23
Add 'sdklike' FLAVOR to makefile
2015-08-28 18:53:43 -07:00
Alex Stewart
43a712572c
Don't rename FreeRTOS hook symbols
2015-08-28 18:53:43 -07:00
Alex Stewart
a044c061d5
Replace libmain:app_main.o with core/app_main.c
2015-08-28 18:53:43 -07:00
Alex Stewart
8b8f7c9de4
Use fixed symbol rename list
...
To keep things from changing out from under us as we slowly replace bits of the
SDK libs, changing Makefiles to not auto-generate the list of symbols to
rename, but always use the same list every time.
2015-08-28 18:53:43 -07:00
Angus Gratton
2fe1b7a00d
Merge pull request #36 from foogod/ld_patch
...
Fix linker script handling of irom/irom0 segments
2015-08-28 10:00:19 +10:00
Alex Stewart
c30f48c3b1
Fix linker script handling of irom/irom0 segments
2015-08-27 13:54:30 -07:00
Angus Gratton
bcc22bdfc5
Merge pull request #33 from foogod/uart_fix
...
Fix broken UART(i) definition
2015-08-27 15:56:17 +10:00
Alex Stewart
b0206d0ca6
Fix broken UART(i) definition
2015-08-25 22:31:47 -07:00
Angus Gratton
cb5e67a871
Merge pull request #32 from foogod/regs_fixups0
...
Remove packed attribute from register structs
2015-08-26 14:14:33 +10:00
Alex Stewart
da48a6b0df
Remove 'packed' attribute from all regs structs
2015-08-26 11:23:52 +10:00
Angus Gratton
18d1bb21f7
Remove stray extras/cplusplus
2015-08-26 11:16:58 +10:00
Angus Gratton
778b94cf40
examples/Makefile: Use MAKE to properly invoke make recursively
2015-08-26 11:14:34 +10:00
Angus Gratton
c824bcf74a
common_macros: Include sys/cdefs.h, defines _Static_assert among others
2015-08-26 11:11:31 +10:00
Angus Gratton
43ecec5470
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
c565e2b90d
gpio.h: Explicit cast to enum type (needed for g++)
2015-08-26 10:49:00 +10:00
Angus Gratton
fff17627d9
Merge branch 'master' into feature/c++
2015-08-26 10:46:48 +10:00
Angus Gratton
e9b1df5cb5
Post-merge cleanup of extras/cpp_support
2015-08-26 10:45:21 +10:00
Michael Jacobsen
5c1ce0a508
Header files adjustment
...
(MQTT changes split from original commit - @projectgus.)
2015-08-26 10:45:21 +10:00
Michael Jacobsen
94a953d3e3
Header files re-arrangement
2015-08-26 10:45:21 +10:00
Michael Jacobsen
6bc95994b7
Updated license
2015-08-26 10:45:21 +10:00
Michael Jacobsen
4f7d1c2393
Header files adjustments
2015-08-26 10:45:21 +10:00
Michael Jacobsen
1282e11c08
Added C++ base components and example
2015-08-26 10:45:21 +10:00
Alex Stewart
e2e841c660
Remove 'packed' attribute from all regs structs
2015-08-25 17:13:13 -07:00
Alex Stewart
2a939e97b5
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
22d35ed5f2
Merge pull request #29 from foogod/issue_8
...
Add more *_regs.h definitions
2015-08-24 16:14:19 +10:00
Angus Gratton
cf4b477c1f
lwipopts.h: Rearrange debug macros, add placeholdes for UDP and ICMP debug
2015-08-24 10:52:40 +10:00
Angus Gratton
050b17adbe
Add a comment explaining commented out REG_BASE lines
...
Change was part of #27
2015-08-22 17:39:25 +10:00
Angus Gratton
aa17221929
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
2f3b82812b
Add esp/rtcmem_regs.h
2015-08-21 14:20:00 -07:00
Alex Stewart
fdbb361a60
Fix a couple of struct def issues with 2 previous commits
2015-08-21 14:06:38 -07:00
Alex Stewart
0b6dfb6080
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
e88b5b8c4b
Add esp/uart_regs.h and esp/spi_regs.h
2015-08-21 13:56:23 -07:00
Alex Stewart
1ebb85b150
rename GPIO_CONF_DRIVER_ENABLE back to GPIO_CONF_PUSH_PULL
2015-08-21 09:54:20 -07:00
Angus Gratton
6470450aff
Clarify some install steps in README
2015-08-21 16:30:02 +10:00
Angus Gratton
65581f1cdd
Add Travis build status icon to README
2015-08-21 16:21:49 +10:00
Angus Gratton
66a1983a95
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
24ff83fc41
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
ab6f4b8420
Fixup some constants used in examples
2015-08-20 15:11:29 -07:00
Alex Stewart
e07395fcb6
Merge branch 'master' into issue_8
2015-08-20 11:13:41 -07:00
Angus Gratton
7f983bc474
Add netbuf_helpers.h temporary header
2015-08-20 15:33:08 +10:00