Revert "refactor: добавил к инклюдам free_rtos/ для избежания конфликтов имен в коде, который будет использовать данную библиотеку"

This reverts commit 84d5c65cc3.
This commit is contained in:
Laputin Evgeny 2023-06-26 15:58:31 +00:00
parent 84d5c65cc3
commit c1f7cb6df4
52 changed files with 148 additions and 149 deletions

View File

@ -4,7 +4,7 @@
* Created on: 13 ìàð. 2023 ã.
* Author: sychev
*/
#include "free_rtos/clock/clock.hpp"
#include "clock/clock.hpp"
bool free_rtos::Clock::init(uint32_t period_ms, Callback cbk, void * arg)
{

View File

@ -4,9 +4,9 @@
* Created on: 9 <EFBFBD><EFBFBD><EFBFBD>. 2023 <EFBFBD>.
* Author: sychev
*/
#include "free_rtos/ethernet/eth.hpp"
#include "free_rtos/ethernet/eth_vlan.h"
#include "free_rtos/ethernet/eth_ioctl.h"
#include "ethernet/eth.hpp"
#include "ethernet/eth_vlan.h"
#include "ethernet/eth_ioctl.h"
#include <networking/enet/core/include/core/enet_ioctl.h>
#include <kernel/dpl/DebugP.h>

View File

@ -8,13 +8,13 @@
#ifndef FREE_RTOS_ETHERNET_ETH_HPP_
#define FREE_RTOS_ETHERNET_ETH_HPP_
#include "free_rtos/ethernet/eth_task_settings.hpp"
#include "free_rtos/ethernet/eth_rx_flow.hpp"
#include "free_rtos/ethernet/eth_tx_flow.hpp"
#include "ethernet/eth_task_settings.hpp"
#include "ethernet/eth_rx_flow.hpp"
#include "ethernet/eth_tx_flow.hpp"
#include "free_rtos/semaphore/semaphore.hpp"
#include "free_rtos/ethernet/eth_frame.h"
#include "free_rtos/task/task.hpp"
#include "semaphore/semaphore.hpp"
#include "ethernet/eth_frame.h"
#include "task/task.hpp"
#include <networking/enet/core/include/core/enet_per.h>
#include <networking/enet/utils/include/enet_apputils.h>
@ -22,9 +22,9 @@
#include <cstdint>
#include <string>
#include "free_rtos/ethernet/eth_types.h"
#include "ethernet/eth_types.h"
#include "free_rtos/ethernet_ip/eth_stack.hpp"
#include "ethernet_ip/eth_stack.hpp"
namespace free_rtos {

View File

@ -4,7 +4,7 @@
* Created on: 10 ìàð. 2023 ã.
* Author: sychev
*/
#include "free_rtos/ethernet/eth_ioctl.h"
#include "ethernet/eth_ioctl.h"
#include <networking/enet/core/include/per/icssg.h>

View File

@ -4,7 +4,7 @@
* Created on: 7 <EFBFBD><EFBFBD><EFBFBD>. 2023 <EFBFBD>.
* Author: sychev
*/
#include "free_rtos/ethernet/eth_rx_flow.hpp"
#include "ethernet/eth_rx_flow.hpp"
#include <networking/enet/core/include/core/enet_soc.h>
#include <networking/enet/core/include/core/enet_queue.h>

View File

@ -11,13 +11,13 @@
#include <cstdint>
#include <networking/enet/core/include/dma/udma/enet_udma.h>
#include "free_rtos/handler_store/handler_store.hpp"
#include "free_rtos/semaphore/semaphore.hpp"
#include "free_rtos/task/task.hpp"
#include "handler_store/handler_store.hpp"
#include "semaphore/semaphore.hpp"
#include "task/task.hpp"
#include "free_rtos/ethernet/eth_task_settings.hpp"
#include "free_rtos/ethernet/eth_frame.h"
#include "free_rtos/ethernet_ip/eth_stack_iface.hpp"
#include "ethernet/eth_task_settings.hpp"
#include "ethernet/eth_frame.h"
#include "ethernet_ip/eth_stack_iface.hpp"
namespace free_rtos {

View File

@ -10,7 +10,7 @@
#include <cstdint>
#include "free_rtos/task/task.hpp"
#include "task/task.hpp"
namespace free_rtos {
static constexpr uint32_t RX_TASK_PRIORITY = Task::TaskPriorityHiest - 2;

View File

@ -4,7 +4,7 @@
* Created on: 7 <EFBFBD><EFBFBD><EFBFBD>. 2023 <EFBFBD>.
* Author: sychev
*/
#include "free_rtos/ethernet/eth_tx_flow.hpp"
#include "ethernet/eth_tx_flow.hpp"
#include <cstring>

View File

@ -11,8 +11,8 @@
#include <cstdint>
#include <networking/enet/core/include/core/enet_dma.h>
#include "free_rtos/ethernet/eth_tx_flow_iface.hpp"
#include "free_rtos/handler_store/handler_store.hpp"
#include "ethernet/eth_tx_flow_iface.hpp"
#include "handler_store/handler_store.hpp"
namespace free_rtos {

View File

@ -9,8 +9,8 @@
#define FREE_RTOS_ETHERNET_ETH_TX_FLOW_IFACE_HPP_
#include <cstdint>
#include "free_rtos/ethernet/eth_types.h"
#include "free_rtos/handler_store/handler_store.hpp"
#include "ethernet/eth_types.h"
#include "handler_store/handler_store.hpp"
class EthTxFlowIface {
public:

View File

@ -4,7 +4,7 @@
* Created on: 9 ìàð. 2023 ã.
* Author: sychev
*/
#include "free_rtos/ethernet/eth_vlan.h"
#include "ethernet/eth_vlan.h"
#include <networking/enet/utils/include/enet_apputils.h>
#include <networking/enet/core/include/core/enet_ioctl.h>

View File

@ -8,7 +8,7 @@
#ifndef FREE_RTOS_ETHERNET_ETH_VLAN_HPP_
#define FREE_RTOS_ETHERNET_ETH_VLAN_HPP_
//#include "free_rtos/semaphore/semaphore.hpp"
//#include "semaphore/semaphore.hpp"
#include <networking/enet/core/include/core/enet_base.h>
//#include <networking/enet/core/include/per/icssg.h>

View File

@ -5,7 +5,7 @@
* Author: algin
*/
#include "free_rtos/ethernet_industry/CoE/eth_ecat_pdo_fmmu.hpp"
#include "ethernet_industry/CoE/eth_ecat_pdo_fmmu.hpp"
#include <algorithm>

View File

@ -8,11 +8,11 @@
#ifndef FREE_RTOS_ETHERNET_INDUSTRY_COE_ETH_ECAT_PDO_FMMU_HPP_
#define FREE_RTOS_ETHERNET_INDUSTRY_COE_ETH_ECAT_PDO_FMMU_HPP_
#include "free_rtos/semaphore/semaphore.hpp"
#include "free_rtos/mutex/mutex.hpp"
#include "semaphore/semaphore.hpp"
#include "mutex/mutex.hpp"
#include "free_rtos/ethernet_industry/eth_ecat_buffer.hpp"
#include "free_rtos/ethernet_industry/eth_ecat_custom_promise.hpp"
#include "ethernet_industry/eth_ecat_buffer.hpp"
#include "ethernet_industry/eth_ecat_custom_promise.hpp"
namespace free_rtos {

View File

@ -5,7 +5,7 @@
* Author: algin
*/
#include "free_rtos/ethernet_industry/CoE/eth_ecat_sdo_mailbox.hpp"
#include "ethernet_industry/CoE/eth_ecat_sdo_mailbox.hpp"
namespace free_rtos {

View File

@ -8,7 +8,7 @@
#ifndef FREE_RTOS_ETHERNET_INDUSTRY_COE_ETH_ECAT_SDO_MAILBOX_HPP_
#define FREE_RTOS_ETHERNET_INDUSTRY_COE_ETH_ECAT_SDO_MAILBOX_HPP_
#include "free_rtos/ethernet_industry/eth_ecat_buffer.hpp"
#include "ethernet_industry/eth_ecat_buffer.hpp"
namespace free_rtos {

View File

@ -5,7 +5,7 @@
* Author: sychev
*/
#include "free_rtos/ethernet_industry/eth_ecat.hpp"
#include "ethernet_industry/eth_ecat.hpp"
#include <cstring>
#include <kernel/dpl/ClockP.h>

View File

@ -12,19 +12,19 @@
#include <utility>
#include <kernel/dpl/ClockP.h>
#include "free_rtos/handler_store/handler.hpp"
#include "free_rtos/ethernet/eth_frame.h"
#include "free_rtos/timer/timer.hpp"
#include "free_rtos/mutex/mutex.hpp"
#include "free_rtos/semaphore/semaphore.hpp"
#include "handler_store/handler.hpp"
#include "ethernet/eth_frame.h"
#include "timer/timer.hpp"
#include "mutex/mutex.hpp"
#include "semaphore/semaphore.hpp"
#include "free_rtos/ethernet/eth.hpp"
#include "free_rtos/ethernet_industry/ethercattype.hpp"
#include "free_rtos/ethernet_industry/eth_ecat_types.h"
#include "free_rtos/ethernet_industry/eth_ecat_command.hpp"
#include "free_rtos/ethernet_industry/eth_ecat_datagram.hpp"
#include "free_rtos/ethernet_industry/eth_ecat_telegram.hpp"
#include "free_rtos/ethernet_industry/eth_ecat_eeprom.hpp"
#include "ethernet/eth.hpp"
#include "ethernet_industry/ethercattype.hpp"
#include "ethernet_industry/eth_ecat_types.h"
#include "ethernet_industry/eth_ecat_command.hpp"
#include "ethernet_industry/eth_ecat_datagram.hpp"
#include "ethernet_industry/eth_ecat_telegram.hpp"
#include "ethernet_industry/eth_ecat_eeprom.hpp"
namespace free_rtos {

View File

@ -5,7 +5,7 @@
* Author: algin
*/
#include "free_rtos/ethernet_industry/eth_ecat_api.hpp"
#include "ethernet_industry/eth_ecat_api.hpp"
namespace free_rtos {

View File

@ -11,11 +11,11 @@
#define COMX 1
#define PROCESS_FAKE 1
#include "free_rtos/ethernet/eth.hpp"
#include "free_rtos/ethernet_industry/eth_ecat.hpp"
#include "free_rtos/ethernet_industry/eth_ecat_buffer.hpp"
#include "free_rtos/ethernet_industry/CoE/eth_ecat_sdo_mailbox.hpp"
#include "free_rtos/ethernet_industry/CoE/eth_ecat_pdo_fmmu.hpp"
#include "ethernet/eth.hpp"
#include "ethernet_industry/eth_ecat.hpp"
#include "ethernet_industry/eth_ecat_buffer.hpp"
#include "ethernet_industry/CoE/eth_ecat_sdo_mailbox.hpp"
#include "ethernet_industry/CoE/eth_ecat_pdo_fmmu.hpp"
namespace free_rtos {

View File

@ -5,7 +5,7 @@
* Author: algin
*/
#include "free_rtos/ethernet_industry/eth_ecat_buffer.hpp"
#include "ethernet_industry/eth_ecat_buffer.hpp"
namespace free_rtos {

View File

@ -12,7 +12,7 @@
#include <map>
#include <kernel/dpl/ClockP.h>
#include "free_rtos/ethernet_industry/eth_ecat.hpp"
#include "ethernet_industry/eth_ecat.hpp"
namespace free_rtos {

View File

@ -12,10 +12,10 @@
#include <array>
#include <type_traits>
#include "free_rtos/ethernet_industry/ethercattype.hpp"
#include "free_rtos/ethernet_industry/eth_ecat_types.h"
#include "free_rtos/ethernet_industry/eth_ecat_custom_tuple.hpp"
#include "free_rtos/ethernet_industry/eth_ecat_packer.hpp"
#include "ethernet_industry/ethercattype.hpp"
#include "ethernet_industry/eth_ecat_types.h"
#include "ethernet_industry/eth_ecat_custom_tuple.hpp"
#include "ethernet_industry/eth_ecat_packer.hpp"
namespace free_rtos {

View File

@ -10,13 +10,13 @@
#include <cstdint>
#include "free_rtos/semaphore/semaphore.hpp"
#include "semaphore/semaphore.hpp"
#include "free_rtos/ethernet_industry/eth_ecat_queue.hpp"
#include "free_rtos/ethernet_industry/eth_ecat_datagram.hpp"
#include "free_rtos/ethernet_industry/eth_ecat_command.hpp"
#include "free_rtos/ethernet_industry/eth_ecat_custom_tuple.hpp"
#include "free_rtos/ethernet_industry/eth_ecat_packer.hpp"
#include "ethernet_industry/eth_ecat_queue.hpp"
#include "ethernet_industry/eth_ecat_datagram.hpp"
#include "ethernet_industry/eth_ecat_command.hpp"
#include "ethernet_industry/eth_ecat_custom_tuple.hpp"
#include "ethernet_industry/eth_ecat_packer.hpp"
namespace free_rtos {

View File

@ -10,12 +10,12 @@
#include <cstdint>
#include "free_rtos/ethernet_industry/ethercattype.hpp"
#include "free_rtos/ethernet_industry/eth_ecat_types.h"
#include "free_rtos/ethernet_industry/eth_ecat_queue.hpp"
#include "free_rtos/ethernet_industry/eth_ecat_custom_tuple.hpp"
#include "free_rtos/ethernet_industry/eth_ecat_packer.hpp"
#include "free_rtos/ethernet_industry/eth_ecat_command.hpp"
#include "ethernet_industry/ethercattype.hpp"
#include "ethernet_industry/eth_ecat_types.h"
#include "ethernet_industry/eth_ecat_queue.hpp"
#include "ethernet_industry/eth_ecat_custom_tuple.hpp"
#include "ethernet_industry/eth_ecat_packer.hpp"
#include "ethernet_industry/eth_ecat_command.hpp"
namespace free_rtos {

View File

@ -10,8 +10,8 @@
#include <kernel/dpl/ClockP.h>
#include <free_rtos/ethernet_industry/eth_ecat_datagram.hpp>
#include "free_rtos/ethernet_industry/eth_ecat_telegram.hpp"
#include <ethernet_industry/eth_ecat_datagram.hpp>
#include "ethernet_industry/eth_ecat_telegram.hpp"
namespace free_rtos {

View File

@ -5,7 +5,7 @@
* Author: algin
*/
#include "free_rtos/ethernet_industry/eth_ecat_telegram.hpp"
#include "ethernet_industry/eth_ecat_telegram.hpp"
namespace free_rtos {
@ -42,7 +42,7 @@ uint8_t* EcatTelegram::pack(uint8_t *raw) {
TEthFrameHeader *p_eth_hdr = new(raw) TEthFrameHeader{ {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF},
{0x01, 0x01, 0x01, 0x01, 0x01, 0x01},
ETH_PROT_ECAT_LE };
TEcatFrameHeader *p_hdr = new(raw + sizeof(TEthFrameHeader)) TEcatFrameHeader{ .bits = { .length = 0,
TEcatFrameHeader *p_hdr = new(raw + sizeof(TEthFrameHeader)) TEcatFrameHeader{ .bits{ .length = 0,
.type = static_cast<uint16_t>(ec_network::PROTOCOL_TYPE) } };
uint8_t *p_datagram_first = raw + sizeof(TEthFrameHeader) + sizeof(TEcatFrameHeader);
uint8_t *p_datagram_last = p_datagram_first;

View File

@ -8,9 +8,9 @@
#ifndef FREE_RTOS_ETHERNET_INDUSTRY_ETH_ECAT_TELEGRAM_HPP_
#define FREE_RTOS_ETHERNET_INDUSTRY_ETH_ECAT_TELEGRAM_HPP_
#include "free_rtos/ethernet/eth.hpp"
#include "ethernet/eth.hpp"
#include "free_rtos/ethernet_industry/eth_ecat_datagram.hpp"
#include "ethernet_industry/eth_ecat_datagram.hpp"
namespace free_rtos {

View File

@ -4,10 +4,10 @@
* Created on: 13 <EFBFBD><EFBFBD><EFBFBD>. 2023 <EFBFBD>.
* Author: sychev
*/
#include "free_rtos/ethernet_ip/eth_arp.hpp"
#include "free_rtos/ethernet/eth_frame.h"
#include "free_rtos/ethernet_ip/eth_prots_id.h"
#include "free_rtos/ethernet_ip/eth_ip_types.h"
#include "ethernet_ip/eth_arp.hpp"
#include "ethernet/eth_frame.h"
#include "ethernet_ip/eth_prots_id.h"
#include "ethernet_ip/eth_ip_types.h"
#include <cstring>

View File

@ -10,11 +10,11 @@
#include <map>
#include <cstdint>
#include "free_rtos/ethernet_ip/eth_arp_iface.hpp"
#include "free_rtos/ethernet_ip/eth_stack_iface.hpp"
#include "free_rtos/handler_store/handler.hpp"
#include "free_rtos/clock/clock.hpp"
#include "free_rtos/timer_sw/timer_sw.hpp"
#include "ethernet_ip/eth_arp_iface.hpp"
#include "ethernet_ip/eth_stack_iface.hpp"
#include "handler_store/handler.hpp"
#include "clock/clock.hpp"
#include "timer_sw/timer_sw.hpp"
namespace free_rtos {

View File

@ -4,7 +4,7 @@
* Created on: 13 ìàð. 2023 ã.
* Author: sychev
*/
#include "free_rtos/ethernet_ip/eth_checksum.h"
#include "ethernet_ip/eth_checksum.h"
uint16_t eth_calcChksum(uint32_t sum, uint8_t * const data, uint16_t len)
{

View File

@ -4,10 +4,10 @@
* Created on: 14 <EFBFBD><EFBFBD><EFBFBD>. 2023 <EFBFBD>.
* Author: sychev
*/
#include "free_rtos/ethernet_ip/eth_icmp.hpp"
#include "free_rtos/ethernet_ip/eth_icmp_types.h"
#include "free_rtos/ethernet_ip/eth_ip_checksum.h"
#include "free_rtos/base/swap.h"
#include "ethernet_ip/eth_icmp.hpp"
#include "ethernet_ip/eth_icmp_types.h"
#include "ethernet_ip/eth_ip_checksum.h"
#include "base/swap.h"
int32_t free_rtos::EthIcmp::Process(uint8_t * p_data, uint32_t len)
{

View File

@ -8,7 +8,7 @@
#ifndef FREE_RTOS_ETHERNET_IP_ETH_ICMP_HPP_
#define FREE_RTOS_ETHERNET_IP_ETH_ICMP_HPP_
#include "free_rtos/handler_store/handler.hpp"
#include "handler_store/handler.hpp"
#include <cstdint>
#include <cstddef>

View File

@ -4,12 +4,12 @@
* Created on: 13 <EFBFBD><EFBFBD><EFBFBD>. 2023 <EFBFBD>.
* Author: sychev
*/
#include "free_rtos/ethernet_ip/eth_ip.hpp"
#include "free_rtos/ethernet_ip/eth_ip_types.h"
#include "free_rtos/ethernet_ip/eth_checksum.h"
#include "ethernet_ip/eth_ip.hpp"
#include "ethernet_ip/eth_ip_types.h"
#include "ethernet_ip/eth_checksum.h"
#include "free_rtos/ethernet/eth_frame.h"
#include "free_rtos/base/swap.h"
#include "ethernet/eth_frame.h"
#include "base/swap.h"
#include <cstring>

View File

@ -8,11 +8,11 @@
#ifndef FREE_RTOS_ETHERNET_IP_ETH_IP_HPP_
#define FREE_RTOS_ETHERNET_IP_ETH_IP_HPP_
#include "free_rtos/handler_store/handler_store.hpp"
#include "free_rtos/ethernet_ip/eth_stack_iface.hpp"
#include "free_rtos/ethernet/eth_frame.h"
#include "free_rtos/ethernet_ip/eth_arp_iface.hpp"
#include "free_rtos/ethernet_ip/eth_ip_iface.hpp"
#include "handler_store/handler_store.hpp"
#include "ethernet_ip/eth_stack_iface.hpp"
#include "ethernet/eth_frame.h"
#include "ethernet_ip/eth_arp_iface.hpp"
#include "ethernet_ip/eth_ip_iface.hpp"
#include <cstdint>

View File

@ -5,7 +5,7 @@
* Author: sychev
*/
#include "eth_ip_checksum.h"
#include "free_rtos/base/swap.h"
#include "base/swap.h"
uint16_t eth_ip_calcChecksum(uint16_t * const data, uint32_t length)
{

View File

@ -9,8 +9,8 @@
#define FREE_RTOS_ETHERNET_IP_ETH_IP_IFACE_HPP_
#include <cstdint>
#include "free_rtos/ethernet/eth_types.h"
#include "free_rtos/ethernet/eth_frame.h"
#include "ethernet/eth_types.h"
#include "ethernet/eth_frame.h"
class EthIpIface {
public:

View File

@ -4,11 +4,11 @@
* Created on: 14 <EFBFBD><EFBFBD><EFBFBD>. 2023 <EFBFBD>.
* Author: sychev
*/
#include "free_rtos/ethernet_ip/eth_stack.hpp"
#include "free_rtos/ethernet_ip/eth_prots_id.h"
#include "free_rtos/ethernet/eth_frame.h"
#include "ethernet_ip/eth_stack.hpp"
#include "ethernet_ip/eth_prots_id.h"
#include "ethernet/eth_frame.h"
#include "free_rtos/ethernet_ip/eth_ip_prots_id.h"
#include "ethernet_ip/eth_ip_prots_id.h"
#include <cstring>

View File

@ -8,17 +8,17 @@
#ifndef FREE_RTOS_ETHERNET_IP_ETH_STACK_HPP_
#define FREE_RTOS_ETHERNET_IP_ETH_STACK_HPP_
#include "free_rtos/ethernet_ip/eth_arp.hpp"
#include "free_rtos/ethernet_ip/eth_ip.hpp"
#include "free_rtos/ethernet_ip/eth_icmp.hpp"
#include "free_rtos/ethernet_ip/eth_udp_server.hpp"
#include "ethernet_ip/eth_arp.hpp"
#include "ethernet_ip/eth_ip.hpp"
#include "ethernet_ip/eth_icmp.hpp"
#include "ethernet_ip/eth_udp_server.hpp"
#include "free_rtos/ethernet_ip/eth_stack_iface.hpp"
#include "free_rtos/handler_store/handler_store.hpp"
#include "ethernet_ip/eth_stack_iface.hpp"
#include "handler_store/handler_store.hpp"
#include "free_rtos/ethernet/eth_types.h"
#include "ethernet/eth_types.h"
#include "free_rtos/ethernet/eth_tx_flow_iface.hpp"
#include "ethernet/eth_tx_flow_iface.hpp"
namespace free_rtos {

View File

@ -9,9 +9,9 @@
#define FREE_RTOS_ETHERNET_IP_ETH_STACK_IFACE_HPP_
#include <cstdint>
#include "free_rtos/ethernet/eth_types.h"
#include "free_rtos/ethernet/eth_frame.h"
#include "free_rtos/handler_store/handler.hpp"
#include "ethernet/eth_types.h"
#include "ethernet/eth_frame.h"
#include "handler_store/handler.hpp"
class EthStackIface {
public:

View File

@ -4,12 +4,12 @@
* Created on: 15 ìàð. 2023 ã.
* Author: sychev
*/
#include "free_rtos/ethernet_ip/eth_udp_client.hpp"
#include "free_rtos/base/swap.h"
#include "free_rtos/ethernet_ip/eth_udp_types.h"
#include "free_rtos/ethernet_ip/eth_ip_types.h"
#include "free_rtos/ethernet_ip/eth_checksum.h"
#include "free_rtos/ethernet_ip/eth_ip_prots_id.h"
#include "ethernet_ip/eth_udp_client.hpp"
#include "base/swap.h"
#include "ethernet_ip/eth_udp_types.h"
#include "ethernet_ip/eth_ip_types.h"
#include "ethernet_ip/eth_checksum.h"
#include "ethernet_ip/eth_ip_prots_id.h"
#include <algorithm>
#include <cstring>

View File

@ -8,11 +8,11 @@
#ifndef FREE_RTOS_ETHERNET_IP_ETH_UDP_CLIENT_HPP_
#define FREE_RTOS_ETHERNET_IP_ETH_UDP_CLIENT_HPP_
#include "free_rtos/semaphore/semaphore.hpp"
#include "free_rtos/mutex/mutex.hpp"
#include "free_rtos/ethernet/eth_frame.h"
#include "free_rtos/ethernet_ip/eth_ip_iface.hpp"
#include "free_rtos/ethernet/eth_types.h"
#include "semaphore/semaphore.hpp"
#include "mutex/mutex.hpp"
#include "ethernet/eth_frame.h"
#include "ethernet_ip/eth_ip_iface.hpp"
#include "ethernet/eth_types.h"
#include <vector>
#include <cstdint>

View File

@ -4,10 +4,10 @@
* Created on: 15 <EFBFBD><EFBFBD><EFBFBD>. 2023 <EFBFBD>.
* Author: sychev
*/
#include "free_rtos/ethernet_ip/eth_udp_server.hpp"
#include "free_rtos/ethernet_ip/eth_udp_types.h"
#include "free_rtos/ethernet_ip/eth_ip_types.h"
#include "free_rtos/base/swap.h"
#include "ethernet_ip/eth_udp_server.hpp"
#include "ethernet_ip/eth_udp_types.h"
#include "ethernet_ip/eth_ip_types.h"
#include "base/swap.h"
free_rtos::EthUdpServer::EthUdpServer(EthIpIface& ip_iface) :

View File

@ -8,10 +8,10 @@
#ifndef FREE_RTOS_ETHERNET_IP_ETH_UDP_SERVER_HPP_
#define FREE_RTOS_ETHERNET_IP_ETH_UDP_SERVER_HPP_
#include "free_rtos/handler_store/handler_store.hpp"
#include "free_rtos/ethernet_ip/eth_udp_server_iface.hpp"
#include "free_rtos/ethernet_ip/eth_ip_iface.hpp"
#include "free_rtos/ethernet/eth_types.h"
#include "handler_store/handler_store.hpp"
#include "ethernet_ip/eth_udp_server_iface.hpp"
#include "ethernet_ip/eth_ip_iface.hpp"
#include "ethernet/eth_types.h"
#include <map>
namespace free_rtos {

View File

@ -8,7 +8,7 @@
#ifndef FREE_RTOS_ETHERNET_IP_ETH_UDP_SERVER_IFACE_HPP_
#define FREE_RTOS_ETHERNET_IP_ETH_UDP_SERVER_IFACE_HPP_
#include "free_rtos/ethernet_ip/eth_udp_client.hpp"
#include "ethernet_ip/eth_udp_client.hpp"
#include <memory>

View File

@ -5,7 +5,7 @@
* Author: sychev
*/
#include "free_rtos/gpio/gpio.hpp"
#include "gpio/gpio.hpp"
#include <drivers/gpio.h>
free_rtos::Gpio::Gpio(uint32_t num, Dir dir, uint32_t base_address) :

View File

@ -4,7 +4,7 @@
* Created on: 6 <EFBFBD><EFBFBD><EFBFBD>. 2023 <EFBFBD>.
* Author: sychev
*/
#include "free_rtos/handler_store/handler_store.hpp"
#include "handler_store/handler_store.hpp"
bool HandlerStore::Register(uint32_t prot_id, Handler * p_handler) {
if (p_handler == nullptr) {

View File

@ -12,7 +12,7 @@
#include <map>
#include <cstdint>
#include "free_rtos/handler_store/handler.hpp"
#include "handler_store/handler.hpp"
class HandlerStore {
public:

View File

@ -4,7 +4,7 @@
* Created on: 26 ñåíò. 2022 ã.
* Author: sychev
*/
#include "free_rtos/mutex/mutex.hpp"
#include "mutex/mutex.hpp"
#include <kernel/dpl/DebugP.h>
free_rtos::Mutex::Mutex() {

View File

@ -4,7 +4,7 @@
* Created on: 6 ìàð. 2023 ã.
* Author: sychev
*/
#include "free_rtos/task/task.hpp"
#include "task/task.hpp"
bool free_rtos::Task::Create(std::string name, uint32_t priority, TaskFunction task_fun,
void * taskArg, int32_t stack_size_bytes)

View File

@ -4,8 +4,7 @@
* Created on: 10 ìàð. 2023 ã.
* Author: sychev
*/
#include "free_rtos/timer/timer.hpp"
#include "timer/timer.hpp"
#include <kernel/dpl/TimerP.h>
#include <drivers/soc.h>
#include <kernel/dpl/AddrTranslateP.h>

View File

@ -4,7 +4,7 @@
* Created on: 13 ìàð. 2023 ã.
* Author: sychev
*/
#include "free_rtos/timer_sw/timer_sw.hpp"
#include "timer_sw/timer_sw.hpp"
void TimerSw::start(uint32_t period) {
enable_ = true;