mirror of
https://github.com/hathach/tinyusb.git
synced 2026-02-05 06:05:32 +00:00
make fifo access mode fixed addr work with 16 bit also
This commit is contained in:
@ -113,7 +113,7 @@ add_ceedling_test(
|
||||
${CEEDLING_WORKDIR}/../../src/common/tusb_fifo.c
|
||||
""
|
||||
)
|
||||
target_compile_definitions(test_fifo PRIVATE CFG_TUSB_FIFO_ACCESS_FIXED_ADDR_RW32=1)
|
||||
target_compile_definitions(test_fifo PRIVATE CFG_TUSB_FIFO_ACCESS_FIXED_ADDR_WIDTH=32)
|
||||
|
||||
add_ceedling_test(
|
||||
test_usbd
|
||||
|
||||
@ -128,7 +128,7 @@
|
||||
:defines:
|
||||
:test:
|
||||
- _UNITY_TEST_
|
||||
- CFG_TUSB_FIFO_ACCESS_FIXED_ADDR_RW32
|
||||
- CFG_TUSB_FIFO_ACCESS_FIXED_ADDR_WIDTH=32
|
||||
:release: []
|
||||
|
||||
# Enable to inject name of a test as a unique compilation symbol into its respective executable build.
|
||||
|
||||
Reference in New Issue
Block a user