|
Re: Example code showing setup of SPI
+ Andrzej
On 16/10/2018, 23:26, "users@... on behalf of Ormund Williams" <users@... on behalf of ormundw@...> wrote:
Hi All,
I was
+ Andrzej
On 16/10/2018, 23:26, "users@... on behalf of Ormund Williams" <users@... on behalf of ormundw@...> wrote:
Hi All,
I was
|
By
Carles Cufi
·
#1149
·
|
|
Re: #customboard #defconfig #supervisormode
#customboard
#defconfig
#supervisormode
That's right! In RISC-V terms, Machine mode has access to all system resources and is the
mandatory mode to implement. Supervisor mode has a different usage model, which I guess
used for
That's right! In RISC-V terms, Machine mode has access to all system resources and is the
mandatory mode to implement. Supervisor mode has a different usage model, which I guess
used for
|
By
Mani Sadhasivam
·
#1148
·
|
|
Re: #customboard #defconfig #supervisormode
#customboard
#defconfig
#supervisormode
Thanks. Actually I want to remove any supervisor mode access in the code. We don't want to have mmu. We want to run in user/machine mode.
I got your point on usermode. Is there a way I can turn off
Thanks. Actually I want to remove any supervisor mode access in the code. We don't want to have mmu. We want to run in user/machine mode.
I got your point on usermode. Is there a way I can turn off
|
By
Sathya Narayanan N <sathya281@...>
·
#1147
·
|
|
RNG and cross architecture
Hi Devs!
Compiling a Zephyr project with target nrf52_pca10040 the sys_rand32_get() works well. But when the target is FRDM-KL25Z the compiler show this error:
undefined reference to
Hi Devs!
Compiling a Zephyr project with target nrf52_pca10040 the sys_rand32_get() works well. But when the target is FRDM-KL25Z the compiler show this error:
undefined reference to
|
By
Carlos Miguens
·
#1146
·
|
|
Re: #customboard #defconfig #supervisormode
#customboard
#defconfig
#supervisormode
Hi,
User mode is currently only supported on x86, ARM, and ARC CPUs.
The documentation uses "supervisor mode" to refer to non-user mode, i.e. all CPU instructions may be executed and all memory
Hi,
User mode is currently only supported on x86, ARM, and ARC CPUs.
The documentation uses "supervisor mode" to refer to non-user mode, i.e. all CPU instructions may be executed and all memory
|
By
Boie, Andrew P
·
#1145
·
|
|
Re: Example code showing setup of SPI
Thanks Filip,
I'm just starting to learn Zephyr and looked thru all the examples but
never thought to look in test.
Thanks again.
__
Ormund
Thanks Filip,
I'm just starting to learn Zephyr and looked thru all the examples but
never thought to look in test.
Thanks again.
__
Ormund
|
By
Ormund Williams
·
#1144
·
|
|
Re: #customboard #defconfig #supervisormode
#customboard
#defconfig
#supervisormode
Where did you find this information? For RISC-V SoCs, the supervisor mode is only used
when the base architecture has the 'S' extension. Since there is no Supervisor enabled
SoCs supported by Zephyr
Where did you find this information? For RISC-V SoCs, the supervisor mode is only used
when the base architecture has the 'S' extension. Since there is no Supervisor enabled
SoCs supported by Zephyr
|
By
Mani Sadhasivam
·
#1143
·
|
|
Re: #customboard #defconfig #supervisormode
#customboard
#defconfig
#supervisormode
Hi
Zephyr supports supervisor mode. I want to nullify it at software level.
corresponding dts , we are using is "riscv32-qemu.dtsi"
regards,
sathya
--
regards,
Sathya
Hi
Zephyr supports supervisor mode. I want to nullify it at software level.
corresponding dts , we are using is "riscv32-qemu.dtsi"
regards,
sathya
--
regards,
Sathya
|
By
sathya281@...
·
#1142
·
|
|
Re: #customboard #defconfig #supervisormode
#customboard
#defconfig
#supervisormode
Hi Sathya,
Which SoC are you trying with? AFAIK all supported SoC's only incorporate Machine mode
access, not even User mode. Supervisor mode is meant for a full-fledged operating system.
Thanks,
Mani
Hi Sathya,
Which SoC are you trying with? AFAIK all supported SoC's only incorporate Machine mode
access, not even User mode. Supervisor mode is meant for a full-fledged operating system.
Thanks,
Mani
|
By
Mani Sadhasivam
·
#1141
·
|
|
Re: Example code showing setup of SPI
Hello Ormund,
For example of using SPI you can take a look at tests/drivers/spi/spi_loopback. Config for nRF52840 DK is at tests/drivers/spi/spi_loopback/boards/nrf52840_pca10056.conf, also please
Hello Ormund,
For example of using SPI you can take a look at tests/drivers/spi/spi_loopback. Config for nRF52840 DK is at tests/drivers/spi/spi_loopback/boards/nrf52840_pca10056.conf, also please
|
By
filip.kubicz@...
·
#1140
·
|
|
#customboard #defconfig #supervisormode
#customboard
#defconfig
#supervisormode
Hi,
Is there a way to run zephyr only in user/machine mode ?
I am trying it for riscv32 architecture. We dont want to run in supervisor mode.
Please let me know
note: I am new to zephyr
Hi,
Is there a way to run zephyr only in user/machine mode ?
I am trying it for riscv32 architecture. We dont want to run in supervisor mode.
Please let me know
note: I am new to zephyr
|
By
sathya281@...
·
#1139
·
|
|
Example code showing setup of SPI
Hi All,
I was looking for some example code showing how to use SPI on an
nRF52840-DK board, especially selecting the pins that will be used.
Regards.
__
Ormund
Hi All,
I was looking for some example code showing how to use SPI on an
nRF52840-DK board, especially selecting the pins that will be used.
Regards.
__
Ormund
|
By
Ormund Williams
·
#1138
·
|
|
Re: Unable to test bluetooth using QEMU
Hi Johan,
I don't have a Bluetooth adapter on my machine and "hciconfig" does not show any device available.
Thanks,
Marco
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
Hi Johan,
I don't have a Bluetooth adapter on my machine and "hciconfig" does not show any device available.
Thanks,
Marco
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
|
By
Marco Tozzini
·
#1137
·
|
|
#ble [Question] zephyr BLE
#ble
Hi
This is seungwoo
We will contact you regarding the development of BLE.
I am trying to develop a device using nrf52810.
I want to transfer files via BLE using the file transfer method used in
Hi
This is seungwoo
We will contact you regarding the development of BLE.
I am trying to develop a device using nrf52810.
I want to transfer files via BLE using the file transfer method used in
|
By
Seungwoo Woo
·
#1136
·
|
|
Re: Unable to test bluetooth using QEMU
Hi Marco,
Does your PC have a Bluetooth adapter? Does e.g. running "hciconfig"
show hci0 for you?
Johan
Hi Marco,
Does your PC have a Bluetooth adapter? Does e.g. running "hciconfig"
show hci0 for you?
Johan
|
By
Johan Hedberg
·
#1135
·
|
|
Unable to test bluetooth using QEMU
Hi,
I'm experimenting with Zephyr and BLE
I have few Nordic Semi boards and I've been able to successfully compile and run BLE examples for those.
I also would like to use QEMU to test BLE examples
Hi,
I'm experimenting with Zephyr and BLE
I have few Nordic Semi boards and I've been able to successfully compile and run BLE examples for those.
I also would like to use QEMU to test BLE examples
|
By
Marco Tozzini
·
#1134
·
|
|
Re: How to add post build step after linking zephyr.hexhe
Hi, Sebastian,
Thanks for the useful information. This is something I've been wondering about as well.
If I understand you correctly, I think this would be an extremely welcome change.
For example, I
Hi, Sebastian,
Thanks for the useful information. This is something I've been wondering about as well.
If I understand you correctly, I think this would be an extremely welcome change.
For example, I
|
By
Marti Bolivar <marti@...>
·
#1133
·
|
|
Re: Add custom target to flash images signed for use with mcuboot
Hi Phil,
Here's what we are using in our project (using nRF52832):
add_custom_target(load0)
add_custom_command(TARGET load0
COMMAND ../../../mcuboot/scripts/imgtool.py ARGS
sign
Hi Phil,
Here's what we are using in our project (using nRF52832):
add_custom_target(load0)
add_custom_command(TARGET load0
COMMAND ../../../mcuboot/scripts/imgtool.py ARGS
sign
|
By
Thiago Silveira
·
#1132
·
|
|
Re: How to add post build step after linking zephyr.hexhe
Hi,
so,
add_custom_command(TARGET app
POST_BUILD
COMMAND
pwd
)
doesn't work because you want to run the command after the elf target is finished, not the app.
So you want to
Hi,
so,
add_custom_command(TARGET app
POST_BUILD
COMMAND
pwd
)
doesn't work because you want to run the command after the elf target is finished, not the app.
So you want to
|
By
Bøe, Sebastian <Sebastian.Boe@...>
·
#1131
·
|
|
Add custom target to flash images signed for use with mcuboot
Hi everybody,
I want to add a custom target in my application's CMakeLists.txt that can be used to flash my zephyr image signed for use with mcuboot (let's call it signed.hex). I'm pretty sure this
Hi everybody,
I want to add a custom target in my application's CMakeLists.txt that can be used to flash my zephyr image signed for use with mcuboot (let's call it signed.hex). I'm pretty sure this
|
By
Phil Hipp
·
#1130
·
|