Commit 88eabcc9 authored by Clément Foucher's avatar 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
......@@ -18,7 +18,7 @@ boards_dir = zephyr/boards
framework = zephyr
platform = ststm32@14.2.0
platform = ststm32@15.2.0
# Serial monitor baud rate
monitor_speed = 115200
......
......@@ -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
......
......@@ -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);
}
......
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment