Guest IlyaM Posted September 3, 2018 Report Posted September 3, 2018 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
inmarket Posted September 4, 2018 Report Posted September 4, 2018 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.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now