Skip to content

Commit

Permalink
maybe worked?
Browse files Browse the repository at this point in the history
  • Loading branch information
MrKevinWeiss committed Feb 6, 2024
1 parent d508fa9 commit ee31eb0
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion 08-interop/compile_zephyr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,36 @@ docker run \
docker.io/zephyrprojectrtos/zephyr-build:latest \
/bin/bash -c '
west init
west init -m https://github.com/zephyrproject-rtos/zephyr --mr 3.5.0
west update cmsis hal_atmel
west zephyr-export
ls ~
pip install -r ~/zephyrproject/zephyr/scripts/requirements.txt
cd /workdir/zephyr
echo "CONFIG_CPP=n
CONFIG_NET_PKT_RX_COUNT=5
CONFIG_NET_PKT_TX_COUNT=5
CONFIG_NET_BUF_RX_COUNT=5
CONFIG_NET_BUF_TX_COUNT=5
CONFIG_NET_MAX_CONTEXTS=2
CONFIG_NET_MAX_CONN=1
CONFIG_NET_MAX_ROUTES=1
CONFIG_NET_MAX_NEXTHOPS=1
CONFIG_SHELL_STACK_SIZE=512
CONFIG_SHELL_CMD_BUFF_SIZE=32
CONFIG_SHELL_ARGC_MAX=6
CONFIG_SHELL_HISTORY_BUFFER=4
CONFIG_LOG_MODE_MINIMAL=y
CONFIG_NET_IP_DSCP_ECN=n
CONFIG_NET_STATISTICS=n
CONFIG_NET_MGMT_EVENT_STACK_SIZE=384
CONFIG_IEEE802154_RF2XX_RX_STACK_SIZE=384
CONFIG_UART_USE_RUNTIME_CONFIGURE=n" > samples/net/sockets/echo_server/boards/atsamr21_xpro.conf
west build -p auto -b atsamr21_xpro samples/net/sockets/echo_server -- -DOVERLAY_CONFIG=overlay-802154.conf
west flash
'

0 comments on commit ee31eb0

Please sign in to comment.