Martin Jäger
4e6f6c7365
Move thermal model parameters to DTS
2020-05-06 12:53:26 +02:00
Martin Jäger
ab504e3dfa
DC/DC and PWM switch configuration via DTS
...
As these settings are clearly hardware-specific, configuration was
moved from Kconfig (hidden symbols) to DTS. New bindings added.
2020-05-06 12:53:26 +02:00
Martin Jäger
2d74a3a554
Mbed support removed
...
Rationale: The support for both Zephyr and Mbed made the code confusing,
especially because of many ifdefs.
Zephyr RTOS is the future!
2020-04-04 08:21:43 +02:00
Martin Jäger
0e918e6b2e
Add pwm-out DTS binding and fix CONFIG_PWM
...
The binding .yaml was forgotten in previous charge pump commit. CONFIG_PWM was
moved from prj.conf to board_defconfig as not all boards need the PWM driver.
2020-02-28 13:24:25 +01:00
Martin Jäger
2154a1cb72
Add charge-pump driver for HS load switch
2020-02-21 18:27:42 +01:00
Martin Jaeger
c4d4372953
Fix board files for Zephyr 2.2 compatibility
...
Warning: These changes break compatibility with previous v2.1.
2020-02-13 17:30:19 +01:00
Martin Jaeger
5f1d76ef74
Dedicated setup.cpp to clean up main.cpp
...
Also includes update of timestamp calculation in Zephyr.
2020-02-08 11:08:58 +01:00
Martin Jaeger
1b6a7f82d7
Zephyr: CAN support added
...
So far, only publishing messages are supported (no RX yet).
Logging is switched on again, but with minimal output only (suitable
for small F0 MCUs). CAN is activated by default for MPPT 2420 LC.
2020-01-30 16:54:58 +01:00
Martin Jaeger
e078b87553
Zephyr: MPPT 2420 LC board added
2020-01-29 11:03:09 +01:00
Martin Jaeger
c04081fc8a
Make Serial and OLED configurable via Kconfig
2020-01-28 12:13:54 +01:00
Martin Jaeger
05292c12ba
ADC & DMA renamed to DAQ (data acquisition)
2020-01-27 15:13:53 +01:00
Martin Jaeger
d5ea6b5653
Zephyr: Custom DTS binding for GPIO switch
...
Previously, the LED binding was abused. DTS is now much cleaner.
2020-01-18 15:56:57 +01:00
Martin Jaeger
a76b92c27b
time(NULL) replaced with uptime() in helper files
...
Reason: Zephyr does not support time(NULL). This way it is portable.
2020-01-16 20:04:37 +01:00
Martin Jaeger
632eb5a4f7
Zephyr: ADC HAL replaced with LL
2020-01-16 16:21:21 +01:00
Martin Jaeger
27bb53bbeb
Zephyr: ADC based on STM HAL working
2020-01-16 12:24:25 +01:00
Martin Jaeger
04f0d42970
Zephyr board names unified with mbed code
2020-01-07 09:38:10 +01:00
Martin Jaeger
90f4c9af00
ThingSet and OLED libs added as git submodules
2020-01-07 07:40:46 +01:00
Martin Jaeger
16ca793bb3
Port configuration based on Kconfig implemented
2020-01-06 19:16:44 +01:00
Martin Jaeger
dc270372af
OLED display integrated with Zephyr
...
- Some fixes in DTS and pinmux settings
- Supporting different I2C address definitions of mbed and zephyr
- Thread for ext_mgr added
2019-12-20 10:51:00 +01:00
Martin Jaeger
8c3c08df26
Removed broken mbed USB CDC libraries
2019-12-20 10:44:21 +01:00
Martin Jaeger
7633dc1d93
Zephyr: Clock setup fixed and LEDs implemented
2019-12-20 10:41:53 +01:00
Martin Jaeger
88148e70cb
Initial compiling Zephyr integration
2019-12-20 10:37:50 +01:00