Commit Graph

3207 Commits

Author SHA1 Message Date
Bob Long 230269bed8 HAL_ChibiOS: add adjustable wdg timeout for hwdefs
This allows the watchdog timeout to be adjusted in the hwdef.dat file,
so that critical nodes like ESCs can recover more quickly.
2024-07-23 19:53:38 +10:00
Andrew Tridgell 03bdbea77c hwdef: enable relay support in MatekL431-DShot fw
the PWM expansion boards can also be used for relay control, often
combined with PWM output
2024-07-23 18:42:56 +10:00
James O'Shannessy ce0ae33c5b AP_HAL_ChibiOS: Capture the case where the persistent parameter is the newer format INSn_ACC_ID
This fixes the handling of the newer INSn_* parameters when loading those stored in persistent memory.
2024-07-23 12:06:18 +10:00
Peter Barker 7e722eeb94 hwdef: prune out redundant lines
these have been merged with bad lines in them
2024-07-17 17:49:57 +10:00
Peter Barker d4adb1923a hwdef: stop hwdefs defining HAL_GPIO_LED_ON to 0 2024-07-17 17:42:01 +10:00
bugobliterator d466618b11 AP_HAL_ChibiOS: add flash ecc corrupt method 2024-07-17 17:31:15 +10:00
bugobliterator ceea189fa3 AP_HAL_ChibiOS: enable heap allocation if flash space for bootloader is > 128K 2024-07-17 17:31:15 +10:00
Peter Barker 956ac243e1 AP_HAL_ChibiOS: adjust hwdef files for define renames 2024-07-11 09:34:00 +10:00
Andrew Tridgell 64f6abd4d4 AP_HAL_ChibiOS: switched ENABLE_HEAP to an #if 2024-07-11 09:28:17 +10:00
Andrew Tridgell e86e012896 AP_HAL_ChibiOS: removed run_debug_shell 2024-07-11 07:42:54 +10:00
Peter Barker 7f0f851243 hwdef: remove bogus EK2_RPRIMARY from Cube defaults files
looks likely, but hasn't ever existed
2024-07-10 22:35:51 +10:00
Peter Barker 481e0301dd hwdef: H757_EVAL: make it not-AP_Periph
avoids this compilation error:

../../Tools/AP_Periph/can.cpp:152:33: error: static assertion failed: DroneCAN bootloader cannot support external flash
  152 | static_assert(EXT_FLASH_SIZE_MB == 0, "DroneCAN bootloader cannot support external flash");
compilation terminated due to -Wfatal-errors.
2024-07-09 12:00:52 +10:00
Peter Barker df0b4cdf6d AP_HAL_ChibiOS: chibios_hwdef.py: correct flake8 issues 2024-07-09 10:13:00 +10:00
Andy Piper 1b5febe046 AP_HAL_ChibiOS: iFlight 2RAWH743 2024-07-09 09:43:38 +10:00
HiRCBro 8c58334173 AP_HAL_ChibiOS: longBowF405WING 2024-07-09 09:05:27 +10:00
cuav-chen2 f906fffff7 hwdef: fixed pin definition for C-RTK2-HP 2024-07-08 22:10:27 +10:00
bugobliterator b93c9256c7 AP_HAL_ChibiOS:hwdef/common: disable second core on dual core MCUs 2024-07-05 14:16:27 +10:00
bugobliterator c8fe71b6b0 AP_HAL_ChibiOS: use debug option 3 which includes defines as well 2024-07-05 14:16:27 +10:00
Vincent Poon fba47e641d Update Pixhawk6C hwdef.dat
Fix https://github.com/ArduPilot/ardupilot/issues/25840

