Commit graph

916 commits

Author SHA1 Message Date
Angus Gratton
f34e229bbc Allow specifying list of files in Makefiles as alternative to dirs
Also allow xx_EXTRA_SRC_FILES
Let target component use name TARGET so TARGET_EXTRA_SRC_FILES, TARGET_SRC_DIR, etc.
2015-06-12 08:12:47 +10:00
Angus Gratton
b3aa4eedd3 Change github URLs to use HTTPS not ssh
Thanks again to vic for pointing this out!
2015-06-12 07:44:16 +10:00
Angus Gratton
5e08256849 Add note about building esp-open-sdk with STANDALONE=n
(thanks vic on esp8266.com for pointing this out)
2015-06-12 07:42:44 +10:00
Angus Gratton
6a5866aa55 http examples: don't write NULs to sockets
Thanks @pfalcon for the heads-up.
2015-06-09 09:03:56 +10:00
Angus Gratton
c09167715e Indentation fixes
- Fix dir-locals so emacs won't inject occasional tabs to case statements.
- Fix stray tab indentation in example programs. (Thx @pfalcon for pointing this out)
2015-06-09 09:00:32 +10:00
Angus Gratton
a59b1565e4 Better comments on esp_gpio_interrupts.c 2015-06-08 18:33:56 +10:00
Angus Gratton
0078252df3 Add GPIO config, interrupt registers, GPIO interrupt support, 'button' example 2015-06-08 18:20:29 +10:00
Angus Gratton
822533fd92 Interrupt support refactor
Write inline versions for SDK-based interrupt convenience functions.
2015-06-08 18:20:29 +10:00
Angus Gratton
0dbb6d31a5 Add IRAM attribute for IRAM loaded symbols, add to common FreeRTOS functions
Closes #7.

It'd be nice to change the linker script so .text is always linked to
IROM instead of needing to objcopy each compiled file. The sticking
point for this is libgcc & libhal, which have symbols in .text that need
to be loaded to IRAM.
2015-06-08 18:19:59 +10:00
Angus Gratton
a476fb007e Fix IROM macro 2015-06-08 17:58:10 +10:00
Angus Gratton
2c46be9825 Basic support for GPIOs 0-15.
Start new 'core' component for low-level parts

Progress towards #8
2015-06-08 12:09:34 +10:00
Angus Gratton
b01e7a89bd Rearrange make order so user program gets compiled first (most likely to have compiler error) 2015-06-05 15:35:04 +10:00
Angus Gratton
5cb37060cd Readme: Add third party libraries link and axTLS 2015-06-03 14:45:31 +10:00
Angus Gratton
a173ffa81d Remove custom entry point, pending merge of esptool.py patch adding --entry-symbol option 2015-06-03 14:29:56 +10:00
Angus Gratton
1ee7222509 Add wiki link, clean up README a bit 2015-06-03 09:15:56 +10:00
Angus Gratton
1bfe1c5147 Fix makefile local.mk usage 2015-06-03 09:14:50 +10:00
Angus Gratton
4790654bc2 Add actual LICENSE file 2015-06-03 07:53:55 +10:00
Angus Gratton
9120590caa Fix up submodule paths, add some hints for submodule usage 2015-06-02 18:51:22 +10:00
Angus Gratton
b92fd8a872 Tweak // path argument in makefile 2015-06-02 18:03:16 +10:00
Angus Gratton
81afe58334 Change symbol extraction to use objdump not nm
nm outputs warnings to stderr so hard to clean output.

