Scott Shawcroft
4c9fcd6d21
Support markdown.
2016-10-19 10:53:37 -07:00
Scott Shawcroft
d28b456b31
Add title to contributing doc.
2016-10-19 10:53:37 -07:00
Scott Shawcroft
6fcb54d2ca
Merge pull request #18 from turbinenreiter/master
...
Add Adalogger board definition in preparation of adding SD card support.
2016-10-19 09:23:44 -07:00
Sebastian Plamauer
9b1170a65d
[atmel-samd] add adalogger board definitions
2016-10-19 10:02:01 +02:00
Scott Shawcroft
46e7f8e4fb
Documentation rework to unify the docs together rather than having them
...
on a per port basis.
Also enables generating docs from inline RST in C code. Simply omits all
lines except those that start with //|. Indentation after "//| " will be
preserved.
2016-10-18 17:42:47 -07:00
Scott Shawcroft
cb99ae5032
atmel-samd: Rename Feather M0 Bluefruit files to Feather M0 Basic because there isn't anything Bluefruit specific yet.
2016-10-14 13:10:17 -07:00
Scott Shawcroft
343ff4faed
atmel-samd: Make the Arduino Zero build use a bootloader.
2016-10-14 13:10:16 -07:00
Scott Shawcroft
c69ea1a143
py/makeversionhdr.py: Use any tag to describe the version.
2016-10-14 13:10:16 -07:00
Scott Shawcroft
8677f957fb
lib/utils: Clarify this is Adafruit's MicroPython derivative and help() isn't available yet.
2016-10-14 13:10:16 -07:00
Scott Shawcroft
005b4505f5
Rework the READMEs to clarify that this is a MicroPython derivative and
...
not MicroPython proper.
2016-10-14 12:25:55 -07:00
Scott Shawcroft
0584ba1218
Merge pull request #10 from adafruit/frozen_modules
...
atmel-samd: Add modules directory with frozen bytecode support (like ESP8266 port), and NeoPixel python wrapper module.
2016-10-14 10:16:16 -07:00
Tony DiCola
fffc6d1a17
atmel-samd: Add modules directory with frozen bytecode support (like ESP8266 port), and NeoPixel python wrapper module.
2016-10-14 11:39:42 +00:00
Scott Shawcroft
674038c281
Correct code of conduct link.
2016-10-13 14:11:53 -07:00
Scott Shawcroft
8d9da429c2
Add code of conduct so that expectations on contributor behavior are
...
clearly laid out and a process for reporting violations is in place.
2016-10-13 14:09:39 -07:00
Scott Shawcroft
d451f690ef
Merge pull request #9 from adafruit/ticks_ms
...
Support ticks in os.
2016-10-13 12:22:31 -07:00
Tony DiCola
2ee52c4fde
atmel-samd: Minor fixes to SysTick handler, enable all interrupts function.
2016-10-13 18:36:00 +00:00
Tony DiCola
f77113c04f
atmel-samd: Add time.ticks_diff function from esp port.
2016-10-13 05:18:18 +00:00
Tony DiCola
903bc8d04e
atmel-samd: Implement time.ticks_ms function using SysTick timer, add global interrupt enable/disable functions.
2016-10-13 04:59:43 +00:00
Scott Shawcroft
011056af15
atmel-samd: Add support for SPI.
...
Also separate out the ASF config headers that are shared across all boards.
2016-10-11 15:48:43 -07:00
Scott Shawcroft
6986aa9aa2
atmel-samd: Change the FAT label so the board shows up as MICROPYTHON.
2016-10-10 12:17:11 -07:00
Scott Shawcroft
14f25337e7
atmel-samd: Fix FAT by giving the option of 4k sectors.
...
This causes the FATFS struct to have the ssize member because
sector size can be anywhere between 512 bytes and 4k bytes.
2016-10-10 12:16:02 -07:00
Scott Shawcroft
a52fd670e6
Merge remote-tracking branch 'micropython/master'
2016-10-10 11:42:59 -07:00
Paul Sokolovsky
89bfbfdeee
zephyr: Add README.
2016-10-10 21:21:45 +03:00
daniel
a181340ad8
docs/wipy: Correct deep sleep current figure.
2016-10-10 14:22:39 +02:00
Daniel Thompson
5a699a7017
zephyr: Use recently added "make outputexports" Zephyr target.
...
The outputexpors target, which exports Zephyr environment variables, was
recently added to Zephyr. By exploiting this feature we can hugely simplify
the build system, improving robustness at the same time.
Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
2016-10-10 02:47:32 +03:00
Paul Sokolovsky
244b02f744
zephyr/Makefile: Automatically derive target-specific CFLAGS.
...
By tricking Zephyt arch Makefiles compute them for us (not just for
Zephyr). This make potentially break as Zephyr evolves.
2016-10-10 02:06:06 +03:00
Daniel Thompson
cbc0bf6fec
zephyr: Support extra make targets
...
The two variables, GENERIC_TARGETS and CONFIG_TARGETS come, respectively,
from the the lists shown during "make help" and "make kconfig-help".
Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
2016-10-10 02:02:50 +03:00
Daniel Thompson
2ea52cb045
zephyr: Automatically derive ARCH.
...
Currently to compile for anything that except ARCH=x86 we have to
provide ARCH via the environment or make arguments. We can do better
than that!
Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
2016-10-10 01:44:23 +03:00
Paul Sokolovsky
7df9f313c6
zephyr: Switch to microkernel, required for network to work in background.
2016-10-10 01:41:38 +03:00
Paul Sokolovsky
9ad5032164
zephyr: Add zephyr_getchar module to handle console input.
...
From https://github.com/pfalcon/zephyr_getchar .
2016-10-10 01:35:39 +03:00
Paul Sokolovsky
9d9efc0c5a
zephyr: Initial Zephyr RTOS port, Zephyr part.
2016-10-10 01:35:24 +03:00
Paul Sokolovsky
cff9f02cd7
zephyr: Initial Zephyr RTOS port, MicroPython part.
2016-10-10 01:35:14 +03:00
Paul Sokolovsky
fa5ac678fc
examples/network/http_client*: Use \r\n line-endings in request.
2016-10-09 19:36:04 +03:00
Paul Sokolovsky
3dabaae47d
tests/io/bytesio_ext: Add test for readinto().
2016-10-09 12:01:02 +03:00
Paul Sokolovsky
d22a04d9c4
py/objstringio: Add readinto() method.
...
Also, drop deprecated (as for MicroPython) readall() method.
2016-10-09 11:56:11 +03:00
Paul Sokolovsky
49e140488d
tests/io/write_ext: Add description comment.
2016-10-09 11:55:28 +03:00
Paul Sokolovsky
3b3612c65b
esp8266: Make neopixel support configurable.
...
To save iRAM.
2016-10-09 00:56:46 +03:00
Scott Shawcroft
a6254f4344
atmel-samd: Add basic support for experimental Metro M0 with an external flash chip.
2016-10-07 15:09:01 -07:00
Scott Shawcroft
5d6c4109e9
atmel-samd: Change USB Manufacturer from Adafruit to Adafruit Industries.
2016-10-07 15:06:42 -07:00
Scott Shawcroft
284d3414e1
atmel-samd: Make UART REPL Arduino Zero specific. Most will use USB REPL.
2016-10-07 15:06:07 -07:00
Scott Shawcroft
67372b369e
atmel-samd: Fix A1 and A2 analog inputs.
...
Fixes #3 .
2016-10-07 15:01:26 -07:00
Damien George
dc43508cc2
extmod/vfs_fat_file: Use MP_Exxx errno constants.
2016-10-07 14:14:41 +11:00
Damien George
016dba0e98
unix: Use common RAISE_ERRNO macro from mphalport.h.
2016-10-07 14:09:59 +11:00
Damien George
503089ea9d
unix: Use mp_raise_OSError helper function.
2016-10-07 14:05:15 +11:00
Damien George
23a568240d
esp8266: Use mp_raise_OSError helper function.
2016-10-07 14:00:51 +11:00
Damien George
a2bfcbe029
stmhal: Use mp_raise_OSError helper function.
2016-10-07 13:58:25 +11:00
Damien George
e3d29996b3
driver/dht: Use mp_raise_OSError helper function.
2016-10-07 13:53:34 +11:00
Damien George
75af908c0e
extmod: Use mp_raise_OSError helper function.
2016-10-07 13:52:14 +11:00
Damien George
06d0083468
extmod/modlwip: Use mp_raise_OSError helper function.
...
Reduces esp8266 code size by about 230 bytes.
2016-10-07 13:47:57 +11:00
Damien George
620c4c32bf
extmod/vfs_fat: Use mp_raise_OSError helper function.
2016-10-07 13:44:55 +11:00