Yudi Ludkevich
4d14a874af
MQTT client api and example
...
This code based on ESP8266 port of the embedded C client in Eclipse Paho project
(http://www.eclipse.org/paho/ ) and it port for espressif
ESP8266_RTOS_SDK by baoshi (https://github.com/baoshi/ESP-RTOS-Paho.git )
2016-02-19 23:00:13 +03:00
Angus Gratton
30d8e162b3
blink example: Change default to GPIO2 as this pin has an LED on most boards
2016-02-09 10:58:56 +11:00
Angus Gratton
3dfa2272cc
mbedtls: mbedlts_net_bind should bind on all interfaces with bind_ip == NULL
...
As per mbedtls documentation. This is different to lwip_getaddrinfo()
which uses loopback for a NULL address.
Fixes bug mentioned here https://groups.google.com/forum/#!topic/esp-open-rtos/3KH5TZSTMUw
2016-02-09 10:54:57 +11:00
Angus Gratton
e2759f9e7d
Merge pull request #77 from jcard0na/master
...
Initial PWM implementation from gpascualg
2016-02-09 09:30:51 +11:00
Angus Gratton
d5e50edc0b
ota_basic example, ota-tftp support: Add links to the new OTA wiki page
2016-02-08 16:58:31 +11:00
Angus Gratton
c8716747bb
Add tls_server example, showing binding a socket and accepting a TLS connection
2016-02-08 15:41:44 +11:00
Blipi
72d5dd99fb
Initial PWM implementation from gpascualg
2015-12-11 15:20:28 -08:00
Angus Gratton
812c2fef21
Removed INLINED (force inline) macro.
...
Progress towards #57 .
2015-11-28 18:01:03 +11:00
Angus Gratton
336bad573d
timers.h: Remove compile-time-auto-inlining complexity
...
Fixes bug mentioned in #72 (oops!), also progress towards #57 .
2015-11-28 16:32:52 +11:00
Angus Gratton
01773fd1c9
terminal example: Remove unused BUFFER_SIZE macro, redundant setbuf
...
(Line-buffering is now disabled by default.)
Relates to #59 .
2015-11-21 17:11:41 +11:00
Johan Kanflo
4cfe40d348
extras/stdin_uart_interrupt: stdin via IRQ driven RX driver on UART0
...
See examples/terminal/ for usage
2015-11-21 16:15:58 +11:00
Angus Gratton
6506a29d21
serial_echo example: Remove setbuf() call as stdout no longer buffered by default
2015-10-27 13:36:51 +11:00
Angus Gratton
a5a76ed93d
http_get_mbedtls example: Remove fflush() calls as stdout is no longer line buffered
2015-10-11 09:25:51 +11:00
Angus Gratton
7823a28ff8
Change default baud rate back to 74906bps, compatible with boot ROM rate
...
This reverts a behaviour change from 3ceadfc0a6
.
2015-10-06 23:11:17 +11:00
Angus Gratton
4f05f15366
serial_echo: Fix program name in makefile
2015-10-06 17:55:37 +11:00
Angus Gratton
3060d72234
Add a basic serial_echo example, with a silly Easter Egg
2015-10-06 17:54:43 +11:00
Angus Gratton
3ceadfc0a6
uart.h: Add uart_get_baud/uart_set_baud functions, change default baud rate from 74906 to 115200
2015-10-06 17:49:00 +11:00
Angus Gratton
233e5f377a
Remove axTLS
2015-09-28 13:01:22 +10:00
Angus Gratton
99facb808e
hmac_test_vectors test: Replace axTLS with mbedTLS
2015-09-28 13:01:22 +10:00
Angus Gratton
fc9d9ff89c
Merge branch 'experiments/unaligned_load' into feature/mbedtls_notworking
2015-09-25 16:57:49 +10:00
Angus Gratton
4dd8712526
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
edbfd3a66e
unaligned_load tests: Remove incorrect references to DoubleException
2015-09-25 09:22:06 +10:00
Angus Gratton
59a0a6f86e
http_get_mbedtls: Add root cert used by howmyssl.com
2015-09-20 21:41:39 +10:00
Angus Gratton
8a470e6f98
Merge branch 'master' into feature/mbedtls
2015-09-20 21:26:29 +10:00
Angus Gratton
1b22cc088e
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
0da6c97a9d
Rename main.cpp in tasks example
2015-09-20 21:13:38 +10:00
Angus Gratton
8a29e46319
examples/Makefile: Use MAKE to properly invoke make recursively
2015-09-20 21:13:38 +10:00
Angus Gratton
1c8017484c
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
6416fe7329
Post-merge cleanup of extras/cpp_support
2015-09-20 21:13:38 +10:00
Michael Jacobsen
fbb01c81ad
Header files adjustment
...
(MQTT changes split from original commit - @projectgus.)
2015-09-20 21:13:38 +10:00
Michael Jacobsen
602d3e2d98
Header files re-arrangement
2015-09-20 21:13:38 +10:00
Michael Jacobsen
028451fa84
Updated license
2015-09-20 21:13:38 +10:00
Michael Jacobsen
627b78331a
Added C++ base components and example
2015-09-20 21:13:38 +10:00
Angus Gratton
94fabc6ceb
Add basic C++ new/delete operators, as contributed by @mikejac in #24
2015-09-20 21:13:38 +10:00
Angus Gratton
cc97067fa1
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
a3d7732da8
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
4c89a0574b
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
cceb9de300
bmp180 i2c: Fix typo temperatue->temperature.
...
Closes #47
2015-09-18 17:59:50 +10:00
Angus Gratton
7d779389ab
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
7ebebf6d22
unaligned_load: Add doubleexceptionvector behaviour test
2015-09-15 12:00:26 +10:00
Angus Gratton
0432ae3745
Use GPIO2 for led_debug.S
2015-09-14 17:20:00 +10:00
Angus Gratton
347f9d3a85
Rename main.cpp in tasks example
2015-09-12 16:28:11 +10:00
Angus Gratton
8b90dbd9e5
Merge branch 'feature/c++'
2015-09-12 16:27:26 +10:00
Angus Gratton
1aaef737df
Fix printf format string changed in merge
2015-09-10 21:11:52 +10:00
Angus Gratton
ac0a947453
Merge branch 'master' into experiments/unaligned_load
2015-09-10 08:19:42 +10:00
Angus Gratton
7ed064a750
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
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
778b94cf40
examples/Makefile: Use MAKE to properly invoke make recursively
2015-08-26 11:14:34 +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
fff17627d9
Merge branch 'master' into feature/c++
2015-08-26 10:46:48 +10:00