Skip to content

Commit

Permalink
STM32 USE_ANALOG
Browse files Browse the repository at this point in the history
  • Loading branch information
pschatzmann committed Jul 10, 2024
1 parent 4797aef commit c203c08
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/AudioConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
*/
#pragma once
#if defined(IS_MIN_DESKTOP)
# define EXIT_ON_STOP
# ifndef EXIT_ON_STOP
# define EXIT_ON_STOP
# endif
# include "AudioLibs/Desktop/NoArduino.h"
#elif defined(IS_DESKTOP_WITH_TIME_ONLY)
# ifndef EXIT_ON_STOP
Expand Down Expand Up @@ -560,14 +562,15 @@ using WiFiServerSecure = BearSSL::WiFiServerSecure;


//---- STM32 ------------
#if defined(ARDUINO_ARCH_STM32F4) || defined(ARDUINO_ARCH_STM32)
#if defined(ARDUINO_ARCH_STM32)
#define STM32
#endif

#ifdef STM32
#define USE_I2S
#define USE_PWM
#define USE_TIMER
#define USE_ANALOG
#define USE_ANALOG_ARDUINO
#define USE_INT24_FROM_INT

Expand Down

0 comments on commit c203c08

Please sign in to comment.