sheinz
e2e6f35288
Fix spiff and stdin_uart_interrupt overiding the same read function ( #249 )
...
* Fix spiff and stdin_uart_interrupt overiding the same read function
* Make strong function defninition replace a weak one
2016-11-01 17:14:34 +02:00
sheinz
22654a4de7
SPIFFS: Support lseek, stat, fstat
...
Support for lseek, stat, fstat added.
Test extended to covert those functions.
2016-07-14 16:13:03 +03:00
sheinz
b71a7ad237
Use SPIFFS for POSIX file access. Draft. Not tested.
2016-06-30 17:38:05 +03:00
Angus Gratton
f0db26604f
brk/malloc: Allow malloc to fail when out of RAM
...
Fixes #76 .
2016-05-27 12:09:07 +10:00
Angus Gratton
36886412e6
Add abort() implementation
...
Also reduces the IRAM footprint of the fatal exception handler, as only
the prelude (which disables interrupts & enables the flash mapping) is
in IRAM now.
Closes #54 , relevant to #133 .
2016-05-15 22:30:01 +10: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
be3968abf0
stdout: Bring back auto-CRLF behaviour as discussed
2015-10-06 23:24:40 +11:00
Alex Stewart
707d0ed981
Fix issue #52 . Add esp/uart.h
2015-10-05 21:51:57 -07:00
Angus Gratton
920ee8bf85
libc syscalls: ENOSYS implementations for open,fstat,close,lseek
...
Closes #41
2015-09-03 11:45:52 +10:00
Angus Gratton
568ebc0fdc
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
Johan Kanflo
64a1e5598b
Correct prototype for sdk_uart_rx_one_char, kudos to @foogod
2015-08-07 13:26:06 +02:00
Angus Gratton
efc454035c
Move all code paths touched by NMI to IRAM
...
Prerequisite for calling Cache_Read_Disable() for OTA updates.
Massive thanks due to @foogod and their xtobjdis tool, creating the call
graph of where the wDev_ProcessFiq touched (including in newlib, etc.)
would have otherwise been very painful:
https://bitbucket.org/foogod/xtobjdis
2015-07-29 16:47:33 +10:00
Angus Gratton
49268a33e1
Link against newlib from esp-open-sdk's libcirom, replace FreeRTOS heap management.
...
Compiles and runs, expects xtensa lock.c patch in newlib (will still run
otherwise but malloc/free and other functions will be non-memory-safe...)
2015-06-16 14:20:24 +10:00