gccmake gave me an error that KEYMAP_ALL requires 143 keys but I only gave 142, so I had to add it
This is what happens when I edit my keymap.c to fit with KEYMAP(
keymap.c
#include "action_layer.h "
#include "keymap_common.h"
const uint8_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/* 0: Foot Pedal */
KEYMAP(
LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT,
LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT,
LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT,
LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT,
LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT,
LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT,LALT,LALT, LALT, LALT, LALT),
};
/*
* Fn action definition
*/
#ifdef KEYMAP_SECTION_ENABLE
const action_t fn_actions[] __attribute__ ((section (".keymap.fn_actions"))) = {
#else
const action_t fn_actions[] PROGMEM = {
#endif
};
Error after make
Compiling C: keymap.c
avr-gcc -c -mmcu=atmega32u4 -gdwarf-2 -DF_CPU=16000000UL -DINTERRUPT_CONTROL_END POINT -DBOOTLOADER_SIZE=4096 -DARDUINO=101 -DF_USB=16000000UL -DARCH=ARCH_AVR8 - DUSB_DEVICE_ONLY -DUSE_FLASH_DESCRIPTORS -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_F ULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" -DFIXED_CONTROL_ENDPOINT_SIZ E=8 -DFIXED_NUM_CONFIGURATIONS=1 -DPROTOCOL_LUFA -DMOUSEKEY_ENABLE -DMOUSE_ENAB LE -DEXTRAKEY_ENABLE -DCONSOLE_ENABLE -DVERSION=1610250-dirty -Os -funsigned-cha r -funsigned-bitfields -ffunction-sections -fdata-sections -fno-inline-small-fun ctions -fpack-struct -fshort-enums -fno-strict-aliasing -Wall -Wstrict-prototype s -Wa,-adhlns=obj_usb_usb/keymap.lst -I../../tmk_core/common -I. -I../../tmk_cor e -I../../tmk_core/protocol/usb_hid -I../../tmk_core/protocol/usb_hid/USB_Host_S hield_2.0 -I../../tmk_core/protocol/usb_hid/arduino-1.0.1/cores/arduino -I../../ tmk_core/protocol/usb_hid/arduino-1.0.1/variants/leonardo -I../../tmk_core/proto col/lufa -I../../tmk_core/protocol/lufa/LUFA-git -I../../tmk_core/common -std=gn u99 -include config.h -MMD -MP -MF .dep/obj_usb_usb_keymap.o.d keymap.c -o obj_ usb_usb/keymap.o
keymap.c:12:132: error: macro "KEYMAP_ALL" requires 143 arguments, but only 142 given
LALT, LALT, LALT, LALT, LALT, LALT, LAL T, LALT, LALT,LALT,LALT, LALT, LALT, LALT),
^
In file included from keymap.c:2:0:
keymap_common.h:136:3: error: 'KEYMAP_ALL' undeclared here (not in a function)
) KEYMAP_ALL( \
^
keymap.c:6:5: note: in expansion of macro 'KEYMAP'
KEYMAP(
^
make: *** [../../tmk_core/rules.mk:560: obj_usb_usb/keymap.o] Error 1