File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,16 @@ SOFTWARE.
30
30
#define AP3_PDM_NUM_DATA_PADS 6
31
31
#define AP3_PDM_NUM_CLOCK_PADS 6
32
32
33
+ #ifndef MIC_DATA
34
+ #warning "Mic DATA pin not defined in variant. Using default."
35
+ #define MIC_DATA 36
36
+ #endif
37
+
38
+ #ifndef MIC_CLOCK
39
+ #warning "Mic CLOCK pin not defined in variant. Using default."
40
+ #define MIC_CLOCK 37
41
+ #endif
42
+
33
43
typedef struct _ap3_pdm_pad_map_elem_t
34
44
{
35
45
ap3_gpio_pad_t pad;
Original file line number Diff line number Diff line change @@ -74,12 +74,13 @@ compiler.cmd.axf=arm-none-eabi-gcc
74
74
compiler.cmd.axf2bin=arm-none-eabi-objcopy
75
75
compiler.cmd.size=arm-none-eabi-size
76
76
77
- compiler.warning_flags=-w
78
- compiler.warning_flags.none=-w
77
+ compiler.warning_flags=
78
+ compiler.warning_flags.none=
79
79
compiler.warning_flags.default=
80
80
compiler.warning_flags.more=-Wall
81
81
compiler.warning_flags.all=-Wall -Wextra
82
82
83
+
83
84
compiler.flags.common_cpp_c_S={build.extra_flags} -c -g -MMD
84
85
compiler.flags.common_cpp_c=-mcpu={build.mcu} -mthumb -mfloat-abi=hard -fdata-sections -Os
85
86
compiler.flags.cpp={compiler.flags.common_cpp_c_S} {compiler.flags.common_cpp_c} {compiler.extra_flags.cpp} -ffunction-sections {compiler.warning_flags} -std=gnu++11 -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions
You can’t perform that action at this time.
0 commit comments