NuMaker audio playback

Committer:
csyang2
Date:
Wed Dec 06 20:57:15 2017 +0800
Revision:
10:ca032f77d721
Parent:
6:66ba9ac474ac
Child:
11:f7e6e67bbb92
Support NUMAKER_PFM_M487 and NUMAKER_PFM_NANO130

Who changed what in which revision?

UserRevisionLine numberNew contents of line
csyang2 6:66ba9ac474ac 1 {
csyang2 6:66ba9ac474ac 2 "config": {
csyang2 10:ca032f77d721 3 "SD_DAT0": "NC",
csyang2 10:ca032f77d721 4 "SD_DAT1": "NC",
csyang2 10:ca032f77d721 5 "SD_DAT2": "NC",
csyang2 10:ca032f77d721 6 "SD_DAT3": "NC",
csyang2 10:ca032f77d721 7 "SD_CMD": "NC",
csyang2 10:ca032f77d721 8 "SD_CLK": "NC",
csyang2 10:ca032f77d721 9 "SD_CD": "NC",
csyang2 10:ca032f77d721 10 "I2C_SDA": "NC",
csyang2 10:ca032f77d721 11 "I2C_SCL": "NC",
csyang2 10:ca032f77d721 12 "I2C_ADDR": "NC",
csyang2 10:ca032f77d721 13 "I2S_DO": "NC",
csyang2 10:ca032f77d721 14 "I2S_DI": "NC",
csyang2 10:ca032f77d721 15 "I2S_BCLK": "NC",
csyang2 10:ca032f77d721 16 "I2S_MCLK": "NC",
csyang2 10:ca032f77d721 17 "I2S_LRCK": "NC"
csyang2 6:66ba9ac474ac 18 },
csyang2 6:66ba9ac474ac 19 "target_overrides": {
csyang2 6:66ba9ac474ac 20 "NUMAKER_PFM_NUC472": {
csyang2 10:ca032f77d721 21 "SD_DAT0": "PF_5",
csyang2 10:ca032f77d721 22 "SD_DAT1": "PF_4",
csyang2 10:ca032f77d721 23 "SD_DAT2": "PF_3",
csyang2 10:ca032f77d721 24 "SD_DAT3": "PF_2",
csyang2 10:ca032f77d721 25 "SD_CMD": "PF_7",
csyang2 10:ca032f77d721 26 "SD_CLK": "PF_8",
csyang2 10:ca032f77d721 27 "SD_CD": "PF_6",
csyang2 10:ca032f77d721 28 "I2C_SDA": "PC_9",
csyang2 10:ca032f77d721 29 "I2C_SCL": "PA_15",
csyang2 10:ca032f77d721 30 "I2C_ADDR": "0x1A",
csyang2 10:ca032f77d721 31 "I2S_DO": "PG_3",
csyang2 10:ca032f77d721 32 "I2S_DI": "PG_4",
csyang2 10:ca032f77d721 33 "I2S_BCLK": "PG_5",
csyang2 10:ca032f77d721 34 "I2S_MCLK": "PG_7",
csyang2 10:ca032f77d721 35 "I2S_LRCK": "PG_6"
csyang2 10:ca032f77d721 36 },
csyang2 10:ca032f77d721 37 "NUMAKER_PFM_M453": {
csyang2 10:ca032f77d721 38 "I2C_SDA": "PD_4",
csyang2 10:ca032f77d721 39 "I2C_SCL": "PD_5",
csyang2 10:ca032f77d721 40 "I2C_ADDR": "0x1A",
csyang2 10:ca032f77d721 41 "I2S_DO": "PA_5",
csyang2 10:ca032f77d721 42 "I2S_DI": "PA_6",
csyang2 10:ca032f77d721 43 "I2S_BCLK": "PA_7",
csyang2 10:ca032f77d721 44 "I2S_MCLK": "PD_0",
csyang2 10:ca032f77d721 45 "I2S_LRCK": "PA_4"
csyang2 10:ca032f77d721 46 },
csyang2 10:ca032f77d721 47 "NUMAKER_PFM_M487": {
csyang2 10:ca032f77d721 48 "SD_DAT0": "PE_2",
csyang2 10:ca032f77d721 49 "SD_DAT1": "PE_3",
csyang2 10:ca032f77d721 50 "SD_DAT2": "PE_4",
csyang2 10:ca032f77d721 51 "SD_DAT3": "PE_5",
csyang2 10:ca032f77d721 52 "SD_CMD": "PE_7",
csyang2 10:ca032f77d721 53 "SD_CLK": "PE_6",
csyang2 10:ca032f77d721 54 "SD_CD": "PD_13",
csyang2 10:ca032f77d721 55 "I2C_SDA": "PD_8",
csyang2 10:ca032f77d721 56 "I2C_SCL": "PD_9",
csyang2 10:ca032f77d721 57 "I2C_ADDR": "0x1A",
csyang2 10:ca032f77d721 58 "I2S_DO": "PF_7",
csyang2 10:ca032f77d721 59 "I2S_DI": "PF_8",
csyang2 10:ca032f77d721 60 "I2S_BCLK": "PF_10",
csyang2 10:ca032f77d721 61 "I2S_MCLK": "PF_9",
csyang2 10:ca032f77d721 62 "I2S_LRCK": "PF_6"
csyang2 10:ca032f77d721 63 },
csyang2 10:ca032f77d721 64 "NUMAKER_PFM_NANO130": {
csyang2 10:ca032f77d721 65 "I2C_SDA": "PC_12",
csyang2 10:ca032f77d721 66 "I2C_SCL": "PC_13",
csyang2 10:ca032f77d721 67 "I2C_ADDR": "0x1A",
csyang2 10:ca032f77d721 68 "I2S_DO": "PC_3",
csyang2 10:ca032f77d721 69 "I2S_DI": "PC_2",
csyang2 10:ca032f77d721 70 "I2S_BCLK": "PC_1",
csyang2 10:ca032f77d721 71 "I2S_MCLK": "PE_0",
csyang2 10:ca032f77d721 72 "I2S_LRCK": "PC_0"
csyang2 6:66ba9ac474ac 73 }
csyang2 6:66ba9ac474ac 74 }
csyang2 6:66ba9ac474ac 75 }