add Acceleration define to includeMcuLib

main
Simon Frei 4 years ago
parent 5655d3149a
commit 855b3a97ea
  1. 2
      ADIS_tinyK22_SplitFlap/McuLib/config/McuULN2003config.h
  2. 1
      ADIS_tinyK22_SplitFlap/source/IncludeMcuLibConfig.h

@ -21,7 +21,7 @@ extern "C" {
#endif #endif
#ifndef McuULN2003_CONFIG_USE_ACCELERATION #ifndef McuULN2003_CONFIG_USE_ACCELERATION
#define McuULN2003_CONFIG_USE_ACCELERATION (1) #define McuULN2003_CONFIG_USE_ACCELERATION (0)
/*!< 1: stepper motor uses acceleration table; 0: no acceleration table used */ /*!< 1: stepper motor uses acceleration table; 0: no acceleration table used */
#endif #endif

@ -94,6 +94,7 @@ add_compile_options(-include "../config/IncludeMcuLibConfig.h")
#define configHEAP_SCHEME_IDENTIFICATION (0) /* ESP-IDF RTOS used */ #define configHEAP_SCHEME_IDENTIFICATION (0) /* ESP-IDF RTOS used */
#define McuCriticalSection_CONFIG_USE_RTOS_CRITICAL_SECTION (1) /* no native Extensa implementation yet */ #define McuCriticalSection_CONFIG_USE_RTOS_CRITICAL_SECTION (1) /* no native Extensa implementation yet */
#endif #endif
#define McuULN2003_CONFIG_USE_ACCELERATION (1)
/* ------------------- RTOS ---------------------------*/ /* ------------------- RTOS ---------------------------*/
#define McuLib_CONFIG_SDK_USE_FREERTOS (0) #define McuLib_CONFIG_SDK_USE_FREERTOS (0)
/* #define configUSE_SEGGER_SYSTEM_VIEWER_HOOKS (1) */ /* #define configUSE_SEGGER_SYSTEM_VIEWER_HOOKS (1) */

Loading…
Cancel
Save