Commit graph

301 commits

Author SHA1 Message Date
Angus Gratton
a5266adb48 Merge branch 'master' into experiments/unaligned_load 2015-09-10 08:19:42 +10:00
Angus Gratton
c55cfd3b2e Merge branch 'fix/int32_t'
Closes #42
2015-09-09 16:23:31 +10:00
Angus Gratton
0ee529b878 libc: More int32_t fixes to not expect 'long'
libc built from projectgus/newlib-xtensa@45ed90066
2015-09-09 16:22:57 +10:00
Angus Gratton
1464adb5a9 libc: Fix _default_types.h so uint_least8/16/32_t properly recognised by newlib
Newlib built from projectgus/newlib-xtensa 514f105b0
(thanks @Frans-Willem for the fix)
2015-09-09 08:25:36 +10:00
Angus Gratton
1df6fce030 Allow properly for out-of-tree components (was a hack before) 2015-09-08 10:36:19 +10:00
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
e61e84ca7d libc: Redefine int32_t/uint32_t as 'int' not 'long'
libc built from projectgus/newlib-xtensa@0077776963

Closes #42
2015-09-05 13:37:00 +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
Alex Stewart
5baa048cbb app_main.c: load correct g_ic sector from flash 2015-08-30 13:37:40 -07:00
Alex Stewart
1454e34496 Bug fix for dump_flash_config_sectors 2015-08-30 12:11:08 -07:00
Alex Stewart
3e138c800f More app_main.c fixups
It's alive! IT'S ALIVE!!
2015-08-28 18:53:43 -07:00
Alex Stewart
f6f57aa81c More app_main fixups from object code comparisons 2015-08-28 18:53:43 -07:00
Alex Stewart
d55da0f09a Various app_main.c bug fixes 2015-08-28 18:53:43 -07:00
Alex Stewart
beecdc844a Add 'sdklike' FLAVOR to makefile 2015-08-28 18:53:43 -07:00
Alex Stewart
06e455a59b Don't rename FreeRTOS hook symbols 2015-08-28 18:53:43 -07:00
Alex Stewart
ec8c3c134a Replace libmain:app_main.o with core/app_main.c 2015-08-28 18:53:43 -07:00
Alex Stewart
1eb0e58997 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
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
Angus Gratton
c492431d09 Remove stray extras/cplusplus 2015-08-26 11:16:58 +10:00
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