Tease apart utility.hpp, other header dependencies.

Trying to get a host-testable FSK demodulator, and finding a lot of M4- and ChibiOS-specific code is getting included. Boo.
This commit is contained in:
Jared Boone
2015-10-15 15:17:40 -07:00
parent e049097f49
commit f82fd1f8d7
13 changed files with 135 additions and 64 deletions

View File

@@ -151,6 +151,7 @@ CPPSRC = main.cpp \
audio_dma.cpp \
touch_dma.cpp \
../common/utility.cpp \
../common/chibios_cpp.cpp \
../common/debug.cpp \
../common/gcc.cpp

View File

@@ -26,7 +26,7 @@
#include "dsp_types.hpp"
#include "message.hpp"
#include "utility.hpp"
#include "utility_m4.hpp"
#include <cstdint>
#include <cstddef>

View File

@@ -29,6 +29,8 @@
#include <cstdint>
#include <cstddef>
#include <hal.h>
class ChannelStatsCollector {
public:
template<typename Callback>

View File

@@ -23,6 +23,7 @@
#include "complex.hpp"
#include "fxpt_atan2.hpp"
#include "utility_m4.hpp"
#include <hal.h>

View File

@@ -21,9 +21,6 @@
#include "matched_filter.hpp"
// TODO: Move the fast complex multiply code to another place.
#include "dsp_fft.hpp"
namespace dsp {
namespace matched_filter {