Also now picks up global variables, like NMIIrqOn.
2015-06-02 17:57:33 +10:00
Angus Gratton
9e3328abe8 Add 'examples' top level Makefile for building all examples together 2015-06-02 17:56:41 +10:00
Angus Gratton
70cec6c3b7 Rename the sdk_prototypes header to sdk_private 2015-06-02 17:15:00 +10:00
Angus Gratton
1292829a07 Add hmac test vector test program 2015-06-02 17:15:00 +10:00
Angus Gratton
c126fa6430 Add README, 'make help', header comments, Copyright notices 2015-06-02 17:12:20 +10:00
Angus Gratton
c8bc934b3d Fixup git revision in axTLS output 2015-06-02 17:12:20 +10:00
Angus Gratton
93c3e1a53a Add http_get_ssl example 2015-06-02 17:12:20 +10:00
Angus Gratton
52d6bbea51 lwip config: Reduce default DNS result cache size to save RAM 2015-06-02 17:12:20 +10:00
Angus Gratton
3fcec6106f Swap binary axTLS libssl for direct compiled version 2015-06-02 17:12:20 +10:00
Angus Gratton
c19346fa23 Update axtls module with embedded-friendly tweaks 2015-06-02 17:12:20 +10:00
Angus Gratton
98730b96b5 Add axTLS version.h file, embed git revision in version 2015-06-02 17:09:54 +10:00
Angus Gratton
6e44ce3d11 Add axTLS git-svn mirror repo as submodule 2015-06-02 17:09:54 +10:00
Angus Gratton
e743d03a78 Preprocess all binary SDK symbols to add an sdk_ prefix
* This fixes the problem of axTLS symbols hmac_md5/hmac_sha1 having same
  name as symbols in libwpa (which have incompatible signatures)

* Also allows for easier identification and piece-by-piece removal of
  binary functions.

* Some libc symbols are not renamed, list is in lib/symbols_norename.txt
2015-06-02 15:08:35 +10:00
Angus Gratton
05019cb0ee Remove cJSON blob (can re-add later from source) 2015-06-02 15:08:35 +10:00
Angus Gratton
b8576dd554 Fix errno 2015-06-02 15:08:35 +10:00
Angus Gratton
a6e8647114 Clean up FreeRTOSConfig defaults, increase min task stack size 2015-06-02 15:08:35 +10:00
Angus Gratton
cba882b46d http_get example: Fix printing of DNS resolved IP 2015-06-02 15:08:35 +10:00
Angus Gratton
7c982da48f Add function prototypes for LWIP SDK functions, allow compilng with -Werror again 2015-06-02 15:08:35 +10:00
Angus Gratton
dc4ca6861f Remove udhcp (DHCP server support) as it's a GPL violation :( 2015-06-02 15:08:35 +10:00
Angus Gratton
8e174aa518 Comment vPortEnterCritical/vPortExitCritical functions 2015-06-02 15:08:35 +10:00
Angus Gratton
df9e9bf9a4 Working from-source IP stack 2015-06-02 15:08:35 +10:00
Angus Gratton
e4bc8fab7a First set of changes for from-source esp-lwip 2015-06-02 15:08:35 +10:00
Angus Gratton
2449914df1 Makefile: Add 'size' target 2015-06-02 15:08:35 +10:00
Angus Gratton
156143d850 Allow parallel 'make rebuild' 2015-06-02 15:08:35 +10:00
Angus Gratton
806962d5c7 Replace lwip SDK blob with lwip 1.4.1 upstream source
Compiles but won't work yet
2015-06-02 15:08:26 +10:00
Angus Gratton
496c5a8330 Heavily rework Makefile to support 'components' of source code to build independently, etc. 2015-06-02 15:08:03 +10:00
Angus Gratton
d68970d51b Add example HTTP client 2015-06-02 15:07:54 +10:00
Angus Gratton
c2bdc4bf96 Change main Makefile to common.mk, add per-example Makefile that
includes common.mk
2015-05-07 15:58:01 +10:00
Angus Gratton
a9d89aaafd gitignore: Ignore gdb history 2015-05-07 14:24:44 +10:00
Angus Gratton
d455e3b9ba Re-enable -Werror now all warnings are fixed, remove -fno-inline-functions also 2015-05-07 14:23:24 +10:00
Angus Gratton
1e15cc266f Comment some parts of portmacro.h 2015-05-07 14:23:24 +10:00