Build configuration

This commit is contained in:
Sergey
2021-10-27 16:39:46 +03:00
parent 500855c28d
commit de582ac8e9
2 changed files with 3 additions and 2 deletions

View File

@@ -139,6 +139,7 @@
// Choose the name from boards.h that matches your setup
#ifndef MOTHERBOARD
// #define MOTHERBOARD BOARD_MKS_ROBIN_NANO_V1_3_F4
#define MOTHERBOARD BOARD_MKS_ROBIN_NANO
#endif
@@ -1469,8 +1470,7 @@
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
#define FIL_RUNOUT_ENABLED_DEFAULT false // Enable the sensor on startup. Override with M412 followed by M500.
#define NUM_RUNOUT_SENSORS 1 // Number of sensors, up to one per extruder. Define a FIL_RUNOUT#_PIN for each.
#define FIL_RUNOUT_STATE LOW // Pin state indicating that filament is NOT present.
#define FIL_RUNOUT_STATE FIL_RUNOUT_LEVEL // Pin state indicating that filament is NOT present.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
//#define WATCH_ALL_RUNOUT_SENSORS // Execute runout script on any triggering sensor, not only for the active extruder.

View File

@@ -13,6 +13,7 @@
[platformio]
src_dir = Marlin
boards_dir = buildroot/share/PlatformIO/boards
#default_envs = mks_robin_nano_v1_3_f4
default_envs = mks_robin_nano35
include_dir = Marlin
extra_configs =