File tree 3 files changed +4
-4
lines changed
libraries/PDM/src/portenta
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 20
20
Boston, MA 02111-1307 USA
21
21
*/
22
22
23
- #ifdef ARDUINO_PORTENTA_H7_M7
23
+ #ifdef TARGET_PORTENTA_H7
24
24
25
25
#include " PDM.h"
26
26
#include " mbed.h"
Original file line number Diff line number Diff line change 8
8
*
9
9
* Audio Python module.
10
10
*/
11
- #ifdef ARDUINO_PORTENTA_H7_M7
11
+ #ifdef TARGET_PORTENTA_H7
12
12
13
13
#include <stdio.h>
14
14
#include "stm32h7xx_hal.h"
Original file line number Diff line number Diff line change 1
- #ifdef ARDUINO_PORTENTA_H7_M7
1
+ #ifdef TARGET_PORTENTA_H7
2
2
3
3
#include "stdbool.h"
4
4
9
9
#define AUDIO_SAI_FREQKHZ (2048U) // 2048KHz
10
10
#define AUDIO_SAI_NBR_CHANNELS (2) // Default number of channels.
11
11
12
- #if defined(ARDUINO_PORTENTA_H7_M7 )
12
+ #if defined(TARGET_PORTENTA_H7 )
13
13
#define AUDIO_SAI_CK_PORT (GPIOE)
14
14
#define AUDIO_SAI_CK_PIN (GPIO_PIN_2)
15
15
#define AUDIO_SAI_CK_AF (GPIO_AF10_SAI4)
You can’t perform that action at this time.
0 commit comments