qmk / qmk_api

QMK API, information on keyboards and keymaps, and a compile service.
http://api.qmk.fm/
Other
34 stars 22 forks source link

Chibios error compiling via web interface #34

Closed gallo-s-chingon closed 5 years ago

gallo-s-chingon commented 5 years ago

compiled the following (JSON export keymap from config.qmk.fm)

{"keyboard":"planck/rev6","keymap":"tddf","layout":"LAYOUT_ortho_4x12","layers":[["KC_Q","KC_W",      "KC_E","KC_R","KC_T","ANY(LCTL)","ANY(LCTL(LGUI))","KC_Y","KC_U","KC_I","KC_O","KC_P","KC_A",       "KC_S","KC_D","KC_F","KC_G","ANY(S(LATL))","ANY(S(LGUI))","KC_H","KC_J","KC_K","KC_L","KC_QUOT",      "KC_Z","KC_X","KC_C","KC_V","KC_B","KC_LSFT","ANY(S(LCTL))","ANY(LT(4 , KC_N))","KC_M","KC_COMM",     "KC_DOT","KC_SLSH","ANY(MT(MOD_LCTL | MOD_LCTL , KC_SPC))","KC_LALT","KC_LGUI","ANY(LT(1 , KC_ESC))", "ANY(LT(2, TC_TAB))","KC_SPC","KC_BSPC","ANY(LT(3 , KC_ENT))","KC_LEFT","KC_DOWN","KC_UP","KC_RGHT"], ["KC_F9","KC_F10","KC_F11","KC_F12","KC_NO","KC_NO","KC_P0","ANY(S(KC_G))","ANY(LCTL(KC_b))",         "LCTL(KC_U)","KC_E","KC_W","KC_F5","KC_F6","KC_F7","KC_F8","KC_NO","KC_NO","KC_CIRC","KC_TRNS",       "KC_TRNS","KC_TRNS","KC_TRNS","ANY(S(KC_W))","KC_F1","KC_F2","KC_F3","KC_F4","KC_NO","KC_NO",         "ANY(S(KC_B))","KC_B","LCTL(KC_D)","LCTL(KC_F)","ANY(KC_G(KC_G))","KC_DLR","KC_TRNS","KC_TRNS",       "KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_NO","KC_NO","KC_NO","KC_TRNS"],       ["KC_TILD","KC_EXLM","KC_AT","KC_HASH","KC_DLR","ANY(KC_LCBR)","ANY(KC_RCBR)","KC_TRNS","KC_P7",      "KC_P8","KC_P9","KC_PEQL","KC_PERC","KC_CIRC","KC_AMPR","KC_ASTR","KC_PIPE","ANY(KC_LBRC)",           "ANY(KC_RBRC)","KC_PPLS","KC_P4","KC_P5","KC_P6","KC_PMNS","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO",   "KC_LPRN","KC_RPRN","KC_PAST","KC_P1","KC_P2","KC_P3","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS",        "KC_TRNS","KC_TRNS","KC_TRNS","KC_DEL","KC_TRNS","KC_P0","KC_NO","KC_NO","KC_NO"],["KC_TRNS",         "KC_TRNS","KC_AGIN","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS",  "KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_FIND","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS",  "KC_TRNS","KC_TRNS","KC_TRNS","KC_UNDO","KC_CUT","KC_COPY","KC_PSTE","KC_TRNS","KC_TRNS","KC_TRNS",   "KC_TRNS","KC_TRNS","KC_TRNS","KC_MS_R","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS",  "KC_TRNS","KC_TRNS","KC__MUTE","KC__VOLDOWN","KC_TRNS","KC_TRNS","KC__VOLUP"],["KC_TRNS","RESET",     "DEBUG","RGB_TOG","RGB_MOD","RGB_HUI","RGB_HUD","RGB_SAI","RGB_SAD","RGB_VAI","RGB_VAD","KC_DEL",     "KC_TRNS","KC_TRNS","ANY(MU_MOD)","ANY(AU_ON)","ANY(AU_OFF)","ANY(AG_NORM)","ANY(AG_SWAP)","KC_NO",   "KC_NO","KC_NO","KC_NO","KC_TRNS","KC_TRNS","ANY(MUV_DE)","ANY(MUV_IN)","ANY(MU_ON)","ANY(MU_OFF)",   "ANY(MI_ON)","ANY(MI_OFF)","ANY(TERM_ON)","ANY(TERM_OFF)","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS",    "KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS",  "KC_TRNS"]]}

The result was the following error

Loaded 5 layers and 240 keycodes. Defined 66 Any key keycodes
Planck
===

![Planck](http://i.imgur.com/q2M3uEU.jpg)

A compact 40% (12x4) ortholinear keyboard kit made and sold by OLKB and Massdrop. [More info on qmk.fm](http://qmk.fm/planck/)

Keyboard Maintainer: [Jack Humbert](https://github.com/jackhumbert)  
Hardware Supported: Planck PCB rev1, rev2, rev3, rev4, Teensy 2.0  
Hardware Availability: [OLKB.com](https://olkb.com), [Massdrop](https://www.massdrop.com/buy/planck-mechanical-keyboard?mode=guest_open)

Make example for this keyboard (after setting up your build environment):

    make planck/rev4:default

Install examples:

    make planck/rev6:default:dfu-util

See [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) then the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information.
* Sending planck/rev6:tddf with LAYOUT_ortho_4x12
* Received job_id: 2b871cdb-d50b-454f-a8bb-40e850f908f6
* Running . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
* Finished:
QMK Firmware 0.6.231
WARNING:
 Some git sub-modules are out of date or modified, please consider running:
 make git-submodule
 You can ignore this warning if you are not compiling any ChibiOS keyboards,
 or if you have modified the ChibiOS libraries yourself.

Making planck/rev6 with keymap tddf

tmk_core/chibios.mk:38: lib/chibios-contrib/os/common/startup/ARMCMx/compilers/GCC/mk/startup_stm32f3xx.mk: No such file or directory
tmk_core/chibios.mk:40: lib/chibios/os/hal/hal.mk: No such file or directory
tmk_core/chibios.mk:46: lib/chibios-contrib/os/hal/ports/STM32/STM32F3xx/platform.mk: No such file or directory
tmk_core/chibios.mk:79: lib/chibios/os/hal/osal/rt/osal.mk: No such file or directory
tmk_core/chibios.mk:81: lib/chibios/os/rt/rt.mk: No such file or directory
tmk_core/chibios.mk:87: lib/chibios/os/common/ports/ARMCMx/compilers/GCC/mk/port_v7m.mk: No such file or directory
tmk_core/chibios.mk:89: lib/chibios/os/hal/lib/streams/streams.mk: No such file or directory
makek'.  Stop.
Makefile:529: recipe for target 'planck/rev6:tddf' failed
make: *** [planck/rev6:tddf] Error 1
Make finished with errors
RAW Paste Data

Loaded 5 layers and 240 keycodes. Defined 66 Any key keycodes
Planck
===

![Planck](http://i.imgur.com/q2M3uEU.jpg)

A compact 40% (12x4) ortholinear keyboard kit made and sold by OLKB and Massdrop. [More info on qmk.fm](http://qmk.fm/planck/)

Keyboard Maintainer: [Jack Humbert](https://github.com/jackhumbert)  
Hardware Supported: Planck PCB rev1, rev2, rev3, rev4, Teensy 2.0  
Hardware Availability: [OLKB.com](https://olkb.com), [Massdrop](https://www.massdrop.com/buy/planck-mechanical-keyboard?mode=guest_open)

Make example for this keyboard (after setting up your build environment):

    make planck/rev4:default

Install examples:

    make planck/rev6:default:dfu-util

See [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) then the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information.
* Sending planck/rev6:tddf with LAYOUT_ortho_4x12
* Received job_id: 2b871cdb-d50b-454f-a8bb-40e850f908f6
* Running . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
* Finished:
QMK Firmware 0.6.231
WARNING:
 Some git sub-modules are out of date or modified, please consider running:
 make git-submodule
 You can ignore this warning if you are not compiling any ChibiOS keyboards,
 or if you have modified the ChibiOS libraries yourself. 

Making planck/rev6 with keymap tddf

tmk_core/chibios.mk:38: lib/chibios-contrib/os/common/startup/ARMCMx/compilers/GCC/mk/startup_stm32f3xx.mk: No such file or directory
tmk_core/chibios.mk:40: lib/chibios/os/hal/hal.mk: No such file or directory
tmk_core/chibios.mk:46: lib/chibios-contrib/os/hal/ports/STM32/STM32F3xx/platform.mk: No such file or directory
tmk_core/chibios.mk:79: lib/chibios/os/hal/osal/rt/osal.mk: No such file or directory
tmk_core/chibios.mk:81: lib/chibios/os/rt/rt.mk: No such file or directory
tmk_core/chibios.mk:87: lib/chibios/os/common/ports/ARMCMx/compilers/GCC/mk/port_v7m.mk: No such file or directory
tmk_core/chibios.mk:89: lib/chibios/os/hal/lib/streams/streams.mk: No such file or directory
makek'.  Stop.
Makefile:529: recipe for target 'planck/rev6:tddf' failed
make: *** [planck/rev6:tddf] Error 1
Make finished with errors

sought assistance on r/olkb and was suggested to open an issue here.

...Looks like there's something wrong with the backend...

  • u/yanfali
skullydazed commented 5 years ago

I just pushed the fix live and it seems to work for me now. Can you give it a try?

gallo-s-chingon commented 5 years ago

Working now,