12345678910111213141516171819202122232425262728293031323334 |
-
-
-
-
- Import("env")
- env.Append(CXXFLAGS=[
- "-Wno-register"
-
-
-
-
- ])
-
-
-
-
- def add_cpu_freq():
- if 'BOARD_F_CPU' in env:
- env['BUILD_FLAGS'].append('-DBOARD_F_CPU=' + env['BOARD_F_CPU'])
-
-
-
-
-
-
-
- if env.GetBuildType() == "debug" and env.get('UPLOAD_PROTOCOL') not in ['jlink', 'stlink']:
- env['BUILD_DIR'] = '$PROJECT_BUILD_DIR/$PIOENV/debug'
-
-
-
-
-
- add_cpu_freq()
|