File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
libraries/PDM/src/portenta Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 2020 Boston, MA 02111-1307 USA
2121*/
2222
23- #ifdef ARDUINO_PORTENTA_H7_M7
23+ #ifdef TARGET_PORTENTA_H7
2424
2525#include " PDM.h"
2626#include " mbed.h"
Original file line number Diff line number Diff line change 88 *
99 * Audio Python module.
1010 */
11- #ifdef ARDUINO_PORTENTA_H7_M7
11+ #ifdef TARGET_PORTENTA_H7
1212
1313#include <stdio.h>
1414#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
22
33#include "stdbool.h"
44
99#define AUDIO_SAI_FREQKHZ (2048U) // 2048KHz
1010#define AUDIO_SAI_NBR_CHANNELS (2) // Default number of channels.
1111
12- #if defined(ARDUINO_PORTENTA_H7_M7 )
12+ #if defined(TARGET_PORTENTA_H7 )
1313#define AUDIO_SAI_CK_PORT (GPIOE)
1414#define AUDIO_SAI_CK_PIN (GPIO_PIN_2)
1515#define AUDIO_SAI_CK_AF (GPIO_AF10_SAI4)
You can’t perform that action at this time.
0 commit comments