Skip to content

NOT AN ISSUE : BIN File #1

Open

Description

@Tokn59

Hi, Sorry to use te Issue option but I couldn't find another way to contact you. Loved your project turning the DJI Mini in a dropping drone !
Meanwhile I have modified my DJI Mini and added the cable with external connector. I also a PIC and a PIC programmer.

However I am struggling to compile your code into a .bin file for uploading in the PIC. One of the (many) issues I encounter is the missing xc.h file. Any chance you have some kine of tutorial ? Or could you give/sell me a .BIN file so I can upload it ?

BIG thanks !!!!

Image

Activity

  1. tterev3 commented on Apr 3, 2025

    @tterev3
    Owner

    Hi,
    I added a compiled hex file to the code. Hope your build goes well!

  2. Tokn59 commented on Apr 3, 2025

    @Tokn59
    Author

    Wow ! Thank You !!!!! That will already help me move on with the rest of the project ! Owe you one !
    I will still pursue the compilation of the source code as well so I also have the option to modify stuff if needed for myself.
    Could you please tell me where you got the xc lib stuff ?

    You made my day !

  3. Tokn59 commented on Apr 7, 2025

    @Tokn59
    Author

    Could you please specify where I can find the xc.* includes ?
    Do you happen to have some schematic I can use ?
    Thank You !

  4. tterev3 commented on Apr 7, 2025

    @tterev3
    Owner

    Sorry I never made a schematic. The xc.h include file is just something that comes with MPLABX by default. I used the xc8 v1.45 compiler

  5. Tokn59 commented on Apr 13, 2025

    @Tokn59
    Author

    omNo problem, I will derive it from the code. Speaking of the code, after many attempts trying to compile the code it looks like the current XC8 compiler (v 3.0) is significantly changed from the time you compiled it with version 1.45

    For example :

    bit pressed, new_press; isn't supported anymore. It should now be __bit press; new_press;
    voids syntax have dramatically changed ...
    and so on .....

    As my knowledge of standard C is very limited this is a very hard job to do for me.

    I don't suppose you have the time to work with me together to get this code back up to date and write some documentation (I could do that) and create a schematic (I could probably do that as well) for the great piece of work ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions