WebRadioApp  0.1
web_radio_config.h
Go to the documentation of this file.
1 
20 #ifndef WEB_RADIO_CONFIG_H
21 #define WEB_RADIO_CONFIG_H
22 
29 // For 1 channel Mono and 32kBit/s
30 // #define AUDIO_BUFFER_SIZE 2304 * 2
31 
32 #define f_tell(fp) ((fp)->fptr)
33 #define x_offset 225
41 #define AUDIO_BUFFER_SIZE 2304 * 2 * 2
42 #define FILE_READ_BUFFER_SIZE \
43  5500
56 #define TCPBUFF_MAXITEMS 4000000
57 
66 #define MaxStation 60
67 #define DEF_ADDR(a, b, c, d) \
68  { \
69  PP_HTONL(LWIP_MAKEU32(a, b, c, d)) \
70  }
71 
80 #define HTTPS_ACTIVE 1
81 #define TLS_EXTRABUFFER 1000000
82 #define IPv6_LOCAL_LINK_ADDR 0
83 #define IPv6_GLOBAL_UNICAST_ADDR 1
84 #define IPv6_UNIQUE_LOCAL_ADDR 2
85 #define LOCAL_IPv4 3
86 #define GATEWAY_IPv4 4
87 #define NETMASK_IPv4 5
88 
90 #include "strings.h"
91 #include <stdarg.h>
92 #include "string.h"
93 #include <stdio.h>
94 #include <stdlib.h>
95 #include <stdint.h>
96 #include "inttypes.h"
97 
98 #include "arm_const_structs.h"
99 #include "arm_math.h"
100 #include "math.h"
101 
102 #include "lwip.h"
103 #include "lwip/altcp_tls.h"
104 #include <lwip/stats.h>
105 #include "memory_buffer_alloc.h"
106 #include "certs.h"
107 #include "fatfs.h"
108 #include "dns.h"
109 #include "def.h"
110 
111 #include "lwip/debug.h"
112 #include "lwip/stats.h"
113 #include "lwip/tcp.h"
114 #include "lwip/memp.h"
115 
116 #include "usb_host.h"
117 
118 #include "httpd.h"
119 #include "calend.h"
120 
121 #include "stm32h7xx_hal.h"
122 #include "stm32h747i_discovery.h"
123 #include "stm32h747i_discovery_lcd.h"
124 #include "stm32h747i_discovery_sdram.h"
125 #include "stm32h747i_discovery_audio.h"
126 #include "stm32h747i_discovery_ts.h"
127 
128 #include "../Components/rk043fn48h/rk043fn48h.h"
129 
130 #endif /* WEB_RADIO_CONFIG_H */
131 
fatfs.h
Header for fatfs applications.
usb_host.h
: Header for usb_host.c file.
calend.h
lwip.h
Initialization code for LWIP middleWare. (partially based on examples that are provided within the ST...