generated from amazon-archives/__template_MIT-0
-
Couldn't load subscription status.
- Fork 203
Unified STM32 Network Interface #804
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
Merged
Merged
Changes from all commits
Commits
Show all changes
98 commits
Select commit
Hold shift + click to select a range
6981b02
New STM32 driver
3b92953
New STM32 driver
d1d3098
Improve error handling & ipconfig macro checking
bffd9af
Fix isr usage, add F4, and add missing xGetPhyLinkStatus
2beff06
Style fixes and config implementations
520831c
Merge remote-tracking branch 'origin/main' into dev-stm32
dffe267
update to 4.0.0 compatibility
eaa7f49
Add STM32 target to Network Interface selection
bjsowa 1073648
Fill Interface and EndPoint fields for all Rx Network buffers
bjsowa 67db92d
Merge pull request #2 from bjsowa/dev-stm32-cmake
HTRamsey d8d3f96
Merge pull request #3 from bjsowa/dev-stm32-rx-fix
HTRamsey 8f14d4d
Ignore packets whose buffers were dropped
bjsowa bb367fd
Fix formatting
bjsowa a747194
Support network down event
bjsowa 08604cf
Don't return pdPASS on interface initialize when link is down
bjsowa 57d78d9
Fix formatting
bjsowa 9cc1cfe
Include toplevel HAL headers
bjsowa 41d699c
Clean redundant comment
bjsowa a3acf79
Merge pull request #6 from bjsowa/dev-stm32-toplevel-hal-headers
HTRamsey 0265752
Merge pull request #4 from bjsowa/dev-stm32-ignore-dropped-packets
HTRamsey 9d9dbeb
Merge pull request #5 from bjsowa/dev-stm32-network-down
HTRamsey 8004068
Work on error handling
3155173
Merge remote-tracking branch 'origin/main' into dev-stm32
18c5883
Merge branch 'main' into dev-stm32
HTRamsey 07c5321
re-add doc
03cf5c2
clean network interface
1f3e33b
add more mac features
6a50bbb
attribute fixes
74b7548
remove commented out code and implement fixed configuration
d0d082b
update mac filter and hash table
3a831e9
Merge branch 'main' into dev-stm32
HTRamsey a20e044
fix compilation issue
36508bf
prvMACAddressConfig: fix implicit discarding of const qualifier
Mixaill 7ef89d4
ETH_IRQHandler: add tracing, process all interrupt flags before conte…
Mixaill 0d5e412
Merge pull request #8 from Mixaill/dev-stm32
HTRamsey 014392c
Merge pull request #9 from Mixaill/dev-stm32-isr
HTRamsey 9c602a2
prvEMACHandlerTask: fix NetworkDown event
HTRamsey 272bae4
Merge pull request #10 from Mixaill/de-stm32-networkdown
HTRamsey f59a771
fix ipconfigUSE_LINKED_RX_MESSAGES == 0
80d4380
remove test files
e40ea1b
allow access to pcLOCAL_ALL_NODES_MULTICAST_MAC in network interfaces
e09a9e7
some restructuring
4319b6f
reconnection fixes
2bd8eb4
fix pcLOCAL_ALL_NODES_MULTICAST_MAC issue
e8fe63a
config checks cleanup
9365b8e
remove a global
fbb5257
prep for mac filtering
7987744
add HAL_ETH_MspInit example
d4c8386
prep packet and frame filtering
8a37763
add sample mpu config
17ee341
mac filter improvements
9edef7a
improve some checks
71b5eeb
config improvements
423b5cf
cache fixes
cd9024d
fix cache size macro
0da9777
remove caching option
288cef2
testing updates
c7cfcd6
fix mac filtering
3b85eae
outgoing packet adjustments
86fcd67
fix interrupt priority set
Mixaill 4a8f60a
Merge pull request #11 from Mixaill/dev-stm32-fixprio
HTRamsey 270b1f8
remove C99 requirement
8549ed5
readd caching and reduce reliance on HAL
HTRamsey 400e46a
remove testing code
HTRamsey e63a6ee
Merge branch 'main' into dev-stm32
HTRamsey 9f1ccbc
Fix function calls
HTRamsey 4541b3e
fix cache enabled check
HTRamsey 05af791
config checks
HTRamsey 2c4cb01
check static buffer size and fix caching defines
HTRamsey 41eb37a
Merge branch 'main' into dev-stm32
HTRamsey 1228bec
Uncrustify: triggered by comment.
actions-user 3a61d7f
add spellings
HTRamsey 4d812ad
Merge branch 'main' into dev-stm32
HTRamsey 5bed226
Uncrustify: triggered by comment.
actions-user 6bda6e0
remove xCheckLoopback() usage
Mixaill 99c8c03
Fix Phy function return value
HTRamsey 7cf8996
Merge pull request #12 from Mixaill/fix/loopback
HTRamsey 755f640
Merge branch 'main' into dev-stm32
HTRamsey 004ca89
Revert ND changes
HTRamsey 17a0021
Enable MAC filtering Netif functions
HTRamsey 1728ba0
Add Current HAL Drivers
HTRamsey f9ce39f
Merge branch 'main' into dev-stm32
HTRamsey 31f8caa
Merge branch 'main' into dev-stm32
HTRamsey b278985
Handle Driver Differences
HTRamsey 390f69a
Merge branch 'main' into dev-stm32
HTRamsey 4e0ab39
Exclude portable STM32 for spelling and formating check
chinglee-iot c614c67
Merge branch 'main' into dev-stm32
chinglee-iot c18bfe7
Apply suggestions from code review
HTRamsey 0abb36b
Increment MAC entry index
bjsowa 9576301
Merge pull request #13 from bjsowa/dev-stm32-fix-mac-index
HTRamsey 445dc68
Fix packet length assert
HTRamsey b8c0fd8
Merge branch 'main' into dev-stm32
kar-rahul-aws 125b153
Review Fixes
HTRamsey f737291
Merge branch 'main' into dev-stm32
HTRamsey adfb1d1
Merge branch 'main' into dev-stm32
tony-josi-aws b1d730b
Merge branch 'main' into dev-stm32
tony-josi-aws 55b1458
Merge branch 'main' into dev-stm32
tony-josi-aws 0533f55
Fix spell check CI test
tony-josi-aws File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,46 @@ | ||
| if (NOT ( (FREERTOS_PLUS_TCP_NETWORK_IF STREQUAL "STM32") ) ) | ||
| return() | ||
| endif() | ||
|
|
||
| #------------------------------------------------------------------------------ | ||
| add_library( freertos_plus_tcp_network_if STATIC ) | ||
|
|
||
| set( FREERTOS_PLUS_TCP_STM32_IF_DRIVER "None" CACHE STRING "The driver sources to use with STM32 Network interface" ) | ||
|
|
||
| target_sources( freertos_plus_tcp_network_if | ||
| PRIVATE | ||
| NetworkInterface.c | ||
| $<$<STREQUAL:${FREERTOS_PLUS_TCP_STM32_IF_DRIVER},F4>: | ||
| Drivers/F4/stm32f4xx_hal_eth.c> | ||
| $<$<STREQUAL:${FREERTOS_PLUS_TCP_STM32_IF_DRIVER},F7>: | ||
| Drivers/F7/stm32f7xx_hal_eth.c> | ||
| $<$<STREQUAL:${FREERTOS_PLUS_TCP_STM32_IF_DRIVER},H5>: | ||
| Drivers/H5/stm32h5xx_hal_eth_ex.c> | ||
| $<$<STREQUAL:${FREERTOS_PLUS_TCP_STM32_IF_DRIVER},H5>: | ||
| Drivers/H5/stm32h5xx_hal_eth.c> | ||
| $<$<STREQUAL:${FREERTOS_PLUS_TCP_STM32_IF_DRIVER},H7>: | ||
| Drivers/H7/stm32h7xx_hal_eth_ex.c> | ||
| $<$<STREQUAL:${FREERTOS_PLUS_TCP_STM32_IF_DRIVER},H7>: | ||
| Drivers/H7/stm32h7xx_hal_eth.c> | ||
| ) | ||
|
|
||
| target_include_directories( freertos_plus_tcp_network_if | ||
| PUBLIC | ||
| $<$<STREQUAL:${FREERTOS_PLUS_TCP_STM32_IF_DRIVER},F4>: | ||
| Drivers/F4> | ||
| $<$<STREQUAL:${FREERTOS_PLUS_TCP_STM32_IF_DRIVER},F7>: | ||
| Drivers/F7> | ||
| $<$<STREQUAL:${FREERTOS_PLUS_TCP_STM32_IF_DRIVER},H5>: | ||
| Drivers/H5> | ||
| $<$<STREQUAL:${FREERTOS_PLUS_TCP_STM32_IF_DRIVER},H7>: | ||
| Drivers/H7> | ||
| ) | ||
|
|
||
| target_link_libraries( freertos_plus_tcp_network_if | ||
| PUBLIC | ||
| freertos_plus_tcp_port | ||
| freertos_plus_tcp_network_if_common | ||
| PRIVATE | ||
| freertos_kernel | ||
| freertos_plus_tcp | ||
| ) |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.