Bug 284822 - devel/msp430-debug-stack: [PATCH] Build with Boost 1.87
Summary: devel/msp430-debug-stack: [PATCH] Build with Boost 1.87
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Lev A. Serebryakov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-14 18:26 UTC by ice
Modified: 2025-04-02 18:21 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (lev)


Attachments
patch for Boost 1.87 (2.77 KB, patch)
2025-02-14 18:28 UTC, ice
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description ice 2025-02-14 18:26:50 UTC

    
Comment 1 ice 2025-02-14 18:28:18 UTC
Created attachment 257537 [details]
patch for Boost 1.87
Comment 2 ice 2025-02-14 18:30:38 UTC
The attached patch makes msp430-debug-stack compile against Boost 1.87. I don't have any of my MSP430 kit with me (nor will I for a while), so I cannot actually test it, but at least with no actual devices to work with it does fail in the way it's supposed to, so there's at least that.
Comment 3 ice 2025-03-12 20:14:27 UTC
Works fine:

# mspdebug tilib 'dis 0'
MSPDebug version 0.25 - debugging tool for MSP430 MCUs
Copyright (C) 2009-2017 Daniel Beer <dlbeer@gmail.com>
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Chip info database from MSP430.dll v3.15.0.1 Copyright (C) 2013 TI, Inc.

Using new (SLAC460L+) API
MSP430_GetNumberOfUsbIfs
MSP430_GetNameOfUsbIf
Found FET: mspfet0013
MSP430_Initialize: mspfet0013
Firmware version is 31501001
MSP430_VCC: 3000 mV
MSP430_OpenDevice
MSP430_GetFoundDevice
Device: MSP430F5529 (id = 0x002f)
8 breakpoints available
MSP430_EEM_Init
Chip ID data:
  ver_id:         2955
  ver_sub_id:     0000
  revision:       17
  fab:            55
  self:           5555
  config:         12
  fuses:          55
Device: MSP430F5529
0x0000:
    00000: 32 d0 f0 00               BIS     #0x00f0, SR
    00004: ff 3f                     JMP     0x0004
    00006: ff ff ff ff               AND.B   @R15+,  0xffff(R15)
Comment 4 Lev A. Serebryakov freebsd_committer freebsd_triage 2025-04-02 18:20:45 UTC
Looks like you forgot new patch files :-)

But anyway, it was good starting point.

Thank you!

Committed.
Comment 5 commit-hook freebsd_committer freebsd_triage 2025-04-02 18:21:01 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e090c46bafecd7ad5478c08935ce93bd4c8bac1a

commit e090c46bafecd7ad5478c08935ce93bd4c8bac1a
Author:     Lev A. Serebryakov <lev@FreeBSD.org>
AuthorDate: 2025-04-02 18:18:30 +0000
Commit:     Lev A. Serebryakov <lev@FreeBSD.org>
CommitDate: 2025-04-02 18:18:30 +0000

    devel/msp430-debug-stack: Fix build with latest Boost

     Adopt sources to new boost::asio API.

    PR:             284822
    Reported by:    ice@extreme.hu

 devel/msp430-debug-stack/Makefile                  |  4 +-
 ...ch-DLL430__v3_src_TI_DLL430_UsbCdcIoChannel.cpp | 55 +++++++++++++++++++++-
 ...LL430__v3_src_TI_DLL430_UsbCdcIoChannel.h (new) | 20 ++++++++
 ...s_MSPBSL__PhysicalInterfaceSerialUART.cpp (new) | 11 +++++
 ...ces_MSPBSL__PhysicalInterfaceSerialUART.h (new) | 10 ++++
 5 files changed, 96 insertions(+), 4 deletions(-)