Jeff Epler
4bae29b925
nrf: enable link-time optimization
...
Testing performed: installed freshly built .uf2 on a Particle Xenon.
Checked that circuitpython still starts.
Checked that the size of all .uf2 files for nrf builds are plausible.
Aside from memory savings, the performance of Python code (pystone)
increased by about +14%.
However, this adds about 12-16 seconds to each nrf build.
Timings & Sizes (build system: i5-3320M, -j5 parallelism on 4 threads):
Before:
$ make -j5 BOARD=particle_xenon
765004 bytes free in flash out of 1048576 bytes ( 1024.0 kb ).
232076 bytes free in ram for stack out of 245760 bytes ( 240.0 kb ).
68.54user 11.83system 0:34.34elapsed 234%CPU
pystones before: 570
After:
$ make -j5 BOARD=particle_xenon
804284 bytes free in flash out of 1048576 bytes ( 1024.0 kb ).
232072 bytes free in ram for stack out of 245760 bytes ( 240.0 kb ).
71.06user 11.77system 0:46.91elapsed 176%CPU
pystones after: 650
Timings on travis:
Before:
Build feather_nrf52840_express for pl took 55.79s and succeeded
Build feather_nrf52840_express for zh_Latn_pinyin took 3.18s and succeeded
After:
Build feather_nrf52840_express for pl took 62.72s and succeeded
Build feather_nrf52840_express for zh_Latn_pinyin took 19.10s
Closes : #1396
2019-08-02 20:59:47 -05:00
Dan Halbert
347fbb652f
Merge pull request #2030 from pewpew-game/stage-scale
...
Add support for scaling to _stage
2019-08-02 18:28:16 -04:00
Dan Halbert
7ce3776b80
WIP: rework of Characteristic properties; enhance Descriptor; not tested
2019-08-02 17:57:31 -04:00
Radomir Dopieralski
c1e5247d51
Add support for scaling to _stage
...
On high-resolution displays we can use 2x2 or even 3x3 pixels.
2019-08-02 22:55:55 +02:00
Scott Shawcroft
64bf0f8f1f
Merge pull request #1996 from jepler/nrf-reboot-bootloader
...
[DRAFT] nrf: enable "reboot to bootloader" functionality
2019-08-02 11:55:33 -07:00
Scott Shawcroft
08718993be
Merge pull request #2028 from pewpew-game/master
...
Update circuitpython-stage to 1.0.4 for audiocore changes
2019-08-02 11:36:31 -07:00
Jeff Epler
28b7cbfca6
nrf: Mark interrupt vectors as used
2019-08-02 07:53:35 -05:00
jepler
34e2bab96a
nrf: Implement RUNMODE_BOOTLOADER and RUNMODE_SAFE_MODE
2019-08-01 18:53:07 -05:00
Radomir Dopieralski
fd2299e51a
Update circuitpython-stage to 1.0.4 for audiocore changes
...
Since some parts of audioio were moved to audiocore, we now have
to import them differently.
2019-08-01 04:19:50 +02:00
Jeff Epler
76f65ac694
Implement play/pause
...
.. and also incidentally fix a problem where a RawSample could only
be looped 131070 times.
2019-07-31 20:02:56 -05:00
Scott Shawcroft
95d2694bc3
Merge pull request #2026 from pewpew-game/master
...
Fix missing write_ram_command in _stage
2019-07-31 16:44:39 -07:00
Scott Shawcroft
eee759455a
Merge pull request #2018 from keith-packard/snekboard
...
Add board support for keithp.com SnekBoard
2019-07-31 16:38:51 -07:00
Dave Astels
cd092df9d8
Merge remote-tracking branch 'adafruit/master' into displayio_fill_area
2019-07-31 18:46:41 -04:00
Jeff Epler
b0f7c7bc4c
Merge remote-tracking branch 'origin/master' into nrf-pwm-audio
2019-07-31 16:32:54 -05:00
Radomir Dopieralski
c4c5d8c5e7
Fix missing write_ram_command in _stage
...
Since the changes in displayio, displayio_display_set_region_to_update
no longer sends the write_ram_command, so we have to send it explicitly.
2019-07-31 23:32:42 +02:00
Dave Astels
1f9cb44fa3
Expose rotation with a property
2019-07-31 15:00:21 -04:00
Dave Astels
741cd9c40a
Get fill_area working
2019-07-31 12:47:32 -04:00
Dan Halbert
ee518b9141
Merge remote-tracking branch 'adafruit/master' into ble-pairing
2019-07-31 11:22:48 -04:00
Dan Halbert
91d791afd0
cleanup adapter.address; add uniquish suffix to BLE device name
2019-07-31 00:30:24 -04:00
Scott Shawcroft
366fdcce18
Merge pull request #2011 from tannewt/ssd1322
...
Add knobs for SSD1322 and two displayio fixes.
2019-07-30 14:15:37 -07:00
Scott Shawcroft
9dd56b1566
Merge branch 'master' into snekboard
2019-07-30 14:12:08 -07:00
Scott Shawcroft
bb04fbf410
Merge pull request #2014 from robotics-masters/wallarug-robohat
...
Robo HAT MM1 updates v1.8 board
2019-07-30 11:49:31 -07:00
Dan Halbert
83129b8c63
BLE: peripheral client pairing (not yet bonding); fix time doc formatting
2019-07-30 14:26:26 -04:00
wallarug
ecfffac3a8
Delete samd51x19-bootloader-external-flash-crystalless.ld
2019-07-30 19:48:35 +10:00
wallarug
ff6ae1aefb
Update mpconfigboard.mk to use standard linker file
2019-07-30 19:13:33 +10:00
Scott Shawcroft
f9d314b263
Merge pull request #1985 from sommersoft/dynamic_support_matrix
...
Docs: Dynamically Build Support Matrix Table
2019-07-29 18:08:16 -07:00
Scott Shawcroft
3b3a7bbd06
Update pwmaudioio module for PWMAudioOut
2019-07-29 17:45:06 -07:00
Scott Shawcroft
3961014a9e
Update doc comments for PWMAudioOut
2019-07-29 17:43:22 -07:00
Jeff Epler
b72352949b
PWM audio: Rename AudioOut -> PWMAudioOut, _audioio_ -> _audiopwmio_
2019-07-29 18:39:00 -04:00
Keith Packard
c6e4ddc88a
boards/snekboard: Delete SPI object reference
...
Snekboard does not expose any pins for SPI to the user, so delete
the SPI object reference as that won't work.
Signed-off-by: Keith Packard <keithp@keithp.com>
2019-07-29 13:45:52 -07:00
Keith Packard
9a37c8a4b3
boards/snekboard: Add pin aliases for UART and I2C
...
Allow users to use TX/RX and SDA/SCL names.
Signed-off-by: Keith Packard <keithp@keithp.com>
2019-07-29 13:45:06 -07:00
Dan Halbert
a108554a85
Merge pull request #2016 from hexthat/patch-2
...
added translations
2019-07-29 16:17:15 -04:00
Dan Halbert
e5860f83bc
Merge pull request #2017 from sethitow/fix-example-typo
...
bleio: Fix typo in Peripheral example code.
2019-07-29 16:15:57 -04:00
Keith Packard
4387ecfdfb
Update snekboard PID to official value
...
Snekboard has been assigned the following PIDs:
PID 0x004D # bootloader
PID 0x804D # arduino
PID 0x804E # circuitpython
Signed-off-by: Keith Packard <keithp@keithp.com>
2019-07-29 13:15:18 -07:00
Keith Packard
326df70ac2
Fix snekboard names
...
Manufacturer -- keithp.com
Product -- snekboard
Signed-off-by: Keith Packard <keithp@keithp.com>
2019-07-29 13:15:18 -07:00
Keith Packard
7736e71e91
Add snekboard to .travis.yml
...
Make sure snekboard images are autogenerated
Signed-off-by: Keith Packard <keithp@keithp.com>
2019-07-29 13:15:18 -07:00
Keith Packard
56f710f64f
Add board support for keithp.com SnekBoard
...
This is another SAMDG2118A design with built-in 9V motor controllers
that are designed to be used with Lego PowerFunctions devices.
Signed-off-by: Keith Packard <keithp@keithp.com>
2019-07-29 13:14:37 -07:00
wallarug
dc1eb73ee7
Merge branch 'master' into wallarug-robohat
2019-07-29 21:53:49 +10:00
wallarug
8974c7e843
Added BUTTON to pins.c
2019-07-29 16:37:53 +10:00
wallarug
9e0bea405d
Added BUTTON to pins.c
2019-07-29 16:37:21 +10:00
wallarug
4d30efdc2a
Updated pins.c for GROVE.
2019-07-29 16:29:48 +10:00
wallarug
8838e25cb2
Update pins.c
2019-07-29 16:28:35 +10:00
sommersoft
8eab946c5b
Merge pull request #2003 from C47D/travis_check_new_boards
...
Add check to travis to make sure new boards are built, fix #1886
2019-07-28 22:41:59 -05:00
sommersoft
bbc5255f04
update rST ref link for support matrix
2019-07-28 21:25:43 -05:00
sommersoft
f7b10b1fde
docs: install setuptools earlier
2019-07-28 18:19:56 -05:00
sommersoft
6454eb1384
docs: add setuptools for sphinx 2.x
2019-07-28 18:15:03 -05:00
sommersoft
6129a58508
have Travis use pip3 for Sphinx 2.x
2019-07-28 16:02:02 -05:00
sommersoft
8c75962850
add ':noindex:' to micropy's 'network.rst' to avoid sphinx conflict
2019-07-28 16:00:29 -05:00
sommersoft
d489c7a057
change 'c2rst' from source_parser -> extension; allows use of sphinx 2.x
2019-07-28 15:59:26 -05:00
Seth Itow
a2bab9f172
bleio: Fix typo in Peripheral example code.
2019-07-27 12:58:28 -07:00