Commit graph

163 commits

Author SHA1 Message Date
Angus Gratton
6fbfa766a7 Add link from common.mk components section to wiki page 2015-09-08 10:36:03 +10:00
Angus Gratton
1221e2117b Rework component makefiles to have a default <component>_ROOT
This fixes a long-standing bug where build directories sometimes
expanded many levels deeper than they should have.

Component names can now no longer contains slashes (ie the component
name for 'extras/i2c' is now just 'i2c')
2015-09-08 09:59:59 +10:00
Angus Gratton
89f44400a8 Update README with some recent developments 2015-09-07 17:52:01 +10:00
Angus Gratton
e0a252b7b0 Add link to mailing list, and code of conduct from CoralineAda/contributor_covenant (thank you!) 2015-09-07 17:04:14 +10:00
Angus Gratton
5aa095298d libc syscalls: ENOSYS implementations for open,fstat,close,lseek
Closes #41
2015-09-03 11:45:52 +10:00
Angus Gratton
006c73c7ba 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
6f01afc956 Merge pull request #30 from Angus71/master
Added bmp180_i2c example
2015-09-03 08:37:53 +10:00
Angus71
b251427643 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
c19bb63286 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
Angus Gratton
5bb832b7a6 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
33f6add5e0 Fix linker script handling of irom/irom0 segments 2015-08-27 13:54:30 -07:00
Angus Gratton
2ffce578cf Merge pull request #33 from foogod/uart_fix
Fix broken UART(i) definition
2015-08-27 15:56:17 +10:00
Alex Stewart
78be94744c Fix broken UART(i) definition 2015-08-25 22:31:47 -07:00
Angus Gratton
bf44bc61d1 Merge pull request #32 from foogod/regs_fixups0
Remove packed attribute from register structs
2015-08-26 14:14:33 +10:00
Alex Stewart
3e8c14cd15 Remove 'packed' attribute from all regs structs 2015-08-26 11:23:52 +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
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
Johan Kanflo
3bacab7c67 Correct prototype for sdk_uart_rx_one_char, kudos to @foogod 2015-08-07 13:26:06 +02:00
Johan Kanflo
74041e4210 WiFi credentials
Changed local.h to include/ssid_config.h and added instructions on how
to keep your WiFi credentials safe from Github.
2015-08-07 13:26:06 +02:00
Angus Gratton
1cb2de5b96 spi_flash.h: Correct comment regarding flashchip structure
From ed0a079d9b
2015-08-07 18:19:09 +10:00
Angus Gratton
e7460de0a1 esp_system.h: Fix return type of sdk_system_get_rst_info 2015-08-06 16:35:20 +10:00
Angus Gratton
ed0a079d9b Expose SDK flashchip parameter
More thanks due to @foogod's RE work for this.
2015-08-06 11:40:44 +10:00
Angus Gratton
d703f8eae0 esptool.py: Ensure flash size args are passed at each step
('esptool.py write_image' will override the flash size in your binaries with the
default, given the chance)
2015-08-06 11:40:44 +10:00