The overcurrent detection of the HIPOWER current limiting chip is connected to PC11 on the Pixhawk 6C.
2024-07-04 06:37:58 +10:00
Peter Barker 4550f7dcb1 hwdef: make H757I_EVAL a periph
its bootloader is marked as a bootloader peripheral, the main firmware is notistent in our message.
2024-07-02 09:17:26 +10:00
Peter Barker a715ee1ce2 AP_HAL_ChibiOS: make AP_RANGEFINDER_ENABLED remove more code 2024-07-02 09:17:26 +10:00
Andrew Tridgell bcfc273799 hwdef: enable an ADC on CubePilot-PPPGW
allows for mcu temp
2024-06-27 10:11:14 +10:00
Andrew Tridgell 98479658d4 HAL_ChibiOS: support H7 at 200MHz 2024-06-27 10:11:14 +10:00
Andrew Tridgell 34815f9fb0 HAL_ChibiOS: scale RTS threshold to make software CTS more effective 2024-06-27 10:11:14 +10:00
Andrew Tridgell ebc4ee99a9 AP_HAL_ChibiOS: add support for GPIO pins as software CTS 2024-06-27 10:11:14 +10:00
bugobliterator b6cdb8b1a6 hwdef: fix hwdef for updated CubePilot-PPPGW 2024-06-27 10:11:14 +10:00
bugobliterator 0a0d5a3e49 AP_HAL_ChibiOS: add support for PPP on CubeOrangePlus 2024-06-27 10:11:14 +10:00
Andrew Tridgell ed58758ce6 hwdef: don't use DEFAULTGPIO in bootloaders
setting up a DEFAULTGPIO pulldown in bootloaders is a bad idea as it
overrides any hardware pullups that have been put in place as part of
a "hold in bootloader" mechanism. See discussion in #27360 for ELRS

note that this only impacts one board that I can see, the
BlitzF745AIO, due to the MCU vs DEFAULTGPIO interaction
2024-06-25 12:05:40 +10:00
Peter Barker 7dd50cd036 hwdef: JHEMCU-H743HD correct for rename of W25 dataflash driver 2024-06-25 11:05:22 +10:00
Peter Barker 6b490a4c47 AP_HAL_ChibiOS: rename Notify buzzertype enumeration 2024-06-20 14:47:20 +10:00
Siddharth Bharat Purohit f89923fcbe AP_HAL_ChibiOS: mark CONS RX/TX as NC for ADSB Carrier board 2024-06-19 19:09:36 +10:00
bugobliterator 04879d2c42 AP_HAL_ChibiOS: add passthrough from secondary through primary while in bootloader 2024-06-19 19:09:10 +10:00
Thomas Watson 4ef2d49d92 hwdef: CubeRedPrimary: ICM45686 as ICM20649 alternative
Empirically what is present on Cube Reds built on/after 2024-04-14.
2024-06-18 10:53:08 +09:00
Iampete1 b68af03419 AP_HAL_ChibiOS: update relay parameter names 2024-06-18 08:59:34 +09:00
SCRainbow 0f011a4b61 AP_HAL_ChibiOS: Added support for JHEMCU H743 HD
commit 7d01b9e3cb09e89afea4bcb903d54b9ce8cdb1be
Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
Date:   Fri Apr 19 07:06:45 2024 +0800

    AP_HAL_ChibiOS: Added support for JHEMCU H743 HD

    commit d1e4ba0ef307e3ab3cc0f4218dd08e2f5c8f6ad0
    Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
    Date:   Fri Apr 19 04:38:22 2024 +0800

        board_types.txt: Reverted change for seperate PR

        hwdef-bl.dat: revert flash size to 2mb

        hwdef.dat: flash size set to 2mb, corrected syntax, realigned imus

    commit ee465524a7c37509d89ae17ae277a42328cb1cfd
    Merge: b1a55e0e3d 0f0023e62d
    Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
    Date:   Tue Apr 16 10:59:31 2024 +0800

        Merge branch 'master' into master

    commit b1a55e0e3d10a1fc3eff7af14c837271d0a3d131
    Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
    Date:   Tue Apr 16 10:59:08 2024 +0800

        Create defaults.parm

        output 9 is setup as serial LED

    commit 8437b6277c9f1d00a333ebd4f96946f02bf2bfc1
    Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
    Date:   Tue Apr 16 10:56:44 2024 +0800

        Update JHEMCU-H743HD/README.md

        Changed default UART6 protocol to displayport

        Co-authored-by: Henry Wurzburg <hwurzburg@yahoo.com>

    commit 186740cbc038a0ed4dd3bfc9035504bdd165b5aa
    Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
    Date:   Tue Apr 16 10:56:28 2024 +0800

        Update JHEMCU-H743HD/hwdef.dat

        Changed default UART6 protocol to displayport

        Co-authored-by: Henry Wurzburg <hwurzburg@yahoo.com>

    commit 48cfc0daaf58fecfe75a9338c91f4543aed4b14c
    Merge: 789b71d709 5a21d0cb8a
    Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
    Date:   Mon Apr 15 10:25:49 2024 +0800

        Merge branch 'master' into master

    commit 789b71d709b2b01c2a5134f8293f785917a787fd
    Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
    Date:   Sat Apr 13 19:37:37 2024 +0800

        Update hwdef-bl.dat

        Corrected FLASH_SIZE_KB to 1024 as H743VGT6  have only 1M flash

    commit cfa26b8f014c1775aa0270168682deca8ae16e78
    Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
    Date:   Sat Apr 13 19:37:04 2024 +0800

        Update hwdef.dat

        Corrected FLASH_SIZE_KB to 1024 as H743VGT6  have only 1M flash

    commit 3ae8a2c6ca2b0e95c076b652622adfe53275575a
    Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
    Date:   Sat Apr 13 18:40:31 2024 +0800

        Update hwdef.dat

        Fixed BIDIR labels, they are now in pairs, only on M1, M3, M5 and M7

    commit 200e22d5f06f6a0aef30463f4d2702872fe6f063
    Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
    Date:   Sat Apr 13 18:20:42 2024 +0800

        Update hwdef.dat

        Included OTG2, default serial 3 protocol is set to None.

    commit 8f561c17efa9708acbd257759f12b056f44ea5f6
    Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
    Date:   Sat Apr 13 18:10:01 2024 +0800

        Update README.md

        Corrected title

    commit 404b49f399d756561727571132ec38f3f89188a3
    Merge: b1d353b185 77cccd08a3
    Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
    Date:   Sat Apr 13 09:56:53 2024 +0800

        Merge branch 'master' into master

    commit b1d353b185721c1e319f2b758f8e4ea1b1d30968
    Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
    Date:   Fri Apr 12 17:51:57 2024 +0800

        Added JHEMCU H743 HD support

    commit 299841b23628431dc1b0172bb5fc50968acf2fd1
    Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
    Date:   Fri Apr 12 17:25:01 2024 +0800

        Added JHEMCU-H743HD

    commit 39d10456894bbbc4f73dfba65ee7cace7659ae17
    Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
    Date:   Fri Apr 12 17:21:14 2024 +0800

        Update README.md

    commit 048780fe44aace829173b0e701bc5a2ff874ee49
    Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
    Date:   Fri Apr 12 17:18:23 2024 +0800

        Added initial hwdef for JHEMCU H743 HD board

