Skip to content

Commit

Permalink
- Update build config name in app_test_mode
Browse files Browse the repository at this point in the history
- Added IN_ADDR1 test mode to CHANGELOG
  • Loading branch information
xross committed Mar 12, 2024
1 parent 25841eb commit 457ac22
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ lib_xud Change Log

* FIXED: XS3A based devices not responding to IN packets in SE0_NAK test
mode
* ADDED: XMOS proprietary test mode XMOS_IN_ADDR1

2.3.0
-----
Expand Down
14 changes: 7 additions & 7 deletions __app_test_mode/Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# The TARGET variable determines what target system the application is
# The TARGET variable determines what target system the application is
# compiled for. It either refers to an XN file in the source directories
# or a valid argument for the --target option when compiling.

# In this case, the target depends on the build configuration.
TARGET = XCORE-AI-EXPLORER

# The APP_NAME variable determines the name of the final .xe file. It should
# not include the .xe postfix. If left blank the name will default to
# not include the .xe postfix. If left blank the name will default to
# the project name
APP_NAME = app_test_mode

Expand All @@ -21,11 +21,11 @@ APP_NAME = app_test_mode
# These flags define multiple build configurations - one for each test mode

FLAGS_COMMON = -O3 -report -save-temps -DXUD_BYPASS_RESET -DXUD_TEST_SPEED=XUD_SPEED_HS -DXUD_BYPASS_CONNECT
XCC_FLAGS_TEST_J = $(FLAGS_COMMON) -DTEST_MODE=USB_WINDEX_TEST_J
XCC_FLAGS_TEST_K = $(FLAGS_COMMON) -DTEST_MODE=USB_WINDEX_TEST_K
XCC_FLAGS_TEST_SE0_NAK = $(FLAGS_COMMON) -DTEST_MODE=USB_WINDEX_TEST_SE0_NAK
XCC_FLAGS_TEST_PACKET = $(FLAGS_COMMON) -DTEST_MODE=USB_WINDEX_TEST_PACKET
XCC_FLAGS_TEST_IN_ADDR1 = $(FLAGS_COMMON) -DTEST_MODE=USB_WINDEX_TEST_XMOS_IN_ADDR1
XCC_FLAGS_TEST_J = $(FLAGS_COMMON) -DTEST_MODE=USB_WINDEX_TEST_J
XCC_FLAGS_TEST_K = $(FLAGS_COMMON) -DTEST_MODE=USB_WINDEX_TEST_K
XCC_FLAGS_TEST_SE0_NAK = $(FLAGS_COMMON) -DTEST_MODE=USB_WINDEX_TEST_SE0_NAK
XCC_FLAGS_TEST_PACKET = $(FLAGS_COMMON) -DTEST_MODE=USB_WINDEX_TEST_PACKET
XCC_FLAGS_TEST_XMOS_IN_ADDR1 = $(FLAGS_COMMON) -DTEST_MODE=USB_WINDEX_TEST_XMOS_IN_ADDR1

# The USED_MODULES variable lists other module used by the application.
USED_MODULES = lib_xud
Expand Down

0 comments on commit 457ac22

Please sign in to comment.