Control code is now in main loop, keystrokes are send over i2c to keyboard device, added basic upload of code over i2c

This commit is contained in:
2020-12-22 01:05:05 +01:00
parent 40aa71275a
commit 279a81716a
11 changed files with 457 additions and 345 deletions

View File

@@ -1,5 +1,5 @@
##########################################################################################################################
# File automatically-generated by tool: [projectgenerator] version: [3.7.1] date: [Wed Sep 02 18:41:02 CEST 2020]
# File automatically-generated by tool: [projectgenerator] version: [3.7.1] date: [Thu Oct 01 22:37:12 CEST 2020]
##########################################################################################################################
# ------------------------------------------------
@@ -20,7 +20,7 @@ TARGET = z80-stm32-v2
# building variables
######################################
# debug build?
DEBUG = 1
DEBUG = 0
# optimization
OPT = -O3
@@ -37,6 +37,7 @@ BUILD_DIR = .build
# C sources
C_SOURCES = \
Src/main.c \
Src/firmware.c \
Src/restart.c \
Src/control.c \
Src/profiling.c \
@@ -83,7 +84,9 @@ Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c \
Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc.c \
Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_bot.c \
Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_data.c \
Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.c
Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.c \
Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_i2c.c \
Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_i2c_ex.c
# ASM sources
ASM_SOURCES = \