Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

W5500 ethernet driver #381

Open
wants to merge 36 commits into
base: chibios-21.11.x
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
8189342
W5500 ethernet driver
xaelsouth Oct 31, 2023
2419a0c
mbedtls bindings
xaelsouth Oct 31, 2023
c516549
anjay/avs_commons bindings
xaelsouth Oct 31, 2023
73a9410
WIZNET IOLibrary driver with built-in TCP/IP stack
xaelsouth Oct 31, 2023
3395900
Added demos for W5500, LWIIP, WIZNET IOLIBARAY and ANJAY/AVS_COMMONS
xaelsouth Nov 1, 2023
e6d9d5b
Added demos for W5500, LWIIP, WIZNET IOLIBRARY and ANJAY/AVS_COMMONS
xaelsouth Nov 1, 2023
33f9f9e
Merge remote-tracking branch 'origin/chibios-21.11.x' into chibios-21…
xaelsouth Nov 1, 2023
0b91fcb
read frame in chunks, not at once
xaelsouth Nov 1, 2023
ec10560
-O2 instead of -Og; read payload buffer initialized with 0
xaelsouth Nov 1, 2023
2802412
Merge branch 'ChibiOS:chibios-21.11.x' into chibios-21.11.x
xaelsouth Jun 2, 2024
bcb6399
added submodule gecko_sdk
xaelsouth Jun 2, 2024
6f07076
removed nuc svds
xaelsouth Jun 2, 2024
5c9548b
added very basic hal for SiLabs EFR32FG14 and more advanced for EFR32…
xaelsouth Jun 2, 2024
7e125c7
fixed gecko_sdk path
xaelsouth Jun 2, 2024
d9baa54
fixed gecko_sdk path
xaelsouth Jun 2, 2024
d131f12
verbose and don't use time measurement APIs
xaelsouth Jun 2, 2024
09ed0cd
alternate functions can be selected in PAL for ports and pins
xaelsouth Jun 2, 2024
c9a0cc2
print sections sizes of the target ELF
xaelsouth Jun 3, 2024
ebeb216
USART supported as part of SIO subsystem
xaelsouth Jun 3, 2024
412e1b6
nicer distinction between usart/eusart
xaelsouth Jun 4, 2024
5be28c4
macroed serial port config in sio lld
xaelsouth Jun 4, 2024
a485035
copiright
xaelsouth Jun 6, 2024
78c50ce
LFXO can be calibrated; EUSART0 finally works
xaelsouth Jun 7, 2024
fccc974
voltage scaling; clockout on pin
xaelsouth Jun 7, 2024
ed0e696
implemented software real time calender using BURTC
xaelsouth Jun 9, 2024
2cf7160
fixed 32768 if no subseconds
xaelsouth Jun 9, 2024
3b17fbf
fixed 32768 if no subseconds
xaelsouth Jun 9, 2024
829be5a
fixed 32768 if no subseconds
xaelsouth Jun 9, 2024
db08b9d
move static inline functions into the file section
xaelsouth Jun 10, 2024
708a365
Merge branch 'ChibiOS:chibios-21.11.x' into chibios-21.11.x
xaelsouth Jun 26, 2024
82ee20b
TI CC131x very-very initial support
xaelsouth Jun 27, 2024
905cfb2
Merge branch 'ChibiOS:chibios-21.11.x' into chibios-21.11.x
xaelsouth Sep 8, 2024
6b7e614
burtc ready-unoptimized, adc not ready, dac not ready
xaelsouth Sep 8, 2024
ea12c68
svd files
xaelsouth Sep 8, 2024
58124c6
just commiting main
xaelsouth Sep 8, 2024
6edc738
Merge remote-tracking branch 'origin/chibios-21.11.x' into chibios-21…
xaelsouth Sep 8, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[submodule "ext/mcux-sdk"]
path = ext/mcux-sdk
url = https://github.com/NXPmicro/mcux-sdk
[submodule "ext/gecko_sdk"]
path = ext/gecko_sdk
url = https://github.com/SiliconLabs/gecko_sdk
198 changes: 198 additions & 0 deletions demos/SILABS/RT-EFR32FG14P-SLWSTK6061B/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,198 @@
##############################################################################
# Build global options
# NOTE: Can be overridden externally.
#

# Compiler options here.
ifeq ($(USE_OPT),)
USE_OPT = -O0 -ggdb -fomit-frame-pointer -falign-functions=16
endif

# C specific options here (added to USE_OPT).
ifeq ($(USE_COPT),)
USE_COPT =
endif

# C++ specific options here (added to USE_OPT).
ifeq ($(USE_CPPOPT),)
USE_CPPOPT = -fno-rtti
endif

# Enable this if you want the linker to remove unused code and data.
ifeq ($(USE_LINK_GC),)
USE_LINK_GC = yes
endif

# Linker extra options here.
ifeq ($(USE_LDOPT),)
USE_LDOPT =
endif

# Enable this if you want link time optimizations (LTO).
ifeq ($(USE_LTO),)
USE_LTO = yes
endif

