diff --git a/samples/cellular/at_client/boards/nrf9280pdk_nrf9280_cpuapp.conf b/samples/cellular/at_client/boards/nrf9280pdk_nrf9280_cpuapp.conf new file mode 100644 index 000000000000..676bb218a5c0 --- /dev/null +++ b/samples/cellular/at_client/boards/nrf9280pdk_nrf9280_cpuapp.conf @@ -0,0 +1,2 @@ +CONFIG_NRFS=n +CONFIG_DCACHE=n diff --git a/samples/cellular/at_client/boards/nrf9280pdk_nrf9280_cpuapp.overlay b/samples/cellular/at_client/boards/nrf9280pdk_nrf9280_cpuapp.overlay new file mode 100644 index 000000000000..d2ac99aa1094 --- /dev/null +++ b/samples/cellular/at_client/boards/nrf9280pdk_nrf9280_cpuapp.overlay @@ -0,0 +1,23 @@ +/* Specify uart to use for at_host */ +/ { + chosen { + ncs,at-host-uart = &uart136; + }; +}; + +/* Ensure access to shared memory */ +&shared_ram20_region { + compatible = "nordic,owned-memory"; + perm-read; + perm-write; +}; + +&uart136_default { + group1 { + /* UARTE does not support pins 0..3. Change RTS to use P0.7. + * A jumper is then required between P0.0 and P0.7 for HWFC on SW DevBrd. + */ + psels = , + ; + }; +}; diff --git a/samples/cellular/at_client/src/main.c b/samples/cellular/at_client/src/main.c index f4b567e67013..b16c41aa748b 100644 --- a/samples/cellular/at_client/src/main.c +++ b/samples/cellular/at_client/src/main.c @@ -8,6 +8,8 @@ #include #include #include + +#ifndef CONFIG_SOC_SERIES_NRF92X #include #include #include @@ -22,6 +24,7 @@ void enable_xtal(void) sys_notify_init_spinwait(&cli.notify); (void)onoff_request(clk_mgr, &cli); } +#endif /* CONFIG_SOC_SERIES_NRF92X */ int main(void) { @@ -34,7 +37,9 @@ int main(void) printk("Modem library initialization failed, error: %d\n", err); return 0; } +#ifndef CONFIG_SOC_SERIES_NRF92X enable_xtal(); +#endif /* CONFIG_SOC_SERIES_NRF92X */ printk("Ready\n"); return 0;