Skip to content

Commit

Permalink
sync gd32f30x serial.h
Browse files Browse the repository at this point in the history
  • Loading branch information
bigtreetech committed Feb 19, 2024
1 parent 4f722c3 commit 4d462c1
Show file tree
Hide file tree
Showing 25 changed files with 52 additions and 28 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
#### Language Code:AM
## Language Version:20230821
## Language Version:20240203
## Maximum byte per keyword is 250 Bytes.
## Escape characters are not supported except newline '\n'

label_language:Հայերեն
label_advanced_ok:Advanced OK
label_command_checksum:Command checksum
label_emulated_m600:Emulated M600
label_emulated_m109_m190:Emulated M109 / M190
label_event_led:Event LED
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
#### Language Code:BR
## Language Version:20230821
## Language Version:20240203
## Maximum byte per keyword is 250 Bytes.
## Escape characters are not supported except newline '\n'

label_language:Português BRASIL
label_advanced_ok:Advanced OK
label_command_checksum:Command checksum
label_emulated_m600:M600 emulado
label_emulated_m109_m190:M109 / M190 emulado
label_event_led:Event LED
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
#### Language Code:CA
## Language Version:20230821
## Language Version:20240203
## Maximum byte per keyword is 250 Bytes.
## Escape characters are not supported except newline '\n'

label_language:Català
label_advanced_ok:Advanced OK
label_command_checksum:Command checksum
label_emulated_m600:Emulated M600
label_emulated_m109_m190:Emulated M109 / M190
label_event_led:Event LED
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
#### Language Code:CN
## Language Version:20230821
## Language Version:20240203
## Maximum byte per keyword is 250 Bytes.
## Escape characters are not supported except newline '\n'

label_language:简体中文
label_advanced_ok:Advanced OK
label_command_checksum:Command checksum
label_emulated_m600:模拟M600
label_emulated_m109_m190:Emulated M109 / M190
label_event_led:Event LED
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
#### Language Code:CZ
## Language Version:20230821
## Language Version:20240203
## Maximum byte per keyword is 250 Bytes.
## Escape characters are not supported except newline '\n'

label_language:Čeština
label_advanced_ok:Advanced OK
label_command_checksum:Command checksum
label_emulated_m600:Emulace M600
label_emulated_m109_m190:Emulace M109 / M190
label_event_led:LED události
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
#### Language Code:DE
## Language Version:20230821
## Language Version:20240203
## Maximum byte per keyword is 250 Bytes.
## Escape characters are not supported except newline '\n'

label_language:Deutsch
label_advanced_ok:Advanced OK
label_command_checksum:Command checksum
label_emulated_m600:Emuliere M600
label_emulated_m109_m190:Emuliere M109 / M190
label_event_led:Event LED
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
#### Language Code:EN
## Language Version:20230821
## Language Version:20240203
## Maximum byte per keyword is 250 Bytes.
## Escape characters are not supported except newline '\n'

label_language:English
label_advanced_ok:Advanced OK
label_command_checksum:Command checksum
label_emulated_m600:Emulated M600
label_emulated_m109_m190:Emulated M109 / M190
label_event_led:Event LED
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
#### Language Code:ES
## Language Version:20230821
## Language Version:20240203
## Maximum byte per keyword is 250 Bytes.
## Escape characters are not supported except newline '\n'

label_language:Español
label_advanced_ok:Advanced OK
label_command_checksum:Command checksum
label_emulated_m600:Emulated M600
label_emulated_m109_m190:Emulated M109 / M190
label_event_led:Event LED
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
#### Language Code:FR
## Language Version:20230821
## Language Version:20240203
## Maximum byte per keyword is 250 Bytes.
## Escape characters are not supported except newline '\n'

label_language:Français
label_advanced_ok:Advanced OK
label_command_checksum:Command checksum
label_emulated_m600:Emuler M600
label_emulated_m109_m190:Emuler M109 / M190
label_event_led:LED Neopixel
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
#### Language Code:GR
## Language Version:20230821
## Language Version:20240203
## Maximum byte per keyword is 250 Bytes.
## Escape characters are not supported except newline '\n'

label_language:Ελληνικά
label_advanced_ok:Advanced OK
label_command_checksum:Command checksum
label_emulated_m600:Emulated M600
label_emulated_m109_m190:Emulated M109 / M190
label_event_led:Event LED
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
#### Language Code:HR
## Language Version:20230821
## Language Version:20240203
## Maximum byte per keyword is 250 Bytes.
## Escape characters are not supported except newline '\n'

label_language:Hrvatski
label_advanced_ok:Advanced OK
label_command_checksum:Command checksum
label_emulated_m600:Emuliraj M600
label_emulated_m109_m190:Emuliraj M109 / M190
label_event_led:LED event
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
#### Language Code:HU
## Language Version:20230821
## Language Version:20240203
## Maximum byte per keyword is 250 Bytes.
## Escape characters are not supported except newline '\n'

label_language:Magyar
label_advanced_ok:Advanced OK
label_command_checksum:Command checksum
label_emulated_m600:Emulált M600
label_emulated_m109_m190:Emulált M109 / M190
label_event_led:Esemény LED
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
#### Language Code:IT
## Language Version:20230821
## Language Version:20240203
## Maximum byte per keyword is 250 Bytes.
## Escape characters are not supported except newline '\n'

label_language:Italiano
label_advanced_ok:OK avanzato
label_command_checksum:Checksum comando
label_emulated_m600:M600 emulato
label_emulated_m109_m190:M109 / M190 emulati
label_event_led:LED evento
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
#### Language Code:JP
## Language Version:20230821
## Language Version:20240203
## Maximum byte per keyword is 250 Bytes.
## Escape characters are not supported except newline '\n'

label_language:日本語
label_advanced_ok:Advanced OK
label_command_checksum:Command checksum
label_emulated_m600:Emulated M600
label_emulated_m109_m190:Emulated M109 / M190
label_event_led:Event LED
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
#### Language Code:NL
## Language Version:20230821
## Language Version:20240203
## Maximum byte per keyword is 250 Bytes.
## Escape characters are not supported except newline '\n'

label_language:Dutch
label_advanced_ok:Advanced OK
label_command_checksum:Command checksum
label_emulated_m600:Emulated M600
label_emulated_m109_m190:Emulated M109 / M190
label_event_led:Event LED
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
#### Language Code:PL
## Language Version:20230821
## Language Version:20240203
## Maximum byte per keyword is 250 Bytes.
## Escape characters are not supported except newline '\n'

label_language:Polski
label_advanced_ok:Advanced OK
label_command_checksum:Command checksum
label_emulated_m600:Emulowane M600
label_emulated_m109_m190:Emulowane M109 / M190
label_event_led:Sygn. zdarzenia diodą LED
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
#### Language Code:PT
## Language Version:20230821
## Language Version:20240203
## Maximum byte per keyword is 250 Bytes.
## Escape characters are not supported except newline '\n'

label_language:Portugues
label_advanced_ok:Advanced OK
label_command_checksum:Command checksum
label_emulated_m600:Emulated M600
label_emulated_m109_m190:Emulated M109 / M190
label_event_led:Event LED
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
#### Language Code:RU
## Language Version:20230821
## Language Version:20240203
## Maximum byte per keyword is 250 Bytes.
## Escape characters are not supported except newline '\n'

label_language:Русский
label_advanced_ok:Advanced OK
label_command_checksum:Command checksum
label_emulated_m600:Эмуляция M600
label_emulated_m109_m190:Emulated M109 / M190
label_event_led:Event LED
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
#### Language Code:SK
## Language Version:20230821
## Language Version:20240203
## Maximum byte per keyword is 250 Bytes.
## Escape characters are not supported except newline '\n'

label_language:Slovensky
label_advanced_ok:Advanced OK
label_command_checksum:Command checksum
label_emulated_m600:Emulated M600
label_emulated_m109_m190:Emulated M109 / M190
label_event_led:Event LED
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
#### Language Code:SL
## Language Version:20230821
## Language Version:20240203
## Maximum byte per keyword is 250 Bytes.
## Escape characters are not supported except newline '\n'

label_language:Slovenski
label_advanced_ok:Advanced OK
label_command_checksum:Command checksum
label_emulated_m600:Emulated M600
label_emulated_m109_m190:Emulated M109 / M190
label_event_led:Event LED
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
#### Language Code:TC
## Language Version:20230821
## Language Version:20240203
## Maximum byte per keyword is 250 Bytes.
## Escape characters are not supported except newline '\n'

label_language:正體中文
label_advanced_ok:Advanced OK
label_command_checksum:Command checksum
label_emulated_m600:Emulated M600
label_emulated_m109_m190:Emulated M109 / M190
label_event_led:Event LED
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
#### Language Code:TR
## Language Version:20230821
## Language Version:20240203
## Maximum byte per keyword is 250 Bytes.
## Escape characters are not supported except newline '\n'

label_language:Türkçe
label_advanced_ok:Advanced OK
label_command_checksum:Command checksum
label_emulated_m600:Emulated M600
label_emulated_m109_m190:Emulated M109 / M190
label_event_led:Event LED
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
#### Language Code:UK
## Language Version:20230821
## Language Version:20240203
## Maximum byte per keyword is 250 Bytes.
## Escape characters are not supported except newline '\n'

label_language:Українська
label_advanced_ok:Advanced OK
label_command_checksum:Command checksum
label_emulated_m600:Emulated M600
label_emulated_m109_m190:Emulated M109 / M190
label_event_led:Event LED
Expand Down
1 change: 1 addition & 0 deletions TFT/src/User/Hal/gd32f30x/Serial.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ typedef struct
} SERIAL_CFG;

extern DMA_CIRCULAR_BUFFER dmaL1DataRX[_UART_CNT];
extern DMA_CIRCULAR_BUFFER dmaL1DataTX[_UART_CNT];
extern const SERIAL_CFG Serial[_UART_CNT];

void Serial_Config(uint8_t port, uint32_t cacheSizeRX, uint32_t cacheSizeTX, uint32_t baudrate);
Expand Down
10 changes: 5 additions & 5 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,16 @@
;MKS_TFT32_V1_4_NOBL
;MKS_TFT32L_V3_0
;MKS_TFT35_V1_0
;MKS_GD_TFT28_V1_2-4
;MKS_GD_TFT28_V1_2_4

[platformio]
src_dir = TFT
boards_dir = buildroot/boards
;Build only Target - BIGTREE_TFT35_V3_0
default_envs = MKS_GD_TFT28_V1_2-4
default_envs = MKS_GD_TFT28_V1_2_4

;Build all Targets
;default_envs = BIGTREE_TFT24_V1_1, BIGTREE_TFT28_V1_0, BIGTREE_TFT28_V3_0, BIGTREE_TFT35_V1_0, BIGTREE_TFT35_V1_1, BIGTREE_TFT35_V1_2, BIGTREE_TFT35_V2_0, BIGTREE_TFT35_V3_0, BIGTREE_TFT35_E3_V3_0, BIGTREE_TFT35_B1_V3_0, BIGTREE_TFT43_V3_0, BIGTREE_TFT50_V3_0, BIGTREE_TFT70_V3_0, BIGTREE_GD_TFT24_V1_1, BIGTREE_GD_TFT35_V2_0, BIGTREE_GD_TFT35_V3_0, BIGTREE_GD_TFT35_E3_V3_0, BIGTREE_GD_TFT35_B1_V3_0, BIGTREE_GD_TFT43_V3_0, BIGTREE_GD_TFT50_V3_0, BIGTREE_GD_TFT70_V3_0, MKS_TFT28_V3_0, MKS_TFT28_V4_0, MKS_TFT28_NEW_GENIUS, MKS_TFT32_V1_3, MKS_TFT32_V1_4, MKS_TFT32_V1_4_NOBL, MKS_TFT32L_V3_0, MKS_TFT35_V1_0, MKS_GD_TFT28_V1_2-4
;default_envs = BIGTREE_TFT24_V1_1, BIGTREE_TFT28_V1_0, BIGTREE_TFT28_V3_0, BIGTREE_TFT35_V1_0, BIGTREE_TFT35_V1_1, BIGTREE_TFT35_V1_2, BIGTREE_TFT35_V2_0, BIGTREE_TFT35_V3_0, BIGTREE_TFT35_E3_V3_0, BIGTREE_TFT35_B1_V3_0, BIGTREE_TFT43_V3_0, BIGTREE_TFT50_V3_0, BIGTREE_TFT70_V3_0, BIGTREE_GD_TFT24_V1_1, BIGTREE_GD_TFT35_V2_0, BIGTREE_GD_TFT35_V3_0, BIGTREE_GD_TFT35_E3_V3_0, BIGTREE_GD_TFT35_B1_V3_0, BIGTREE_GD_TFT43_V3_0, BIGTREE_GD_TFT50_V3_0, BIGTREE_GD_TFT70_V3_0, MKS_TFT28_V3_0, MKS_TFT28_V4_0, MKS_TFT28_NEW_GENIUS, MKS_TFT32_V1_3, MKS_TFT32_V1_4, MKS_TFT32_V1_4_NOBL, MKS_TFT32L_V3_0, MKS_TFT35_V1_0, MKS_GD_TFT28_V1_2_4

[common]
default_src_filter = +<src/*> -<src/Libraries>
Expand Down Expand Up @@ -692,7 +692,7 @@ build_flags = ${stm32f4xx.build_flags} ${base64_png.build_flags}
#
# MKS GD TFT28 V4.0
#
[env:MKS_GD_TFT28_V1_2-4]
[env:MKS_GD_TFT28_V1_2_4]
extends = common_gd32
board = GD32F305VC_0x7000
build_src_filter = ${gd32f30x.default_src_filter} ${base64_png.default_src_filter}
Expand All @@ -707,7 +707,7 @@ build_flags = ${gd32f30x.build_flags} ${base64_png.build_flags}
-DRAM_SIZE=64 ; Available RAM size in kbytes
; -DBINARY_FILENAME="mkstft28evo" ; To override the default binary filename provided by -DHARDWARE
; -DBINARY_DIRECTORY="mkstft28evo" ; To override the default release directory
-DHARDWARE="MKS_GD_TFT28_V1_2-4"
-DHARDWARE="MKS_GD_TFT28_V1_2_4"
-DHARDWARE_SHORT="M28GDV2"
-DMKS_GD_TFT28_V1_24=
-DMKS_TFT=

0 comments on commit 4d462c1

Please sign in to comment.