Author SHA1 Message Date
Eric Callahan 555e0e5631 kconfig: display git version in main menu
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2022-07-21 06:09:07 -04:00
Eric Callahan 88c5107818 armcm_boot: fix array bounds warning
Arm GCC 11.2 generates an array bounds warning when
dereferencing a 64-bit pointer.  Selectively disable the
warning when handling the bootup code.

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2022-07-21 06:03:38 -04:00
Eric Callahan a8c83c519c stm32g0: add fdcan support from Klipper
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2022-07-01 14:34:30 -04:00
Eric Callahan 8d8ac60256 stm32: remove stm32f4 CAN warning
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2022-07-01 14:34:30 -04:00
Eric Callahan 8d0f9ec269 usb_cdc: include misc.h
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2022-07-01 14:34:30 -04:00
Eric Callahan 8b010a64a1 build: sync Kconfig and Makefile changes with Klipper
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2022-07-01 14:34:30 -04:00
Eric Callahan d6a605d6b7 src: add updated can source from Klipper
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2022-07-01 14:34:30 -04:00
2 changed files with 8 additions and 1 deletions

No files matched your search

+3 -1
View File
@@ -1,6 +1,8 @@
# Main Kconfig settings
mainmenu "CanBoot Configuration"
VERSION := $(shell, git describe --tags --long --always --dirty 2> /dev/null)
mainmenu "CanBoot Configuration $(VERSION)"
config LOW_LEVEL_OPTIONS
bool
+5
View File
@@ -19,6 +19,9 @@ extern uint32_t _data_start, _data_end, _data_flash;
extern uint32_t _bss_start, _bss_end, _stack_start;
extern uint32_t _stack_end;
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Warray-bounds"
uint64_t
get_bootup_code(void)
{
@@ -34,6 +37,8 @@ set_bootup_code(uint64_t code)
barrier();
}
#pragma GCC diagnostic pop
// Helper function to read area of flash
void
application_read_flash(uint32_t address, uint32_t *dest)