[TriEmbed] uARM vs. ARM C NUCLEO_L476RG

Alex Davis alexd at matrixwide.com
Mon May 2 15:16:13 CDT 2016


Sooo, I hacked around this by replacing the test for while
(!feof(wavefile)) {

with a flag for int isNotEOF = 1

and setting it in:
if (fread(&data,4,1,wavefile) == 0)
                {
                    isNotEOF = 0;
                }

While it now compiles, at runtime, there appears to be an issue with pin
mapping. I see in the serial console the following:
pinmap not found for peripheral

I assume this refers to the SDFileSystem object here:
SDFileSystem sd(PB_15, PB_14, PB_11, PB_12, "sd"); //SD card

These are, according to the datasheet, the SPI2 pins. I am trying to
avoid SPI1 since it shared a pin with the DAC.

On Mon, May 2, 2016, at 03:34 PM, Alex Davis wrote:
> I've been trying to compile a 'hello world' example in MBED for a WAV
> file SD player, and am encountering the following:
> Error: Undefined symbol feof (referred from
> wave_player.cpp.NUCLEO_L476RG.o).
> 
> From what I can find, this means "the application is for targets which
> use ARM C library, which many nucleo does not support currently. They
> use uARM which implements only subset of C library, therefore some
> functions are not available".
> 
> Can it really be that a NUCLEO_L476RG doesn't support ARM C whereas a
> mbed LPC1768 does??
> 
> -- 
> "The theater of noise is proof of our potential."
> |\ |  (¯  \/ |¯\  |V| |\ ¯|¯ |¯) | \/ | | | |¯\ (¯   /¯  /\ |V|
> |-||_ (_  /\ |_/ @| | |-| |  | \ | /\ |^| | |_/ (_ . \_  \/ | |
> 
> You won't find me on Facebook.


-- 
"The theater of noise is proof of our potential."
|\ |  (¯  \/ |¯\  |V| |\ ¯|¯ |¯) | \/ | | | |¯\ (¯   /¯  /\ |V|
|-||_ (_  /\ |_/ @| | |-| |  | \ | /\ |^| | |_/ (_ . \_  \/ | |

You won't find me on Facebook.




More information about the TriEmbed mailing list