Skip to content

Commit

Permalink
Fix configuration to build for nRF5340
Browse files Browse the repository at this point in the history
  • Loading branch information
lucas-camp committed Nov 6, 2023
1 parent aa9fc33 commit bb78da3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build_tools/configure_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ case $2 in

nrf5340)
echo "Building for NRF5340"
export ARM_CPU="cortex-m4"
export ARM_CPU="cortex-m33"
if [ -z ${PATH_TO_LINKER_SCRIPT+x} ]; then
export PATH_TO_LINKER_SCRIPT="${PATH_TO_REPO}/third_party/nrfx-custom/nrf5340_xxaa_application.ld"
fi
Expand Down Expand Up @@ -153,6 +153,10 @@ case $2 in
nrf52840)
UART=0
;;

nrf5340)
UART=0
;;

*)
UART=2
Expand Down

0 comments on commit bb78da3

Please sign in to comment.