Skip to content

Commit

Permalink
apollo3: added apollo3 target to meson files
Browse files Browse the repository at this point in the history
  • Loading branch information
litui authored and sidprice committed Sep 2, 2024
1 parent b88704f commit b63cf0c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions meson_options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ option(
'cortexm',
'riscv32',
'riscv64',
'apollo3',
'at32f4',
'ch579',
'efm',
Expand Down
7 changes: 7 additions & 0 deletions src/target/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ if is_firmware_build
'riscv32': 'RISC-V 32-bit support',
'riscv64': 'RISC-V 64-bit support',
'at32f4': 'Arterytek parts',
'apollo3': 'Ambiq Apollo3 parts',
'ch579': 'CH579',
'efm': 'Energy Micro parts',
'hc32': 'HC32 parts',
Expand Down Expand Up @@ -157,6 +158,11 @@ target_riscv64 = declare_dependency(
dependencies: target_riscv,
)

target_apollo3 = declare_dependency(
sources: files('apollo3.c'),
dependencies: target_cortexm,
)

target_ch579 = declare_dependency(
sources: files('ch579.c'),
dependencies: target_cortexm,
Expand Down Expand Up @@ -320,6 +326,7 @@ libbmd_target_deps = [
target_riscv32,
target_riscv64,
# Enable all targets for libbmd
target_apollo3,
target_at32f4,
target_ch579,
target_efm,
Expand Down

0 comments on commit b63cf0c

Please sign in to comment.