Finish early Bonus:Paid to learn Zephyr Project RTOS on B-L475E-IOT01A

@tdwebste Are you looking for 5+ different sets of instructions, or do you want us to consolidate various experiences into one comprehensive document?

https://vanhack.ca/doku.php?id=hacks:zephyrproject

https://vanhack.ca/doku.php?id=hacks:boards:rtos:zephyr:windowsvm

https://vanhack.ca/doku.php?id=hacks:boards:rtos:zephyr:helloworld

https://vanhack.ca/doku.php?id=hacks:boards:rtos:zephyr:datalogging

If you were starting the project for the first time which would find easier
to learn from.
That is your answer.

openocd error:

Did anyone run across this error?
And how did you fix it?

Open On-Chip Debugger 0.10.0+dev-g0d772d4 (2017-10-19-10:23)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Error: The specified debug interface was not found (hla)
The following debug interfaces are available:

No, not this error; but the install & flashing was not error free.

1 Like

Hey - I’m going to pass on Zephyr for now. I’ll bring back the board for you Tim and will leave in the dropbox. Thanks!

Join the effort and enjoy
Rewards for finishing early.

  1. Finish Task 2 by next weekend 28th
    Each person including people joining the effort up to 10, receive a $20 starbucks card.

  2. Finish Task 2 by the following weekend Nov 4th
    Recieve 2 $20 starbuck cards to share among yourselves.

  3. Fail to complete Task Nov 11th
    hmm…

  4. Fail to complete Task Nov 25th
    Hand your B-L475E-IoT01A1 back.

Task 2 Detailed Explanation:

The task is to log data from the 5 different sensors on the Disco board. The current Zephyr code only has code to poll date from one sensor - HTS221. (Capacitive digital sensor for relative humidity and temperature)

Code for the other sensors on the Disco board have been implemented to work under Free RTOS at the following link:
https://my.st.com/content/my_st_com/en/products/embedded-software/mcus-embedded-software/stm32-embedded-software/stm32cube-embedded-software-expansion/x-cube-aws.html

The task is to port these sensors into Zephyr:
High-performance 3-axis magnetometer (LIS3MDL)
3D accelerometer and 3D gyroscope (LSM6DSL)
260-1260 hPa absolute digital output barometer (LPS22HB)
Time-of-Flight and gesture-detection sensor (VL53L0X)

Logging via serial through ST-link is probably the quickest and easiest way to complete the task once the sensor code is ported.

how to push changes to our zepher project fork and pull updates the zepher mainline project

The edit file approach:
In addition to other lines in the config file you should see these remote repositories.

cd zephyr/.git
cat config
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[remote “origin”]
url = GitHub - bitbangr/zephyr: Primary GIT Repository for the Zephyr Project
fetch = +refs/heads/:refs/remotes/origin/
[branch “master”]
remote = origin
merge = refs/heads/master
[gui]
wmstate = normal
geometry = 1099x491+55+14 219 227
[remote “zephyr”]
url = GitHub - zephyrproject-rtos/zephyr: Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
fetch = +refs/heads/:refs/remotes/zephyr/

Then follow these steps:
git checkout master
git pull zephyr
git config --global push.default simple
#return to your branch
git checkout v1.9.1

#to push changes to our VHS fork
git push origin v1.9.1

Curious about the Task 3) after Task 2)

  1. send sensor data over OTG USB
  2. Configure 2 UARTs to enable communication with an external module.
    Validate correct communication with a USB UART bridge.

Actually many of the sensors are already with the Zephry code under drivers/sensors.

The work required to port the sensors into Zephyr may be reduced.

Complete Task 2) and Task 3)
By WEDNESDAY receive $300 on top of other bonuses
By Friday receive $200
By next Friday $75

Task 3)

  1. send sensor data over OTG USB
  2. Configure 2 UARTs to enable communication with an external module.Validate correct communication with a USB UART bridge.

Hey! Thanks to Jake for helping getting this project going on Saturday, in a VMWare session.

-Bob

Yeah, as discussed, everything but VL53L0X is already present in the Zephyr drivers.

Information on Task 2 compiled here:
https://vanhack.ca/doku.php?id=hacks:boards:rtos:zephyr:datalogging

Hi Tim,
Can you give till Sat to complete tasks 2) & 3) as this week is really, really busy?
Thanks,
RK

I curve fit for the days between.

Fun exercise, you have 3 points
25 , 300
27, 200
31 +3, 75

calculate 28th :slight_smile:
I will accept a linear fit between the 27th and Nov 3rd

Ive found for VL53LOX:

Useful ref info for the LIS3MDL sensor,

https://www.robotgear.com.au/Product.aspx/Details/4492-LIS3MDL-3-Axis-Magnetometer-Carrier-with-Voltage-Regulator

I will see you all today at 3:00 to help out.

Take a look at the sample fxas21002
as starting point.

Hey Tim, et al. was just screwing around with my vm and IOT device, when I did a git pull.
It deleted all my makefiles everywhere and now nothing works, how do I recreate them?

Thanks
-Bob