My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Nevar pievienot vairāk kā 25 tēmas
Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
12345678910111213141516 |
- #
- # post:common-dependencies-post.py
- # Convenience script to add build flags for Marlin Enabled Features
- #
- import pioutil
- if pioutil.is_pio_build():
- Import("env", "projenv")
-
- def apply_board_build_flags():
- if not 'BOARD_CUSTOM_BUILD_FLAGS' in env['MARLIN_FEATURES']:
- return
- projenv.Append(CCFLAGS=env['MARLIN_FEATURES']['BOARD_CUSTOM_BUILD_FLAGS'].split())
-
- # We need to add the board build flags in a post script
- # so the platform build script doesn't overwrite the custom CCFLAGS
- apply_board_build_flags()
|