4 Replies Latest reply on Jun 9, 2014 3:07 PM by d.capone

    Galileo Step Sequencer

    d.capone

      Hello to everyone!

       

      I have recently got Intel Galileo board and I am completely new in this world. I am trying to create step sequencer synthesizer based on the example shown on Auduino synthesizer page. I have everything connected according to the architecture provided on the page, however, when I try to run the example I encounter following errors:

       

      auduino_v5.ino:22:20: fatal error: avr/io.h: No such file or directory

      auduino_v5.ino:22:20: fatal error: avr/interrupt.h: No such file or directory

       

      I tried putting above mentioned libraries from Arduino's arduino-1.0.5-r2-windows package in Galileo structure arduino-1.5.3/hardware/arduino/x86/cores/arduino, however IDE now gives following errors:

       

      auduino_v5.ino: In function 'void audioOn()':

      auduino_v5.ino:135:3: error: 'TCCR2A' was not declared in this scope

      auduino_v5.ino:135:12: error: 'COM2B1' was not declared in this scope

      auduino_v5.ino:135:26: error: 'WGM20' was not declared in this scope

      auduino_v5.ino:136:3: error: 'TCCR2B' was not declared in this scope

      auduino_v5.ino:136:12: error: 'CS20' was not declared in this scope

      auduino_v5.ino:137:3: error: 'TIMSK2' was not declared in this scope

      auduino_v5.ino:137:12: error: 'TOIE2' was not declared in this scope

      auduino_v5.ino: In function 'void TIMER2_OVF_vect()':

      auduino_v5.ino:181:5: error: 'PORTB' was not declared in this scope

      auduino_v5.ino:208:3: error: 'OCR2B' was not declared in this scope

       

      I understood that these libraries are missing and have read that they have to be ported in order to match Galileo architecture. Is there any workaround around this? Has anyone tried to do synth on Galileo? I would like to see some examples, because I am stuck at the moment.

       

      Thanks in advance for any help provided!

        • 1. Re: Galileo Step Sequencer
          luismaya

          I've had that problem when trying to upload the file to the Galilean plate.
          You're using an external memory?

          You can connect the usb port to another, trying to avoid the problem "No such file or directory"

          • 2. Re: Galileo Step Sequencer
            d.capone

            What do you mean by external memory?

             

            Connecting USB port to another didn't work. However, as I mentioned in the post, after putting AVR libraries I am now experiencing this problem:

             

            auduino_v5.ino: In function 'void audioOn()':

            auduino_v5.ino:135:3: error: 'TCCR2A' was not declared in this scope

            auduino_v5.ino:135:12: error: 'COM2B1' was not declared in this scope

            auduino_v5.ino:135:26: error: 'WGM20' was not declared in this scope

            auduino_v5.ino:136:3: error: 'TCCR2B' was not declared in this scope

            auduino_v5.ino:136:12: error: 'CS20' was not declared in this scope

            auduino_v5.ino:137:3: error: 'TIMSK2' was not declared in this scope

            auduino_v5.ino:137:12: error: 'TOIE2' was not declared in this scope

            auduino_v5.ino: In function 'void TIMER2_OVF_vect()':

            auduino_v5.ino:181:5: error: 'PORTB' was not declared in this scope

            auduino_v5.ino:208:3: error: 'OCR2B' was not declared in this scope

             

            Any help is appreciated!

            • 3. Re: Galileo Step Sequencer
              DinoT_Intel

              That is because the Galileo is x86 and those are AVR specific code.

              1 of 1 people found this helpful
              • 4. Re: Galileo Step Sequencer
                d.capone

                Is there any fix to this issue? Any library I can use in order to make this?