arofarn
c1a6637293
Merge pull request #3 from adafruit/master
...
Merge updated Circuitpython
2018-08-17 14:09:37 +02:00
Egor Leonenko
18e9f74738
Fix PWM Support on NRF52840
...
Replace usage of pin number alone with port+pin combination in NRF port of PWMOut
2018-08-17 19:34:03 +12:00
Scott Shawcroft
5dd420f7ff
Merge pull request #1121 from tannewt/huffman
...
Compress all translated strings with Huffman coding.
2018-08-16 19:22:45 -07:00
Scott Shawcroft
e8cf6a9072
Update to merged peripheral change.
2018-08-16 18:05:53 -07:00
Scott Shawcroft
c3c5951d44
Fix test that broke due to decompressing to too small of a scope.
2018-08-16 17:41:53 -07:00
Scott Shawcroft
96534e598e
Fix unix coverage and update translations.
2018-08-16 17:41:53 -07:00
Scott Shawcroft
76e0373576
Fix nrf and unix
2018-08-16 17:41:38 -07:00
Scott Shawcroft
2cd166b573
Fix esp and samd
2018-08-16 17:41:35 -07:00
Scott Shawcroft
137a30ad75
fix mpy-cross
2018-08-16 17:40:57 -07:00
Scott Shawcroft
de5a9d72dc
Compress all translated strings with Huffman coding.
...
This saves code space in builds which use link-time optimization.
The optimization drops the untranslated strings and replaces them
with a compressed_string_t struct. It can then be decompressed to
a c string.
Builds without LTO work as well but include both untranslated
strings and compressed strings.
This work could be expanded to include QSTRs and loaded strings if
a compress method is added to C. Its tracked in #531 .
2018-08-16 17:40:57 -07:00
Scott Shawcroft
92ed5d7bf2
Merge pull request #1119 from tannewt/memory_free_fix
...
Fix crash due to unsigned index and 0 boundary loop.
2018-08-16 11:21:34 -07:00
Noralf Trønnes
11cbeb87ad
ports/atmel-samd: Implement i2cslave.I2CSlave
...
This adds support for SAMD acting as a I2C slave in polled mode.
2018-08-16 17:20:49 +02:00
Noralf Trønnes
1ed0e45fc2
Add i2cslave.I2CSlave bindings
2018-08-16 17:11:20 +02:00
Noralf Trønnes
b6822b86ac
busio/I2C: Split out samd_i2c_get_sercom()
...
It will be shared with I2CSlave.
2018-08-16 17:06:40 +02:00
Scott Shawcroft
e72cebbad6
Fix crash due to unsigned index and 0 boundary loop.
2018-08-16 00:29:18 -07:00
arofarn
9efe1053aa
Update fr.po
...
One more typo...
2018-08-15 14:10:51 +00:00
arofarn
b20df07eff
Update fr.po
...
Lots of corrections (thanks to @Anton-2 ) + utf8 => utf-8
2018-08-15 14:03:47 +00:00
arofarn
4b54d966b0
Update fr.po
...
Add misssing space at the end of line #40
2018-08-15 13:16:42 +00:00
arofarn
2acee61394
Update fr.po
...
Add charset=utf8
2018-08-15 13:02:12 +00:00
arofarn
ca46705df3
Update fr.po
...
'step' and 'slices' consistency (thanks to @dglaude)
2018-08-15 11:31:11 +00:00
arofarn
c059e2543b
Update fr.po
...
Some corrections (thanks to @dglaude !)
2018-08-15 11:17:01 +00:00
arofarn
401dd1f84b
Merge pull request #2 from arofarn/master
...
Merge last mod. in patch-1
2018-08-15 09:20:46 +00:00
arofarn
053277ee17
Update fr.po
...
Add some translation (thanks to @dglaude) + small corrections
2018-08-15 09:16:56 +00:00
arofarn
1ac0cc140d
Merge pull request #1 from arofarn/patch-1
...
Patch 1
2018-08-15 09:09:38 +00:00
arofarn
ee854a71a3
Update fr.po
...
Header update
2018-08-15 09:08:39 +00:00
arofarn
7f5f6ae994
Update fr.po
...
Quelques corrections + ajout de traductions manquantes
2018-08-14 18:11:52 +00:00
arofarn
65f15abac2
Update fr.po
...
Quelques corrections (surtout pin = broche plutôt qu'entrée/sortie) + ajout de nouvelles traductions
2018-08-14 17:59:27 +00:00
Scott Shawcroft
5f08ebdfc8
Merge pull request #1115 from ladyada/master
...
Change hallowing to shipping flash type W25Q64JV-IQ. tested!
2018-08-14 10:40:56 -07:00
ladyada
d8f2a61c39
Change hallowing to shipping flash type W25Q64JV-IQ. tested!
2018-08-14 13:04:33 -04:00
Sebastian Plamauer
3e97d3e710
Add first translations to German
2018-08-14 18:01:43 +02:00
hathach
e1ccc07841
remove bootloader & dfu-bootloader target
...
user should go to bootloader repo to upgrade bootloader
2018-08-14 20:19:28 +07:00
arofarn
a5c857b302
Update fr.po
...
Quelques corrections rapides
2018-08-12 20:13:15 +00:00
arofarn
17d776d4e7
Create fr.po
...
French translation for CircuitPython. Work-in-progress...
2018-08-12 19:57:02 +00:00
Dan Halbert
3700bc83b3
Merge pull request #1105 from adafruit/tannewt-patch-3
...
Fix translation newlines
2018-08-11 00:15:24 -04:00
Scott Shawcroft
4513bd6ea3
Fix translation newlines
...
Escape table was incorrect
2018-08-10 16:17:03 -07:00
Dan Halbert
bbc034cd3d
Merge pull request #1104 from tannewt/more_strings
...
Fixes and translate more strings.
2018-08-09 20:00:18 -04:00
Dan Halbert
b735b9dbed
Merge pull request #1100 from tannewt/samr
...
Initial SAMR board revision.
2018-08-09 19:43:14 -04:00
Scott Shawcroft
24e53ad591
Rework escaping and fix ESP build.
2018-08-09 15:58:45 -07:00
Scott Shawcroft
1835f1ab14
Update filter and handle nested quotes
2018-08-09 14:16:28 -07:00
Scott Shawcroft
3123cc69c4
More strings
2018-08-09 14:15:18 -07:00
Scott Shawcroft
96ebf5bc3f
Two fixes and translate more strings.
...
* Fix finding translations with escaped characters.
* Add back \r to translations since its needed by screen.
2018-08-09 13:29:30 -07:00
Scott Shawcroft
86d2154d71
Change file mode back.
2018-08-09 09:14:14 -07:00
Scott Shawcroft
94c5ceab36
Initial SAMR board revision.
2018-08-09 05:36:46 -07:00
Scott Shawcroft
cac760aa6f
Merge pull request #1080 from jepler/uart-ll
...
UART: Always allocate UART objects in the long-lived pool
2018-08-08 21:36:33 -07:00
Jeff Epler
b0e33f6a11
atmel-samd: UART: allocate rx buffer in long-lived region
...
This is not strictly needed in order for #1056 to be resolved,
because the "make long-lived" machinery is unaware of this pointer.
However, as UARTs are assumed to be long-lived, this change is
beneficial because it moves the long-lived buffer into the upper
memory area with other long-lived objects, instead of remaining in
the low heap.
2018-08-08 19:21:57 -05:00
Jeff Epler
e1b4e9b7c7
UART: Always allocate UART objects in the long-lived pool
...
Particularly when they have buffers that are written via IRQ or DMA,
UART objects do not relocate gracefully. If such an object is
relocated to the long-lived pool after its original creation, the
IRQ or DMA will write to an unexpected location within the Python
heap, leading to a variety of symptoms. The most frequent symptom
is inability to read from the UART.
Consider the particular case of atmel-samd: usart_uart_obj_t
contains a usart_async_descriptor contains a _usart_async_device.
In _sercom_init_irq_param the address of this contained
_usart_async_device is assigned to a global array
sercom_to_sercom_dev which is later used from the interrupt context
_sercom_usart_interrupt_handler to store the received data in the
right ring buffer.
When the UART object is relocated to the long-lived heap, there's no
mechanism to re-point these internal pointers, so instead take the
cowardly way and allocate the UART object as long-lived.
Happily, almost all UART objects are likely to be long-lived, so
this is unlikely to have a negative effect on memory usage or heap
fragmentation.
Closes : #1056
2018-08-08 19:21:57 -05:00
Dan Halbert
9da79c880e
Merge pull request #1097 from tannewt/i18n_only
...
Support internationalisation.
2018-08-07 22:08:19 -04:00
Dan Halbert
2e80f37709
Merge pull request #1096 from tannewt/tune_neopixel
...
Retune neopixel timings on SAMD51. They were too slow.
2018-08-07 21:33:12 -04:00
Scott Shawcroft
b0dd645e27
Retune neopixel timings on SAMD51. They were too slow.
...
Fixes #1083
2018-08-07 16:58:37 -07:00
Scott Shawcroft
933add6cd8
Support internationalisation.
2018-08-07 14:58:57 -07:00