commit d4021681ec6d47f81973e6b346a67b757f3908d2
Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
Date:   Fri Apr 19 07:06:46 2024 +0800

    Tools: Added support for JHEMCU H743 HD

    commit d1e4ba0ef307e3ab3cc0f4218dd08e2f5c8f6ad0
    Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
    Date:   Fri Apr 19 04:38:22 2024 +0800

        board_types.txt: Reverted change for seperate PR

        hwdef-bl.dat: revert flash size to 2mb

        hwdef.dat: flash size set to 2mb, corrected syntax, realigned imus

    commit ee465524a7c37509d89ae17ae277a42328cb1cfd
    Merge: b1a55e0e3d 0f0023e62d
    Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
    Date:   Tue Apr 16 10:59:31 2024 +0800

        Merge branch 'master' into master

    commit b1a55e0e3d10a1fc3eff7af14c837271d0a3d131
    Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
    Date:   Tue Apr 16 10:59:08 2024 +0800

        Create defaults.parm

        output 9 is setup as serial LED

    commit 8437b6277c9f1d00a333ebd4f96946f02bf2bfc1
    Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
    Date:   Tue Apr 16 10:56:44 2024 +0800

        Update JHEMCU-H743HD/README.md

        Changed default UART6 protocol to displayport

        Co-authored-by: Henry Wurzburg <hwurzburg@yahoo.com>

    commit 186740cbc038a0ed4dd3bfc9035504bdd165b5aa
    Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
    Date:   Tue Apr 16 10:56:28 2024 +0800

        Update JHEMCU-H743HD/hwdef.dat

        Changed default UART6 protocol to displayport

        Co-authored-by: Henry Wurzburg <hwurzburg@yahoo.com>

    commit 48cfc0daaf58fecfe75a9338c91f4543aed4b14c
    Merge: 789b71d709 5a21d0cb8a
    Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
    Date:   Mon Apr 15 10:25:49 2024 +0800

        Merge branch 'master' into master

    commit 789b71d709b2b01c2a5134f8293f785917a787fd
    Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
    Date:   Sat Apr 13 19:37:37 2024 +0800

        Update hwdef-bl.dat

        Corrected FLASH_SIZE_KB to 1024 as H743VGT6  have only 1M flash

    commit cfa26b8f014c1775aa0270168682deca8ae16e78
    Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
    Date:   Sat Apr 13 19:37:04 2024 +0800

        Update hwdef.dat

        Corrected FLASH_SIZE_KB to 1024 as H743VGT6  have only 1M flash

    commit 3ae8a2c6ca2b0e95c076b652622adfe53275575a
    Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
    Date:   Sat Apr 13 18:40:31 2024 +0800

        Update hwdef.dat

        Fixed BIDIR labels, they are now in pairs, only on M1, M3, M5 and M7

    commit 200e22d5f06f6a0aef30463f4d2702872fe6f063
    Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
    Date:   Sat Apr 13 18:20:42 2024 +0800

        Update hwdef.dat

        Included OTG2, default serial 3 protocol is set to None.

    commit 8f561c17efa9708acbd257759f12b056f44ea5f6
    Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
    Date:   Sat Apr 13 18:10:01 2024 +0800

        Update README.md

        Corrected title

    commit 404b49f399d756561727571132ec38f3f89188a3
    Merge: b1d353b185 77cccd08a3
    Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
    Date:   Sat Apr 13 09:56:53 2024 +0800

        Merge branch 'master' into master

    commit b1d353b185721c1e319f2b758f8e4ea1b1d30968
    Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
    Date:   Fri Apr 12 17:51:57 2024 +0800

        Added JHEMCU H743 HD support

    commit 299841b23628431dc1b0172bb5fc50968acf2fd1
    Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
    Date:   Fri Apr 12 17:25:01 2024 +0800

        Added JHEMCU-H743HD

    commit 39d10456894bbbc4f73dfba65ee7cace7659ae17
    Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
    Date:   Fri Apr 12 17:21:14 2024 +0800

        Update README.md

    commit 048780fe44aace829173b0e701bc5a2ff874ee49
    Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
    Date:   Fri Apr 12 17:18:23 2024 +0800

        Added initial hwdef for JHEMCU H743 HD board
