Closed LoyalPotato closed 2 years ago
https://github.com/LoyalPotato/qmk_firmware/blob/master/keyboards/loyalpotato/yggdrasil/rev1/rev1.h is wrong.
Each <keyboard>.h
will usually contain
#pragma once
#include "quantum.h"
@zvecr Yeah, based on seeing it everywhere I added and it cleared the error. Can you tell me why I needed to add that?
Glad its now working!
#pragma once
is to tell it to only process the file a single time.
#include "quantum.h"
tells it to include a bunch of dependent definitions, one of which is for PROGMEM
https://www.nongnu.org/avr-libc/user-manual/pgmspace.html.
When compiling, it spits out this error:
Describe the Bug
On compile get the error mentioned above and couldn't find any help as to what it could be. Only this and I've deleted the keyboard and run
qmk new-keyboard
again, but copied the files pertaining to the revision. You can find the files here.System Information
Keyboard: Yggdrasil (adding support) Revision (if applicable): 1 Operating system:
qmk doctor
output:Additional Context