Jump to content
Sign in to follow this  
Guest IlyaM

GADC demo on osx

Recommended Posts

Guest IlyaM

Hey,

is it possible to launch gadc demo on osx by using some source for genertaing data, (i.e some array with data in the loop for simulating).

I tried to build gadc demo, but first of all I got an unknown type adcsample_t, ok, I added typedef uint16_t adcsample_t

Next, I got 

Linking .build/ugfx_demo
Undefined symbols for architecture x86_64:
  "_gadc_lld_init", referenced from:
      __gadcInit in gadc.o
  "_gadc_lld_nontimerjobI", referenced from:
      _gadcGotDataI in gadc.o
      _gadcLowSpeedGet in gadc.o
      _gadcLowSpeedStart in gadc.o
  "_gadc_lld_samplesperconversion", referenced from:
      _gadcHighSpeedInit in gadc.o
  "_gadc_lld_start_timerI", referenced from:
      _gadcHighSpeedStart in gadc.o
  "_gadc_lld_stop_timerI", referenced from:
      _gadcGotDataI in gadc.o
  "_gadc_lld_timerjobI", referenced from:
      _gadcGotDataI in gadc.o
      _gadcHighSpeedStart in gadc.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [.build/ugfx_demo] Error 1

 

Share this post


Link to post
Share on other sites

You need to create a gadc driver for OSX or a dummy driver that will work cross-platform.

As an example look at the existing gadc driver in the drivers directory.

 

Share this post


Link to post
Share on other sites
Guest
You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×