qmk / qmk_firmware

Open-source keyboard firmware for Atmel AVR and Arm USB families
https://qmk.fm
GNU General Public License v2.0
18.25k stars 39.32k forks source link

Cannot compile HHKB_RN42_Enable [Bug] #12202

Closed cruth544 closed 2 years ago

cruth544 commented 3 years ago

Compile fails with HHKB_RN42_Enable = yes in the rules.mk

Describe the Bug

$ qmk compile -kb hhkb -km my_custom 

Compiling: keyboards/hhkb/matrix.c                                                                  [OK]
Compiling: tmk_core/protocol/serial_uart.c                                                          [OK]
Assembling: keyboards/hhkb/rn42/suart.S                                                             [OK]
Compiling: keyboards/hhkb/rn42/rn42.c                                                              keyboards/hhkb/rn42/rn42.c: In function 'rn42_send_str':
keyboards/hhkb/rn42/rn42.c:137:17: error: implicit declaration of function 'pgm_read_byte'; did you mean 'del_key_byte'? [-Werror=implicit-function-declaration]
     while ((c = pgm_read_byte(str++)))
                 ^~~~~~~~~~~~~
                 del_key_byte
cc1: all warnings being treated as errors
 [ERRORS]

make[1]: *** [.build/obj_hhkb_my_custom/rn42/rn42.o] Error 1
make: *** [hhkb:my_custom] Error 1

System Information

Additional Context

zvecr commented 2 years ago

This issue has been automatically closed because it has not had any recent activity. If this issue is still valid, re-open the issue and let us know.