Thanks Keith.

I’ll skip Android. Easy!

I don’t see your modified pdclib in what I downloaded from here: 
https://altusmetrum.org/AltOS/ <https://altusmetrum.org/AltOS/>   There’s a 
pdclib folder, but it’s empty. Also, doing a git submodule update from the 
altos root & src directories gives me:

fatal: Not a git reposityory (or any of the parent directories): .git

Any other pointers on pcdlib?

Thanks again,
-Bryan

> On Mar 25, 2018, at 7:33 AM, Keith Packard <[email protected]> wrote:
> 
> Bryan Duke <[email protected]> writes:
> 
>> First issue is with the Android SDK. Platform 23 looks to be the only
>> one supported on sid, but configuration.ac checks for something >= 17
>> and also =10. Is the check for 10 just old code that can be removed? I
>> can’t even find 10 to install, so it’d be great if it wasn’t required.
> 
> You don't need to have an Android SDK installed to build the rest of the
> system; I'd encourage you to just skip this bit, it should be happy to
> build the rest of the environment.
> 
>> Second issue was with pdclib.
> 
> You need our hacked up version of pdclib. The build system should
> automagically fetch the bits when you download altos, but if it hasn't,
> then run this from the altos source directory:
> 
> $ git submodule update
> 
>> Third issue is with stlink in ao-stmload.c. stlink_common.h doesn’t
>> appear to exist on my stlink install (
>> https://github.com/texane/stlink <https://github.com/texane/stlink>
>> installed in in /usr/local/include). It’s just stlink.h. I changed the
>> stlink_common.h reference in ao-stmload to stmlink.h. That lets things
>> compile further, but I’m getting stlink_v1_open errors for having too
>> few arguments now. Do I need to be using stlink from somewhere else?
> 
> I've switched from using ao-stmload to using ao-flash-stm, which is a
> shell script wrapper around openocd. You shouldn't need that tool
> anymore, and I the build system should skip it if you run
> 
> $ configure --without-stlink
> 
> Thanks for pointing out some missing bits of our instructions; I'll try
> to clean things up!
> 
> -- 
> -keith

_______________________________________________
altusmetrum mailing list
[email protected]
http://lists.gag.com/mailman/listinfo/altusmetrum

Reply via email to