# Enable this if you want to see the full log while compiling.
ifeq ($(USE_VERBOSE_COMPILE),)
USE_VERBOSE_COMPILE = yes
endif

# If enabled, this option makes the build process faster by not compiling
# modules not used in the current configuration.
ifeq ($(USE_SMART_BUILD),)
USE_SMART_BUILD = yes
endif

#
# Build global options
##############################################################################

##############################################################################
# Architecture or project specific options
#

# Stack size to be allocated to the Cortex-M process stack. This stack is
# the stack used by the main() thread.
ifeq ($(USE_PROCESS_STACKSIZE),)
USE_PROCESS_STACKSIZE = 0x400
endif

# Stack size to the allocated to the Cortex-M main/exceptions stack. This
# stack is used for processing interrupts and exceptions.
ifeq ($(USE_EXCEPTIONS_STACKSIZE),)
USE_EXCEPTIONS_STACKSIZE = 0x400
endif

# Enables the use of FPU (no, softfp, hard).
ifeq ($(USE_FPU),)
USE_FPU = no
endif

# FPU-related options.
ifeq ($(USE_FPU_OPT),)
USE_FPU_OPT = -mfloat-abi=$(USE_FPU) -mfpu=fpv4-sp-d16
endif

#
# Architecture or project specific options
##############################################################################

##############################################################################
# Project, target, sources and paths
#

# Define project name here
PROJECT = ch

# Target settings.
MCU = cortex-m4

# Imported source files and paths.
CHIBIOS := ../../../../ChibiOS
CHIBIOS_CONTRIB := $(CHIBIOS)/../ChibiOS-Contrib
CONFDIR := ./cfg
BUILDDIR := ./build
DEPDIR := ./.dep

# Licensing files.
include $(CHIBIOS)/os/license/license.mk
# Startup files.
include $(CHIBIOS_CONTRIB)/os/common/startup/ARMCMx/compilers/GCC/mk/startup_efr32fg14p23x.mk
# HAL-OSAL files (optional).
include $(CHIBIOS)/os/hal/hal.mk
include $(CHIBIOS_CONTRIB)/os/hal/ports/SILABS/EFR32FG14P/platform.mk
include $(CHIBIOS_CONTRIB)/os/hal/boards/SILABS_SLWSTK6061B/board.mk
include $(CHIBIOS)/os/hal/osal/rt-nil/osal.mk
# RTOS files (optional).
include $(CHIBIOS)/os/rt/rt.mk
include $(CHIBIOS)/os/common/ports/ARMv7-M/compilers/GCC/mk/port.mk
# Auto-build files in ./source recursively.
include $(CHIBIOS)/tools/mk/autobuild.mk
# Other files (optional).
#include $(CHIBIOS)/os/test/test.mk
#include $(CHIBIOS)/test/rt/rt_test.mk
#include $(CHIBIOS)/test/oslib/oslib_test.mk

# Define linker script file here
LDSCRIPT= $(STARTUPLD_CONTRIB)/EFR32FG14PXF256.ld

# C sources that can be compiled in ARM or THUMB mode depending on the global
# setting.
CSRC = $(ALLCSRC) \
$(TESTSRC) \
main.c

# C++ sources that can be compiled in ARM or THUMB mode depending on the global
# setting.
CPPSRC = $(ALLCPPSRC)

# List ASM source files here.
ASMSRC = $(ALLASMSRC)

# List ASM with preprocessor source files here.
ASMXSRC = $(ALLXASMSRC)

# Inclusion directories.
INCDIR = $(CONFDIR) $(ALLINC) $(TESTINC)

# Define C warning options here.
CWARN = -Wall -Wextra -Wundef -Wstrict-prototypes

# Define C++ warning options here.
CPPWARN = -Wall -Wextra -Wundef

#
# Project, target, sources and paths
##############################################################################

##############################################################################
# Start of user section
#

# List all user C define here, like -D_DEBUG=1
UDEFS = -DEFR32FG14P233F256GM48 \
-DEFR32_HFRCO_STARTUP_FREQ=19000000UL \
-DEFR32_LFXO_FREQ=32768UL \
-DEFR32_HFXO_FREQ=38400000UL \
-DCORTEX_ENABLE_WFI_IDLE

# Define ASM defines here
UADEFS = -DEFR32FG14P233F256GM48=1 \
-DEFR32_HFRCO_STARTUP_FREQ=19000000UL \
-DEFR32_LFXO_FREQ=32768UL \
-DEFR32_HFXO_FREQ=38400000UL \
-DCORTEX_ENABLE_WFI_IDLE

# List all user directories here
UINCDIR =

# List the user directory to look for the libraries here
ULIBDIR =

# List all user libraries here
ULIBS =

#
# End of user section
##############################################################################

##############################################################################
# Common rules
#

RULESPATH = $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC/mk
include $(RULESPATH)/arm-none-eabi.mk
include $(RULESPATH)/rules.mk

#
# Common rules
##############################################################################

##############################################################################
# Custom rules
#

#
# Custom rules
##############################################################################
Loading