Commit graph

85 commits

Author SHA1 Message Date
Angus Gratton
5088e7e64b hmac_test_vectors test: Replace axTLS with mbedTLS 2015-09-28 13:01:22 +10:00
Angus Gratton
8e5221b894 Merge branch 'experiments/unaligned_load' into feature/mbedtls_notworking 2015-09-25 16:57:49 +10:00
Angus Gratton
3ceb07b9db unaligned_load: Run some tests after scheduler/network/wifi all up and running
As written this doesn't expose any new bugs.
2015-09-25 09:41:53 +10:00
Angus Gratton
2f412bbcfd unaligned_load tests: Remove incorrect references to DoubleException 2015-09-25 09:22:06 +10:00
Angus Gratton
7542e995ec http_get_mbedtls: Add root cert used by howmyssl.com 2015-09-20 21:41:39 +10:00
Angus Gratton
5b67ca4f5f Merge branch 'master' into feature/mbedtls 2015-09-20 21:26:29 +10:00
Angus Gratton
9f5dedd1a8 Add initial mbedTLS and HTTPS example project (using howsmyssl.com JSON API)
mbedTLS version 2.1.0 (current stable)

Has some known issues/hacks:
* Entropy source not hooked in at all
* Linker script has a messy hack in it to store some (not all) data in
  irom
2015-09-20 21:13:38 +10:00
Angus Gratton
1cbb34b9ab Rename main.cpp in tasks example 2015-09-20 21:13:38 +10:00
Angus Gratton
1f7a27b49a examples/Makefile: Use MAKE to properly invoke make recursively 2015-09-20 21:13:38 +10:00
Angus Gratton
07ba9ec6ea Move c++ operators back to link-time resolutions, part of 'core'
This reverts commit e9b1df5cb5.
2015-09-20 21:13:38 +10:00
Angus Gratton
047d2def6a Post-merge cleanup of extras/cpp_support 2015-09-20 21:13:38 +10:00
Michael Jacobsen
78b006e6d3 Header files adjustment
(MQTT changes split from original commit - @projectgus.)
2015-09-20 21:13:38 +10:00
Michael Jacobsen
0a6722840c Header files re-arrangement 2015-09-20 21:13:38 +10:00
Michael Jacobsen
f251416307 Updated license 2015-09-20 21:13:38 +10:00
Michael Jacobsen
3d8ed11087 Added C++ base components and example 2015-09-20 21:13:38 +10:00
Angus Gratton
d308687782 Add basic C++ new/delete operators, as contributed by @mikejac in #24 2015-09-20 21:13:38 +10:00
Angus Gratton
aea147ad6a 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-09-20 21:13:38 +10:00
Alex Stewart
9d62d09d3f unaligned_load.c: Added more naive_strcpy tests
Added tests for naive_strcpy using a variety of different regs, as execution time can depend on which register is being used.
2015-09-19 20:03:22 -07:00
Alex Stewart
dc1b8b1816 Add sanity-test suite to unaligned_load.c
Tests are designed to methodically exercise all code paths/opcodes/offsets/etc.
2015-09-19 15:16:44 -07:00
Angus Gratton
c4a607a595 bmp180 i2c: Fix typo temperatue->temperature.
Closes #47
2015-09-18 17:59:50 +10:00
Angus Gratton
8a088f73db unaligned_load: Fix sign extension, add test case for sign extension
H/T to @foogod again for this.
2015-09-15 12:00:32 +10:00
Angus Gratton
5a9590cdff unaligned_load: Add doubleexceptionvector behaviour test 2015-09-15 12:00:26 +10:00
Angus Gratton
6650369502 Use GPIO2 for led_debug.S 2015-09-14 17:20:00 +10:00
Angus Gratton
8932afd7c7 Rename main.cpp in tasks example 2015-09-12 16:28:11 +10:00
Angus Gratton
df8eaeec8c Merge branch 'feature/c++' 2015-09-12 16:27:26 +10:00
Angus Gratton
7cb8fd189e Fix printf format string changed in merge 2015-09-10 21:11:52 +10:00
Angus Gratton
a5266adb48 Merge branch 'master' into experiments/unaligned_load 2015-09-10 08:19:42 +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
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
1cf552e131 examples/Makefile: Use MAKE to properly invoke make recursively 2015-08-26 11:14:34 +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
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
28f51fb195 Added C++ base components and example 2015-08-26 10:45:21 +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
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
Alex Stewart
820a7006a5 Fixup some constants used in examples 2015-08-20 15:11:29 -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
584dc0a69d Add basic C++ new/delete operators, as contributed by @mikejac in #24 2015-08-13 08:33:07 +10:00
Angus Gratton
8ea4ae27e2 Unaligned loader: Support l16si 2015-08-11 15:03:53 +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
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
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
19b8383069 Working TFTP server based OTA updates
Tested with 16MBit flash configuration, two rboot update slots.

Closes #10
2015-08-05 14:10:14 +10:00