Hi All
Thanks, Hugh for giving me the heads up about your awesome progress! Can't wait to get this working.
I'm having trouble compiling so far, using Arduino 1.0.3 and Teensyduino 1.12:
Probably something stupid that I'm doing?
Thanks for any advice, so excited to make some noise!!
Alex
Thanks, Hugh for giving me the heads up about your awesome progress! Can't wait to get this working.
I'm having trouble compiling so far, using Arduino 1.0.3 and Teensyduino 1.12:
Code:
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp: In member function 'void I2S_class::start()':
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:81:26: error: 'I2S_RCSR_RE' was not declared in this scope
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:82:26: error: 'I2S_RCSR_BCE' was not declared in this scope
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:83:26: error: 'I2S_RCSR_FRDE' was not declared in this scope
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:89:26: error: 'I2S_TCSR_TE' was not declared in this scope
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:90:26: error: 'I2S_TCSR_BCE' was not declared in this scope
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:91:26: error: 'I2S_TCSR_FRDE' was not declared in this scope
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:101:26: error: 'I2S_RCSR_RE' was not declared in this scope
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:102:26: error: 'I2S_RCSR_BCE' was not declared in this scope
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:103:26: error: 'I2S_RCSR_FRIE' was not declared in this scope
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:110:26: error: 'I2S_TCSR_TE' was not declared in this scope
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:111:26: error: 'I2S_TCSR_BCE' was not declared in this scope
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:112:26: error: 'I2S_TCSR_FRIE' was not declared in this scope
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp: In member function 'void I2S_class::clock_init(unsigned char)':
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:234:34: error: 'I2S_MCR_MICS' was not declared in this scope
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:240:34: error: 'I2S_MCR_MICS' was not declared in this scope
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:240:38: error: 'I2S_MCR_MOE' was not declared in this scope
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:248:43: error: 'I2S_MDR_FRACT' was not declared in this scope
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:248:64: error: 'I2S_MDR_DIVIDE' was not declared in this scope
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp: In member function 'void I2S_class::i2s_transmit_init()':
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:291:20: error: 'I2S_TCSR_TE' was not declared in this scope
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:300:35: error: 'I2S_TCR1_TFW' was not declared in this scope
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:302:33: error: 'I2S_TCR2_SYNC' was not declared in this scope
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:303:18: error: 'I2S_TCR2_BCP' was not declared in this scope
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:310:18: error: 'I2S_TCR3_TCE' was not declared in this scope
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:312:36: error: 'I2S_TCR4_FRSZ' was not declared in this scope
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:313:36: error: 'I2S_TCR4_SYWD' was not declared in this scope
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:314:18: error: 'I2S_TCR4_MF' was not declared in this scope
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:315:18: error: 'I2S_TCR4_FSE' was not declared in this scope
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:317:18: error: 'I2S_TCR4_FSD' was not declared in this scope
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:320:35: error: 'I2S_TCR5_W0W' was not declared in this scope
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:321:35: error: 'I2S_TCR5_WNW' was not declared in this scope
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:322:35: error: 'I2S_TCR5_FBT' was not declared in this scope
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp: In member function 'void I2S_class::i2s_receive_init()':
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:328:20: error: 'I2S_RCSR_RE' was not declared in this scope
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:337:35: error: 'I2S_RCR1_RFW' was not declared in this scope
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:339:33: error: 'I2S_RCR2_SYNC' was not declared in this scope
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:340:18: error: 'I2S_TCR2_BCP' was not declared in this scope
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:347:18: error: 'I2S_RCR3_RCE' was not declared in this scope
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:349:36: error: 'I2S_RCR4_FRSZ' was not declared in this scope
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:350:36: error: 'I2S_RCR4_SYWD' was not declared in this scope
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:351:18: error: 'I2S_RCR4_MF' was not declared in this scope
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:352:18: error: 'I2S_RCR4_FSE' was not declared in this scope
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:354:18: error: 'I2S_RCR4_FSD' was not declared in this scope
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:357:35: error: 'I2S_RCR5_W0W' was not declared in this scope
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:358:35: error: 'I2S_RCR5_WNW' was not declared in this scope
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:359:35: error: 'I2S_RCR5_FBT' was not declared in this scope
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp: In member function 'void I2S_class::i2s_tx_callback()':
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:367:20: error: 'I2S_TCSR_FEF' was not declared in this scope
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:368:20: error: 'I2S_TCSR_SEF' was not declared in this scope
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp: In member function 'void I2S_class::i2s_rx_callback()':
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:382:20: error: 'I2S_RCSR_FEF' was not declared in this scope
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:383:20: error: 'I2S_RCSR_SEF' was not declared in this scope
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp: In member function 'void I2S_class::dma_transmit_init()':
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:446:23: error: 'DMA_CSR_ACTIVE' was not declared in this scope
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:458:14: error: 'DMA_CR_EMLM' was not declared in this scope
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:460:14: error: 'DMA_CR_ERCA' was not declared in this scope
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:467:46: error: 'DMA_ATTR_SMOD' was not declared in this scope
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:468:46: error: 'DMA_ATTR_SIZE_16BIT' was not declared in this scope
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:468:65: error: 'DMA_ATTR_SSIZE' was not declared in this scope
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:469:46: error: 'DMA_ATTR_DMOD' was not declared in this scope
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:470:65: error: 'DMA_ATTR_DSIZE' was not declared in this scope
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:476:49: error: 'DMA_CITER_MASK' was not declared in this scope
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:477:49: error: 'DMA_BITER_MASK' was not declared in this scope
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:478:31: error: 'DMA_CSR_INTMAJOR' was not declared in this scope
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:479:44: error: 'DMA_CSR_BWC' was not declared in this scope
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:482:15: error: 'DMA_ERQ_ERQ0' was not declared in this scope
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:483:31: error: 'DMA_SERQ_SERQ' was not declared in this scope
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp: In member function 'void I2S_class::dma_start()':
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:505:39: error: 'DMA_SERQ_SERQ' was not declared in this scope
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp: In member function 'void I2S_class::dma_stop()':
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:511:39: error: 'DMA_CERQ_CERQ' was not declared in this scope
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp: In function 'void dma_ch0_isr()':
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:567:31: error: 'DMA_CINT_CINT' was not declared in this scope
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp: In function 'void dma_ch1_isr()':
/Users/alexandersmith/Documents/Arduino/libraries/i2s/i2s.cpp:573:31: error: 'DMA_CINT_CINT' was not declared in this scope
Probably something stupid that I'm doing?
Thanks for any advice, so excited to make some noise!!
Alex