Compare commits
No commits in common. "5208f1370dbed62adbf307a04072e48591481eff" and "2a2890b6757927b38e933a538a2d1d72ae197d8b" have entirely different histories.
5208f1370d
...
2a2890b675
|
|
@ -5,4 +5,4 @@ project(software)
|
||||||
add_subdirectory(modules/modbus_server)
|
add_subdirectory(modules/modbus_server)
|
||||||
add_subdirectory(modules/valve)
|
add_subdirectory(modules/valve)
|
||||||
add_subdirectory(modules/fwu)
|
add_subdirectory(modules/fwu)
|
||||||
add_subdirectory(apps/stm32g431_tests)
|
add_subdirectory(apps/hello_world)
|
||||||
|
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
||||||
# Disable UART console
|
|
||||||
CONFIG_UART_CONSOLE=n
|
|
||||||
|
|
||||||
# Enable RTT console
|
|
||||||
CONFIG_RTT_CONSOLE=y
|
|
||||||
CONFIG_USE_SEGGER_RTT=y
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
&usart1 {
|
|
||||||
modbus0 {
|
|
||||||
compatible = "zephyr,modbus-serial";
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
status = "okay";
|
|
||||||
pinctrl-0 = <&usart1_tx_pa9 &usart1_rx_pa10>;
|
|
||||||
pinctrl-names = "default";
|
|
||||||
};
|
|
||||||
|
|
@ -2,6 +2,13 @@
|
||||||
CONFIG_CONSOLE=y
|
CONFIG_CONSOLE=y
|
||||||
CONFIG_LOG=y
|
CONFIG_LOG=y
|
||||||
|
|
||||||
|
# Disable UART console
|
||||||
|
CONFIG_UART_CONSOLE=n
|
||||||
|
|
||||||
|
# Enable RTT console
|
||||||
|
CONFIG_RTT_CONSOLE=y
|
||||||
|
CONFIG_USE_SEGGER_RTT=y
|
||||||
|
|
||||||
# Enable Shell
|
# Enable Shell
|
||||||
CONFIG_SHELL=y
|
CONFIG_SHELL=y
|
||||||
CONFIG_SHELL_BACKEND_RTT=y
|
CONFIG_SHELL_BACKEND_RTT=y
|
||||||
|
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
||||||
cmake_minimum_required(VERSION 3.20)
|
|
||||||
|
|
||||||
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
|
|
||||||
project(stm32g431_tests)
|
|
||||||
|
|
||||||
target_sources(app PRIVATE src/main.c)
|
|
||||||
|
|
@ -1,4 +0,0 @@
|
||||||
|
|
||||||
CONFIG_CONSOLE=y
|
|
||||||
CONFIG_LOG=y
|
|
||||||
CONFIG_UART_CONSOLE=y
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
#include <zephyr/kernel.h>
|
|
||||||
#include <zephyr/sys/printk.h>
|
|
||||||
|
|
||||||
int main(void)
|
|
||||||
{
|
|
||||||
printk("Hello World! %s\n", CONFIG_BOARD);
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
Loading…
Reference in New Issue