Skip to content

Commit

Permalink
Merge pull request #14 from futurexdesign/Rev2-NewUI
Browse files Browse the repository at this point in the history
Rev2 Board Firmware
  • Loading branch information
futurexdesign authored May 1, 2023
2 parents c81a1ae + fb86a3e commit 97f2535
Show file tree
Hide file tree
Showing 27 changed files with 5,274 additions and 676 deletions.
Empty file added CMakeListsUser.txt
Empty file.
337 changes: 196 additions & 141 deletions KiwiBoard.emf

Large diffs are not rendered by default.

40 changes: 37 additions & 3 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,44 @@ framework = arduino
board_build.core = earlephilhower
lib_deps =
davetcc/tcMenu@^3.1.0
olikraus/U8g2@^2.34.15
davetcc/IoAbstraction@^3.1.0
davetcc/tcUnicodeHelper@^0.2.0
tommag/TMC5160@^1.0.0
bodmer/TFT_eSPI@^2.5.23
bitbank2/PNGdec@^1.0.1
monitor_speed = 115200
;upload_protocol = cmsis-dap
;debug_tool = cmsis-dap
; upload_protocol = cmsis-dap
; debug_tool = cmsis-dap

build_flags =
-Os
-DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG

; Screen Capture support. To disable the screen capture functionality, comment out this define.
; -DSCREENCAP=1

; These flags are required in order to configure the pinout to be used by tft_eSPI
; Without it, we would need to be altering the library code in order to configure these, which we dont want
; to do. Also configures which default library fonts to load.

-DUSER_SETUP_LOADED=1
-DILI9341_DRIVER=1
-DTFT_MISO=16
-DTFT_MOSI=19
-DTFT_SCLK=18
-DTFT_CS=20
-DTFT_DC=21
-DTFT_RST=22
-DLOAD_GLCD=1
-DLOAD_FONT2=1
-DLOAD_FONT4=1
-DLOAD_FONT6=1
-DLOAD_FONT7=1
-DLOAD_FONT8=1
-DLOAD_GFXFF=1
-DSMOOTH_FONT=1
-DSPI_FREQUENCY=70000000
-DSPI_READ_FREQUENCY=20000000

; Defines that impact tcMenu functionality... maybe..
-DMINIMUM_CURSOR_SIZE=20
Loading

0 comments on commit 97f2535

Please sign in to comment.