Browse Source

Consolidate shared HALs and isolate HAL compile (#11552)

pull/1/head
Dave Johnson 6 years ago
committed by Scott Lahteine
parent
commit
0456caf0ad
  1. 4
      Marlin/src/HAL/HAL_DUE/DebugMonitor_Due.cpp
  2. 2
      Marlin/src/HAL/shared/backtrace/backtrace.cpp
  3. 0
      Marlin/src/HAL/shared/backtrace/backtrace.h
  4. 0
      Marlin/src/HAL/shared/backtrace/unwarm.cpp
  5. 0
      Marlin/src/HAL/shared/backtrace/unwarm.h
  6. 0
      Marlin/src/HAL/shared/backtrace/unwarm_arm.cpp
  7. 0
      Marlin/src/HAL/shared/backtrace/unwarm_thumb.cpp
  8. 0
      Marlin/src/HAL/shared/backtrace/unwarmbytab.cpp
  9. 0
      Marlin/src/HAL/shared/backtrace/unwarmbytab.h
  10. 0
      Marlin/src/HAL/shared/backtrace/unwarmmem.cpp
  11. 0
      Marlin/src/HAL/shared/backtrace/unwarmmem.h
  12. 0
      Marlin/src/HAL/shared/backtrace/unwinder.cpp
  13. 0
      Marlin/src/HAL/shared/backtrace/unwinder.h
  14. 0
      Marlin/src/HAL/shared/backtrace/unwmemaccess.cpp
  15. 0
      Marlin/src/HAL/shared/backtrace/unwmemaccess.h
  16. 2
      platformio.ini

4
Marlin/src/HAL/HAL_DUE/DebugMonitor_Due.cpp

@ -26,8 +26,8 @@
#include "../../core/serial.h" #include "../../core/serial.h"
#include <stdarg.h> #include <stdarg.h>
#include "../backtrace/unwinder.h" #include "../shared/backtrace/unwinder.h"
#include "../backtrace/unwmemaccess.h" #include "../shared/backtrace/unwmemaccess.h"
// Debug monitor that dumps to the Programming port all status when // Debug monitor that dumps to the Programming port all status when
// an exception or WDT timeout happens - And then resets the board // an exception or WDT timeout happens - And then resets the board

2
Marlin/src/HAL/backtrace/backtrace.cpp → Marlin/src/HAL/shared/backtrace/backtrace.cpp

@ -27,7 +27,7 @@
#include "unwinder.h" #include "unwinder.h"
#include "unwmemaccess.h" #include "unwmemaccess.h"
#include "../../core/serial.h" #include "../../../core/serial.h"
#include <stdarg.h> #include <stdarg.h>
// Dump a backtrace entry // Dump a backtrace entry

0
Marlin/src/HAL/backtrace/backtrace.h → Marlin/src/HAL/shared/backtrace/backtrace.h

0
Marlin/src/HAL/backtrace/unwarm.cpp → Marlin/src/HAL/shared/backtrace/unwarm.cpp

0
Marlin/src/HAL/backtrace/unwarm.h → Marlin/src/HAL/shared/backtrace/unwarm.h

0
Marlin/src/HAL/backtrace/unwarm_arm.cpp → Marlin/src/HAL/shared/backtrace/unwarm_arm.cpp

0
Marlin/src/HAL/backtrace/unwarm_thumb.cpp → Marlin/src/HAL/shared/backtrace/unwarm_thumb.cpp

0
Marlin/src/HAL/backtrace/unwarmbytab.cpp → Marlin/src/HAL/shared/backtrace/unwarmbytab.cpp

0
Marlin/src/HAL/backtrace/unwarmbytab.h → Marlin/src/HAL/shared/backtrace/unwarmbytab.h

0
Marlin/src/HAL/backtrace/unwarmmem.cpp → Marlin/src/HAL/shared/backtrace/unwarmmem.cpp

0
Marlin/src/HAL/backtrace/unwarmmem.h → Marlin/src/HAL/shared/backtrace/unwarmmem.h

0
Marlin/src/HAL/backtrace/unwinder.cpp → Marlin/src/HAL/shared/backtrace/unwinder.cpp

0
Marlin/src/HAL/backtrace/unwinder.h → Marlin/src/HAL/shared/backtrace/unwinder.h

0
Marlin/src/HAL/backtrace/unwmemaccess.cpp → Marlin/src/HAL/shared/backtrace/unwmemaccess.cpp

0
Marlin/src/HAL/backtrace/unwmemaccess.h → Marlin/src/HAL/shared/backtrace/unwmemaccess.h

2
platformio.ini

@ -24,7 +24,7 @@ boards_dir = buildroot/share/PlatformIO/boards
env_default = megaatmega2560 env_default = megaatmega2560
[common] [common]
default_src_filter = +<src/*> -<src/config> default_src_filter = +<src/*> -<src/config> -<src/HAL> +<src/HAL/shared>
build_flags = -fmax-errors=5 build_flags = -fmax-errors=5
-g -g
-ggdb -ggdb

Loading…
Cancel
Save