
AUDIO loopback with DISCO_H747I
Dependencies: BSP_DISCO_H747I
Building
hg clone https://mbed.org/teams/ST/code/DISCO_H747I_AUDIO_demo
cd DISCO_H747I_AUDIO_demo
mbed deploy
mbed compile -m DISCO_H747I -t <GCC_ARM/ARM/IAR> -f
Running
A single printf is done at main start
Audio is recorded from board micro (U21) next to joystick.
Audio output is the jack connector (CN11) (green one).
Warning
Audio configuration is not compatible with Ethernet HW patch
https://os.mbed.com/teams/ST/wiki/DISCO_H747I-modifications-for-Ethernet
TOOLCHAIN_ARM_STD/stm32h747xI.sct@0:78e37c7585e6, 2019-11-07 (annotated)
- Committer:
- Jerome Coutant
- Date:
- Thu Nov 07 11:33:58 2019 +0100
- Revision:
- 0:78e37c7585e6
First commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Jerome Coutant
0:78e37c7585e6
|
1
|
#! armcc -E
|
|
Jerome Coutant
0:78e37c7585e6
|
2
|
; Scatter-Loading Description File
|
|
Jerome Coutant
0:78e37c7585e6
|
3
|
;******************************************************************************
|
|
Jerome Coutant
0:78e37c7585e6
|
4
|
;* @attention
|
|
Jerome Coutant
0:78e37c7585e6
|
5
|
;*
|
|
Jerome Coutant
0:78e37c7585e6
|
6
|
;* Copyright (c) 2018-2019 STMicroelectronics.
|
|
Jerome Coutant
0:78e37c7585e6
|
7
|
;* All rights reserved.
|
|
Jerome Coutant
0:78e37c7585e6
|
8
|
;*
|
|
Jerome Coutant
0:78e37c7585e6
|
9
|
;* This software component is licensed by ST under BSD 3-Clause license,
|
|
Jerome Coutant
0:78e37c7585e6
|
10
|
;* the "License"; You may not use this file except in compliance with the
|
|
Jerome Coutant
0:78e37c7585e6
|
11
|
;* License. You may obtain a copy of the License at:
|
|
Jerome Coutant
0:78e37c7585e6
|
12
|
;* opensource.org/licenses/BSD-3-Clause
|
|
Jerome Coutant
0:78e37c7585e6
|
13
|
;*
|
|
Jerome Coutant
0:78e37c7585e6
|
14
|
;******************************************************************************
|
|
Jerome Coutant
0:78e37c7585e6
|
15
|
|
|
Jerome Coutant
0:78e37c7585e6
|
16
|
#if !defined(MBED_APP_START)
|
|
Jerome Coutant
0:78e37c7585e6
|
17
|
#define MBED_APP_START 0x08000000
|
|
Jerome Coutant
0:78e37c7585e6
|
18
|
#endif
|
|
Jerome Coutant
0:78e37c7585e6
|
19
|
|
|
Jerome Coutant
0:78e37c7585e6
|
20
|
#if !defined(MBED_APP_SIZE)
|
|
Jerome Coutant
0:78e37c7585e6
|
21
|
#define MBED_APP_SIZE 0x100000
|
|
Jerome Coutant
0:78e37c7585e6
|
22
|
#endif
|
|
Jerome Coutant
0:78e37c7585e6
|
23
|
|
|
Jerome Coutant
0:78e37c7585e6
|
24
|
#if !defined(MBED_BOOT_STACK_SIZE)
|
|
Jerome Coutant
0:78e37c7585e6
|
25
|
#define MBED_BOOT_STACK_SIZE 0x400
|
|
Jerome Coutant
0:78e37c7585e6
|
26
|
#endif
|
|
Jerome Coutant
0:78e37c7585e6
|
27
|
|
|
Jerome Coutant
0:78e37c7585e6
|
28
|
#define Stack_Size MBED_BOOT_STACK_SIZE
|
|
Jerome Coutant
0:78e37c7585e6
|
29
|
|
|
Jerome Coutant
0:78e37c7585e6
|
30
|
#define MBED_RAM_START 0x24000000
|
|
Jerome Coutant
0:78e37c7585e6
|
31
|
#define MBED_RAM_SIZE 0x80000
|
|
Jerome Coutant
0:78e37c7585e6
|
32
|
#define MBED_VECTTABLE_RAM_START 0x20000000
|
|
Jerome Coutant
0:78e37c7585e6
|
33
|
#define MBED_VECTTABLE_RAM_SIZE 0x298
|
|
Jerome Coutant
0:78e37c7585e6
|
34
|
#define MBED_RAM0_START (MBED_RAM_START)
|
|
Jerome Coutant
0:78e37c7585e6
|
35
|
#define MBED_RAM0_SIZE (MBED_RAM_SIZE)
|
|
Jerome Coutant
0:78e37c7585e6
|
36
|
|
|
Jerome Coutant
0:78e37c7585e6
|
37
|
LR_IROM1 MBED_APP_START MBED_APP_SIZE { ; load region size_region
|
|
Jerome Coutant
0:78e37c7585e6
|
38
|
|
|
Jerome Coutant
0:78e37c7585e6
|
39
|
ER_IROM1 MBED_APP_START MBED_APP_SIZE { ; load address = execution address
|
|
Jerome Coutant
0:78e37c7585e6
|
40
|
*.o (RESET, +First)
|
|
Jerome Coutant
0:78e37c7585e6
|
41
|
*(InRoot$$Sections)
|
|
Jerome Coutant
0:78e37c7585e6
|
42
|
.ANY (+RO)
|
|
Jerome Coutant
0:78e37c7585e6
|
43
|
}
|
|
Jerome Coutant
0:78e37c7585e6
|
44
|
|
|
Jerome Coutant
0:78e37c7585e6
|
45
|
RW_IRAM1 (MBED_RAM0_START) (MBED_RAM0_SIZE-Stack_Size) { ; RW data
|
|
Jerome Coutant
0:78e37c7585e6
|
46
|
.ANY (+RW +ZI)
|
|
Jerome Coutant
0:78e37c7585e6
|
47
|
}
|
|
Jerome Coutant
0:78e37c7585e6
|
48
|
|
|
Jerome Coutant
0:78e37c7585e6
|
49
|
ARM_LIB_STACK (MBED_RAM0_START+MBED_RAM0_SIZE) EMPTY -Stack_Size { ; stack
|
|
Jerome Coutant
0:78e37c7585e6
|
50
|
}
|
|
Jerome Coutant
0:78e37c7585e6
|
51
|
|
|
Jerome Coutant
0:78e37c7585e6
|
52
|
|
|
Jerome Coutant
0:78e37c7585e6
|
53
|
RW_IRAM2 0x38000000 0x00010000 { ; RW data
|
|
Jerome Coutant
0:78e37c7585e6
|
54
|
*(.RAM_D3)
|
|
Jerome Coutant
0:78e37c7585e6
|
55
|
}
|
|
Jerome Coutant
0:78e37c7585e6
|
56
|
|
|
Jerome Coutant
0:78e37c7585e6
|
57
|
}
|
|