Skip to content

Commit

Permalink
Updated Web Builder definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
terjeio committed Dec 31, 2024
1 parent 0f581aa commit d48913f
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 9 deletions.
29 changes: 29 additions & 0 deletions driver.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"estop": 1,
"mpg_mode": 1,
"sdcard": 1,
"ethernet": 1,
"wiznet": 1,
"rgb_out": 2,
"mcp3221_adc": 1,
Expand Down Expand Up @@ -466,6 +467,34 @@
"TMC_Z_ENABLE": 1
}
},
{
"name": "JZ-F407VET6 control board",
"notes": "Preliminary - pin map subject to change.",
"symbol": "BOARD_STM32F407VET6_DEV",
"URL": "https://github.com/yym36100/stm32f407_industrial_control_board",
"MAP": "boards/stm32f407vet6_dev_board.h",
"caps": {
"axes": 5,
"usb_cdc": 1,
"serial_ports": 2,
"safety_door": 0,
"digital_in": 0,
"digital_out": 0,
"eeprom": 0,
"fram": 0,
"i2c_strobe": 0,
"sdcard": 1,
"spindle_sync": 0,
"rgb_out": 0,
"ethernet": 1,
"pio_board": "genericSTM32F407VET6",
"ldscript": "STM32F407VGTX_FLASH.ld"
},
"symbols": {
"STM32F407xx": "",
"HSE_VALUE": 25000000
}
},
{
"name": "Nucleo-64 CNC Breakout (STM32F401)",
"symbol": "BOARD_MORPHO_CNC",
Expand Down
18 changes: 9 additions & 9 deletions platformio.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -54,18 +54,18 @@ lib_extra_dirs =

[eth_networking]
build_flags =
-I /${ProjName}/LWIP/App
-I /${ProjName}/LWIP/Target
-I /${ProjName}/Middlewares/Third_Party/LwIP/src/include
-I /${ProjName}/Middlewares/Third_Party/LwIP/system
-I /${ProjName}/Middlewares/Third_Party/LwIP/src/include/netif
-I /${ProjName}/Middlewares/Third_Party/LwIP/src/include/lwip
-I /${ProjName}/Drivers/BSP/Components/dp83848
-I LWIP/App
-I LWIP/dp83848/Target
-I Middlewares/Third_Party/LwIP/src/include
-I Middlewares/Third_Party/LwIP/system
-I Middlewares/Third_Party/LwIP/src/include/netif
-I Middlewares/Third_Party/LwIP/src/include/lwip
-I Drivers/BSP/Components/dp83848
lib_deps =
networking
webui
LWIP/App
LWIP/Target
LWIP/dp83848/Target
Middlewares/Third_Party/LwIP
Drivers/BSP/Components/dp83848
lib_extra_dirs =
Expand All @@ -85,7 +85,7 @@ lib_extra_dirs =

[env]
platform = ststm32
platform_packages = framework-stm32cubef4 @ ~1.26.2
platform_packages = framework-stm32cubef4
framework = stm32cube
# Do not produce .a files for lib deps (which would prevent them from overriding weak symbols)
lib_archive = no
Expand Down

0 comments on commit d48913f

Please sign in to comment.