Commit graph

96 commits

Author SHA1 Message Date
Angus Gratton
c0c3280d12 Removed INLINED (force inline) macro.
Progress towards #57.
2015-11-28 18:01:03 +11:00
Angus Gratton
f993e51250 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
202101c890 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
ffa1550193 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
feea2e5d5f serial_echo example: Remove setbuf() call as stdout no longer buffered by default 2015-10-27 13:36:51 +11:00
Angus Gratton
d61874363a http_get_mbedtls example: Remove fflush() calls as stdout is no longer line buffered 2015-10-11 09:25:51 +11:00
Angus Gratton
7d67bf2ede 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
9e894226b7 serial_echo: Fix program name in makefile 2015-10-06 17:55:37 +11:00
Angus Gratton
07f4004e7e Add a basic serial_echo example, with a silly Easter Egg 2015-10-06 17:54:43 +11:00
Angus Gratton
25d3c54c5b 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
e8a60268c5 Remove axTLS 2015-09-28 13:01:22 +10:00
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