Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch up issue when compile with APA102 driver #24800

Merged
merged 1 commit into from
Jan 8, 2025

Change uint16_t to int, so it should fixed compile issue for APA102

6c45ab5
Select commit
Loading
Failed to load commit list.
Merged

Patch up issue when compile with APA102 driver #24800

Change uint16_t to int, so it should fixed compile issue for APA102
6c45ab5
Select commit
Loading
Failed to load commit list.
QMK CI / QMK CI Build failed Jan 8, 2025 in 40m 13s

QMK CI Run, PR #24800

Commit SHA1: 6c45ab5de0f4eea8342dab5f6cc04dbb1dd2ca71
  Base SHA1: 8247f9e11446bfc6655b52177678eff7529c27dc

Build failed.

Detected built targets:

  • 🔴 all:default

  • 🔴 handwired/onekey/sipeed_longan_nano:default

Failed: all:default

Build failed. See other build targets for information.

Failed: handwired/onekey/sipeed_longan_nano:default

Compiling QMK Firmware for target: 'handwired/onekey/sipeed_longan_nano:default'...
Generating: .build/obj_handwired_onekey_sipeed_longan_nano_default/src/info_deps.d                  [OK]
riscv64-unknown-elf-gcc () 8.3.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Generating: .build/obj_handwired_onekey_sipeed_longan_nano_default/src/config.h                     [OK]
Generating: .build/obj_handwired_onekey_sipeed_longan_nano_default/src/keymap.c                     [OK]
Generating: .build/obj_handwired_onekey_sipeed_longan_nano_default/src/keymap.h                     [OK]
Generating: .build/obj_handwired_onekey_sipeed_longan_nano_default/src/info_config.h                [OK]
Generating: .build/obj_handwired_onekey_sipeed_longan_nano_default/src/default_keyboard.c           [OK]
Generating: .build/obj_handwired_onekey_sipeed_longan_nano_default/src/default_keyboard.h           [OK]
Compiling: tmk_core/protocol/chibios/usb_main.c                                                     [OK]
Compiling: tmk_core/protocol/chibios/chibios.c                                                      [OK]
Compiling: tmk_core/protocol/usb_descriptor.c                                                       [OK]
Compiling: tmk_core/protocol/chibios/usb_endpoints.c                                                [OK]
Compiling: tmk_core/protocol/chibios/usb_driver.c                                                   [OK]
Compiling: tmk_core/protocol/chibios/usb_report_handling.c                                          [OK]
Compiling: tmk_core/protocol/chibios/usb_util.c                                                     [OK]
Compiling: lib/chibios-contrib/os/common/startup/RISCV-ECLIC/compilers/GCC/crt1.c                   [OK]
Compiling: lib/chibios/os/rt/src/chsys.c                                                            [OK]
Compiling: lib/chibios/os/rt/src/chrfcu.c                                                           [OK]
Compiling: lib/chibios/os/rt/src/chdebug.c                                                          [OK]
Compiling: lib/chibios/os/rt/src/chtrace.c                                                          [OK]
Compiling: lib/chibios/os/rt/src/chvt.c                                                             [OK]
Compiling: lib/chibios/os/rt/src/chschd.c                                                           [OK]
Compiling: lib/chibios/os/rt/src/chinstances.c                                                      [OK]
Compiling: lib/chibios/os/rt/src/chtm.c                                                             [OK]
Compiling: lib/chibios/os/rt/src/chthreads.c                                                        [OK]
Compiling: lib/chibios/os/rt/src/chstats.c                                                          [OK]
Compiling: lib/chibios/os/rt/src/chregistry.c                                                       [OK]
Compiling: lib/chibios/os/rt/src/chsem.c                                                            [OK]
Compiling: lib/chibios/os/rt/src/chmtx.c                                                            [OK]
Compiling: lib/chibios/os/rt/src/chcond.c                                                           [OK]
Compiling: lib/chibios/os/rt/src/chmsg.c                                                            [OK]
Compiling: lib/chibios/os/rt/src/chevents.c                                                         [OK]
Compiling: lib/chibios/os/rt/src/chdynamic.c                                                        [OK]
Compiling: lib/chibios-contrib/os/common/ports/RISCV-ECLIC/chcore.c                                 [OK]
Compiling: lib/chibios/os/hal/osal/rt-nil/osal.c                                                    [OK]
Compiling: lib/chibios/os/oslib/src/chmboxes.c                                                      [OK]
Compiling: lib/chibios/os/oslib/src/chmemcore.c                                                     [OK]
Compiling: lib/chibios/os/oslib/src/chmemheaps.c                                                    [OK]
Compiling: lib/chibios/os/oslib/src/chmempools.c                                                    [OK]
Compiling: lib/chibios/os/oslib/src/chpipes.c                                                       [OK]
Compiling: lib/chibios/os/oslib/src/chobjcaches.c                                                   [OK]
Compiling: lib/chibios/os/oslib/src/chdelegates.c                                                   [OK]
Compiling: lib/chibios/os/oslib/src/chfactory.c                                                     [OK]
Compiling: lib/chibios/os/hal/src/hal.c                                                             [OK]
Compiling: lib/chibios/os/hal/src/hal_st.c                                                          [OK]
Compiling: lib/chibios/os/hal/src/hal_buffers.c                                                     [OK]
Compiling: lib/chibios/os/hal/src/hal_queues.c                                                      [OK]
Compiling: lib/chibios/os/hal/src/hal_flash.c                                                       [OK]
Compiling: lib/chibios/os/hal/src/hal_mmcsd.c                                                       [OK]
Compiling: lib/chibios/os/hal/src/hal_adc.c                                                         [OK]
Compiling: lib/chibios/os/hal/src/hal_can.c                                                         [OK]
Compiling: lib/chibios/os/hal/src/hal_crypto.c                                                      [OK]
Compiling: lib/chibios/os/hal/src/hal_dac.c                                                         [OK]
Compiling: lib/chibios/os/hal/src/hal_efl.c                                                         [OK]
Compiling: lib/chibios/os/hal/src/hal_gpt.c                                                         [OK]
Compiling: lib/chibios/os/hal/src/hal_i2c.c                                                         [OK]
Compiling: lib/chibios/os/hal/src/hal_i2s.c                                                         [OK]
Compiling: lib/chibios/os/hal/src/hal_icu.c                                                         [OK]
Compiling: lib/chibios/os/hal/src/hal_mac.c                                                         [OK]
Compiling: lib/chibios/os/hal/src/hal_mmc_spi.c                                                     [OK]
Compiling: lib/chibios/os/hal/src/hal_pal.c                                                         [OK]
Compiling: lib/chibios/os/hal/src/hal_pwm.c                                                         [OK]
Compiling: lib/chibios/os/hal/src/hal_rtc.c                                                         [OK]
Compiling: lib/chibios/os/hal/src/hal_sdc.c                                                         [OK]
Compiling: lib/chibios/os/hal/src/hal_serial.c                                                      [OK]
Compiling: lib/chibios/os/hal/src/hal_serial_usb.c                                                  [OK]
Compiling: lib/chibios/os/hal/src/hal_sio.c                                                         [OK]
Compiling: lib/chibios/os/hal/src/hal_spi.c                                                         [OK]
Compiling: lib/chibios/os/hal/src/hal_uart.c                                                        [OK]
Compiling: lib/chibios/os/hal/src/hal_trng.c                                                        [OK]
Compiling: lib/chibios/os/hal/src/hal_usb.c                                                         [OK]
Compiling: lib/chibios/os/hal/src/hal_wdg.c                                                         [OK]
Compiling: lib/chibios/os/hal/src/hal_wspi.c                                                        [OK]
Compiling: lib/chibios-contrib/os/hal/boards/SIPEED_LONGAN_NANO/board.c                             [OK]
Compiling: lib/chibios/os/hal/lib/streams/chprintf.c                                                [OK]
Compiling: lib/chibios/os/hal/lib/streams/chscanf.c                                                 [OK]
Compiling: lib/chibios/os/hal/lib/streams/nullstreams.c                                             [OK]
Compiling: lib/chibios/os/hal/lib/streams/memstreams.c                                              [OK]
Compiling: lib/chibios/os/hal/lib/streams/bufstreams.c                                              [OK]
Compiling: lib/chibios/os/various/syscalls.c                                                        [OK]
Compiling: platforms/chibios/syscall-fallbacks.c                                                    [OK]
Compiling: platforms/chibios/wait.c                                                                 [OK]
Compiling: platforms/chibios/interrupt_handlers.c                                                   [OK]
Compiling: platforms/chibios/synchronization_util.c                                                 [OK]
Compiling: lib/chibios-contrib/os/hal/ports/GD/GD32VF103/hal_lld.c                                  [OK]
Compiling: lib/chibios-contrib/os/hal/ports/common/RISCV-ECLIC/eclic.c                              [OK]
Compiling: lib/chibios-contrib/os/hal/ports/GD/GD32VF103/gd32_isr.c                                 [OK]
Compiling: lib/chibios-contrib/os/hal/ports/GD/GD32VF103/hal_efl_lld.c                              [OK]
Compiling: lib/chibios-contrib/os/hal/ports/GD/GD32VF103/hal_adc_lld.c                              [OK]
Compiling: lib/chibios-contrib/os/hal/ports/GD/GD32VF103/CRCv1/hal_crc_lld.c                        [OK]
Compiling: lib/chibios-contrib/os/hal/ports/GD/GD32VF103/CANv1/hal_can_lld.c                        [OK]
Compiling: lib/chibios-contrib/os/hal/ports/GD/GD32VF103/DACv1/hal_dac_lld.c                        [OK]
Compiling: lib/chibios-contrib/os/various/crcsw.c                                                   [OK]
Compiling: lib/chibios-contrib/os/hal/ports/GD/GD32VF103/GPIOv1/hal_pal_lld.c                       [OK]
Compiling: lib/chibios-contrib/os/hal/ports/GD/GD32VF103/DMAv1/gd32_dma.c                           [OK]
Compiling: lib/chibios-contrib/os/hal/ports/GD/GD32VF103/I2Cv1/hal_i2c_lld.c                        [OK]
Compiling: lib/chibios-contrib/os/hal/ports/GD/GD32VF103/RTCv1/hal_rtc_lld.c                        [OK]
Compiling: lib/chibios-contrib/os/hal/ports/GD/GD32VF103/SPIv1/hal_i2s_lld.c                        [OK]
Compiling: lib/chibios-contrib/os/hal/ports/GD/GD32VF103/SPIv1/hal_spi_lld.c                        [OK]
Compiling: lib/chibios-contrib/os/hal/ports/GD/GD32VF103/TIMv1/hal_st_lld.c                         [OK]
Compiling: lib/chibios-contrib/os/hal/ports/GD/GD32VF103/TIMv1/hal_icu_lld.c                        [OK]
Compiling: lib/chibios-contrib/os/hal/ports/GD/GD32VF103/TIMv1/hal_gpt_lld.c                        [OK]
Compiling: lib/chibios-contrib/os/hal/ports/GD/GD32VF103/TIMv1/hal_pwm_lld.c                        [OK]
Compiling: lib/chibios-contrib/os/hal/ports/GD/GD32VF103/USARTv1/hal_serial_lld.c                   [OK]
Compiling: lib/chibios-contrib/os/hal/ports/GD/GD32VF103/USARTv1/hal_uart_lld.c                     [OK]
Compiling: lib/chibios-contrib/os/hal/ports/GD/GD32VF103/xWDGv1/hal_wdg_lld.c                       [OK]
Compiling: lib/chibios-contrib/os/hal/ports/GD/GD32VF103/OTGv1/hal_usb_lld.c                        [OK]
Compiling: lib/chibios-contrib/os/hal/src/hal_community.c                                           [OK]
Compiling: lib/chibios-contrib/os/hal/src/hal_fsmc.c                                                [OK]
Compiling: lib/chibios-contrib/os/hal/src/hal_nand.c                                                [OK]
Compiling: lib/chibios-contrib/os/hal/src/hal_sram.c                                                [OK]
Compiling: lib/chibios-contrib/os/hal/src/hal_sdram.c                                               [OK]
Compiling: lib/chibios-contrib/os/hal/src/hal_onewire.c                                             [OK]
Compiling: lib/chibios-contrib/os/hal/src/hal_crc.c                                                 [OK]
Compiling: lib/chibios-contrib/os/hal/src/hal_eicu.c                                                [OK]
Compiling: lib/chibios-contrib/os/hal/src/hal_rng.c                                                 [OK]
Compiling: lib/chibios-contrib/os/hal/src/hal_usbh.c                                                [OK]
Compiling: lib/chibios-contrib/os/hal/src/usbh/hal_usbh_debug.c                                     [OK]
Compiling: lib/chibios-contrib/os/hal/src/usbh/hal_usbh_desciter.c                                  [OK]
Compiling: lib/chibios-contrib/os/hal/src/usbh/hal_usbh_hub.c                                       [OK]
Compiling: lib/chibios-contrib/os/hal/src/usbh/hal_usbh_ftdi.c                                      [OK]
Compiling: lib/chibios-contrib/os/hal/src/usbh/hal_usbh_msd.c                                       [OK]
Compiling: lib/chibios-contrib/os/hal/src/usbh/hal_usbh_aoa.c                                       [OK]
Compiling: lib/chibios-contrib/os/hal/src/usbh/hal_usbh_hid.c                                       [OK]
Compiling: lib/chibios-contrib/os/hal/src/usbh/hal_usbh_uvc.c                                       [OK]
Compiling: lib/chibios-contrib/os/hal/src/hal_ee24xx.c                                              [OK]
Compiling: lib/chibios-contrib/os/hal/src/hal_ee25xx.c                                              [OK]
Compiling: lib/chibios-contrib/os/hal/src/hal_eeprom.c                                              [OK]
Compiling: lib/chibios-contrib/os/hal/src/hal_timcap.c                                              [OK]
Compiling: lib/chibios-contrib/os/hal/src/hal_usb_hid.c                                             [OK]
Compiling: lib/chibios-contrib/os/hal/src/hal_qei.c                                                 [OK]
Compiling: lib/chibios-contrib/os/hal/src/hal_usb_msd.c                                             [OK]
Compiling: lib/chibios-contrib/os/hal/src/hal_comp.c                                                [OK]
Compiling: lib/chibios-contrib/os/hal/src/hal_opamp.c                                               [OK]
Compiling: keyboards/handwired/onekey/onekey.c                                                      [OK]
Compiling: .build/obj_handwired_onekey_sipeed_longan_nano_default/src/default_keyboard.c            [OK]
Compiling: quantum/keymap_introspection.c                                                           [OK]
Compiling: quantum/quantum.c                                                                        [OK]
Compiling: quantum/bitwise.c                                                                        [OK]
Compiling: quantum/led.c                                                                            [OK]
Compiling: quantum/action.c                                                                         [OK]
Compiling: quantum/action_layer.c                                                                   [OK]
Compiling: quantum/action_tapping.c                                                                 [OK]
Compiling: quantum/action_util.c                                                                    [OK]
Compiling: quantum/eeconfig.c                                                                       [OK]
Compiling: quantum/keyboard.c                                                                       [OK]
Compiling: quantum/keymap_common.c                                                                  [OK]
Compiling: quantum/keycode_config.c                                                                 [OK]
Compiling: quantum/sync_timer.c                                                                     [OK]
Compiling: quantum/logging/debug.c                                                                  [OK]
Compiling: quantum/logging/sendchar.c                                                               [OK]
Compiling: quantum/process_keycode/process_default_layer.c                                          [OK]
Compiling: quantum/logging/print.c                                                                  [OK]
Compiling: quantum/matrix.c                                                                         [OK]
Compiling: quantum/matrix_common.c                                                                  [OK]
Compiling: quantum/debounce/sym_defer_g.c                                                           [OK]
Compiling: quantum/main.c                                                                           [OK]
Compiling: lib/printf/src/printf/printf.c                                                           [OK]
Compiling: drivers/eeprom/eeprom_driver.c                                                           [OK]
Compiling: drivers/eeprom/eeprom_wear_leveling.c                                                    [OK]
Compiling: lib/fnv/qmk_fnv_type_validation.c                                                        [OK]
Compiling: platforms/chibios/drivers/wear_leveling/wear_leveling_efl.c                              [OK]
Compiling: lib/fnv/hash_32a.c                                                                       [OK]
Compiling: lib/fnv/hash_64a.c                                                                       [OK]
Compiling: quantum/wear_leveling/wear_leveling.c                                                    [OK]
Compiling: quantum/process_keycode/process_grave_esc.c                                              [OK]
Compiling: quantum/process_keycode/process_magic.c                                                  [OK]
Compiling: quantum/process_keycode/process_space_cadet.c                                            [OK]
Compiling: quantum/send_string/send_string.c                                                        [OK]
Compiling: tmk_core/protocol/host.c                                                                 [OK]
Compiling: tmk_core/protocol/report.c                                                               [OK]
Compiling: tmk_core/protocol/usb_device_state.c                                                     [OK]
Compiling: tmk_core/protocol/usb_util.c                                                             [OK]
Compiling: platforms/suspend.c                                                                      [OK]
Compiling: platforms/synchronization_util.c                                                         [OK]
Compiling: platforms/timer.c                                                                        [OK]
Compiling: platforms/chibios/hardware_id.c                                                          [OK]
Compiling: platforms/chibios/platform.c                                                             [OK]
Assembling: lib/chibios-contrib/os/common/startup/RISCV-ECLIC/compilers/GCC/crt0.S                  [OK]
Compiling: platforms/chibios/timer.c                                                                [OK]
Compiling: platforms/chibios/bootloaders/gd32v_dfu.c                                                [OK]
Compiling: platforms/chibios/suspend.c                                                              [OK]
Assembling: lib/chibios-contrib/os/common/startup/RISCV-ECLIC/compilers/GCC/vectors.S               [OK]
Assembling: lib/chibios-contrib/os/common/ports/RISCV-ECLIC/compilers/GCC/chcoreasm.S               [OK]
Linking: .build/handwired_onekey_sipeed_longan_nano_default.elf                                     [ERRORS]
 |
 | /usr/lib/riscv64-unknown-elf/bin/ld: .build/obj_handwired_onekey_sipeed_longan_nano_default/platforms/chibios/timer.o: in function `timer_read32':
 | timer.c:(.text.timer_read32+0xa): undefined reference to `chSysGetStatusAndLockX'
 | /usr/lib/riscv64-unknown-elf/bin/ld: timer.c:(.text.timer_read32+0x52): undefined reference to `chSysRestoreStatusX'
 | collect2: error: ld returned 1 exit status
 |
gmake[1]: *** [builddefs/common_rules.mk:269: .build/handwired_onekey_sipeed_longan_nano_default.elf] Error 1