ether2ser 0.1.0
Ethernet <-> synchronous V.24 bridge firmware for RP2040 + W5500
Loading...
Searching...
No Matches
main.c File Reference
#include "system/app_context.h"
#include <stdbool.h>
#include <stdio.h>
#include "hardware/gpio.h"
#include "hardware/pio.h"
#include "hardware/sync.h"
#include "hardware/watchdog.h"
#include "pico/multicore.h"
#include "pico/stdio.h"
#include "pico/time.h"
#include "drivers/gpio_driver.h"
#include "drivers/pio_tx_rx_driver.h"
#include "drivers/tx_queue.h"
#include "drivers/w5500_driver.h"
#include "platform/pinmap.h"
#include "system/baudrate_monitor.h"
#include "system/common.h"
#include "system/error.h"
#include "system/event_loop.h"
#include "system/event_queue.h"
#include "system/persistent_config.h"
#include "version.h"
Include dependency graph for main.c:

Go to the source code of this file.

Macros

#define USB_ENUMERATION_DELAY_MS   1500
 
#define GLOBAL_WATCHDOG_TIMEOUT_MS   5000
 
#define WATCHDOG_DISABLED_FOR_DEBUGGING   1
 

Functions

static void core1_entry (void)
 
int main (void)
 

Macro Definition Documentation

◆ GLOBAL_WATCHDOG_TIMEOUT_MS

#define GLOBAL_WATCHDOG_TIMEOUT_MS   5000

Definition at line 55 of file main.c.

◆ USB_ENUMERATION_DELAY_MS

#define USB_ENUMERATION_DELAY_MS   1500

Definition at line 54 of file main.c.

◆ WATCHDOG_DISABLED_FOR_DEBUGGING

#define WATCHDOG_DISABLED_FOR_DEBUGGING   1

Definition at line 56 of file main.c.

Function Documentation

◆ core1_entry()

static void core1_entry ( void  )
static

Definition at line 58 of file main.c.

References log_core1_drain().

Referenced by main().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ main()