32ESPecial Version 1.00 (#9)
This release reworked the initialization code to provide more robust initialization, especially when no USB stick is present. It incorporates [Version 1.0 of SystemK](Software/SystemK#9). This is the first release for the [32ESPecial Blaster Kits](https://link.clubk.club/2025002). Co-authored-by: Joe Kearney <joe@clubk.club> Reviewed-on: #9
This commit is contained in:
parent
14ec8fe280
commit
e12ee17973
67 changed files with 1232 additions and 649 deletions
|
|
@ -1,10 +1,20 @@
|
|||
# 1. IDF version >= 6.0 does not have usb component: usb from IDF component manager will be used
|
||||
# 2. For linux target, we can't use IDF component manager to get usb component, we need to add it 'the old way'
|
||||
# with EXTRA_COMPONENT_DIRS because mocking of managed components is not supported yet.
|
||||
# This is acceptable workaround for testing.
|
||||
set(requires "fatfs")
|
||||
if((${IDF_VERSION_MAJOR} LESS 6) OR ("${IDF_TARGET}" STREQUAL "linux"))
|
||||
list(APPEND requires usb)
|
||||
endif()
|
||||
|
||||
set(sources src/msc_scsi_bot.c
|
||||
src/diskio_usb.c
|
||||
src/msc_host.c
|
||||
src/msc_host_vfs.c)
|
||||
|
||||
idf_component_register( SRCS ${sources}
|
||||
INCLUDE_DIRS include include/usb # 'include/usb' is here for backwards compatibility
|
||||
PRIV_INCLUDE_DIRS private_include include/esp_private
|
||||
REQUIRES usb fatfs
|
||||
PRIV_REQUIRES heap )
|
||||
idf_component_register(SRCS ${sources}
|
||||
INCLUDE_DIRS include include/usb # 'include/usb' is here for backwards compatibility
|
||||
PRIV_INCLUDE_DIRS private_include include/esp_private
|
||||
REQUIRES ${requires}
|
||||
PRIV_REQUIRES heap
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue