How to change IP for MQTT Publisher sample for online kapua server
Hi, I am trying to connect the MQTT_Publisher via qemu to an online Kapua server. I managed to connect mqtt_pub to a localhost kapua server using the "zeth" interface "./net-setup.sh" I assume I need to change these 2 lines in prj.conf " CONFIG_NET_CONFIG_MY_IPV4_ADDR="192.0.2.1" CONFIG_NET_CONFIG_PEER_IPV4_ADDR="192.0.2.2" " If the kapua server is on "http://146.34.8.67:8080/" (altered ip) 1. How do I change my IP values? 2. I am currently compiling with "-- -DOVERLAY_CONFIG=overlay-e1000.conf". Do I need to change this? With thanks Brenton
|
|
API meeting: agenda
Carles Cufi
Hi all,
This week it will be Alexander who will drive the meeting since I am on holiday. Items for tomorrow: - Add GPIO voltage overrides - PR https://github.com/zephyrproject-rtos/zephyr/pull/36179 - QEP driver headers - PR https://github.com/zephyrproject-rtos/zephyr/pull/35574 Revisit: - Timed GPIO - PR https://github.com/zephyrproject-rtos/zephyr/pull/35587 - RS485 API - PR https://github.com/zephyrproject-rtos/zephyr/pull/35708 - Pinctrl - Issue: https://github.com/zephyrproject-rtos/zephyr/issues/22748 - Discussion: https://github.com/zephyrproject-rtos/zephyr/discussions/35077 - PR: https://github.com/zephyrproject-rtos/zephyr/pull/35847 - Usecase: https://github.com/zephyrproject-rtos/zephyr/issues/22748#issuecomment-852220856 If you have additional items please let me know. Teams link: https://teams.microsoft.com/l/meetup-join/19%3ameeting_NWU2MjZlYWEtZDcwMi00MWQzLTgwMjEtNDdkYjQwMjBjMmFj%40thread.v2/0?context=%7b%22Tid%22%3a%22af0096d9-700c-411a-b795-b3dd7122bad2%22%2c%22Oid%22%3a%22841a7c92-7816-4faf-9887-5e334e88f6d8%22%7d https://lists.zephyrproject.org/g/devel/calendar https://github.com/zephyrproject-rtos/zephyr/projects/18 Minutes: https://docs.google.com/document/d/1lv-8B5QE2m4FjBcvfqAXFIgQfW5oz6306zJ7GIZIWCk/edit# Regards, Carles
|
|
Event: Zephyr Project: Dev Meeting - 06/17/2021
#cal-reminder
devel@lists.zephyrproject.org Calendar <noreply@...>
Reminder: Zephyr Project: Dev Meeting When: Where: Organizer: devel@... An RSVP is requested. Click here to RSVP Description: ________________________________________________________________________________
+1 321-558-6518 United States, Orlando (Toll)
Conference ID: 483 314 739#
Local numbers | Reset PIN | Learn more about Teams | Meeting options
________________________________________________________________________________
|
|
Dev-Review Meeting Agenda June 17th
Kumar Gala
Today’s (Jun 17, 2021) topic will will focus on Flash Map API
toggle quoted messageShow quoted text
- k
On Jun 14, 2021, at 2:43 PM, Kumar Gala <kumar.gala@...> wrote:
|
|
Resolve warning of DT_INST_DMAS_LABEL_BY_NAME deprecated macro in zephyr 2.6.0
Srinivasan Tamilarasan
Hi, In our dma based serial driver code, I am using the DT_INST_DMAS_LABEL_BY_NAME() as given in below code snippet.
DT_INST_DMAS_LABEL_BY_NAME macro is deprecated in zephyr 2.6.0 release. I am trying to replace the DT_INST_DMAS_LABEL_BY_NAME macro to equal macro.
Option 1: I have tried that DT_INST_DMAS_LABEL_BY_NAME() with DEVICE_DT_GET(DT_DMAS_CTLR_BY_NAME(n,tx)). But it provided below build error,
Kindly let me know what is the right way to to avoid this waring.
Regards, Srinivasan
|
|
Event: Zephyr Project: APIs - 06/15/2021
#cal-reminder
devel@lists.zephyrproject.org Calendar <noreply@...>
Reminder: Zephyr Project: APIs When: Where: Organizer: devel@... An RSVP is requested. Click here to RSVP Description: Meeting decisions/discussions in their respective PRs, tracked here: https://github.com/zephyrproject-rtos/zephyr/projects/18 ________________________________________________________________________________
+1 321-558-6518 United States, Orlando (Toll)
Conference ID: 317 990 129#
Local numbers | Reset PIN | Learn more about Teams | Meeting options
________________________________________________________________________________
|
|
Re: [DEV REVIEW] Topic - Flash Map API
Bolivar, Marti
I'll be there.
toggle quoted messageShow quoted text
Kumar Gala <kumar.gala@...> writes:
All,
|
|
API meeting: agenda
Carles Cufi
Hi all,
Agenda for today. - Devicetree API to stable - PR: https://github.com/zephyrproject-rtos/zephyr/pull/36182 - syscon API - PR https://github.com/zephyrproject-rtos/zephyr/pull/35903 - Timed GPIO - PR https://github.com/zephyrproject-rtos/zephyr/pull/35587 - RS485 API - PR https://github.com/zephyrproject-rtos/zephyr/pull/35708 - Pinctrl - Issue: https://github.com/zephyrproject-rtos/zephyr/issues/22748 - Discussion: https://github.com/zephyrproject-rtos/zephyr/discussions/35077 - PR: https://github.com/zephyrproject-rtos/zephyr/pull/35847 - Usecase: https://github.com/zephyrproject-rtos/zephyr/issues/22748#issuecomment-852220856 If you have additional items please let me know. Teams link: https://teams.microsoft.com/l/meetup-join/19%3ameeting_NWU2MjZlYWEtZDcwMi00MWQzLTgwMjEtNDdkYjQwMjBjMmFj%40thread.v2/0?context=%7b%22Tid%22%3a%22af0096d9-700c-411a-b795-b3dd7122bad2%22%2c%22Oid%22%3a%22841a7c92-7816-4faf-9887-5e334e88f6d8%22%7d https://lists.zephyrproject.org/g/devel/calendar https://github.com/zephyrproject-rtos/zephyr/projects/18 Minutes: https://docs.google.com/document/d/1lv-8B5QE2m4FjBcvfqAXFIgQfW5oz6306zJ7GIZIWCk/edit# Regards, Carles
|
|
[DEV REVIEW] Topic - Flash Map API
Kumar Gala
All,
I was hoping to confirm that you’d be able to join this week’s Dev-review meeting as one of the Agenda topic items will be the Flash Map API: RFC: API Change: Flash map: - https://github.com/zephyrproject-rtos/zephyr/issues/34706 RFC: Flash area changes: - https://github.com/zephyrproject-rtos/zephyr/pull/34530 storage: flash partition API: - https://github.com/zephyrproject-rtos/zephyr/pull/34494 I vaguely remember that part of the discussion focused on the implications for MCUboot and how we might cleanup the interface there. - k
|
|
Happening Now: Zephyr: Toolchain Working Group - 06/14/2021
#cal-notice
devel@lists.zephyrproject.org Calendar <noreply@...>
Zephyr: Toolchain Working Group When: Where: Organizer: Torsten Rasmussen Description: Live meeting minutes: https://docs.google.com/document/d/1IQKBK-GcJNZG0O9QArqYfvb6Huk5xHscN-XIGEZr-z8/edit#heading=h.x36xe8bnwr9r
________________________________________________________________________________
+1 321-558-6518 United States, Orlando (Toll)
Conference ID: 682 738 030#
Local numbers | Reset PIN | Learn more about Teams | Meeting options
|
|
Event: Zephyr: Toolchain Working Group - 06/14/2021
#cal-reminder
devel@lists.zephyrproject.org Calendar <noreply@...>
Reminder: Zephyr: Toolchain Working Group When: Where: Organizer: Torsten Rasmussen An RSVP is requested. Click here to RSVP Description: Live meeting minutes: https://docs.google.com/document/d/1IQKBK-GcJNZG0O9QArqYfvb6Huk5xHscN-XIGEZr-z8/edit#heading=h.x36xe8bnwr9r
________________________________________________________________________________
+1 321-558-6518 United States, Orlando (Toll)
Conference ID: 682 738 030#
Local numbers | Reset PIN | Learn more about Teams | Meeting options
|
|
how to support new touch screen sensor with integration to LVGL
Matias N.
Hi, I'm considering adding support for a touchscreen sensor (CST816, used in PineTime) and I would like to use LVGL as well. Right now LVGL expects touchscreen sensor to be exposed via KSCAN API, however this impedes supporting the touchpad's gesture detection. I found some old messages in the list proposing a touch API but it was then recommended to use the sensor API. This is indeed possible but it would require extending LVGL integration layer (besides adding some standard channel types for gestures and taps, etc). What is preferable at this point? Best, Matias
|
|
Making devicetree.h a stable API
Bolivar, Marti
Pull request 36182 has been submitted marking devicetree.h stable:
https://github.com/zephyrproject-rtos/zephyr/pull/36182 This email is a notification about that as required by the API stabilization process which is documented here: https://docs.zephyrproject.org/latest/reference/api/api_lifecycle.html#stable Any feedback should be submitted to the PR. Thanks, Martí
|
|
Which IDE use for hifive1_revb+zephyr
jesse stone <fatalfeel@...>
https://docs.zephyrproject.org/latest/boards/riscv/hifive1_revb/doc/index.html I want to use zephyr on hifive1_revb Which Ide is recommend?
|
|
stm32: PWM: Default all "st,prescaler" pwm property to 0
Erwan Gouriou
Hi all, I'd like to inform STM32 PWM users that I'm pushing a change [1] to harmonize the default value of property "st,prescaler" to 0 for all pwm nodes on all (STM32) SoCs. Benefit is to solve the current situation where default value is 0 or 10000 depending on the node and ease boards porting and application development. This change will be hopefully integrated in the next Zephyr DV that will be released in October. If you're relying on current '10000' default value, one way to avoid any surprise in a future rebase is to take it into account already today and overwriting your pwm nodes in board description or overlays with value 10000: &timers1 {
}; Cheers Erwan
|
|
Re: How to add username and password to MQTT_Publisher
Lubos, Robert
Hi Brenton,
Generally your approach is correct to set the username/password in the `client_init()` function of the sample, but please note that these fields are not plain C strings but rather `struct mqtt_utf8` pointers. So for instance for username
you should create username struct (note the `size` parameter does count the NULL terminator) : .utf8 = "kapua-password", .size = sizeof("kapua-password") - 1 };
And then use it in the `client_init()`: client->user_name = &username;
The same applies to the password field.
Regards, Robert
From: devel@... <devel@...>
On Behalf Of Brenton Chetty via lists.zephyrproject.org
Hi, I am trying to get "mqtt_publisher" working with Eclipse Kapua using "qemu_x86". I managed to get mqtt_publisher working with a simple mosquitto client, however I cannot connect to Kapua because I need to add a username and password.
How do I add username/password to the publisher? I already tried directly inputting the values in "client_init" (client->password = "kapua-password";) Using wireshark, it shows that the username and password flag has not been set.
With thanks Brenton
|
|
How to add username and password to MQTT_Publisher
Brenton Chetty <brent7984@...>
Hi, I am trying to get "mqtt_publisher" working with Eclipse Kapua using "qemu_x86". I managed to get mqtt_publisher working with a simple mosquitto client, however I cannot connect to Kapua because I need to add a username and password. How do I add username/password to the publisher? I already tried directly inputting the values in "client_init" (client->password = "kapua-password";) Using wireshark, it shows that the username and password flag has not been set. With thanks Brenton
|
|
Event: Zephyr Memory Footprint - biweekly discussion - 06/07/2021
#cal-reminder
devel@lists.zephyrproject.org Calendar <noreply@...>
Reminder: Zephyr Memory Footprint - biweekly discussion When: Where: Organizer: devel@... An RSVP is requested. Click here to RSVP Description: ______________________________
Microsoft Teams meeting
Join on your computer or mobile app
Click here to join the meetingOr call in (audio only)
+1 321-558-6518,,546018126# United States, Orlando
______________________________
|
|
Zephyr 2.6.0 released, merge window is now open.
Kumar Gala
Hi,
We are pleased to announce the release of Zephyr RTOS version 2.6.0! Major enhancements with this release include: Major enhancements with this release include: * Logging subsystem overhauled * Added support for 64-bit ARCv3 * Split ARM32 and ARM64, ARM64 is now a top-level architecture * Added initial support for Arm v8.1-m and Cortex-M55 * Removed legacy TCP stack support which was deprecated in 2.4 * Tracing subsystem overhaul including expansion for tracing points and added support for Percepio Tracealyzer * Device runtime power management (PM), former IDLE runtime, was completely overhauled. * Added an example standalone Zephyr application in its own Git repository: https://github.com/zephyrproject-rtos/example-application The detailed release notes can be found here: https://github.com/zephyrproject-rtos/zephyr/releases/tag/zephyr-v2.6.0 The next release, v2.7.0, is scheduled for October 15th, 2021. We’ll select a release manager in the next few days. The merge window is now open! Please remember for older PRs a rebase might be good to double check any new CI issues!!! Thank you to everyone that contributed features, documentation, testing, infrastructure, and bug fixes! - Kumar
|
|
Re: Configuring Incomplete
Carles Cufi
Hi there,
It looks like you are missing the Devicetree compiler (dtc.exe). Make sure you install it via chocolatey or otherwise.
Carles
From: devel@... <devel@...>
On Behalf Of Josh Myatt via lists.zephyrproject.org
Hi,
I'm trying to set up Zephyr for a Nordic nRF52833. However, when I attempt to build blinky for the board, I am met with a "Configuring Incomplete, errors occurred!" message. Looking further into the message, it says that "CMake Error at C:/Users/<myUsername>/zephyrproject/zephyr/cmake/dts.cmake:157 (message): command failed with return code: The system cannot find the file specified"
I'm not sure how to fix this error. I have already deleted and reinstalled everything once. Any help would be appreciated.
Thanks
|
|