Skip to content

[Question] utility/Due/RF24_arch_config.h not needed? #752

@2bndy5

Description

@2bndy5

I couldn't find where the Arduino Due support file /utility/Due/RF24_arch_config.h file is/was getting included. There's no following snippet in the /RF24_config.h

#if defined (ARDUINO_SAM_DUE)
    // ARDUINO_SAM_DUE is defined using CLI args (-DARDUINO_SAM_DUE) at compile time
    #include "utility/Due/RF24_arch_config.h"
#endif

So, against my better nature, I went out of my way to break Due support by commenting out everything in /utility/Due/RF24_arch_config.h and un-commenting SERIAL_DEBUG in /RF24_config.h (& also called printDetails() in GettingStarted.ino)... It still compiles the same as before (I can't break Due support if I tried?! 😆 ) I suspect printf.h doesn't work for the Due either (judging from the ArduinoCore-SAM repo), but it might (using sprintf() from avr/pgmspace.h).

@TMRh20 I have a feeling I hit yet another relic from maniacBug days.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions