unified_retro_keyboard/firmware/asdf/src
Dave 9aa3bf4681 Fix compiler warning for GCC >= 11.3
- GCC version 12 generates a warnings for certain pointer
references.  Apparently this is to decect invalid offsets.  To properly
compiler, the recommended remedy is to add the compiler option
"--param=min-pagesize=0" to the flags.  This option was introduced in
version 11.3, so we need to check the compiler version and only add for
>11.3.

- Moved setting of compiler flags to a new function c_toolchain_flags in
the toolchain file "generic-gcc-avr.cmake".  This function is now called
from the CMakeLists.txt file in the src directory.  This allows the test
for the compiler version to be specified in the toolchain file, but not
executed until called by the src subdir CMakeLists.txt.  Delaying
evaluation of the function ensures that the CMAKE_C_VERSION variable is
properly set when the function is called.

- Moving the compiler flags out of the source dir CMakeLists.txt file
also improves portability by moving architecture-specific compiler
details from the source tree to the toolchain file.
2022-09-02 00:00:55 -05:00
..
Arch make sure all tests pass 2021-12-10 22:25:13 -06:00
Keymaps Add missing keymap header files 2022-02-28 20:08:38 -06:00
Templates Progress toward building new keymap scheme with cmake 2021-03-07 20:38:40 -06:00
_clang-format first commit 2019-12-12 14:46:29 -06:00
ARCHITECTURE-keymaps.org Cleanups for new map scheme 2021-12-01 15:56:25 -06:00
asdf_ascii.h Apply clang-format to files 2020-05-15 14:48:40 -05:00
asdf_buffer.c BugFix: asdf_buffer_get: check for valid handle 2021-12-14 11:31:39 -06:00
asdf_buffer.h Add apple 2 caps, printing, bug fixes 2021-11-29 16:26:08 -06:00
asdf_config.h Add apple 2 caps, printing, bug fixes 2021-11-29 16:26:08 -06:00
asdf_hook.c More keymap updates toward [#23] amd [#25] 2021-11-30 13:11:48 -06:00
asdf_hook.h Add ID message and keyboard test for apple2 kbds 2021-12-04 23:10:33 -06:00
asdf_keymap_setup.c.in Remove extraneous chars. 2021-12-10 22:26:59 -06:00
asdf_keymap_setup.h.in Add apple 2 caps, printing, bug fixes 2021-11-29 16:26:08 -06:00
asdf_keymaps.c Breakout keyboard init 2021-12-04 23:12:32 -06:00
asdf_keymaps.h Removed unused declaration 2021-11-27 23:26:09 -06:00
asdf_modifiers.c Apply clang-format to files 2020-05-15 14:48:40 -05:00
asdf_modifiers.h Clean up shift/shiftlock cruft 2020-04-27 17:11:36 -05:00
asdf_physical.c Rebase newmaps branch to master 2021-03-05 00:58:06 -06:00
asdf_physical.h Rebase newmaps branch to master 2021-03-05 00:58:06 -06:00
asdf_print.c Add apple 2 caps, printing, bug fixes 2021-11-29 16:26:08 -06:00
asdf_print.h Add cmake templates for keymap setup files 2021-11-28 15:34:32 -06:00
asdf_repeat.c Clean ups 2020-04-09 15:47:27 -05:00
asdf_repeat.h Clean ups 2020-04-09 15:47:27 -05:00
asdf_virtual.c Get virtual devices in new maps scheme to pass tests 2021-03-05 01:00:39 -06:00
asdf_virtual.h Get virtual devices in new maps scheme to pass tests 2021-03-05 01:00:39 -06:00
asdf.c Added ability to set the output rate for messages 2021-12-04 23:08:44 -06:00
asdf.h Added ability to set the output rate for messages 2021-12-04 23:08:44 -06:00
CMakeLists.txt Fix compiler warning for GCC >= 11.3 2022-09-02 00:00:55 -05:00
COPYING Fix and clarify comments, add COPYING file 2020-04-08 12:41:53 -05:00
main.c Remove arch_init from main. 2021-11-27 23:26:47 -06:00