ZakKemble / MailboxNotifier

Receive Telegram notifications when mail arrives in your mailbox!
https://blog.zakkemble.net/remote-mail-notifier-and-gps-tracker/
30 stars 8 forks source link

Compiling using GPRS_C_SDK #2

Open skyng22003 opened 3 years ago

skyng22003 commented 3 years ago

Thanks for sharing your project.

I have an issue with compiling using build.bat in a9g folder, it just returns " '.' is not recognized as an internal or external command"

I have the same folder structure as setup in Github. I have also tried copying a9g and mailbox into GPRS_C_SDK and would get a build failed error. Running ./build.bat a9g

I have tested ./build.bat demo gpio and it completes successfully.

Could you please point me in the correct direction?

ZakKemble commented 3 years ago

It's been a while since I last did anything with this project (the notifier is still working through!), but I think copying firmware/a9g to GPRS_C_SDK/projects/ and maybe renaming a9g to mailbox should then allow build.bat to work.

skyng22003 commented 3 years ago

Nice! Looking to use it as a ebike tracker interfacing with the TSDZ2 controller

Thanks, managed to get past the build.bat error however the compiler seems to think it's missing components

c:/progra~1/csdtk42/make64/sh: avr-gcc: not found Makefile:123: recipe for target 'obj/main.o' failed make[3]: [obj/main.o] Error 127 D:/GPRS_C_SDK/platform/compilation/cust_rules.mk:1030: recipe for target 'dependencies' failed make[2]: [dependencies] Error 2 D:/GPRS_C_SDK/platform/compilation/cust_rules.mk:748: recipe for target 'D:/GPRS_C_SDK/build/mailbox//mailbox.srec' failed make[1]: [D:/GPRS_C_SDK/build/mailbox//mailbox.srec] Error 2 D:/GPRS_C_SDK/platform/compilation/cust_rules.mk:395: recipe for target 'lod' failed make: [lod] Error 2 grep: build\mailbox\mailbox.map: No such file or directory grep: build\mailbox\mailbox.map: No such file or directory grep: build\mailbox\mailbox.map: No such file or directory Missing operand. Missing operand.