Scott Shawcroft
0d257fc4f8
Fix mpy-cross and unix builds
2022-06-02 12:30:19 -07:00
Scott Shawcroft
36b4d49a78
Fix display resources build
...
qstrdefs.generated.h no longer includes the translated strings.
So, use the .po file directly.
2022-06-02 12:26:42 -07:00
Jeff Epler
4f27337207
Only check the savings if a word occurs at least twice
...
Profiling shows that `est_net_savings` is one of the highest costs of
the whole process. Approximately, you can save storage only if a word
appears more than once, and doing this greatly reduces the number
of `est_net_savings` calls. Locally, it reduces the time for this
specific build step by 50% on ports/unix coverage build, without
affecting the size of the generated binary.
2022-06-02 21:25:28 +02:00
Scott Shawcroft
fd5ef009a4
Move compressed strings into own object file
...
This breaks the translation dependency to all of the other objects
and therefore speeds up subsequent builds. Now, even when the big
translate() function is inlined in the header, it only needs to be
optimized once.
2022-06-02 11:48:56 -07:00
ajs256
29e9f44724
Translated using Weblate (French)
...
Currently translated at 95.5% (939 of 983 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/fr/
2022-06-02 06:53:36 +02:00
Maxime Leroy
3202d52554
Translated using Weblate (French)
...
Currently translated at 95.5% (939 of 983 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/fr/
2022-06-02 06:53:36 +02:00
Dan Halbert
27fb96e6b0
Remove trailing whitespace
2022-06-01 21:35:01 -04:00
Dan Halbert
3ff7ed75c6
Merge pull request #6346 from Neradoc/cpx-frozen-lite
...
Move frozen adafruit_circuitplayground to CPX subdirectory
2022-06-01 21:15:46 -04:00
gamblor21
40e890323b
Add DNS optional to set IP
2022-06-01 20:13:51 -05:00
Scott Shawcroft
09c61efcff
Split partition from LTO enable
2022-06-01 11:12:14 -07:00
Scott Shawcroft
6d3698848c
Fix PDMIn.c formatting
2022-06-01 11:04:33 -07:00
gamblor21
4f6d4e2284
Doc fix and add set for DNS
2022-05-31 22:13:18 -05:00
Scott Shawcroft
7fc0aa5791
Fix windows and two samd builds
2022-05-31 14:48:41 -07:00
Scott Shawcroft
4d776339ad
Separate translate object control from LTO
2022-05-31 12:42:59 -07:00
Jeff Epler
f0b387e882
fix autoapi bug ourselves for now
2022-05-31 16:13:29 +02:00
SimonVail
b2344bcde2
Update pins.c
2022-05-30 11:52:29 -04:00
SimonVail
f36dbb386b
Add files via upload
2022-05-30 11:47:51 -04:00
Dan Halbert
ebe442cd9d
Merge pull request #6446 from EmergReanimator/stm_spi_freq_fix
...
Fixed STM SPI frequency settings.
2022-05-29 12:20:53 -04:00
EmergReanimator
e8dd5d35d6
# WARNING: head commit changed in the meantime
...
Fixed STM SPI frequency settings.
Corrected default frequency settings in common_hal_busio_spi_construct.
Fixed common_hal_busio_spi_get_frequency.
2022-05-29 16:13:38 +02:00
foamyguy
ffc451b338
argument for backlight_pwm_frequency and use it in pyportal titano build
2022-05-28 12:01:05 -05:00
foamyguy
db318726a2
tilegrid.contains() function
2022-05-27 18:05:44 -05:00
Scott Shawcroft
8d559196ed
Fix unix and pre-commit
2022-05-27 15:48:01 -07:00
Scott Shawcroft
3cc46c74b9
Fix compiles
2022-05-27 15:39:55 -07:00
gamblor21
90fe20a153
Adding manual IP address set
2022-05-27 15:33:54 -05:00
Scott Shawcroft
9d10a3da66
Conditionalize LTO
2022-05-27 12:59:54 -07:00
Scott Shawcroft
c676253834
Switch translate() to the header file
...
This allows the compile stage to optimize most of the translate()
function away and saves a ton of space (~40k on ESP). *However*, it
requires us to wait for the qstr output before we compile the rest
of our .o files. (Only qstr.o used to wait.)
This isn't as good as the current setup with LTO though. Trinket M0
loses <1k with this setup.
So, we should probably conditionalize this along with LTO.
2022-05-27 10:33:53 -07:00
Scott Shawcroft
dc5565a5ce
Merge pull request #6436 from dhalbert/judicious-lto
...
LTO: Use -flto and -flto-partition only as needed
2022-05-27 10:31:06 -07:00
Dan Halbert
947f564672
tune LTO on nrf
2022-05-26 22:16:41 -04:00
Scott Shawcroft
67e9fb13bc
Merge pull request #6437 from blues/7.3.x
...
swan_r5 improvements
2022-05-26 15:20:22 -07:00
Scott Shawcroft
974ed8ce32
Merge pull request #6438 from dhalbert/samd21-shrink-no-traceback
...
disable traceback on samd21; re-enable onewireio on Metro m0
2022-05-26 14:45:43 -07:00
Dan Halbert
ca085150ee
disable traceback on samd21; re-enable onewireio on Metro m0
2022-05-26 15:33:04 -04:00
Dan Halbert
d631ec38c6
Merge pull request #6407 from tannewt/dotenv
...
Add dotenv read support
2022-05-26 12:11:33 -04:00
Dan Halbert
95fc7e4713
harmless change to force all ports to build
2022-05-26 11:52:58 -04:00
Dan Halbert
d74193c298
Use -flto and -flto-partition only as needed
2022-05-26 11:36:41 -04:00
Scott Shawcroft
8c17ba89c6
Merge pull request #6434 from stonehippo/samd_uart_rts_cts
...
Implement hardware flow control on SAMD busio.UART
2022-05-26 06:46:08 -07:00
George White
8539d6518e
flip CTS and RTS pinmux to match RX and TX
2022-05-26 00:06:00 +00:00
George White
99b23b96d9
fix comment typo and mention datasheet
2022-05-26 00:03:46 +00:00
Scott Shawcroft
ef3c56816a
Fix two consecutive matches
2022-05-25 15:54:26 -07:00
Scott Shawcroft
8dcbd3ab47
Merge pull request #6433 from weblate/weblate-circuitpython-main
...
Translations update from Hosted Weblate
2022-05-25 15:13:38 -07:00
George White
fb3077ccc2
Implement UART hardware flow control on SAMD chips
2022-05-25 21:34:06 +00:00
Matthew McGowan
321163da1a
feat(swan_r5): blink the LED on startup. set VUSB_SELECT and DISCHARGE to floating to avoid any potential issues with them being outputs.
2022-05-25 14:22:19 -07:00
Matthew McGowan
65a5ad09ab
feat(swan_r5): define an ext
attribute on the board, which contains attributes for the extended set of castellated pins
2022-05-25 14:21:03 -07:00
Matthew McGowan
5bbaa3b732
feat(swan_r5): the upper 1MB of flash (bank 2) is made available for the filesystem
2022-05-25 14:19:35 -07:00
Matthew McGowan
b607631ae1
feat(swan_r5): UF2 support, with UF2 family IDs assigned to stm32 chipsets.
2022-05-25 14:18:37 -07:00
Hosted Weblate
112d156fc5
Merge remote-tracking branch 'origin/main'
2022-05-25 19:58:37 +02:00
Dan Halbert
38f91539dc
Merge pull request #6432 from CytronTechnologies/add-maker-zero-samd21
...
Add new board: Cytron Maker Zero SAMD21
2022-05-25 13:58:33 -04:00
Hosted Weblate
d0aec9e3de
Merge remote-tracking branch 'origin/main'
2022-05-25 19:58:23 +02:00
Dan Halbert
1fb210bd40
Merge pull request #5491 from pypewpew/remove-gamepadshift
...
Remove gamepadshift module
2022-05-25 13:58:06 -04:00
Luqmanul Hakim Zulkifli
aef5bc40fb
Deleted white spaces
2022-05-26 00:13:27 +08:00
Dan Halbert
a66489e018
Merge pull request #6430 from dhalbert/7.3.x-fix-espressif-rotaryio
...
Espressif: fix allocation of multiple Incremental Encoders
2022-05-25 09:39:09 -04:00