2024-06-18 08:21:16 +09:00
Brad Bosch f2f9349419 AP_HAL: Add support for parity to Serial passthrough
Add code to reflect USB ACM parity setting to the passthrough port alongside existing support for ACM baud rate changes.  Some use cases for serial passthrough require specific parity settings.

For example, even parity is used and required by the USART protocol used in the STM32 system bootloader. This enhancement allows the use of standard flash programming tools such as STM32CubeProgrammer to flash connected STM based peripherals such as Receivers and Telemetry radios via serial passthrough.  Some examples of such peripherals include the FrSky R9 receivers as well as various other STM based LoRa modules used by the mLRS project.
2024-06-11 09:24:32 +10:00
Martin Luessi 3201622d38 AP_HAL_ChibiOS: Update readme for RADIX2HD 2024-06-11 09:11:09 +10:00
subashchandar 7e59b8c5a0 hwdef: update PixFlamingo_f767 README 2024-06-11 08:42:56 +10:00
Andy Piper 90f7222f98 AP_HAL_ChibiOS: enable LEDs on Here4AP 2024-06-10 06:53:23 +10:00
Henry Wurzburg 887e4713e6 AP_HAL_ChibiOS:remove fetaures to allow boards to build 2024-06-04 09:23:43 +10:00
Andrew Tridgell 8dbad82c8a AP_HAL_ChibiOS: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
Andy Piper ae8a2d9513 AP_HAL_ChibiOS: reset pwm peripheral on F1 when deallocating IC DMA 2024-06-02 10:54:14 +10:00
Henry Wurzburg f5a6193cbf AP_HAL_ChibiOS:correct pin to be pulled high during boot 2024-06-01 10:23:52 +10:00
Henry Wurzburg f5f78b7711 AP_HAL_ChibiOS:Improve SDMODELH7V2 definition 2024-05-29 10:40:03 +10:00
Peter Barker 720c8719dc waf: boards.py: use chibios_hwdef.py to get boards list 2024-05-28 10:25:39 +10:00
rotorman 0962b759b0 AP_HAL_ChibiOS: adds Flywoo/Goku F405 HD 1-2S ELRS AIO v2 flight controller support
Co-authored-by: Henry Wurzburg <hwurzburg@yahoo.com>
2024-05-28 09:57:14 +10:00
Iampete1 e10b4abad8 ChibiOS: UART: Add support for RS-485 Driver Enable RTS flow control 2024-05-28 09:48:19 +10:00
Iampete1 e6a0abdfce AP_HAL_ChibiOS: hwdef.py: find alt function for UART RTS and add to init struct 2024-05-28 09:48:19 +10:00
burgeruser 458cb0a1c9 AP_HAL_ChibiOS: bi-directional dshot on iomcu F103 8MHz 2024-05-28 06:56:14 +10:00
David O'Connor 77adb5586d AP_HAL_ChibiOS: Added mag and dataflash logging support to AnyLeaf H7 2024-05-23 09:48:02 +10:00