Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OwnTech
Power API
Core
Commits
88eabcc9
Commit
88eabcc9
authored
Feb 18, 2022
by
Clément Foucher
Browse files
Bump STSTM32 to V 15.2 to update Zephyr to 2.7.
Update NGND drive to use new Zephyr GPIO API.
parent
7a02c5f6
Changes
4
Hide whitespace changes
Inline
Side-by-side
platformio.ini
View file @
88eabcc9
...
...
@@ -18,7 +18,7 @@ boards_dir = zephyr/boards
framework
=
zephyr
platform
=
ststm32@1
4
.2.0
platform
=
ststm32@1
5
.2.0
# Serial monitor baud rate
monitor_speed
=
115200
...
...
zephyr/modules/owntech_hrtim_driver/zephyr/src/voltage_mode/hrtim_voltage_mode.h
View file @
88eabcc9
...
...
@@ -37,7 +37,7 @@
#include <stdint.h>
#include <limits.h>
#include <pinmux/
stm32/
pinmux_stm32.h>
#include <pinmux/pinmux_stm32.h>
#include "hrtim.h"
...
...
@@ -336,7 +336,7 @@ typedef enum {
* @param[inout] freq HRTIM frequency in Hz
* @param[in] dt Desired dead time in ns
* @param[in] leg1_upper_switch_convention Choice of the switch convention for leg 1
* @param[in] leg2_upper_switch_convention Choice of the switch convention for leg 2
* @param[in] leg2_upper_switch_convention Choice of the switch convention for leg 2
*
* @return actual HRTIM resolution on success
* @return 0 on error
...
...
zephyr/modules/owntech_ngnd_driver/zephyr/src/owntech_ngnd_driver.c
View file @
88eabcc9
...
...
@@ -60,7 +60,7 @@ void ngnd_set(const struct device* dev, int value)
{
struct
owntech_ngnd_driver_dev_data
*
data
=
dev
->
data
;
gpio_pin_set
(
data
->
ngnd_pin_spec
.
port
,
data
->
ngnd_pin_spec
.
pin
,
value
);
gpio_pin_set
_dt
(
&
data
->
ngnd_pin_spec
,
value
);
}
...
...
zephyr/prj.conf
View file @
88eabcc9
...
...
@@ -6,9 +6,6 @@ CONFIG_CPLUSPLUS=y
CONFIG_NEWLIB_LIBC
=
y
CONFIG_NEWLIB_LIBC_FLOAT_PRINTF
=
y
# Newlib-nano seems to clash with Newlib when float printf is enabled
# (duplicate symbols found when compiling). Disable it.
CONFIG_NEWLIB_LIBC_NANO
=
n
CONFIG_CMSIS_DSP
=
y
CONFIG_CMSIS_DSP_CONTROLLER
=
y
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment