Skip to content

Commit 71e1323

Browse files
committed
Platform tests: add giga,zephyr, stm32
1 parent 7254c38 commit 71e1323

File tree

4 files changed

+15
-6
lines changed

4 files changed

+15
-6
lines changed

examples/build-arch-log.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,6 @@ arduino:samd:arduino_zero_native ./examples-stream/streams-generator-serial -> r
1313
arduino:renesas_uno:unor4wifi ./examples-stream/streams-generator-serial -> rc=0
1414
arduino:mbed_nano:nano33ble ./examples-stream/streams-generator-serial -> rc=0
1515
arduino:mbed_rp2040:pico ./examples-stream/streams-generator-serial -> rc=0
16+
arduino:mbed_giga:giga ./examples-stream/streams-generator-serial -> rc=0
17+
arduino:zephyr:nano33ble ./examples-stream/streams-generator-serial -> rc=0
18+
STMicroelectronics:stm32:GenF4 ./examples-stream/streams-generator-serial -> rc=0

examples/build-arch.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,9 @@ compile_example "arduino:samd:arduino_zero_native"
3333
compile_example "arduino:renesas_uno:unor4wifi"
3434
compile_example "arduino:mbed_nano:nano33ble"
3535
compile_example "arduino:mbed_rp2040:pico"
36-
#compile_example "arduino:zephyr:nano33ble"
37-
#compile_example "STMicroelectronics:stm32:GenF4"
36+
compile_example "arduino:mbed_giga:giga"
37+
compile_example "arduino:zephyr:nano33ble"
38+
compile_example "STMicroelectronics:stm32:GenF4"
3839

3940
./cleanup.sh
4041

src/AudioTools/CoreAudio/GoerzelStream.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
#pragma once
2-
#include <math.h>
32

3+
#include <math.h>
44
#include "AudioStreams.h"
55

6+
#ifndef M_PI
7+
# define M_PI (3.14159265358979323846f)
8+
#endif
9+
610
/**
711
* @defgroup dsp DSP
812
* @ingroup main

src/AudioTools/PlatformConfig/stm32.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@
2525
#define SOFT_MUTE_VALUE 0
2626
#define PIN_CS -1
2727

28-
#define USE_ETHERNET
29-
#define USE_URL_ARDUINO
30-
#define USE_AUDIO_SERVER
28+
// Uncomment to activate networking
29+
//#define USE_ETHERNET
30+
//#define USE_URL_ARDUINO
31+
//#define USE_AUDIO_SERVER
3132

0 commit comments

Comments
 (0)