Paul Sokolovsky
97f88eebb6
README: Explicitly point to required dependencies section.
2016-04-18 22:37:42 +03:00
Paul Sokolovsky
8dcce92606
esp8266/scripts: Don't try to create filesystem on 512KB devices or less.
...
There's no space for it.
2016-04-18 17:14:00 +03:00
Paul Sokolovsky
89e56a80b8
esp8266/modesp: Add flash_size() function.
...
Returns FlashROM size in bytes from vendor SDK's point of view, not
physical size.
2016-04-18 17:12:57 +03:00
Paul Sokolovsky
3a5a35aaec
esp8266/scripts/flashbdev: Use all available space in 1MB FlashROM for FS.
2016-04-18 01:23:04 +03:00
Damien George
d76ebde85e
esp8266/modesp: Allow esp.deepsleep to take 2nd arg for RF wake opt.
2016-04-17 16:28:47 +01:00
Paul Sokolovsky
89aa7157d0
esp8266/README.md: Update feature list for current state of affairs.
2016-04-17 18:17:49 +03:00
Paul Sokolovsky
7e5715a6d5
esp8266/README.md: Typo fix.
2016-04-17 18:16:36 +03:00
Paul Sokolovsky
6f3b9933bd
esp8266/esp_mphal: Protect dupterm_task_handler() from recursive exec.
2016-04-17 18:11:04 +03:00
Paul Sokolovsky
dde9abad16
esp8266/moduos: Add dupterm_notify() function.
...
Should be called to notify that current dupterm object has more input
data to read.
2016-04-17 18:09:52 +03:00
Paul Sokolovsky
7d57037906
extmod/modlwip: Add ability to run callback on "recv" and "accept" events.
...
To use: .setsockopt(SOL_SOCKET, 20, lambda sock: print(sock)). There's a
single underlying callback slot. For normal sockets, it serves as data
received callback, for listening sockets - connection arrived callback.
2016-04-17 18:06:45 +03:00
Paul Sokolovsky
67ece47121
docs/machine: reset_cause() has been implemented for esp8266.
2016-04-17 17:40:08 +03:00
Paul Sokolovsky
50e4fa5e19
py/mkenv.mk: Optimize Python startup type during make process.
...
By skipping loading site.py, etc.
2016-04-17 16:11:44 +03:00
Damien George
31480fb91b
py/frozenmod: Pass the source name of the frozen module to the lexer.
...
This allows for better error messages, since the name of the file (sans
.py) can now be printed when an exception occurs within a frozen script.
2016-04-17 12:37:00 +01:00
Damien George
5e247a5192
stmhal: Fix machine.unique_id() function to work for all MCUs.
2016-04-17 12:18:50 +01:00
Tobias Badertscher
31f5dc065a
stmhal: L4: Modify timer.c to support L4 MCU.
2016-04-17 12:16:13 +01:00
Tobias Badertscher
432465b167
stmhal: L4: Modify rtc.c to support L4 MCU.
2016-04-17 12:08:07 +01:00
Damien George
aed1da913b
stmhal: L4: Modify usbd_conf.c to support L4 MCU.
...
Original patch was authored by Tobias Badertscher / @tobbad, but it was
reworked to split UART edits from USB edits.
2016-04-17 12:02:26 +01:00
Damien George
53521152a8
stmhal: L4: Modify uart.c to support L4 MCU.
...
L4 does not have UART6, and has similar registers to the F7.
Original patch was authored by Tobias Badertscher / @tobbad, but it was
reworked to split UART edits from USB edits.
2016-04-17 12:01:05 +01:00
Paul Sokolovsky
8007f84cca
extmod/modlwip: lwip_tcp_receive(): Full error handling.
2016-04-17 02:22:26 +03:00
Paul Sokolovsky
b830f4c610
extmod/modlwip: lwip_tcp_send(): Full error handling.
2016-04-17 02:20:05 +03:00
Tobias Badertscher
d49a547064
stmhal: L4: Modify adc.c to add support for STM32L4 series.
2016-04-16 23:02:36 +01:00
Tobias Badertscher
69f26c68c9
stmhal: L4: Add line to Makefile for building L4 series.
2016-04-16 22:14:12 +01:00
Tobias Badertscher
0b6e28c999
stmhal: L4: Add board definition files for STM32L476DISC.
2016-04-16 22:11:02 +01:00
Damien George
e943a407f2
stmhal: Update HALCOMMITS due to change to hal.
2016-04-16 22:00:49 +01:00
Tobias Badertscher
d4c3349957
stmhal: L4: Adapt UART HAL to avoid 64-bit integer division.
...
64-bit integer division brings a dependency on library functions. It is
avoided here by dividing fck and baud by a common divisior. The error
is the better (1/(2*0x300)) as with 64 bit division (1/(0x300)).
2016-04-16 21:54:19 +01:00