make translate; fix display pins
This commit is contained in:
parent
ea82ca1d02
commit
47437cb415
|
@ -86,3 +86,6 @@ TAGS
|
||||||
####################
|
####################
|
||||||
.venv
|
.venv
|
||||||
.env
|
.env
|
||||||
|
|
||||||
|
# Uncrustify formatting
|
||||||
|
*.uncrustify
|
||||||
|
|
|
@ -338,6 +338,10 @@ msgstr ""
|
||||||
msgid "All UART peripherals are in use"
|
msgid "All UART peripherals are in use"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: shared-bindings/pwmio/PWMOut.c
|
||||||
|
msgid "All channels in use"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
|
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
|
||||||
msgid "All event channels in use"
|
msgid "All event channels in use"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -667,7 +671,7 @@ msgstr ""
|
||||||
msgid "Cannot unambiguously get sizeof scalar"
|
msgid "Cannot unambiguously get sizeof scalar"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ports/stm/common-hal/pwmio/PWMOut.c
|
#: shared-bindings/pwmio/PWMOut.c
|
||||||
msgid "Cannot vary frequency on a timer that is already in use"
|
msgid "Cannot vary frequency on a timer that is already in use"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -749,11 +753,7 @@ msgstr ""
|
||||||
msgid "Could not initialize UART"
|
msgid "Could not initialize UART"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ports/esp32s2/common-hal/pwmio/PWMOut.c ports/stm/common-hal/pwmio/PWMOut.c
|
#: ports/esp32s2/common-hal/pwmio/PWMOut.c
|
||||||
msgid "Could not initialize channel"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ports/esp32s2/common-hal/pwmio/PWMOut.c ports/stm/common-hal/pwmio/PWMOut.c
|
|
||||||
msgid "Could not initialize timer"
|
msgid "Could not initialize timer"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -777,7 +777,7 @@ msgstr ""
|
||||||
msgid "Could not set address"
|
msgid "Could not set address"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ports/stm/common-hal/pwmio/PWMOut.c
|
#: shared-bindings/pwmio/PWMOut.c
|
||||||
msgid "Could not start PWM"
|
msgid "Could not start PWM"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -1026,7 +1026,7 @@ msgstr ""
|
||||||
msgid "Framebuffer requires %d bytes"
|
msgid "Framebuffer requires %d bytes"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ports/stm/common-hal/pwmio/PWMOut.c
|
#: shared-bindings/pwmio/PWMOut.c
|
||||||
msgid "Frequency must match existing PWMOut using this timer"
|
msgid "Frequency must match existing PWMOut using this timer"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -1254,10 +1254,6 @@ msgstr ""
|
||||||
msgid "Invalid frequency"
|
msgid "Invalid frequency"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ports/stm/common-hal/pwmio/PWMOut.c
|
|
||||||
msgid "Invalid frequency supplied"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: supervisor/shared/safe_mode.c
|
#: supervisor/shared/safe_mode.c
|
||||||
msgid "Invalid memory access."
|
msgid "Invalid memory access."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -1303,10 +1299,6 @@ msgstr ""
|
||||||
msgid "Invalid pins"
|
msgid "Invalid pins"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ports/stm/common-hal/pwmio/PWMOut.c
|
|
||||||
msgid "Invalid pins for PWMOut"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: shared-bindings/bitbangio/SPI.c shared-bindings/busio/SPI.c
|
#: shared-bindings/bitbangio/SPI.c shared-bindings/busio/SPI.c
|
||||||
#: shared-bindings/displayio/FourWire.c
|
#: shared-bindings/displayio/FourWire.c
|
||||||
msgid "Invalid polarity"
|
msgid "Invalid polarity"
|
||||||
|
@ -1559,18 +1551,6 @@ msgstr ""
|
||||||
msgid "No long integer support"
|
msgid "No long integer support"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ports/esp32s2/common-hal/pwmio/PWMOut.c
|
|
||||||
msgid "No more channels available"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ports/esp32s2/common-hal/pwmio/PWMOut.c
|
|
||||||
msgid "No more timers available"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ports/stm/common-hal/pwmio/PWMOut.c
|
|
||||||
msgid "No more timers available on this pin."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: shared-bindings/wifi/Radio.c
|
#: shared-bindings/wifi/Radio.c
|
||||||
msgid "No network with that ssid"
|
msgid "No network with that ssid"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -2124,11 +2104,6 @@ msgstr ""
|
||||||
msgid "Timeout is too long: Maximum timeout length is %d seconds"
|
msgid "Timeout is too long: Maximum timeout length is %d seconds"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ports/stm/common-hal/pwmio/PWMOut.c
|
|
||||||
msgid ""
|
|
||||||
"Timer was reserved for internal use - declare PWM pins earlier in the program"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: supervisor/shared/safe_mode.c
|
#: supervisor/shared/safe_mode.c
|
||||||
msgid "To exit, please reset the board without "
|
msgid "To exit, please reset the board without "
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -3737,6 +3712,7 @@ msgstr ""
|
||||||
|
|
||||||
#: ports/esp32s2/boards/adafruit_feather_esp32s2_nopsram/mpconfigboard.h
|
#: ports/esp32s2/boards/adafruit_feather_esp32s2_nopsram/mpconfigboard.h
|
||||||
#: ports/esp32s2/boards/adafruit_feather_esp32s2_tftback_nopsram/mpconfigboard.h
|
#: ports/esp32s2/boards/adafruit_feather_esp32s2_tftback_nopsram/mpconfigboard.h
|
||||||
|
#: ports/esp32s2/boards/adafruit_funhouse/mpconfigboard.h
|
||||||
#: ports/esp32s2/boards/adafruit_magtag_2.9_grayscale/mpconfigboard.h
|
#: ports/esp32s2/boards/adafruit_magtag_2.9_grayscale/mpconfigboard.h
|
||||||
#: ports/esp32s2/boards/adafruit_metro_esp32s2/mpconfigboard.h
|
#: ports/esp32s2/boards/adafruit_metro_esp32s2/mpconfigboard.h
|
||||||
#: ports/esp32s2/boards/electroniccats_bastwifi/mpconfigboard.h
|
#: ports/esp32s2/boards/electroniccats_bastwifi/mpconfigboard.h
|
||||||
|
|
|
@ -66,9 +66,9 @@ void board_init(void) {
|
||||||
bus->base.type = &displayio_fourwire_type;
|
bus->base.type = &displayio_fourwire_type;
|
||||||
common_hal_displayio_fourwire_construct(bus,
|
common_hal_displayio_fourwire_construct(bus,
|
||||||
spi,
|
spi,
|
||||||
&pin_GPIO38, // TFT_DC Command or data
|
&pin_GPIO39, // TFT_DC Command or data
|
||||||
&pin_GPIO39, // TFT_CS Chip select
|
&pin_GPIO40, // TFT_CS Chip select
|
||||||
&pin_GPIO40, // TFT_RESET Reset
|
&pin_GPIO41, // TFT_RESET Reset
|
||||||
60000000, // Baudrate
|
60000000, // Baudrate
|
||||||
0, // Polarity
|
0, // Polarity
|
||||||
0); // Phase
|
0); // Phase
|
||||||
|
|
Loading…
Reference in New Issue