aboutsummaryrefslogtreecommitdiffstats
path: root/gui
diff options
context:
space:
mode:
authorClyne Sullivan <clyne@bitgloo.com>2021-01-23 14:25:04 -0500
committerClyne Sullivan <clyne@bitgloo.com>2021-01-23 14:25:04 -0500
commitec2e1fd5c6271bdf45ce22b3bb5cd3b690d92d5b (patch)
treeb00b4f56132b743a64d61dc4652dc1d88b0853fd /gui
parent716be4fc87412541fb1305c8592245a36104b584 (diff)
increase signal buffers; fix oversample
Diffstat (limited to 'gui')
-rw-r--r--gui/stmdsp.hpp2
-rw-r--r--gui/wxmain.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/gui/stmdsp.hpp b/gui/stmdsp.hpp
index 4551483..9db9df6 100644
--- a/gui/stmdsp.hpp
+++ b/gui/stmdsp.hpp
@@ -19,7 +19,7 @@
namespace stmdsp
{
- constexpr unsigned int SAMPLES_MAX = 3000;
+ constexpr unsigned int SAMPLES_MAX = 4000;
class scanner
{
diff --git a/gui/wxmain.cpp b/gui/wxmain.cpp
index dd32127..6991610 100644
--- a/gui/wxmain.cpp
+++ b/gui/wxmain.cpp
@@ -47,7 +47,7 @@ static const std::array<unsigned int, 6> srateNums {
static const char *makefile_text = R"make(
all:
@arm-none-eabi-g++ -x c++ -Os -fno-exceptions -fno-rtti \
- -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mtune=cortex-m4 \
+ -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-d16 -mtune=cortex-m7 \
-nostartfiles \
-Wl,-Ttext-segment=0x00000000 -Wl,-zmax-page-size=512 -Wl,-eprocess_data_entry \
$0 -o $0.o