summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2024-04-08 10:52:29 +0700
committerGitHub <[email protected]>2024-04-08 10:52:29 +0700
commitffab7bf9dde0c0e960feeb5c1264823ca5a0ced7 (patch)
tree496f68740177acc744af1eaf0f6d653357efccd6 /hw
parent5738757e2ca73ab003df5bfbf5ec7b60850ef88b (diff)
parent2f9700dc2b5dd758b9da7b283a03aa311e2f9883 (diff)
Merge pull request #2538 from kkitayam/add_uvc_2ch_example
Add an example of 2ch video capture.
Diffstat (limited to 'hw')
-rw-r--r--hw/bsp/lpc18/boards/lpcxpresso18s37/lpc1837.ld4
-rw-r--r--hw/bsp/lpc18/boards/mcb1800/lpc1857.ld4
-rw-r--r--hw/bsp/lpc43/boards/ea4357/lpc4357.ld4
-rw-r--r--hw/bsp/lpc43/boards/lpcxpresso43s67/lpc4367.ld4
-rw-r--r--hw/bsp/ra/boards/ra4m1_ek/board.cmake4
-rw-r--r--hw/bsp/ra/boards/uno_r4/board.cmake4
6 files changed, 14 insertions, 10 deletions
diff --git a/hw/bsp/lpc18/boards/lpcxpresso18s37/lpc1837.ld b/hw/bsp/lpc18/boards/lpcxpresso18s37/lpc1837.ld
index f12c1760c..f1a3add8f 100644
--- a/hw/bsp/lpc18/boards/lpcxpresso18s37/lpc1837.ld
+++ b/hw/bsp/lpc18/boards/lpcxpresso18s37/lpc1837.ld
@@ -296,7 +296,7 @@ SECTIONS
PROVIDE(__end_bss_RamAHB_ETB16 = .) ;
} > RamAHB_ETB16 AT> RamAHB_ETB16
- /* MAIN BSS SECTION */
+ /* MAIN BSS SECTION: EDIT change to RamLoc40 */
.bss : ALIGN(4)
{
_bss = .;
@@ -309,7 +309,7 @@ SECTIONS
PROVIDE(__end_bss_RAM = .) ;
PROVIDE(__end_bss_RamLoc32 = .) ;
PROVIDE(end = .);
- } > RamLoc32 AT> RamLoc32
+ } > RamLoc40 AT> RamLoc40 /* > RamLoc32 AT> RamLoc32 */
/* NOINIT section for RamLoc40 */
.noinit_RAM2 (NOLOAD) : ALIGN(4)
diff --git a/hw/bsp/lpc18/boards/mcb1800/lpc1857.ld b/hw/bsp/lpc18/boards/mcb1800/lpc1857.ld
index 9a67e8946..837dec364 100644
--- a/hw/bsp/lpc18/boards/mcb1800/lpc1857.ld
+++ b/hw/bsp/lpc18/boards/mcb1800/lpc1857.ld
@@ -247,7 +247,7 @@ SECTIONS
PROVIDE(__end_bss_RAM5 = .) ;
} > RamAHB_ETB16
- /* MAIN BSS SECTION */
+ /* MAIN BSS SECTION: EDIT change to RamLoc40 */
.bss : ALIGN(4)
{
_bss = .;
@@ -256,7 +256,7 @@ SECTIONS
. = ALIGN(4) ;
_ebss = .;
PROVIDE(end = .);
- } > RamLoc32
+ } > RamLoc40 /* RamLoc32 */
/* NOINIT section for RamLoc40 */
.noinit_RAM2 (NOLOAD) : ALIGN(4)
diff --git a/hw/bsp/lpc43/boards/ea4357/lpc4357.ld b/hw/bsp/lpc43/boards/ea4357/lpc4357.ld
index e3dfbfda1..53343f6a9 100644
--- a/hw/bsp/lpc43/boards/ea4357/lpc4357.ld
+++ b/hw/bsp/lpc43/boards/ea4357/lpc4357.ld
@@ -248,7 +248,7 @@ SECTIONS
PROVIDE(__end_bss_RAM5 = .) ;
} > RamAHB_ETB16
- /* MAIN BSS SECTION */
+ /* MAIN BSS SECTION: EDIT change to RamLoc40 */
.bss : ALIGN(4)
{
_bss = .;
@@ -257,7 +257,7 @@ SECTIONS
. = ALIGN(4) ;
_ebss = .;
PROVIDE(end = .);
- } > RamLoc32
+ } > RamLoc40 /* RamLoc32 */
/* NOINIT section for RamLoc40 */
.noinit_RAM2 (NOLOAD) : ALIGN(4)
diff --git a/hw/bsp/lpc43/boards/lpcxpresso43s67/lpc4367.ld b/hw/bsp/lpc43/boards/lpcxpresso43s67/lpc4367.ld
index c03149b8b..99276fb47 100644
--- a/hw/bsp/lpc43/boards/lpcxpresso43s67/lpc4367.ld
+++ b/hw/bsp/lpc43/boards/lpcxpresso43s67/lpc4367.ld
@@ -292,7 +292,7 @@ SECTIONS
PROVIDE(__end_bss_RamAHB_ETB16 = .) ;
} > RamAHB_ETB16 AT> RamAHB_ETB16
- /* MAIN BSS SECTION */
+ /* MAIN BSS SECTION: EDIT change to RamLoc40 */
.bss : ALIGN(4)
{
_bss = .;
@@ -305,7 +305,7 @@ SECTIONS
PROVIDE(__end_bss_RAM = .) ;
PROVIDE(__end_bss_RamLoc32 = .) ;
PROVIDE(end = .);
- } > RamLoc32 AT> RamLoc32
+ } > RamLoc40 AT> RamLoc40 /* > RamLoc32 AT> RamLoc32 */
/* NOINIT section for RamLoc40 */
.noinit_RAM2 (NOLOAD) : ALIGN(4)
diff --git a/hw/bsp/ra/boards/ra4m1_ek/board.cmake b/hw/bsp/ra/boards/ra4m1_ek/board.cmake
index 4188d3188..7bb48bf44 100644
--- a/hw/bsp/ra/boards/ra4m1_ek/board.cmake
+++ b/hw/bsp/ra/boards/ra4m1_ek/board.cmake
@@ -4,7 +4,9 @@ set(MCU_VARIANT ra4m1)
set(JLINK_DEVICE R7FA4M1AB)
function(update_board TARGET)
-# target_compile_definitions(${TARGET} PUBLIC)
+ target_compile_definitions(${TARGET} PUBLIC
+ CFG_EXAMPLE_VIDEO_READONLY
+ )
# target_sources(${TARGET} PRIVATE)
# target_include_directories(${BOARD_TARGET} PUBLIC)
endfunction()
diff --git a/hw/bsp/ra/boards/uno_r4/board.cmake b/hw/bsp/ra/boards/uno_r4/board.cmake
index 34780d776..9d59bc4f7 100644
--- a/hw/bsp/ra/boards/uno_r4/board.cmake
+++ b/hw/bsp/ra/boards/uno_r4/board.cmake
@@ -5,7 +5,9 @@ set(JLINK_DEVICE R7FA4M1AB)
set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/${BOARD}.ld)
function(update_board TARGET)
-# target_compile_definitions(${TARGET} PUBLIC)
+ target_compile_definitions(${TARGET} PUBLIC
+ CFG_EXAMPLE_VIDEO_READONLY
+ )
# target_sources(${TARGET} PRIVATE)
# target_include_directories(${BOARD_TARGET} PUBLIC)
endfunction()