Commit Graph

28188 Commits

Author SHA1 Message Date
Scott Shawcroft
be67067809
Merge remote-tracking branch 'adafruit/main' into translate_header 2022-06-03 15:18:18 -07:00
Matthew McGowan
78e4b9446b chore(swan_r5): pre-commit formatting 2022-06-03 15:12:41 -07:00
Scott Shawcroft
8ccb955475
Move translation .o to PY_CORE_O 2022-06-03 15:06:58 -07:00
foamyguy
6831dd8aaa return expression formatting 2022-06-03 17:04:53 -05:00
foamyguy
bc0fdaa026 fix tilegrid.contains() docstring 2022-06-03 17:01:24 -05:00
Hosted Weblate
885206580b
Merge remote-tracking branch 'origin/main' 2022-06-03 23:58:05 +02:00
Scott Shawcroft
5c9768965c
Merge pull request #6455 from jepler/require-multi-occur
Only check the savings if a word occurs at least twice
2022-06-03 14:58:02 -07:00
Hosted Weblate
85dc83940f
Merge remote-tracking branch 'origin/main' 2022-06-03 23:56:14 +02:00
Scott Shawcroft
a4a744bccc
Merge pull request #6441 from gamblor21/static_ip
Static IP address for WiFi
2022-06-03 14:56:08 -07:00
foamyguy
87f4cd6bca
return expression instead of if statement
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2022-06-03 16:21:50 -05:00
Matthew McGowan
113b070e77 fix(swan_r5): 3v3 was enabled but then immediately reset. Moved initialization to reset_board which happens after reset_all_pins. 2022-06-03 14:19:47 -07:00
Hosted Weblate
0984e92bfa
Merge remote-tracking branch 'origin/main' 2022-06-03 03:35:22 +02:00
ajs256
963861d0b6
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-03 03:35:22 +02:00
Dan Halbert
edfabb66ff
Merge pull request #6449 from jepler/monkeypatch-sphinx-autoapi
fix autoapi bug ourselves for now
2022-06-02 21:35:08 -04:00
Dan Halbert
fdb133bbe8 add adafruit_feather_esp32s3_4mbflash_2mbpsram 2022-06-02 21:09:37 -04:00
gamblor21
1d0546da31 Made tcp set arguments keywords 2022-06-02 16:31:39 -05:00
Scott Shawcroft
b690107850
Fix mpy-cross again 2022-06-02 12:33:51 -07:00
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
KurtE
14ab3c7375 ESP32 USE uart_param_config
Use this function instead of several individual configuration functions
to configure such things as Baud rate, transfer size, stop bits,
parity...

This function also resets both the RX and TX Hardware Fifo
reset functions are called to setup the hardware.
2022-06-01 17:09:44 -07: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