Radomir Dopieralski
240678e714
Avoid uninitialized gamepad on exception
...
Raise exceptions before the gamepad_singleton is created.
Also, use mp_raise for creating the exceptions.
2018-05-23 21:39:06 +02:00
Dan Halbert
65cfbda79b
Merge pull request #866 from tannewt/touchio3
...
Use merged in FreeTouch
2018-05-23 15:29:53 -04:00
Dan Halbert
2fd9e9a744
Merge pull request #865 from tannewt/fix_rtd_build
...
Fix ReadTheDocs build due to c2rst.
2018-05-23 15:15:21 -04:00
Dan Halbert
bbdca2f352
typos in builtins.rst
2018-05-23 15:07:32 -04:00
Dan Halbert
6a63ff096a
ustruct -> struct in design_guide.rst
2018-05-23 15:05:38 -04:00
Scott Shawcroft
aa86a1457f
Use merged in FreeTouch
2018-05-23 11:57:35 -07:00
Scott Shawcroft
27551cbb4d
Fix ReadTheDocs build due to c2rst.
2018-05-23 11:53:00 -07:00
Dan Halbert
079c20e58e
use shared-bindings struct doc; remove docs/library one
2018-05-23 14:24:02 -04:00
Dan Halbert
6af5fc2796
Merge pull request #861 from tannewt/touchio3
...
Turn on touchio for M0 boards.
2018-05-23 14:20:15 -04:00
Scott Shawcroft
641caaa6dd
Gain space back in non-Express builds by using -finline-limit
2018-05-23 10:36:59 -07:00
Radomir Dopieralski
edf2935ab1
Make gamepad.get_pressed work when gamepad was created from frozen code
...
For some reason, when the GamePad is created from frozen code, the
get_pressed method would always return 0. This fixes it, and makes it
work properly no matter how the object was created.
2018-05-23 12:44:22 +02:00
Radomir Dopieralski
52d05bbc37
Cache pullup state in gamepad
...
Don't check the pin's pull direction on every tick, instead cache it
at the beginning. Also avoid a "can't get pull of output pin" error
when one of the pins passed is in output mode.
2018-05-23 11:26:16 +02:00
Dan Halbert
20a13fa9fb
fix title underline
2018-05-22 21:21:19 -04:00
Dan Halbert
59615fc993
add caveat language re MicroPython libraries; other slight changes
2018-05-22 20:49:08 -04:00
Dan Halbert
e65cc07764
RTD documentation updates
2018-05-22 19:52:01 -04:00
Scott Shawcroft
e274a02ff0
Merge pull request #862 from tannewt/contributing_update
...
Update CONTRIBUTING.md to include new learn guides and Dan and
2018-05-22 16:34:23 -07:00
Scott Shawcroft
783ffe6824
Update CONTRIBUTING.md to include new learn guides and Dan and
...
Kattni's info.
Fixes #858
2018-05-22 14:32:27 -07:00
Scott Shawcroft
3607d3ba2c
Correctly reset the PTC
2018-05-22 14:20:35 -07:00
Scott Shawcroft
31bcd1c45c
Fixup gclk init
2018-05-22 13:56:12 -07:00
Scott Shawcroft
99123a8621
Turn on touchio for M0 boards. M4 will come later once its supported
...
by FreeTouch.
Fixes #670
2018-05-22 13:49:08 -07:00
Dan Halbert
22405d6bdb
Merge pull request #860 from dhalbert/3.0-cpx-crickit
...
turn off longint on cpx crickit; update frozen libs
2018-05-22 16:28:42 -04:00
Scott Shawcroft
165b28438a
Merge pull request #854 from python-ugame/extra-override
...
Allow overriding EXTRA_BUILTIN_MODULES in mpconfigboard.h
2018-05-22 10:22:35 -07:00
Dan Halbert
0d7db29630
turn off longint on cpx crickit; update frozen libs
2018-05-22 13:03:13 -04:00
Scott Shawcroft
422525fa4c
Merge pull request #859 from dhalbert/3.0-cpx-crickit
...
refactor longint settings; make crickit cpx build
2018-05-22 09:59:21 -07:00
Dan Halbert
49a81d5c4b
LONGLONG typo
2018-05-22 09:35:29 -04:00
Dan Halbert
45db48bbaa
make longint choice mechanism more readable
2018-05-22 08:04:14 -04:00
Dan Halbert
5680933483
refactor longint settings; make crickit cpx build
2018-05-21 23:58:03 -04:00
Radomir Dopieralski
6a6ab2b0ec
Allow overriding EXTRA_BUILTIN_MODULES in mpconfigboard.h
...
Some boards (like the uGame10) may want to have their own set of extra
modules. This change lets them override EXTRA_BUILTIN_MODULES in their
mpconfigboard.h and makes the ugame10 board do that.
2018-05-21 09:23:58 +02:00
Scott Shawcroft
be12e07d74
Merge pull request #846 from notro/epoch1970
...
time: Use 1970 epoch
2018-05-19 12:30:34 -05:00
Scott Shawcroft
14ca3dc42f
Merge pull request #852 from adafruit/jerryneedell-patch-1
...
fix doc error in audioOut.c
2018-05-19 12:28:33 -05:00
Scott Shawcroft
ebeb32307d
Merge pull request #848 from dhalbert/3.0-boot_output_file
...
3.0: wasn't always clearing boot_output_file
2018-05-19 12:13:10 -05:00
jerryneedell
1d9bcc5ddf
fix doc error in audioOut.c
...
fixes #851
2018-05-19 10:41:36 -04:00
Dan Halbert
990da6d363
wasn't always clearing boot_output_file
2018-05-19 01:01:37 -04:00
Noralf Trønnes
95e70cd0ea
time: Use 1970 epoch
...
Use UNIX epoch to match CPython.
This overflows small int so time.{time,localtime,mktime} is only supported with long int.
Also remove some comment cruft in time_time().
2018-05-18 12:35:33 +02:00
Noralf Trønnes
cf33ad9a54
atmel-samd/samd21: Enable long int on Express boards
...
This is necessary for using 1970 epoch in the time module.
2018-05-18 12:35:26 +02:00
Scott Shawcroft
1eb412b44d
Merge pull request #845 from matt-land/feature-default-serial
...
Feature: default UART (serial)
2018-05-17 13:59:15 -05:00
Matt Land
06b293af29
pirkey, trinket, ugame
2018-05-17 13:56:10 -04:00
Matt Land
a84845c0ae
itsbitsy, metro
2018-05-17 13:48:33 -04:00
Matt Land
173a0a5faa
arduino, circuitplayground, feather boards
2018-05-17 13:42:08 -04:00
Matt Land
fc2b4526d3
worked
2018-05-17 13:33:26 -04:00
Matt Land
e1cccd3dac
rename to UART
2018-05-17 13:21:15 -04:00
Matt Land
2210fc60b1
Merge branch 'master' of https://github.com/adafruit/circuitpython into feature-default-serial
2018-05-17 13:08:43 -04:00
Scott Shawcroft
8581ee3f0e
Merge pull request #844 from matt-land/feature-default-spi-circuit-playground
...
Feature: 'default' SPI support for atmel-samd boards
2018-05-17 12:07:38 -05:00
Matt Land
c846f4bdae
remove newline
2018-05-17 12:17:06 -04:00
Matt Land
75cb1d1746
Merge branch 'master' of https://github.com/adafruit/circuitpython into feature-default-spi-circuit-playground
2018-05-17 12:15:15 -04:00
Matt Land
4fd4adf974
not working
2018-05-17 12:14:51 -04:00
Scott Shawcroft
91db71ed45
Merge pull request #841 from matt-land/feature-i2c-gemma
...
Feature: shortcut I2C support for atmel-samd boards
2018-05-17 11:13:48 -05:00
Matt Land
30c625ff46
Merge branch 'feature-i2c-gemma' into feature-default-spi-circuit-playground
2018-05-16 17:58:03 -04:00
Matt Land
0511becd55
Merge branch 'master' of https://github.com/adafruit/circuitpython into feature-i2c-gemma
2018-05-16 17:55:43 -04:00
Scott Shawcroft
6a8db03ade
Merge pull request #838 from rhooper/master
...
add supervisor.reload() to soft reboot from code
2018-05-16 17:52:16 -04:00