Skip to content

Commit

Permalink
LVGL and Classic UI for STM32 (MarlinFirmware#20552)
Browse files Browse the repository at this point in the history
  • Loading branch information
rhapsodyv authored and zillarob committed Mar 11, 2021
1 parent 379aab7 commit 88d7e31
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Marlin/src/HAL/STM32/tft/xpt2046.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,8 @@

#ifdef STM32F1xx
#include <stm32f1xx_hal.h>
#define __IS_DMA_ENABLED(__HANDLE__) ((__HANDLE__)->Instance->CCR & DMA_CCR_EN)
#elif defined(STM32F4xx)
#include <stm32f4xx_hal.h>
#define __IS_DMA_ENABLED(__HANDLE__) ((__HANDLE__)->Instance->CR & DMA_SxCR_EN)
#endif

#include "../../../inc/MarlinConfig.h"
Expand Down
14 changes: 14 additions & 0 deletions buildroot/share/PlatformIO/scripts/anet_et4_openblt.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Generate the firmware as OpenBLT needs

import os,sys
from os.path import join

Import("env")

env.AddPostAction(
"$BUILD_DIR/${PROGNAME}.elf",
env.VerboseAction(" ".join([
"$OBJCOPY", "-O", "srec",
"\"$BUILD_DIR/${PROGNAME}.elf\"", "\"$BUILD_DIR/${PROGNAME}.srec\""
]), "Building " + join("$BUILD_DIR","${PROGNAME}.srec"))
)

0 comments on commit 88d7e31

Please sign in to comment.