Category Archives: Uncategorized

FreeBSD 12.0: Ports not working anymore

commit https://reviews.freebsd.org/rP554893 makes all ports not working anymore…
Can’t make any ports – “set: Illegal option -o pipefail”

# make
set: Illegal option -o pipefail
===> Options unchanged

You may use the following build options:

WITH_BIG_CONCURRENCY_PATCH_CONCURRENCY_LIMIT=NUMBER
                                (default NUMBER=)
                                set this to a value reasonable for
                                your system if you use the patch

/!\ ERROR: /!\

Ports Collection support for your FreeBSD version has ended, and no ports are
guaranteed to build on this system. Please upgrade to a supported release.

No support will be provided if you silence this message by defining
ALLOW_UNSUPPORTED_SYSTEM.

*** Error code 1

Stop.
make[1]: stopped in /usr/ports/mail/qmail-tls
*** Error code 1

Stop.
make: stopped in /usr/ports/mail/qmail-tls

Solution

Update to 12.2

qmail mit TLS 1.3

qmail variants

s/qmail
qmail-ldap, by André Oppermann (LinkedIn, Xing)
Life With qmail-ldap

freshports.org

qmail
qmail-tls: Secure, reliable, and fast MTA for UNIX systems with TLS support

Repository

https://cgit.freebsd.org/ports/tree/mail/qmail?h=release/12.2.0

FreeBSD 10.2

ZHAW -> tE-Clan Server ==> works
tE-Clan Server -> ZHAW ==> DOESN’T work!!
$ pkg info netqmail-tls
netqmail-tls-1.06.20110119_1
Name           : netqmail-tls
Version        : 1.06.20110119_1
Installed on   : Fri Dec 11 10:59:23 2015 CET
Origin         : mail/qmail-tls
Architecture   : freebsd:10:x86:64
Prefix         : /var/qmail
Categories     : mail
Licenses       :
Maintainer     : erdgeist@erdgeist.org
WWW            : http://inoa.net/qmail-tls/
Comment        : Secure, reliable, and fast MTA for UNIX systems with TLS support
Options        :
        BIG_CONCURRENCY_PATCH: off
        BIG_TODO_PATCH : on
        BLOCKEXEC_PATCH: on
        DISCBOUNCES_PATCH: off
        DNS_CNAME      : on
        DOCS           : on
        EXTTODO_PATCH  : off
        LOCALTIME_PATCH: off
        MAILDIRQUOTA_PATCH: off
        OUTGOINGIP_PATCH: on
        QEXTRA         : off
        QMTPC_PATCH    : off
        RCDLINK        : off
        SMTP_AUTH_PATCH: off
        SPF_PATCH      : off
        TLS_DEBUG      : off
Annotations    :
Flat size      : 1.06MiB
Description    :
What is is: [excerpt taken from tls patch]

Frederik Vermeulen <qmail-tls at inoa.net> 20021228
http://inoa.net/qmail/qmail-1.03-tls.patch

This patch implements RFC2487 in qmail. This means you can
get SSL or TLS encrypted and authenticated SMTP between
the MTAs and between MTA and an MUA like Netscape4.5 TM.
The code is considered experimental.

WWW: http://inoa.net/qmail-tls/

# tail /var/log/qmail/current | tai64nlocal
2021-07-09 16:13:31.006863500 status: local 1/10 remote 0/20
2021-07-09 16:13:31.020170500 delivery 47043: success: did_0+0+1/
2021-07-09 16:13:31.020288500 status: local 0/10 remote 0/20
2021-07-09 16:13:31.020361500 end msg 963489

2021-07-09 16:37:34.013898500 new msg 963470
2021-07-09 16:37:34.013922500 info msg 963470: bytes 2686 from <XXX> qp 17787 uid 89
2021-07-09 16:37:34.398681500 starting delivery 47044: msg 963470 to remote XXX@hotmail.com
2021-07-09 16:37:34.398686500 status: local 0/10 remote 1/20
2021-07-09 16:37:35.411841500 delivery 47044: deferral: TLS_connect_failed;_connected_to_104.47.73.161./
2021-07-09 16:37:35.411846500 status: local 0/10 remote 0/20

2021-07-09 16:44:15.431323500 starting delivery 47045: msg 963470 to remote XXX@hotmail.com
2021-07-09 16:44:15.431328500 status: local 0/10 remote 1/20
2021-07-09 16:44:15.841424500 delivery 47045: deferral: TLS_connect_failed;_connected_to_104.47.17.161./
2021-07-09 16:44:15.841460500 status: local 0/10 remote 0/20

2021-07-09 17:04:15.098384500 starting delivery 47047: msg 963470 to remote XXX@hotmail.com
2021-07-09 17:04:15.098390500 status: local 0/10 remote 1/20
2021-07-09 17:04:15.289859500 delivery 47047: deferral: TLS_connect_failed;_connected_to_104.47.10.33./
2021-07-09 17:04:15.289889500 status: local 0/10 remote 0/20
[root@ns2 /usr/ports/mail/qmail-tls]# make install

You may use the following build options:

WITH_BIG_CONCURRENCY_PATCH_CONCURRENCY_LIMIT=NUMBER
                                (default NUMBER=)
                                set this to a value reasonable for
                                your system if you use the patch

===>  netqmail-tls-1.06.20110119_1 has known vulnerabilities:
netqmail-tls-1.06.20110119_1 is vulnerable:
qmail -- 64 bit integer overflows with possible remote code execution on large SMTP requests
CVE: CVE-2005-1515
CVE: CVE-2005-1514
CVE: CVE-2005-1513
WWW: https://vuxml.FreeBSD.org/freebsd/b495af21-9e10-11ea-9e83-0cc47ac16c9d.html

1 problem(s) in the installed packages found.
=> Please update your ports tree and try again.
=> Note: Vulnerable ports are marked as such even if there is no update available.
=> If you wish to ignore this vulnerability rebuild with 'make DISABLE_VULNERABILITIES=yes'
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/mail/qmail-tls
*** Error code 1

Stop.
make: stopped in /usr/ports/mail/qmail-tls
.if defined(SLAVE_LDAP)
PATCH_SITES+=   http://www.nrg4u.com/qmail/:ldap
PATCHFILES+=    qmail-ldap-1.03-${LDAP_PATCH_DATE}.patch.gz:ldap
.elif defined(SLAVE_MYSQL)
PATCH_SITES+=   http://iain.cx/unix/qmail/download/:mysql
PATCHFILES+=    netqmail-mysql-${MYSQL_PATCH_VERSION}.patch:mysql
.elif defined(SLAVE_TLS)
PATCH_SITES+=   http://inoa.net/qmail-tls/:tls
TLS_PATCH_NAME= ${QMAIL_PORTNAME}-${QMAIL_VERSION}-tls-${TLS_PATCH_DATE}.patch
PATCHFILES+=    ${TLS_PATCH_NAME}:tls
.endif
PORTNAME=       qmail
PORTVERSION=    ${QMAIL_VERSION}.${TLS_PATCH_DATE}

PKGNAMESUFFIX=  -tls

SLAVE_TLS=      yes
TLS_PATCH_DATE= 20110119
# where pkg_add records its dirty deeds.
PKG_DBDIR?=		/var/db/pkg

AUDITFILE?=		${PKG_DBDIR}/vuln.xml

check-vulnerable:
.if !defined(DISABLE_VULNERABILITIES) && !defined(PACKAGE_BUILDING)
	[...]
			${ECHO_MSG} "===>  ${PKGNAME} has known vulnerabilities:"; \
			${ECHO_MSG} "$$vlist"; \
			${ECHO_MSG} "=> Please update your ports tree and try again."; \
			${ECHO_MSG} "=> Note: Vulnerable ports are marked as such even if there is no update available."; \
			${ECHO_MSG} "=> If you wish to ignore this vulnerability rebuild with 'make DISABLE_VULNERABILITIES=yes'"; \
    <topic>qmail -- 64 bit integer overflows with possible remote code execution on large SMTP requests</topic>
        <name>netqmail</name>
        <name>netqmail-tls</name>
        <name>netqmail-mysql</name>

Chapter 4. Slow Porting: 4.4. Patching

  1. […]
  2. […]
  3. The patch target is run. First, any patches defined in PATCHFILES are applied. Second, if any patch files named patch-* are found in PATCHDIR (defaults to the files subdirectory), they are applied at this time in alphabetical order.
  4. […]
===>   netqmail-tls-1.06.20200107_4 depends on file: /usr/local/sbin/pkg - found
=> qmail-smtpd-auth-0.31.tar.gz doesn't seem to exist in /usr/ports/distfiles/qmail.
=> Attempting to fetch http://tomclegg.net/qmail/qmail-smtpd-auth-0.31.tar.gz
qmail-smtpd-auth-0.31.tar.gz                  100% of 8798  B   27 MBps 00m00s
=> qmail-smtpd-auth-close3.patch doesn't seem to exist in /usr/ports/distfiles/qmail.
=> Attempting to fetch http://tomclegg.net/qmail/qmail-smtpd-auth-close3.patch
qmail-smtpd-auth-close3.patch                 100% of  520  B 2791 kBps 00m00s
=> auth.patch.diff-tls-20110119 doesn't seem to exist in /usr/ports/distfiles/qmail.
=> Attempting to fetch http://tomclegg.net/qmail/auth.patch.diff-tls-20110119
fetch: http://tomclegg.net/qmail/auth.patch.diff-tls-20110119: Not Found
=> Attempting to fetch http://distcache.FreeBSD.org/local-distfiles/bdrewery/qmail/auth.patch.diff-tls-20110119
auth.patch.diff-tls-20110119                  100% of 3170  B   18 MBps 00m00s
=> netqmail-1.06-tls-20200107.patch doesn't seem to exist in /usr/ports/distfiles/qmail.
=> Attempting to fetch http://inoa.net/qmail-tls/netqmail-1.06-tls-20200107.patch
netqmail-1.06-tls-20200107.patch              100% of   50 kB 3567 kBps 00m00s
===> Fetching all distfiles required by netqmail-tls-1.06.20200107_4 for building
===>  Extracting for netqmail-tls-1.06.20200107_4
=> SHA256 Checksum OK for qmail/netqmail-1.06.tar.gz.
=> SHA256 Checksum OK for qmail/qmail-smtpd-auth-0.31.tar.gz.
=> SHA256 Checksum OK for qmail/qmail-smtpd-auth-close3.patch.
=> SHA256 Checksum OK for qmail/auth.patch.diff-tls-20110119.
=> SHA256 Checksum OK for qmail/qmail-103.patch.
=> No SHA256 checksum recorded for qmail/netqmail-1.06-tls-20200107.patch.
=> No suitable checksum found for qmail/netqmail-1.06-tls-20200107.patch.
=> SHA256 Checksum OK for qmail/qmail-block-executables.patch.
=> SHA256 Checksum OK for qmail/big-todo.103.patch.
=> SHA256 Checksum OK for qmail/outgoingip.patch.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/mail/qmail-tls
*** Error code 1

Stop.
make: stopped in /usr/ports/mail/qmail-tls
# cd /usr/ports/mail/qmail-tls

# make makesum
===>  Found saved configuration for netqmail-tls-1.06.20200107_4
===>   netqmail-tls-1.06.20200107_4 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by netqmail-tls-1.06.20200107_4 for building

# make
===>  Found saved configuration for netqmail-tls-1.06.20200107_4
===>   netqmail-tls-1.06.20200107_4 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by netqmail-tls-1.06.20200107_4 for building
===>  Extracting for netqmail-tls-1.06.20200107_4
=> SHA256 Checksum OK for qmail/netqmail-1.06.tar.gz.
=> SHA256 Checksum OK for qmail/qmail-smtpd-auth-0.31.tar.gz.
=> SHA256 Checksum OK for qmail/qmail-smtpd-auth-close3.patch.
=> SHA256 Checksum OK for qmail/auth.patch.diff-tls-20110119.
=> SHA256 Checksum OK for qmail/qmail-103.patch.
=> SHA256 Checksum OK for qmail/netqmail-1.06-tls-20200107.patch.
=> SHA256 Checksum OK for qmail/qmail-block-executables.patch.
=> SHA256 Checksum OK for qmail/big-todo.103.patch.
=> SHA256 Checksum OK for qmail/outgoingip.patch.
===>  Patching for netqmail-tls-1.06.20200107_4
===>  Applying distribution patches for netqmail-tls-1.06.20200107_4
===>  Applying extra patch /usr/ports/mail/qmail-tls/../qmail/files/extra-patch-amd64
===>  Applying extra patch /usr/ports/mail/qmail-tls/../qmail/files/extra-patch-utmpx
===>  Applying extra patch /usr/ports/mail/qmail-tls/../qmail/files/extra-patch-dns-cname
===>  Applying FreeBSD patches for netqmail-tls-1.06.20200107_4
[...]


# ps auxd
- /usr/local/bin/svscan /var/service
|-- supervise pop3d
| `-- /usr/local/bin/tcpserver -vDHR -l0 -c200 -xtcp.cdb -- 0 110 /var/qmail/bin/qmail-popup ns2.te-clan.ch /usr/local/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir
|-- supervise log
| `-- multilog t ./main
|-- supervise smtpd
| `-- /usr/local/bin/tcpserver -vDUHR -lns2.te-clan.ch -c200 -xtcp.cdb -- 0 25 /usr/local/bin/greylite /var/qmail/bin/qmail-smtpd /usr/local/vpopmail/bin/vchkpw /bin/true
|   |-- /usr/local/bin/greylite /var/qmail/bin/qmail-smtpd /usr/local/vpopmail/bin/vchkpw /bin/true
|   | `-- /var/qmail/bin/qmail-smtpd /usr/local/vpopmail/bin/vchkpw /bin/true
|   |-- /usr/local/bin/greylite /var/qmail/bin/qmail-smtpd /usr/local/vpopmail/bin/vchkpw /bin/true
|   | `-- /var/qmail/bin/qmail-smtpd /usr/local/vpopmail/bin/vchkpw /bin/true
|   |-- /usr/local/bin/greylite /var/qmail/bin/qmail-smtpd /usr/local/vpopmail/bin/vchkpw /bin/true
|   | `-- /var/qmail/bin/qmail-smtpd /usr/local/vpopmail/bin/vchkpw /bin/true
|   |-- /usr/local/bin/greylite /var/qmail/bin/qmail-smtpd /usr/local/vpopmail/bin/vchkpw /bin/true
|   | `-- /var/qmail/bin/qmail-smtpd /usr/local/vpopmail/bin/vchkpw /bin/true
|   `-- /usr/local/bin/greylite /var/qmail/bin/qmail-smtpd /usr/local/vpopmail/bin/vchkpw /bin/true
|     `-- /var/qmail/bin/qmail-smtpd /usr/local/vpopmail/bin/vchkpw /bin/true
|-- supervise log
| `-- multilog t ./main
|-- supervise qmail
| `-- qmail-send
|   |-- /usr/local/bin/multilog t /var/log/qmail qmaill
|   |-- qmail-lspawn ./Maildir/
|   |-- qmail-rspawn
|   `-- qmail-clean
`-- supervise log
  `-- multilog t ./main


# find work -name qmail-remote
work/netqmail-1.06/qmail-remote
work/stage/var/qmail/bin/qmail-remote

# /usr/local/etc/rc.d/svscan stop
Stopping svscan.
Waiting for PIDS: 731.

# cp /usr/ports/mail/qmail-tls/work/stage/var/qmail/bin/qmail-remote /var/qmail/bin/qmail-remote

# /usr/local/etc/rc.d/svscan start

qmail mit TLS

smtp-auth + qmail-tls + forcetls patch for qmail, May 8, 2020
Patching qmail, June 19, 2021
Installing and configuring vpopmail, April 18, 2021
Installing Dovecot and sieve on a vpopmail + qmail server, June 20, 2021

Was ist TLS

SMTP and Transport Layer Security (TLS) [Tutorial]

Microsoft unterstützt TLS 1.0 nicht mehr!

TLS connect failed
SSL/TLS connection issue troubleshooting test tools
Can’t establish a TLS connection to a remote mail server in Exchange Online or Exchange Server
TLS negotiating failed
Office 365 to enforce TLS 1.2 per October 15, 2020
Checking security protocols and ciphers on your Exchange servers
Rehash: How to Fix the SSL/TLS Handshake Failed Error

SSL/TLS connection issue troubleshooting guide
SSL/TLS connection issue troubleshooting test tools

SMTP MTA STS

SMTP MTA STS (Strict Transport Security)
MTA-STS gestaltet Mail-Versand und -Empfang sicherer
STARTTLS: MTA-STS

OpenSSL

E-Mail-Verschlüsselung austesten
When was TLS 1.2 support added to OpenSSL?

# openssl version
OpenSSL 1.0.1p-freebsd 9 Jul 2015

SSL/TLS Client

From ns3.te-clan.ch
$ openssl s_client -host mail.te-clan.ch -port 25 -starttls smtp
CONNECTED(00000003)
ehlo test
depth=0 C = CH, ST = ZH, L = Winterthur, O = tE-clan Server, CN = Andreas Bachmann, emailAddress = bachi@te-clan.ch
verify error:num=18:self signed certificate
verify return:1
depth=0 C = CH, ST = ZH, L = Winterthur, O = tE-clan Server, CN = Andreas Bachmann, emailAddress = bachi@te-clan.ch
verify return:1
---
Certificate chain
 0 s:C = CH, ST = ZH, L = Winterthur, O = tE-clan Server, CN = Andreas Bachmann, emailAddress = bachi@te-clan.ch
   i:C = CH, ST = ZH, L = Winterthur, O = tE-clan Server, CN = Andreas Bachmann, emailAddress = bachi@te-clan.ch
---
Server certificate
-----BEGIN CERTIFICATE-----
[...]
-----END CERTIFICATE-----
subject=C = CH, ST = ZH, L = Winterthur, O = tE-clan Server, CN = Andreas Bachmann, emailAddress = bachi@te-clan.ch
issuer=C = CH, ST = ZH, L = Winterthur, O = tE-clan Server, CN = Andreas Bachmann, emailAddress = bachi@te-clan.ch

---
No client certificate CA names sent
Peer signing digest: SHA256
Peer signature type: RSA
Server Temp Key: DH, 1024 bits
---
SSL handshake has read 1600 bytes and written 542 bytes
Verification error: self signed certificate
---
New, TLSv1.2, Cipher is DHE-RSA-AES256-GCM-SHA384
Server public key is 1024 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
SSL-Session:
    Protocol  : TLSv1.2
    Cipher    : DHE-RSA-AES256-GCM-SHA384
    Session-ID: [...]
    Session-ID-ctx:
    Master-Key: [...]
    PSK identity: None
    PSK identity hint: None
    SRP username: None
    TLS session ticket lifetime hint: 300 (seconds)
    TLS session ticket:
    0000 - 0b f4 09 ef 02 07 df bc-b9 fa bd d0 f6 21 af 69   .............!.i
    0010 - [...]
    00a0 - ff 5d 6f 73 8d 1b 75 59-bf dd 9b a6 d8 b2 01 71   .]os..uY.......q
    Start Time: 1625840075
    Timeout   : 7200 (sec)
    Verify return code: 18 (self signed certificate)
    Extended master secret: no
---
250 8BITMIME
250-ns2.te-clan.ch250-AUTH LOGIN PLAIN CRAM-MD5
250-PIPELINING
250 8BITMIME
read:errno=0
From ns3.te-clan.ch
$ openssl s_client -host 104.47.74.33 -port 25 -starttls smtp
CONNECTED(00000003)
depth=2 C = US, O = DigiCert Inc, OU = www.digicert.com, CN = DigiCert Global Root CA
verify return:1
depth=1 C = US, O = DigiCert Inc, CN = DigiCert Cloud Services CA-1
verify return:1
depth=0 C = US, ST = Washington, L = Redmond, O = Microsoft Corporation, CN = mail.protection.outlook.com
verify return:1
---
Certificate chain
 0 s:C = US, ST = Washington, L = Redmond, O = Microsoft Corporation, CN = mail.protection.outlook.com
   i:C = US, O = DigiCert Inc, CN = DigiCert Cloud Services CA-1
 1 s:C = US, O = DigiCert Inc, CN = DigiCert Cloud Services CA-1
   i:C = US, O = DigiCert Inc, OU = www.digicert.com, CN = DigiCert Global Root CA
---
Server certificate
-----BEGIN CERTIFICATE-----
[...]
-----END CERTIFICATE-----
subject=C = US, ST = Washington, L = Redmond, O = Microsoft Corporation, CN = mail.protection.outlook.com

issuer=C = US, O = DigiCert Inc, CN = DigiCert Cloud Services CA-1

---
No client certificate CA names sent
Client Certificate Types: RSA sign, DSA sign, ECDSA sign
Requested Signature Algorithms: RSA+SHA256:RSA+SHA384:RSA+SHA1:ECDSA+SHA256:ECDSA+SHA384:ECDSA+SHA1:DSA+SHA1:RSA+SHA512:ECDSA+SHA512
Shared Requested Signature Algorithms: RSA+SHA256:RSA+SHA384:RSA+SHA1:ECDSA+SHA256:ECDSA+SHA384:ECDSA+SHA1:DSA+SHA1:RSA+SHA512:ECDSA+SHA512
Peer signing digest: SHA256
Peer signature type: RSA
Server Temp Key: ECDH, P-384, 384 bits
---
SSL handshake has read 3852 bytes and written 519 bytes
Verification: OK
---
New, TLSv1.2, Cipher is ECDHE-RSA-AES256-GCM-SHA384
Server public key is 2048 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
SSL-Session:
    Protocol  : TLSv1.2
    Cipher    : ECDHE-RSA-AES256-GCM-SHA384
    Session-ID: [...]
    Session-ID-ctx:
    Master-Key: [...]
    PSK identity: None
    PSK identity hint: None
    SRP username: None
    Start Time: 1625840474
    Timeout   : 7200 (sec)
    Verify return code: 0 (ok)
    Extended master secret: yes
---
250 SMTPUTF8
From ns2.te-clan.ch
$ openssl s_client -host 104.47.74.33 -port 25 -starttls smtp
CONNECTED(00000003)
depth=2 C = US, O = DigiCert Inc, OU = www.digicert.com, CN = DigiCert Global Root CA
verify return:1
depth=1 C = US, O = DigiCert Inc, CN = DigiCert Cloud Services CA-1
verify return:1
depth=0 C = US, ST = Washington, L = Redmond, O = Microsoft Corporation, CN = mail.protection.outlook.com
verify return:1
---
Certificate chain
 0 s:/C=US/ST=Washington/L=Redmond/O=Microsoft Corporation/CN=mail.protection.outlook.com
   i:/C=US/O=DigiCert Inc/CN=DigiCert Cloud Services CA-1
 1 s:/C=US/O=DigiCert Inc/CN=DigiCert Cloud Services CA-1
   i:/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert Global Root CA
---
Server certificate
-----BEGIN CERTIFICATE-----
[...]
-----END CERTIFICATE-----
subject=/C=US/ST=Washington/L=Redmond/O=Microsoft Corporation/CN=mail.protection.outlook.com
issuer=/C=US/O=DigiCert Inc/CN=DigiCert Cloud Services CA-1
---
No client certificate CA names sent
---
SSL handshake has read 3847 bytes and written 502 bytes
---
New, TLSv1/SSLv3, Cipher is ECDHE-RSA-AES256-GCM-SHA384
Server public key is 2048 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
SSL-Session:
    Protocol  : TLSv1.2
    Cipher    : ECDHE-RSA-AES256-GCM-SHA384
    Session-ID: [...]
    Session-ID-ctx:
    Master-Key: [...]
    Key-Arg   : None
    PSK identity: None
    PSK identity hint: None
    SRP username: None
    Start Time: 1625840680
    Timeout   : 300 (sec)
    Verify return code: 0 (ok)
---
250 SMTPUTF8

OpenSSL Cookbook

Testing Protocols that Upgrade to TLS

When used with HTTP, TLS wraps the entire plain-text communication channel to form HTTPS. Some other protocols start off as plaintext, but then they upgrade to encryption. If you want to test such a protocol, you’ll have to tell OpenSSL which protocol it is so that it can upgrade on your behalf. Provide the protocol information using the -starttls switch. For example:

$ openssl s_client -connect gmail-smtp-in.l.google.com:25 -starttls smtp
At the time of writing, the supported protocols in recent OpenSSL releases are smtp, pop3, imap, ftp, xmpp, xmpp-server, irc, postgres, mysql, lmtp, nntp, sieve, and ldap. There is less choice with OpenSSL 1.0.2g: smtp, pop3, imap, ftp, and xmpp.

Some protocols require the client to provide their names. For example, for SMTP, OpenSSL will use mail.example.com by default, but you can specify the correct value with the -name switch. If you’re testing XMPP, you may need to specify the correct server name; you can do this with the -xmpphost switch.

s/qmail

Linked: Erwin Hoffmann
github.com/wavemechanics/sqmail-port
Installing s/qmail
FreeBSD Port: qmail-spamcontrol-1.03.2731_2

IndiMail

IndiMail is a Secure, Reliable, Efficient Messaging Platform which provides you everything needed in a modern messaging server – ESMTP, IMAP, POP3, QMTP, QMQP and many other features. IndiMail gives you speeds that are faster than most MTAs. The flexibility provided by IndiMail’s authentication methods allow any IMAP/POP3 server to be used with IndiMail. IndiMail is built for speed and flexibility. You can download the source or use the binary RPM generated by openSUSE Build Service.
IndiMail
IndiMail
github.com/mbhangui/indimail-mta

sslscan

github.com/rbsec/sslscan
sslscan Fast SSL port scanner

C:\Users\andreas\Downloads\sslscan-win-2.0.10>sslscan.exe --starttls-smtp mail.xyz.abc:25
Version: 2.0.10 Windows 64-bit (Mingw)
OpenSSL 1.1.1e-dev  xx XXX xxxx

Connected to x.x.x.x

Testing SSL server mail.xyz.abc on port 25 using SNI name mail.xyz.abc

  SSL/TLS Protocols:
SSLv2     enabled
SSLv3     disabled
TLSv1.0   enabled
TLSv1.1   enabled
TLSv1.2   enabled
TLSv1.3   disabled

  TLS Fallback SCSV:
Connection failed - unable to determine TLS Fallback SCSV support

  TLS renegotiation:
Session renegotiation not supported

  TLS Compression:
Compression disabled

  Heartbleed:
TLSv1.2 not vulnerable to heartbleed
TLSv1.1 not vulnerable to heartbleed
TLSv1.0 not vulnerable to heartbleed

  Supported Server Cipher(s):
Preferred TLSv1.2  56 bits   TLS_RSA_WITH_DES_CBC_SHA
Preferred TLSv1.1  56 bits   TLS_RSA_WITH_DES_CBC_SHA
Preferred TLSv1.1  56 bits   TLS_DHE_RSA_WITH_DES_CBC_SHA
Preferred TLSv1.0  256 bits  DHE-RSA-AES256-SHA            DHE 1024 bits
Accepted  TLSv1.0  56 bits   TLS_RSA_WITH_DES_CBC_SHA

  SSL Certificate:
Signature Algorithm: sha1WithRSAEncryption
RSA Key Strength:    1024

Subject:  Andreas Bachmann
Issuer:   Andreas Bachmann

Not valid before: Apr 22 11:27:56 2019 GMT
Not valid after:  Apr 20 11:27:56 2024 GMT

FreeBSD Ports: qmail-tls

# make clean
# make rmconfig
# make patch
[...]
===>  Patching for netqmail-tls-1.06.20200107_4
===>  Applying distribution patches for netqmail-tls-1.06.20200107_4
===>  Applying extra patch /usr/ports/mail/qmail-tls/../qmail/files/extra-patch-amd64
===>  Applying extra patch /usr/ports/mail/qmail-tls/../qmail/files/extra-patch-utmpx
===>  Applying extra patch /usr/ports/mail/qmail-tls/../qmail/files/extra-patch-dns-cname
===>  Applying FreeBSD patches for netqmail-tls-1.06.20200107_4 from /usr/ports/mail/qmail-tls/../qmail/files
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- auth.patch.orig    2002-05-10 00:41:20.000000000 -0500
|+++ auth.patch 2014-06-24 14:30:00.122166435 -0500
--------------------------
Patching file auth.patch using Plan A...
Hunk #1 succeeded at 14.
Hunk #2 succeeded at 176.
done
Hmm...  Looks like a new-style context diff to me...
The text leading up to this was:
--------------------------
|*** Makefile.orig      Mon Jun 15 05:53:16 1998
|--- Makefile   Fri May 10 00:31:38 2002
--------------------------
Patching file Makefile using Plan A...
Hunk #1 succeeded at 125 (offset -11 lines).
Hunk #2 succeeded at 1545 (offset 4 lines).
Hunk #3 succeeded at 1548 (offset -9 lines).
Hmm...  The next patch looks like a new-style context diff to me...
The text leading up to this was:
--------------------------
|
|
|*** TARGETS.orig       Mon Jun 15 05:53:16 1998
|--- TARGETS    Fri May 10 00:31:38 2002
--------------------------
Patching file TARGETS using Plan A...
Hunk #1 succeeded at 252 (offset 2 lines).
Hmm...  The next patch looks like a new-style context diff to me...
The text leading up to this was:
--------------------------
|
|
|*** qmail-smtpd.8.orig Mon Jun 15 05:53:16 1998
|--- qmail-smtpd.8      Fri May 10 00:31:38 2002
--------------------------
Patching file qmail-smtpd.8 using Plan A...
Hunk #1 succeeded at 3.
Hunk #2 succeeded at 37 (offset 9 lines).
Hunk #3 succeeded at 256 (offset 52 lines).
Hmm...  The next patch looks like a new-style context diff to me...
The text leading up to this was:
--------------------------
|
|
|*** qmail-smtpd.c.orig Mon Jun 15 05:53:16 1998
|--- qmail-smtpd.c      Fri May 10 00:33:35 2002
--------------------------
Patching file qmail-smtpd.c using Plan A...
Hunk #1 succeeded at 23.
Hunk #2 succeeded at 89 with fuzz 1 (offset 27 lines).
Hunk #3 succeeded at 254 with fuzz 2 (offset -23 lines).
Hunk #4 succeeded at 852 with fuzz 2 (offset 438 lines).
No such line 845 in input file, ignoring
Hunk #5 succeeded at 624 (offset -20 lines).
done
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- qmail-smtpd.c.orig Sat Jan 18 09:13:50 2003
|+++ qmail-smtpd.c      Sat Jan 18 19:51:09 2003
--------------------------
Patching file qmail-smtpd.c using Plan A...
Hunk #1 succeeded at 883 (offset 424 lines).
done
# make
[...]
===>  Staging for netqmail-tls-1.06.20200107_4
===>   Generating temporary packing list
===> Creating groups.
===> Creating users
install  -s -m 555 /usr/ports/mail/qmail-tls/work/netqmail-1.06/dnsfq /usr/ports/mail/qmail-tls/work/stage/var/qmail/configure
install  -s -m 555 /usr/ports/mail/qmail-tls/work/netqmail-1.06/hostname /usr/ports/mail/qmail-tls/work/stage/var/qmail/configure
install  -s -m 555 /usr/ports/mail/qmail-tls/work/netqmail-1.06/dnsip /usr/ports/mail/qmail-tls/work/stage/var/qmail/configure
install  -s -m 555 /usr/ports/mail/qmail-tls/work/netqmail-1.06/ipmeprint /usr/ports/mail/qmail-tls/work/stage/var/qmail/configure
install  -s -m 555 /usr/ports/mail/qmail-tls/work/netqmail-1.06/dnsptr /usr/ports/mail/qmail-tls/work/stage/var/qmail/configure
install  -s -m 555 /usr/ports/mail/qmail-tls/work/netqmail-1.06/install.nostage /usr/ports/mail/qmail-tls/work/stage/var/qmail/configure/install
install  -m 555 /usr/ports/mail/qmail-tls/work/netqmail-1.06/config /usr/ports/mail/qmail-tls/work/stage/var/qmail/configure
install  -m 555 /usr/ports/mail/qmail-tls/work/netqmail-1.06/config-fast /usr/ports/mail/qmail-tls/work/stage/var/qmail/configure
install  -m 555 /usr/ports/mail/qmail-tls/work/home /usr/ports/mail/qmail-tls/work/stage/var/qmail/boot
install  -m 555 /usr/ports/mail/qmail-tls/work/home+df /usr/ports/mail/qmail-tls/work/stage/var/qmail/boot
install  -m 555 /usr/ports/mail/qmail-tls/work/proc /usr/ports/mail/qmail-tls/work/stage/var/qmail/boot
install  -m 555 /usr/ports/mail/qmail-tls/work/proc+df /usr/ports/mail/qmail-tls/work/stage/var/qmail/boot
install  -m 555 /usr/ports/mail/qmail-tls/work/binm1 /usr/ports/mail/qmail-tls/work/stage/var/qmail/boot
install  -m 555 /usr/ports/mail/qmail-tls/work/binm1+df /usr/ports/mail/qmail-tls/work/stage/var/qmail/boot
install  -m 555 /usr/ports/mail/qmail-tls/work/binm2 /usr/ports/mail/qmail-tls/work/stage/var/qmail/boot
install  -m 555 /usr/ports/mail/qmail-tls/work/binm2+df /usr/ports/mail/qmail-tls/work/stage/var/qmail/boot
install  -m 555 /usr/ports/mail/qmail-tls/work/binm3 /usr/ports/mail/qmail-tls/work/stage/var/qmail/boot
install  -m 555 /usr/ports/mail/qmail-tls/work/binm3+df /usr/ports/mail/qmail-tls/work/stage/var/qmail/boot
install  -m 555 /usr/ports/mail/qmail-tls/work/maildir /usr/ports/mail/qmail-tls/work/stage/var/qmail/boot
install  -m 555 /usr/ports/mail/qmail-tls/work/qmailsmtpd /usr/ports/mail/qmail-tls/work/stage/var/qmail/boot
install  -m 555 /usr/ports/mail/qmail-tls/work/qmailsend /usr/ports/mail/qmail-tls/work/stage/var/qmail/boot
install  -m 444 /usr/ports/mail/qmail-tls/work/netqmail-1.06/forward.1 /usr/ports/mail/qmail-tls/work/stage/var/qmail/man/man1
install  -m 444 /usr/ports/mail/qmail-tls/work/netqmail-1.06/condredirect.1 /usr/ports/mail/qmail-tls/work/stage/var/qmail/man/man1
install  -m 444 /usr/ports/mail/qmail-tls/work/netqmail-1.06/bouncesaying.1 /usr/ports/mail/qmail-tls/work/stage/var/qmail/man/man1
install  -m 444 /usr/ports/mail/qmail-tls/work/netqmail-1.06/except.1 /usr/ports/mail/qmail-tls/work/stage/var/qmail/man/man1
install  -m 444 /usr/ports/mail/qmail-tls/work/netqmail-1.06/maildirmake.1 /usr/ports/mail/qmail-tls/work/stage/var/qmail/man/man1
install  -m 444 /usr/ports/mail/qmail-tls/work/netqmail-1.06/maildir2mbox.1 /usr/ports/mail/qmail-tls/work/stage/var/qmail/man/man1
install  -m 444 /usr/ports/mail/qmail-tls/work/netqmail-1.06/maildirwatch.1 /usr/ports/mail/qmail-tls/work/stage/var/qmail/man/man1
install  -m 444 /usr/ports/mail/qmail-tls/work/netqmail-1.06/mailsubj.1 /usr/ports/mail/qmail-tls/work/stage/var/qmail/man/man1
install  -m 444 /usr/ports/mail/qmail-tls/work/netqmail-1.06/qreceipt.1 /usr/ports/mail/qmail-tls/work/stage/var/qmail/man/man1
install  -m 444 /usr/ports/mail/qmail-tls/work/netqmail-1.06/qbiff.1 /usr/ports/mail/qmail-tls/work/stage/var/qmail/man/man1
install  -m 444 /usr/ports/mail/qmail-tls/work/netqmail-1.06/preline.1 /usr/ports/mail/qmail-tls/work/stage/var/qmail/man/man1
install  -m 444 /usr/ports/mail/qmail-tls/work/netqmail-1.06/tcp-env.1 /usr/ports/mail/qmail-tls/work/stage/var/qmail/man/man1
install  -m 444 /usr/ports/mail/qmail-tls/work/netqmail-1.06/addresses.5 /usr/ports/mail/qmail-tls/work/stage/var/qmail/man/man5
install  -m 444 /usr/ports/mail/qmail-tls/work/netqmail-1.06/envelopes.5 /usr/ports/mail/qmail-tls/work/stage/var/qmail/man/man5
install  -m 444 /usr/ports/mail/qmail-tls/work/netqmail-1.06/maildir.5 /usr/ports/mail/qmail-tls/work/stage/var/qmail/man/man5
install  -m 444 /usr/ports/mail/qmail-tls/work/netqmail-1.06/mbox.5 /usr/ports/mail/qmail-tls/work/stage/var/qmail/man/man5
install  -m 444 /usr/ports/mail/qmail-tls/work/netqmail-1.06/dot-qmail.5 /usr/ports/mail/qmail-tls/work/stage/var/qmail/man/man5
install  -m 444 /usr/ports/mail/qmail-tls/work/netqmail-1.06/qmail-control.5 /usr/ports/mail/qmail-tls/work/stage/var/qmail/man/man5
install  -m 444 /usr/ports/mail/qmail-tls/work/netqmail-1.06/qmail-header.5 /usr/ports/mail/qmail-tls/work/stage/var/qmail/man/man5
install  -m 444 /usr/ports/mail/qmail-tls/work/netqmail-1.06/qmail-log.5 /usr/ports/mail/qmail-tls/work/stage/var/qmail/man/man5
install  -m 444 /usr/ports/mail/qmail-tls/work/netqmail-1.06/qmail-users.5 /usr/ports/mail/qmail-tls/work/stage/var/qmail/man/man5
install  -m 444 /usr/ports/mail/qmail-tls/work/netqmail-1.06/tcp-environ.5 /usr/ports/mail/qmail-tls/work/stage/var/qmail/man/man5
install  -m 444 /usr/ports/mail/qmail-tls/work/netqmail-1.06/forgeries.7 /usr/ports/mail/qmail-tls/work/stage/var/qmail/man/man7
install  -m 444 /usr/ports/mail/qmail-tls/work/netqmail-1.06/qmail-limits.7 /usr/ports/mail/qmail-tls/work/stage/var/qmail/man/man7
install  -m 444 /usr/ports/mail/qmail-tls/work/netqmail-1.06/qmail.7 /usr/ports/mail/qmail-tls/work/stage/var/qmail/man/man7
install  -m 444 /usr/ports/mail/qmail-tls/work/netqmail-1.06/qmail-local.8 /usr/ports/mail/qmail-tls/work/stage/var/qmail/man/man8
install  -m 444 /usr/ports/mail/qmail-tls/work/netqmail-1.06/qmail-lspawn.8 /usr/ports/mail/qmail-tls/work/stage/var/qmail/man/man8
install  -m 444 /usr/ports/mail/qmail-tls/work/netqmail-1.06/qmail-getpw.8 /usr/ports/mail/qmail-tls/work/stage/var/qmail/man/man8
install  -m 444 /usr/ports/mail/qmail-tls/work/netqmail-1.06/qmail-remote.8 /usr/ports/mail/qmail-tls/work/stage/var/qmail/man/man8
install  -m 444 /usr/ports/mail/qmail-tls/work/netqmail-1.06/qmail-rspawn.8 /usr/ports/mail/qmail-tls/work/stage/var/qmail/man/man8
install  -m 444 /usr/ports/mail/qmail-tls/work/netqmail-1.06/qmail-clean.8 /usr/ports/mail/qmail-tls/work/stage/var/qmail/man/man8
install  -m 444 /usr/ports/mail/qmail-tls/work/netqmail-1.06/qmail-send.8 /usr/ports/mail/qmail-tls/work/stage/var/qmail/man/man8
install  -m 444 /usr/ports/mail/qmail-tls/work/netqmail-1.06/qmail-start.8 /usr/ports/mail/qmail-tls/work/stage/var/qmail/man/man8
install  -m 444 /usr/ports/mail/qmail-tls/work/netqmail-1.06/splogger.8 /usr/ports/mail/qmail-tls/work/stage/var/qmail/man/man8
install  -m 444 /usr/ports/mail/qmail-tls/work/netqmail-1.06/qmail-queue.8 /usr/ports/mail/qmail-tls/work/stage/var/qmail/man/man8
install  -m 444 /usr/ports/mail/qmail-tls/work/netqmail-1.06/qmail-inject.8 /usr/ports/mail/qmail-tls/work/stage/var/qmail/man/man8
install  -m 444 /usr/ports/mail/qmail-tls/work/netqmail-1.06/qmail-showctl.8 /usr/ports/mail/qmail-tls/work/stage/var/qmail/man/man8
install  -m 444 /usr/ports/mail/qmail-tls/work/netqmail-1.06/qmail-newmrh.8 /usr/ports/mail/qmail-tls/work/stage/var/qmail/man/man8
install  -m 444 /usr/ports/mail/qmail-tls/work/netqmail-1.06/qmail-newu.8 /usr/ports/mail/qmail-tls/work/stage/var/qmail/man/man8
install  -m 444 /usr/ports/mail/qmail-tls/work/netqmail-1.06/qmail-pw2u.8 /usr/ports/mail/qmail-tls/work/stage/var/qmail/man/man8
install  -m 444 /usr/ports/mail/qmail-tls/work/netqmail-1.06/qmail-qread.8 /usr/ports/mail/qmail-tls/work/stage/var/qmail/man/man8
install  -m 444 /usr/ports/mail/qmail-tls/work/netqmail-1.06/qmail-qstat.8 /usr/ports/mail/qmail-tls/work/stage/var/qmail/man/man8
install  -m 444 /usr/ports/mail/qmail-tls/work/netqmail-1.06/qmail-tcpok.8 /usr/ports/mail/qmail-tls/work/stage/var/qmail/man/man8
install  -m 444 /usr/ports/mail/qmail-tls/work/netqmail-1.06/qmail-tcpto.8 /usr/ports/mail/qmail-tls/work/stage/var/qmail/man/man8
install  -m 444 /usr/ports/mail/qmail-tls/work/netqmail-1.06/qmail-pop3d.8 /usr/ports/mail/qmail-tls/work/stage/var/qmail/man/man8
install  -m 444 /usr/ports/mail/qmail-tls/work/netqmail-1.06/qmail-popup.8 /usr/ports/mail/qmail-tls/work/stage/var/qmail/man/man8
install  -m 444 /usr/ports/mail/qmail-tls/work/netqmail-1.06/qmail-qmqpc.8 /usr/ports/mail/qmail-tls/work/stage/var/qmail/man/man8
install  -m 444 /usr/ports/mail/qmail-tls/work/netqmail-1.06/qmail-qmqpd.8 /usr/ports/mail/qmail-tls/work/stage/var/qmail/man/man8
install  -m 444 /usr/ports/mail/qmail-tls/work/netqmail-1.06/qmail-qmtpd.8 /usr/ports/mail/qmail-tls/work/stage/var/qmail/man/man8
install  -m 444 /usr/ports/mail/qmail-tls/work/netqmail-1.06/qmail-smtpd.8 /usr/ports/mail/qmail-tls/work/stage/var/qmail/man/man8
install  -m 444 /usr/ports/mail/qmail-tls/work/netqmail-1.06/qmail-command.8 /usr/ports/mail/qmail-tls/work/stage/var/qmail/man/man8
install  -m 0644 /usr/ports/mail/qmail-tls/work/netqmail-1.06/BLURB /usr/ports/mail/qmail-tls/work/stage/var/qmail/doc
install  -m 0644 /usr/ports/mail/qmail-tls/work/netqmail-1.06/BLURB2 /usr/ports/mail/qmail-tls/work/stage/var/qmail/doc
install  -m 0644 /usr/ports/mail/qmail-tls/work/netqmail-1.06/BLURB3 /usr/ports/mail/qmail-tls/work/stage/var/qmail/doc
install  -m 0644 /usr/ports/mail/qmail-tls/work/netqmail-1.06/BLURB4 /usr/ports/mail/qmail-tls/work/stage/var/qmail/doc
install  -m 0644 /usr/ports/mail/qmail-tls/work/netqmail-1.06/INTERNALS /usr/ports/mail/qmail-tls/work/stage/var/qmail/doc
install  -m 0644 /usr/ports/mail/qmail-tls/work/netqmail-1.06/SECURITY /usr/ports/mail/qmail-tls/work/stage/var/qmail/doc
install  -m 0644 /usr/ports/mail/qmail-tls/work/netqmail-1.06/THOUGHTS /usr/ports/mail/qmail-tls/work/stage/var/qmail/doc
install  -m 0644 /usr/ports/mail/qmail-tls/work/netqmail-1.06/FAQ /usr/ports/mail/qmail-tls/work/stage/var/qmail/doc
install  -m 0644 /usr/ports/mail/qmail-tls/work/netqmail-1.06/UPGRADE /usr/ports/mail/qmail-tls/work/stage/var/qmail/doc
install  -m 0644 /usr/ports/mail/qmail-tls/work/netqmail-1.06/SENDMAIL /usr/ports/mail/qmail-tls/work/stage/var/qmail/doc
install  -m 0644 /usr/ports/mail/qmail-tls/work/netqmail-1.06/INSTALL /usr/ports/mail/qmail-tls/work/stage/var/qmail/doc
install  -m 0644 /usr/ports/mail/qmail-tls/work/netqmail-1.06/INSTALL.alias /usr/ports/mail/qmail-tls/work/stage/var/qmail/doc
install  -m 0644 /usr/ports/mail/qmail-tls/work/netqmail-1.06/INSTALL.ctl /usr/ports/mail/qmail-tls/work/stage/var/qmail/doc
install  -m 0644 /usr/ports/mail/qmail-tls/work/netqmail-1.06/INSTALL.ids /usr/ports/mail/qmail-tls/work/stage/var/qmail/doc
install  -m 0644 /usr/ports/mail/qmail-tls/work/netqmail-1.06/INSTALL.maildir /usr/ports/mail/qmail-tls/work/stage/var/qmail/doc
install  -m 0644 /usr/ports/mail/qmail-tls/work/netqmail-1.06/INSTALL.mbox /usr/ports/mail/qmail-tls/work/stage/var/qmail/doc
install  -m 0644 /usr/ports/mail/qmail-tls/work/netqmail-1.06/INSTALL.vsm /usr/ports/mail/qmail-tls/work/stage/var/qmail/doc
install  -m 0644 /usr/ports/mail/qmail-tls/work/netqmail-1.06/TEST.deliver /usr/ports/mail/qmail-tls/work/stage/var/qmail/doc
install  -m 0644 /usr/ports/mail/qmail-tls/work/netqmail-1.06/TEST.receive /usr/ports/mail/qmail-tls/work/stage/var/qmail/doc
install  -m 0644 /usr/ports/mail/qmail-tls/work/netqmail-1.06/REMOVE.sendmail /usr/ports/mail/qmail-tls/work/stage/var/qmail/doc
install  -m 0644 /usr/ports/mail/qmail-tls/work/netqmail-1.06/REMOVE.binmail /usr/ports/mail/qmail-tls/work/stage/var/qmail/doc
install  -m 0644 /usr/ports/mail/qmail-tls/work/netqmail-1.06/PIC.local2alias /usr/ports/mail/qmail-tls/work/stage/var/qmail/doc
install  -m 0644 /usr/ports/mail/qmail-tls/work/netqmail-1.06/PIC.local2ext /usr/ports/mail/qmail-tls/work/stage/var/qmail/doc
install  -m 0644 /usr/ports/mail/qmail-tls/work/netqmail-1.06/PIC.local2local /usr/ports/mail/qmail-tls/work/stage/var/qmail/doc
install  -m 0644 /usr/ports/mail/qmail-tls/work/netqmail-1.06/PIC.local2rem /usr/ports/mail/qmail-tls/work/stage/var/qmail/doc
install  -m 0644 /usr/ports/mail/qmail-tls/work/netqmail-1.06/PIC.local2virt /usr/ports/mail/qmail-tls/work/stage/var/qmail/doc
install  -m 0644 /usr/ports/mail/qmail-tls/work/netqmail-1.06/PIC.nullclient /usr/ports/mail/qmail-tls/work/stage/var/qmail/doc
install  -m 0644 /usr/ports/mail/qmail-tls/work/netqmail-1.06/PIC.relaybad /usr/ports/mail/qmail-tls/work/stage/var/qmail/doc
install  -m 0644 /usr/ports/mail/qmail-tls/work/netqmail-1.06/PIC.relaygood /usr/ports/mail/qmail-tls/work/stage/var/qmail/doc
install  -m 0644 /usr/ports/mail/qmail-tls/work/netqmail-1.06/PIC.rem2local /usr/ports/mail/qmail-tls/work/stage/var/qmail/doc
install  -m 0644 /usr/ports/mail/qmail-tls/work/mailer.conf.sample /usr/ports/mail/qmail-tls/work/stage/var/qmail/doc
install  -m 0644 /usr/ports/mail/qmail-tls/work/TLS.readme /usr/ports/mail/qmail-tls/work/stage/var/qmail/doc
install  -m 555 /usr/ports/mail/qmail-tls/../qmail/files/mkaliasdir /usr/ports/mail/qmail-tls/work/stage/var/qmail/scripts
install  -m 555 /usr/ports/mail/qmail-tls/work/enable-qmail /usr/ports/mail/qmail-tls/work/stage/var/qmail/scripts
=============================================

ATTENTION

Add the following line to your /etc/make.conf
QMAIL_SLAVEPORT=tls

=============================================

install  -m 0644 /usr/ports/mail/qmail-tls/work/qmail.conf /usr/ports/mail/qmail-tls/work/stage/usr/local/etc/man.d/qmail.conf
===> Fixing plist for /var/qmail ownership
/bin/rm -f -r /usr/ports/mail/qmail-tls/work/stage/var/qmail/queue/
====> Compressing man pages (compress-man)
# make install
===>  Installing for netqmail-tls-1.06.20200107_4
===>  Checking if netqmail-tls is already installed
===>   Registering installation for netqmail-tls-1.06.20200107_4
pkg-static: Warning: @unexec is deprecated, please use @[pre|post]unexec
pkg-static: Warning: @exec is deprecated, please use @[pre|post][un]exec
Installing netqmail-tls-1.06.20200107_4...
===> Creating groups.
Using existing group 'qmail'.
Using existing group 'qnofiles'.
===> Creating users
Using existing user 'alias'.
===> Creating homedir(s)
Using existing user 'qmaild'.
===> Creating homedir(s)
Using existing user 'qmaill'.
===> Creating homedir(s)
Using existing user 'qmailp'.
===> Creating homedir(s)
Using existing user 'qmailq'.
===> Creating homedir(s)
Using existing user 'qmailr'.
===> Creating homedir(s)
Using existing user 'qmails'.
===> Creating homedir(s)
Your hostname is ns3.te-clan.ch.
hard error
Sorry, I couldn't find your host's canonical name in DNS.
You will have to set up control/me yourself.
        ATTENTION:

Do not forget to read /var/qmail/doc/TLS.readme. After all,
this is NOT our old stock qmail.

You can enable qmail as your default mailer executing:
> /var/qmail/scripts/enable-qmail

==> As you need to provide a working certificate in /var/qmail/control/cert.pem :

# makes a self-signed certificate
3) do "make certificate"

# makes a certificate request
4) do "make certificate-req"

===> SECURITY REPORT:
      This port has installed the following binaries which execute with
      increased privileges.
/var/qmail/bin/qmail-queue

      If there are vulnerabilities in these programs there may be a security
      risk to the system. FreeBSD makes no guarantee about the security of
      ports included in the Ports Collection. Please type 'make deinstall'
      to deinstall the port if this is a concern.

      For more information, and contact details about the security
      status of this software, see the following webpage:
http://inoa.net/qmail-tls/

ESP32-WROOM-32 vs ESP32-WROOM-32D

Modules

ESP32 Series
32-bit MCU & 2.4 GHz Wi-Fi & Bluetooth/Bluetooth LE

  • ESP32 embedded, two or one Xtensa® 32-bit LX6 microprocessor(s) with adjustable clock frequency, ranging from 80 MHz to 240 MHz
  • +19.5 dBm output power ensures a good physical range
  • Classic Bluetooth for legacy connections, also supporting L2CAP, SDP, GAP, SMP, AVDTP, AVCTP, A2DP (SNK) and AVRCP (CT)
  • Support for Bluetooth Low Energy (Bluetooth LE) profiles including L2CAP, GAP, GATT, SMP, and GATT-based profiles like BluFi, SPP-like, etc
  • Bluetooth Low Energy (Bluetooth LE) connects to smart phones, broadcasting low-energy beacons for easy detection
  • Sleep current is less than 5 μA, making it suitable for battery-powered and wearable-electronics applications
  • Peripherals include capacitive touch sensors, Hall sensor, SD card interface, Ethernet, high-speed SPI, UART, I2S and I2C
  • Fully certified with integrated antenna and software stacks

STM32 USB-PD using UCPD PHY and TCPP01-M12

Product

TCPP01-M12, Overvoltage protection for USB-C or Power Delivery
X-NUCLEO-USBPDM1, USB Type-C Power Delivery SINK expansion board based on TCPP01-M12 for STM32 Nucleo
X-NUCLEO-SNK1M1, USB Type-C Power Delivery Sink expansion board based on TCPP01-M12 for STM32 Nucleo
STM32CubeMonUCPD, Monitoring and configuration software tool for STM32 USB-C and Power Delivery 3.0 applications

Documentation

AN5225: USB Type-C Power Delivery using STM32 MCUs and MPUs
AN5418: How to build a simple USB-PD sink application with STM32CubeMX
UM2552: Managing USB power delivery systems with STM32 microcontrollers

ST Wiki

USB Power Delivery overview

ST Community

USB PD How to use Augmented PDO (APDO), Reject PDO if APDO is available!
NUCLEO-L552ZE-Q USB PD “Request Power Profile” Issue
No connection in STM32CubeMonitor-UCPD (NUCLEO-G474RE + X-NUCLEO-USBPDM1)
Nucleo-G474 and X-Nucleo-USBPDM1 sink setup for continuous changement of PDOs and APDOs
Trying to get connection to STM32CubeMonitor-UCPD with NUCLEO-G474RE and X-NUCLEO-USBPDM1
Can I initiate a USB-C PPS PDO change from a source without an RDO from the sink?

YouTube

How to Create a STM32G0 USB-PD Device with STM32CubeIDE
STM32G0 OLT – USB Type-C USB Power Delivery (UCPD)

GitHub

github.com/STMicroelectronics/x-cube-tcpp/


Frequent acronyms

Acronym Definition
AM Alternate Mode: to specify the use of the super-speed lines for Video for example
APDO Augmented power data object. It is a PDO in the case of PPS
DFP Downstream Facing Port (Host data role)
DP Display Port
DRP Dual Role Power: the ability to change power role dynamically, meaning Source or Sink. The device toggles the pull-up/down resistor
EMC Electronically Marked Cable
GUI Graphical User Interface = STM32CubeMonitor-UCPD
HPM High-power mode?!
LPM Low-power mode?! Local Policy Manager?!
PDO Power Data Object: the definition of a power capability
PPS Programmable Power Supply: option in power delivery specification to be able to specify a voltage with 20 mV precision within a range.
RDO Request Data Object
SNK Sink = device asking for VBUS
SRC Source = device providing VBUS
TCPC Type-C port controller
TCPM Type-C port manager
UCPD USB Type-C® Power Delivery peripheral
UFP Upstream facing port (Device data role)
VDM Vendor Defined Message. Type of message used for the Alternate Mode

USB PD

make -j4 all 
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Utilities/TRACER_EMB/tracer_emb.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Utilities/TRACER_EMB/tracer_emb.d" -MT"Utilities/TRACER_EMB/tracer_emb.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Utilities/TRACER_EMB/tracer_emb.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Utilities/TRACER_EMB/tracer_emb_hw.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Utilities/TRACER_EMB/tracer_emb_hw.d" -MT"Utilities/TRACER_EMB/tracer_emb_hw.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Utilities/TRACER_EMB/tracer_emb_hw.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Utilities/GUI_INTERFACE/bsp_gui.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Utilities/GUI_INTERFACE/bsp_gui.d" -MT"Utilities/GUI_INTERFACE/bsp_gui.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Utilities/GUI_INTERFACE/bsp_gui.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Utilities/GUI_INTERFACE/data_struct_tlv.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Utilities/GUI_INTERFACE/data_struct_tlv.d" -MT"Utilities/GUI_INTERFACE/data_struct_tlv.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Utilities/GUI_INTERFACE/data_struct_tlv.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Utilities/GUI_INTERFACE/gui_api.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Utilities/GUI_INTERFACE/gui_api.d" -MT"Utilities/GUI_INTERFACE/gui_api.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Utilities/GUI_INTERFACE/gui_api.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Middlewares/Third_Party/FreeRTOS/portable/heap_4.d" -MT"Middlewares/Third_Party/FreeRTOS/portable/heap_4.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Middlewares/Third_Party/FreeRTOS/portable/heap_4.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0/port.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Middlewares/Third_Party/FreeRTOS/portable/port.d" -MT"Middlewares/Third_Party/FreeRTOS/portable/port.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Middlewares/Third_Party/FreeRTOS/portable/port.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Middlewares/Third_Party/FreeRTOS/CMSIS_RTOS/cmsis_os.d" -MT"Middlewares/Third_Party/FreeRTOS/CMSIS_RTOS/cmsis_os.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Middlewares/Third_Party/FreeRTOS/CMSIS_RTOS/cmsis_os.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Middlewares/Third_Party/FreeRTOS/Source/list.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Middlewares/Third_Party/FreeRTOS/list.d" -MT"Middlewares/Third_Party/FreeRTOS/list.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Middlewares/Third_Party/FreeRTOS/list.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Middlewares/Third_Party/FreeRTOS/Source/queue.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Middlewares/Third_Party/FreeRTOS/queue.d" -MT"Middlewares/Third_Party/FreeRTOS/queue.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Middlewares/Third_Party/FreeRTOS/queue.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Middlewares/Third_Party/FreeRTOS/Source/tasks.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Middlewares/Third_Party/FreeRTOS/tasks.d" -MT"Middlewares/Third_Party/FreeRTOS/tasks.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Middlewares/Third_Party/FreeRTOS/tasks.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Middlewares/Third_Party/FreeRTOS/Source/timers.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Middlewares/Third_Party/FreeRTOS/timers.d" -MT"Middlewares/Third_Party/FreeRTOS/timers.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Middlewares/Third_Party/FreeRTOS/timers.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/src/usbpd_cad_hw_if.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/usbpd_cad_hw_if.d" -MT"Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/usbpd_cad_hw_if.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/usbpd_cad_hw_if.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/src/usbpd_hw.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/usbpd_hw.d" -MT"Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/usbpd_hw.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/usbpd_hw.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/src/usbpd_hw_if_it.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/usbpd_hw_if_it.d" -MT"Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/usbpd_hw_if_it.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/usbpd_hw_if_it.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/src/usbpd_phy.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/usbpd_phy.d" -MT"Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/usbpd_phy.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/usbpd_phy.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/src/usbpd_phy_hw_if.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/usbpd_phy_hw_if.d" -MT"Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/usbpd_phy_hw_if.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/usbpd_phy_hw_if.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/src/usbpd_pwr_hw_if.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/usbpd_pwr_hw_if.d" -MT"Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/usbpd_pwr_hw_if.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/usbpd_pwr_hw_if.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/src/usbpd_timersserver.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/usbpd_timersserver.d" -MT"Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/usbpd_timersserver.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/usbpd_timersserver.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Middlewares/ST/STM32_USBPD_Library/Core/src/usbpd_trace.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Middlewares/ST/STM32_USBPD_Library/Core/usbpd_trace.d" -MT"Middlewares/ST/STM32_USBPD_Library/Core/usbpd_trace.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Middlewares/ST/STM32_USBPD_Library/Core/usbpd_trace.o"
arm-none-eabi-gcc -mcpu=cortex-m0plus -g3 -c -I../../Inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -x assembler-with-cpp -MMD -MP -MF"Example/CubeIDE/startup_stm32g071xx.d" -MT"Example/CubeIDE/startup_stm32g071xx.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Example/CubeIDE/startup_stm32g071xx.o" "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Drivers/CMSIS/Device/ST/STM32G0xx/Source/Templates/gcc/startup_stm32g071xx.s"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal.d" -MT"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_adc.d" -MT"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_adc.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_adc.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc_ex.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_adc_ex.d" -MT"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_adc_ex.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_adc_ex.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_comp.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_comp.d" -MT"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_comp.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_comp.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_cortex.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_cortex.d" -MT"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_cortex.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_cortex.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_crc.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_crc.d" -MT"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_crc.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_crc.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_crc_ex.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_crc_ex.d" -MT"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_crc_ex.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_crc_ex.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_dma.d" -MT"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_dma.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_dma.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma_ex.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_dma_ex.d" -MT"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_dma_ex.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_dma_ex.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_flash.d" -MT"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_flash.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_flash.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash_ex.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_flash_ex.d" -MT"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_flash_ex.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_flash_ex.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_gpio.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_gpio.d" -MT"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_gpio.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_gpio.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_lptim.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_lptim.d" -MT"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_lptim.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_lptim.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_pwr.d" -MT"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_pwr.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_pwr.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr_ex.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_pwr_ex.d" -MT"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_pwr_ex.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_pwr_ex.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_rcc.d" -MT"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_rcc.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_rcc.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc_ex.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_rcc_ex.d" -MT"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_rcc_ex.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_rcc_ex.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_spi.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_spi.d" -MT"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_spi.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_spi.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_spi_ex.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_spi_ex.d" -MT"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_spi_ex.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_spi_ex.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_tim.d" -MT"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_tim.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_tim.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_tim_ex.d" -MT"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_tim_ex.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_tim_ex.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_uart.d" -MT"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_uart.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_uart.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart_ex.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_uart_ex.d" -MT"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_uart_ex.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_uart_ex.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_dma.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_ll_dma.d" -MT"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_ll_dma.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32G0xx_HAL_Driver/stm32g0xx_ll_dma.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_lpuart.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_ll_lpuart.d" -MT"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_ll_lpuart.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32G0xx_HAL_Driver/stm32g0xx_ll_lpuart.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_rcc.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_ll_rcc.d" -MT"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_ll_rcc.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32G0xx_HAL_Driver/stm32g0xx_ll_rcc.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_ucpd.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_ll_ucpd.d" -MT"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_ll_ucpd.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32G0xx_HAL_Driver/stm32g0xx_ll_ucpd.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_usart.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_ll_usart.d" -MT"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_ll_usart.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32G0xx_HAL_Driver/stm32g0xx_ll_usart.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_utils.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_ll_utils.d" -MT"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_ll_utils.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32G0xx_HAL_Driver/stm32g0xx_ll_utils.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Projects/NUCLEO-G071RB/Applications/USB_PD/USBPDM1_Sink_PPS/Src/system_stm32g0xx.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/CMSIS/system_stm32g0xx.d" -MT"Drivers/CMSIS/system_stm32g0xx.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/CMSIS/system_stm32g0xx.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Drivers/BSP/X-NUCLEO-USBPDM1/usbpdm1_usbpd_pwr.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/BSP/x-nucleo-usbpdm1/usbpdm1_usbpd_pwr.d" -MT"Drivers/BSP/x-nucleo-usbpdm1/usbpdm1_usbpd_pwr.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/BSP/x-nucleo-usbpdm1/usbpdm1_usbpd_pwr.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Projects/NUCLEO-G071RB/Applications/USB_PD/USBPDM1_Sink_PPS/Src/main.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Application/User/main.d" -MT"Application/User/main.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Application/User/main.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Projects/NUCLEO-G071RB/Applications/USB_PD/USBPDM1_Sink_PPS/Src/stm32g0xx_it.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Application/User/stm32g0xx_it.d" -MT"Application/User/stm32g0xx_it.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Application/User/stm32g0xx_it.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Projects/NUCLEO-G071RB/Applications/USB_PD/USBPDM1_Sink_PPS/Src/usbpd.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Application/User/usbpd.d" -MT"Application/User/usbpd.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Application/User/usbpd.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Projects/NUCLEO-G071RB/Applications/USB_PD/USBPDM1_Sink_PPS/Src/usbpd_dpm_core.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Application/User/usbpd_dpm_core.d" -MT"Application/User/usbpd_dpm_core.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Application/User/usbpd_dpm_core.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Projects/NUCLEO-G071RB/Applications/USB_PD/USBPDM1_Sink_PPS/Src/usbpd_dpm_user.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Application/User/usbpd_dpm_user.d" -MT"Application/User/usbpd_dpm_user.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Application/User/usbpd_dpm_user.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Projects/NUCLEO-G071RB/Applications/USB_PD/USBPDM1_Sink_PPS/Src/usbpd_pwr_if.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Application/User/usbpd_pwr_if.d" -MT"Application/User/usbpd_pwr_if.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Application/User/usbpd_pwr_if.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Projects/NUCLEO-G071RB/Applications/USB_PD/USBPDM1_Sink_PPS/Src/usbpd_vdm_user.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../.USBPD_DPM_USER_C./Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Application/User/usbpd_vdm_user.d" -MT"Application/User/usbpd_vdm_user.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Application/User/usbpd_vdm_user.o"
arm-none-eabi-gcc -o "USBPDM1_Sink_PPS.elf" @"objects.list"  -l:USBPDCORE_PD3_FULL_CM0PLUS_wc32.a -mcpu=cortex-m0plus -T"C:\Users\andreas\switchdrive\STM32CubeIDE\x-cube-tcpp\Projects\NUCLEO-G071RB\Applications\USB_PD\USBPDM1_Sink_PPS\STM32CubeIDE\STM32G071RBTX_FLASH.ld" --specs=nosys.specs -Wl,-Map="USBPDM1_Sink_PPS.map" -Wl,--gc-sections -static -Wl,--start-group -l:USBPDCORE_PD3_FULL_CM0PLUS_wc32.a -Wl,--end-group -L../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/lib --specs=nano.specs -mfloat-abi=soft -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
Finished building target: USBPDM1_Sink_PPS.elf
 
arm-none-eabi-size   USBPDM1_Sink_PPS.elf 
arm-none-eabi-objdump -h -S  USBPDM1_Sink_PPS.elf  > "USBPDM1_Sink_PPS.list"
arm-none-eabi-objcopy  -O ihex  USBPDM1_Sink_PPS.elf  "USBPDM1_Sink_PPS.hex"
arm-none-eabi-objcopy  -O binary  USBPDM1_Sink_PPS.elf  "USBPDM1_Sink_PPS.bin"
   text	   data	    bss	    dec	    hex	filename
  90632	    296	  14544	 105472	  19c00	USBPDM1_Sink_PPS.elf
Finished building: default.size.stdout
 
Finished building: USBPDM1_Sink_PPS.bin
Finished building: USBPDM1_Sink_PPS.hex
 
 
Finished building: USBPDM1_Sink_PPS.list
Path:   Middlewares/ST/STM32_USBPD_Library/Core/lib
        USBPDCORE_PD3_FULL_CM0PLUS_Keil.lib
G071:   USBPDCORE_PD3_FULL_CM0PLUS_wc32.a
        USBPDCORE_PD3_FULL_CM0_Keil.lib
        USBPDCORE_PD3_FULL_CM0_wc32.a
        USBPDCORE_PD3_FULL_CM33_Keil.lib
        USBPDCORE_PD3_FULL_CM33_wc32.a
        USBPDCORE_PD3_FULL_CM3_Keil.lib
        USBPDCORE_PD3_FULL_CM3_wc32.a
        USBPDCORE_PD3_FULL_CM4_Keil.lib
G474:   USBPDCORE_PD3_FULL_CM4_wc32.a
usbpd_pdo_defs.h: uint8_t                                USBPD_NbPDO[4];
usbpd_pdo_defs.h: uint32_t                               PORT0_PDO_ListSRC[USBPD_MAX_NB_PDO];
usbpd_pdo_defs.h: uint32_t                               PORT0_PDO_ListSNK[USBPD_MAX_NB_PDO];
usbpd_pwr_if.c:   USBPD_PWR_Port_PDO_Storage_TypeDef     PWR_Port_PDO_Storage[USBPD_PORT_COUNT]
usbpd_dpm_user.h: USBPD_HandleTypeDef                    DPM_Ports[USBPD_PORT_COUNT];
usbpd_dpm_core.c: USBPD_ParamsTypeDef                    DPM_Params[USBPD_PORT_COUNT];

/**
  * @brief  Initialize the core stack (port power role, PWR_IF, CAD and PE Init procedures)
  * @retval USBPD status
  */
USBPD_StatusTypeDef USBPD_DPM_InitCore(void)
{
    static const USBPD_PE_Callbacks dpmCallbacks = {
        NULL,
        USBPD_DPM_HardReset,
        NULL,
        USBPD_DPM_Notification,
        USBPD_DPM_ExtendedMessageReceived,
        USBPD_DPM_GetDataInfo,
        USBPD_DPM_SetDataInfo,
        NULL,
        USBPD_DPM_SNK_EvaluateCapabilities,
        NULL,
        USBPD_PE_TaskWakeUp,
        NULL,
        NULL,
        NULL,
        USBPD_DPM_EvaluateDataRoleSwap,
        USBPD_DPM_IsPowerReady
    };

    [...]

    /* Initialise the TRACE */
    USBPD_TRACE_Init();

    /* CAD SET UP : Port 0 */
    CHECK_CAD_FUNCTION_CALL(USBPD_CAD_Init(USBPD_PORT_0, (USBPD_CAD_Callbacks *)&CAD_cbs, (USBPD_SettingsTypeDef *)&DPM_Settings[USBPD_PORT_0], &DPM_Params[USBPD_PORT_0]));

    /* PE SET UP : Port 0 */
    CHECK_PE_FUNCTION_CALL(USBPD_PE_Init(USBPD_PORT_0, (USBPD_SettingsTypeDef *)&DPM_Settings[USBPD_PORT_0], &DPM_Params[USBPD_PORT_0], &dpmCallbacks));

    /* DPM is correctly initialized */
    DPM_Params[USBPD_PORT_0].DPM_Initialized = USBPD_TRUE;

    /* Enable CAD on Port 0 */
    USBPD_CAD_PortEnable(USBPD_PORT_0, USBPD_CAD_ENABLE);

    [...]
}
/**
  * @brief  Main task for PE layer
  * @param  argument Not used
  * @retval None
  */
void USBPD_PE_Task(void const *argument)
{
    uint8_t _port = (uint32_t)argument;
    uint32_t _timing;

    for(;;) {
        _timing = USBPD_PE_StateMachine_SNK(_port);
        osMessageGet(PEQueueId[_port],_timing);
    }
}

/**
  * @brief  Main task for CAD layer
  * @param  argument Not used
  * @retval None
  */
void USBPD_CAD_Task(void const *argument)
{
    for (;;) {
        osMessageGet(CADQueueId, USBPD_CAD_Process());
    }
}

/*** usbpd_pdo_defs.h *******************************************************************/

/** @brief  USBPD Port PDO Structure definition */
typedef struct
{
  uint32_t *ListOfPDO;                          /*!< Pointer on Power Data Objects list, defining
                                                     port capabilities */
  uint8_t  *NumberOfPDO;                         /*!< Number of Power Data Objects defined in ListOfPDO
                                                     This parameter must be set at max to @ref USBPD_MAX_NB_PDO value */
} USBPD_PortPDO_TypeDef;

/* @brief  USBPD Port PDO Storage Structure definition */
typedef struct
{
    USBPD_PortPDO_TypeDef    SinkPDO;          /*!< SNK Power Data Objects */
} USBPD_PWR_Port_PDO_Storage_TypeDef;


/*** usbpd_def.h ***********************************************************************/

#define USBPD_MAX_NB_PDO                 (7U)              /*!< Maximum number of supported Power Data Objects: fix by the Specification */

#define USBPD_CORE_PDO_TYPE_FIXED       0x00u            /*!< Fixed Supply PDO                             */
#define USBPD_CORE_PDO_TYPE_BATTERY     0x01u            /*!< Battery Supply PDO                           */
#define USBPD_CORE_PDO_TYPE_VARIABLE    0x02u            /*!< Variable Supply (non-battery) PDO            */
#define USBPD_CORE_PDO_TYPE_APDO        0x03u            /*!< Augmented Power Data Object (APDO)           */

/* @brief  USB PD Sink Request Data Object Structure definition */
typedef union
{
    uint32_t d32;
    USBPD_SNKGenericRDO_TypeDef       GenericRDO;       /*!<  Generic Request Data Object Structure           */
    USBPD_SNKFixedVariableRDO_TypeDef FixedVariableRDO; /*!< Fixed and Variable Request Data Object Structure */
    USBPD_SNKBatteryRDO_TypeDef       BatteryRDO;       /*!< Battery Request Data Object Structure            */
    USBPD_SNKProgrammableRDO_TypeDef  ProgRDO;          /*!< Programmable Request Data Object Structure       */
} USBPD_SNKRDO_TypeDef;

/* @brief PRIVATE Sink Request characteritics Structure definition */
typedef struct
{
    uint32_t RequestedVoltageInmVunits;              /*!< Sink request operating voltage in mV units       */
    uint32_t MaxOperatingCurrentInmAunits;           /*!< Sink request Max operating current in mA units   */
    uint32_t OperatingCurrentInmAunits;              /*!< Sink request operating current in mA units       */
    uint32_t MaxOperatingPowerInmWunits;             /*!< Sink request Max operating power in mW units     */
    uint32_t OperatingPowerInmWunits;                /*!< Sink request operating power in mW units         */
} USBPD_DPM_SNKPowerRequestDetails_TypeDef;

/* @brief  USB PD Power Data Object Structure definition */
typedef union
{
    uint32_t d32;
    USBPD_GenericPDO_TypeDef            GenericPDO;       /*!< Generic Power Data Object Structure            */
    USBPD_SRCFixedSupplyPDO_TypeDef     SRCFixedPDO;      /*!< Fixed Supply PDO - Source                      */
    USBPD_SRCVariableSupplyPDO_TypeDef  SRCVariablePDO;   /*!< Variable Supply (non-Battery) PDO - Source     */
    USBPD_SRCBatterySupplyPDO_TypeDef   SRCBatteryPDO;    /*!< Battery Supply PDO - Source                    */
    USBPD_SNKFixedSupplyPDO_TypeDef     SNKFixedPDO;      /*!< Fixed Supply PDO - Sink                        */
    USBPD_SNKVariableSupplyPDO_TypeDef  SNKVariablePDO;   /*!< Variable Supply (non-Battery) PDO - Sink       */
    USBPD_SNKBatterySupplyPDO_TypeDef   SNKBatteryPDO;    /*!< Battery Supply PDO - Sink                      */
    USBPD_ProgrammablePowerSupplyAPDO_TypeDef  SRCSNKAPDO;/*!< Programmable Power Supply APDO - Source / Sink */
} USBPD_PDO_TypeDef;


/*** usbpd_dpm_user.h ******************************************************************/

/**
  * @brief  USBPD DPM handle Structure definition
  * @{
  */
typedef struct
{
  uint32_t                      DPM_ListOfRcvSRCPDO[USBPD_MAX_NB_PDO];   /*!< The list of received Source Power Data Objects from Port partner
                                                                              (when Port partner is a Source or a DRP port).                       */
  uint32_t                      DPM_NumberOfRcvSRCPDO;                   /*!< The number of received Source Power Data Objects from port Partner
                                                                              (when Port partner is a Source or a DRP port).
                                                                              This parameter must be set to a value lower than USBPD_MAX_NB_PDO    */
  uint32_t                      DPM_ListOfRcvSNKPDO[USBPD_MAX_NB_PDO];   /*!< The list of received Sink Power Data Objects from Port partner
                                                                              (when Port partner is a Sink or a DRP port).                         */
  uint32_t                      DPM_NumberOfRcvSNKPDO;                   /*!< The number of received Sink Power Data Objects from port Partner
                                                                              (when Port partner is a Sink or a DRP port).
                                                                              This parameter must be set to a value lower than USBPD_MAX_NB_PDO    */
  uint32_t                      DPM_RDOPosition;                         /*!< RDO Position of requested DO in Source list of capabilities          */
  uint32_t                      DPM_RequestedVoltage;                    /*!< Value of requested voltage                                           */
  uint32_t                      DPM_RequestedCurrent;                    /*!< Value of requested current                                           */
  int16_t                       DPM_MeasuredCurrent;                     /*!< Value of measured current                                            */
  uint32_t                      DPM_RDOPositionPrevious;                 /*!< RDO Position of previous requested DO in Source list of capabilities */
  uint32_t                      DPM_RequestDOMsg;                        /*!< Request Power Data Object message to be sent                         */
  uint32_t                      DPM_RequestDOMsgPrevious;                /*!< Previous Request Power Data Object message to be sent                */
  uint32_t                      DPM_RcvRequestDOMsg;                     /*!< Received request Power Data Object message from the port Partner     */
  volatile uint32_t             DPM_ErrorCode;                           /*!< USB PD Error code                                                    */
  volatile uint8_t              DPM_IsConnected;                         /*!< USB PD connection state                                              */
  uint16_t                      DPM_Reserved:14;                         /*!< Reserved bytes                                                       */
  USBPD_PPSSDB_TypeDef          DPM_RcvPPSStatus;                        /*!< PPS Status received by port partner                                  */
  USBPD_SKEDB_TypeDef           DPM_RcvSNKExtendedCapa;                  /*!< SNK Extended Capability received by port partner                     */
  volatile uint16_t             DPM_TimerMeasReport;                     /*!< Timer used to send measurement report                                */
} USBPD_HandleTypeDef;
/**
  * @brief  Initialize structures and variables related to power board profiles
  *         used by Sink and Source, for all available ports.
  * @retval USBPD status
  */
USBPD_StatusTypeDef USBPD_PWR_IF_Init(void)
{
    [...]
    PWR_Port_PDO_Storage[USBPD_PORT_0].SinkPDO.ListOfPDO = (uint32_t *)PORT0_PDO_ListSNK;
    PWR_Port_PDO_Storage[USBPD_PORT_0].SinkPDO.NumberOfPDO = &USBPD_NbPDO[0];
    _status |= PWR_IF_CheckUpdateSNKPower(USBPD_PORT_0);

    [...]

    return _status;
}

/**
  * @brief  Allow PDO data reading from PWR_IF storage.
  * @param  PortNum Port number
  * @param  DataId Type of data to be read from PWR_IF
  *         This parameter can be one of the following values:
  *           @arg @ref USBPD_CORE_DATATYPE_SRC_PDO Source PDO reading requested
  *           @arg @ref USBPD_CORE_DATATYPE_SNK_PDO Sink PDO reading requested
  * @param  Ptr Pointer on address where PDO values should be written (u8 pointer)
  * @param  Size Pointer on nb of u32 written by PWR_IF (nb of PDOs)
  * @retval None
  */
void USBPD_PWR_IF_GetPortPDOs(uint8_t PortNum, USBPD_CORE_DataInfoType_TypeDef DataId, uint8_t *Ptr, uint32_t *Size)
{
    [...]
}

/**
  * @brief  Add consistency check on PDO definition (Could help to detect unexpected flash settings content)
  * @param  PortNum Port number
  * @retval None
  */
void _PWR_CheckPDOContent(uint8_t PortNum)
{
    uint32_t firstpdo;
    uint8_t error_in_content = 0U;

    /* Add consistency check on PDO definition for Ports 0 and 1 */

    [...]

    /* SNK PDO
     - Nb of SNK PDO should be < USBPD_MAX_NB_PDO
     - if SNK PDO are defined, 1st SNK PDO should at least have following characteristics :
         Type Fixed (bits 31-30)
         bits 22-20 shall be reserved
         Voltage in 50mv units = 5V (bits19-10 should be equal to 100)
    */

    [...]

    firstpdo = (PWR_Port_PDO_Storage[PortNum].SinkPDO.ListOfPDO[0U])
             & (USBPD_PDO_TYPE_Msk | USBPD_PDO_SNK_FIXED_VOLTAGE_Msk | (0x3U << 20U));
    if (firstpdo != (USBPD_PDO_TYPE_FIXED | (100U << USBPD_PDO_SNK_FIXED_VOLTAGE_Pos))) {
        [...]
    }
    
    [...]
}
/**
  * @brief  DPM (Device Policy Manager) callback to allow PE (Policy Engine) to retrieve information from DPM/PWR_IF.
  * @param  PortNum Port number
  * @param  DataId  Type of data to be updated in DPM based on @ref USBPD_CORE_DataInfoType_TypeDef
  * @param  Ptr     Pointer on address where DPM data should be written (u8 pointer)
  * @param  Size    Pointer on nb of u8 written by DPM
  * @retval None
  */
void USBPD_DPM_GetDataInfo(uint8_t PortNum, USBPD_CORE_DataInfoType_TypeDef DataId, uint8_t *Ptr, uint32_t *Size)
{
    switch(DataId) {
        case USBPD_CORE_DATATYPE_SRC_PDO:
        case USBPD_CORE_DATATYPE_SNK_PDO:           /*!< Handling of port Sink PDO, requested by get sink capa*/
            USBPD_PWR_IF_GetPortPDOs(PortNum, DataId, Ptr, Size);
            *Size *= 4;
            break;
            
        case USBPD_CORE_EXTENDED_CAPA:              /*!< Source Extended capability message content          */
        case USBPD_CORE_DATATYPE_REQ_VOLTAGE:       /*!< Get voltage value requested for BIST tests, expect 5V*/
        case USBPD_CORE_INFO_STATUS:                /*!< Information status message content                  */
        case USBPD_CORE_MANUFACTURER_INFO:          /*!< Retrieve of Manufacturer info message content       */
        case USBPD_CORE_BATTERY_STATUS:             /*!< Retrieve of Battery status message content          */
        case USBPD_CORE_BATTERY_CAPABILITY:         /*!< Retrieve of Battery capability message content      */
        case USBPD_CORE_PPS_STATUS:
        case USBPD_CORE_SNK_EXTENDED_CAPA:
    }
}

/**
  * @brief  Evaluate received Capabilities Message from Source port and prepare the request message
  * @param  PortNum         Port number
  * @param  PtrRequestData  Pointer on selected request data object
  * @param  PtrPowerObjectType  Pointer on the power data object
  * @retval None
  */
void USBPD_DPM_SNK_EvaluateCapabilities(uint8_t PortNum, uint32_t *PtrRequestData, USBPD_CORE_PDO_Type_TypeDef *PtrPowerObjectType)
{
    /*=== G474 ===*/
    [...]

    /* Read the sink PDO */
    USBPD_PWR_IF_GetPortPDOs(PortNum, USBPD_CORE_DATATYPE_SNK_PDO, (uint8_t*)snkpdolist, &size);

    [...]


    /*=== G071 ===*/
    [...]

    /* Find the Pdo index for the requested voltage */
    pdoindex = DPM_FindVoltageIndex(PortNum, &snkpowerrequestdetails);

    [...]

    /* If no valid SNK PDO or if no SRC PDO match found (index>=nb of valid received SRC PDOs or function returned DPM_NO_SRC_PDO_FOUND*/
    if (pdoindex >= pdhandle->DPM_NumberOfRcvSRCPDO) {
        [...]
        return;
    }

    DPM_SNK_BuildRDOfromSelectedPDO(PortNum, pdoindex, &snkpowerrequestdetails,&rdo, PtrPowerObjectType);

    [...]
}
/**
  * @brief  Get actual voltage level measured on the VBUS line.
  * @param  Instance Type-C port identifier
  *         This parameter can be take one of the following values:
  *         @arg @ref USBPD_PWR_TYPE_C_PORT_1
  * @param  pVoltage Pointer on measured voltage level (in mV)
  * @retval BSP status
  */
__weak int32_t BSP_USBPD_PWR_VBUSGetVoltage(uint32_t Instance, uint32_t *pVoltage)
{
    [...]
}

PDO / APDO

Sink PWR_IF storage

Nr Type Voltage fix/min. Voltage max. Current
0 Fixed 50 * 100 = 5000mV = 5V 10 * 500 = 5000mA = 5A
1 Fixed 50 * 180 = 9000mV = 9V 10 * 500 = 5000mA = 5A
2 Fixed 50 * 300 = 15000mV = 15V 10 * 500 = 5000mA = 5A
3 Fixed 50 * 400 = 20000mV = 20V 10 * 500 = 5000mA = 5A
4 APDO 100 * 33 = 3300mV = 3.3V 100 * 59 = 5900mV = 5.9V 50 * 100 = 5000mA = 5A

Source

Nr Type Voltage fix/min. Voltage max. Current
0 Fixed 50 * 100 = 5000mV = 5V 10 * 300 = 3000mA = 3A
1 Fixed 50 * 180 = 9000mV = 9V 10 * 300 = 3000mA = 3A
2 Fixed 50 * 240 = 12000mV = 12V 10 * 300 = 3000mA = 3A
3 Fixed 50 * 300 = 15000mV = 15V 10 * 300 = 3000mA = 3A
4 Fixed 50 * 400 = 20000mV = 20V 10 * 225 = 2250mA = 2.25A
5 APDO 100 * 33 = 3300mV = 3.3V 100 * 160 = 16000mV = 16V 50 * 60 = 3000mA = 3A
6 APDO 100 * 60 = 3300mV = 3.3V 100 * 210 = 21000mV = 21V 50 * 45 = 2250mA = 2.25A

New EvaluateCapabilities


/**
  * @brief  Evaluate received Capabilities Message from Source port and prepare the request message
  * @param  PortNum         Port number
  * @param  PtrRequestData  Pointer on selected request data object
  * @param  PtrPowerObjectType  Pointer on the power data object
  * @retval None
  */
void USBPD_DPM_SNK_EvaluateCapabilities_new(uint8_t PortNum, uint32_t *PtrRequestData, USBPD_CORE_PDO_Type_TypeDef *PtrPowerObjectType)
{
    USBPD_SNKRDO_TypeDef            rdo;
    USBPD_HandleTypeDef            *port                = &DPM_Ports[PortNum];
    USBPD_USER_SettingsTypeDef     *userSettings        = (USBPD_USER_SettingsTypeDef *)&DPM_USER_Settings[PortNum];

    /* Source */
    uint32_t                        numSrcPdo           = DPM_Ports[PortNum].DPM_NumberOfRcvSRCPDO;
    uint32_t                       *listSrcPdo          = DPM_Ports[PortNum].DPM_ListOfRcvSRCPDO;

    /* Sink */
    //uint32_t                        numSinkPdo;
    //uint32_t                        listSinkPdo[USBPD_MAX_NB_PDO];

    USBPD_PDO_TypeDef               pdo;
    USBPD_PDO_TypeDef               pdoBest;
    uint32_t                        idx;
    uint32_t                        idxBest;
    const uint32_t                  voltageMax         = 20000; /* Max. Voltage limit */
    const uint32_t                  voltageIn50mVuints = 50;

    /* initialize */
    pdoBest.d32 = 0;
    rdo.d32     = 0;

    /* search the better PDO in the list of source PDOs */
    for(idx = 0; idx < numSrcPdo; idx++) {
        pdo.d32 = listSrcPdo[idx];

        /* only consider fixed types PDOs */
        switch (pdo.GenericPDO.PowerObject) {
            case USBPD_CORE_PDO_TYPE_FIXED: {
                if (pdo.SNKFixedPDO.VoltageIn50mVunits > pdoBest.SNKFixedPDO.VoltageIn50mVunits &&
                    pdo.SNKFixedPDO.VoltageIn50mVunits <= (voltageMax / voltageIn50mVuints)) {

                    pdoBest.d32 = pdo.d32;
                    idxBest     = idx;
                }
                break;
            }

            case USBPD_CORE_PDO_TYPE_APDO: {
                //
                break;
            }

            default: {
                break;
            }
        }
    }

    //USBPD_PWR_IF_GetPortPDOs(PortNum, USBPD_CORE_DATATYPE_SNK_PDO, (uint8_t*)&listSinkPdo[0], &numSinkPdo);

    /* no fixed PDO found */
    if (pdoBest.SNKFixedPDO.VoltageIn50mVunits == 0) {

        pdo.d32 = listSrcPdo[0];
        rdo.FixedVariableRDO.USBCommunicationsCapable       = 0;
        rdo.FixedVariableRDO.ObjectPosition                 = 1;
        rdo.GenericRDO.NoUSBSuspend                         = 1;
        rdo.FixedVariableRDO.OperatingCurrentIn10mAunits    = pdo.SRCFixedPDO.MaxCurrentIn10mAunits;
        rdo.FixedVariableRDO.MaxOperatingCurrent10mAunits   = userSettings->DPM_SNKRequestedPower.MaxOperatingCurrentInmAunits / 10;
        rdo.FixedVariableRDO.CapabilityMismatch             = 1;

        *PtrPowerObjectType = USBPD_CORE_PDO_TYPE_FIXED;
        *PtrRequestData     = rdo.d32;
        return;
    }

    /* found! */
    rdo.GenericRDO.USBCommunicationsCapable             = 0;
    rdo.GenericRDO.ObjectPosition                       = idxBest + 1;
    rdo.GenericRDO.NoUSBSuspend                         = 1;

    rdo.FixedVariableRDO.OperatingCurrentIn10mAunits    = pdoBest.SNKFixedPDO.OperationalCurrentIn10mAunits;
    rdo.FixedVariableRDO.MaxOperatingCurrent10mAunits   = userSettings->DPM_SNKRequestedPower.MaxOperatingCurrentInmAunits / 10;
    rdo.FixedVariableRDO.UnchunkedExtendedMessage       = DPM_Settings[PortNum].PE_PD3_Support.d.PE_UnchunkSupport;

    DPM_Params[PortNum].PE_UnchunkSupport               = (pdoBest.SRCFixedPDO.UnchunkedExtendedMessage == USBPD_TRUE) ? USBPD_TRUE : USBPD_FALSE;

    port->DPM_RequestDOMsg                              = rdo.d32;
    port->DPM_RDOPosition                               = rdo.GenericRDO.ObjectPosition;
    port->DPM_RequestedVoltage                          = pdoBest.SNKFixedPDO.VoltageIn50mVunits * 50;
    port->DPM_RequestedCurrent                          = pdoBest.SNKFixedPDO.OperationalCurrentIn10mAunits * 10;

    *PtrPowerObjectType = pdoBest.GenericPDO.PowerObject; /* FIXED, BATTERY, VARIABLE or APDO */
    *PtrRequestData     = rdo.d32;
}

Non-OS / NRTOS mode / Non-RTOS Approach

main(...)
USBPD_DPM_Run(...)
osKernelStart(...)
vTaskStartScheduler(...)

UART GUI

USBPD_FunctionalState GUI_Init(


static void TaskGUI(void *pEvent)
  osMessageQueueGet(queue, &event, NULL, _timing);

LPUART1_IRQHandler(...)
TRACER_EMB_IRQHandlerUSART(...)
HW_TRACER_EMB_IRQHandlerUSART(...)
  fptr_rx(received_char, 0U);
GUI_CALLBACK_RX(uint8_t Character, uint8_t Error)
  osMessageQueuePut(GUIMsgBox, &eventgui, 0U, 0U);

Command Line Tools

Windows

> set PATH=%PATh%;c:\ST\STM32CubeIDE_1.6.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.win32_1.5.0.202011040924\tools\bin
> path
PATh=[...]
> arm-none-eabi-gcc
arm-none-eabi-gcc: fatal error: no input files

> cd C:\Users\andreas\switchdrive\STM32CubeIDE\x-cube-tcpp\Middlewares\ST\STM32_USBPD_Library\Core\lib
> arm-none-eabi-ar x USBPDCORE_PD3_FULL_CM4_wc32.a
or
> arm-none-eabi-ar x USBPDCORE_PD3_FULL_CM0PLUS_wc32.a
usbpd_cad.o
usbpd_pe.o
usbpd_pe_lib.o
usbpd_pe_msg.o
usbpd_pe_snk.o
usbpd_pe_src.o
usbpd_pe_vconn.o
usbpd_pe_vdm.o
usbpd_prl.o

-h, --section-header, --header: Display summary information from the section headers
> arm-none-eabi-objdump -h usbpd_pe.o

-s, --full-contents: Display the full contents of any sections requested
> arm-none-eabi-objdump -j.text -s usbpd_pe.o

-d, --disassemble: Display the assembler mnemonics of a single section
-D, --disassemble-all: Display the assembler mnemonics of all sections
> arm-none-eabi-objdump -D usbpd_pe.o

-t, --syms: Print the symbol table entries (like arm-none-eabi-nm)
> arm-none-eabi-objdump -t usbpd_pe.o

MSYS

$ cd /c/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Middlewares/ST/STM32_USBPD_Library/Core/lib
$ export PATH=$PATH:/c/ST/STM32CubeIDE_1.6.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.win32_1.5.0.202011040924/tools/bin

T, t: The symbol is in the text (code) section.
B, b: The symbol is in the uninitialized data section (known as BSS)
U:    The symbol is undefined.
u:    The symbol is a unique global symbol.

$ arm-none-eabi-nm.exe usbpd_cad.o | grep DPM_Ports
$ arm-none-eabi-nm.exe usbpd_pe.o | grep DPM_Ports
$ arm-none-eabi-nm.exe usbpd_pe_lib.o | grep DPM_Ports
$ arm-none-eabi-nm.exe usbpd_pe_msg.o | grep DPM_Ports
$ arm-none-eabi-nm.exe usbpd_pe_snk.o | grep DPM_Ports
$ arm-none-eabi-nm.exe usbpd_pe_src.o | grep DPM_Ports
$ arm-none-eabi-nm.exe usbpd_pe_vconn.o | grep DPM_Ports
$ arm-none-eabi-nm.exe usbpd_pe_vdm.o | grep DPM_Ports
$ arm-none-eabi-nm.exe usbpd_prl.o | grep DPM_Ports
Not found!

PWR_Port_PDO_Storage
                    0x8               Application/User/usbpd_pwr_if.o

 COMMON         0x0000000020002714        0x8 Application/User/usbpd_pwr_if.o
                0x0000000020002714                PWR_Port_PDO_Storage

 .data.PORT0_PDO_ListSNK
                0x0000000020000090       0x1c Application/User/usbpd_pwr_if.o
                0x0000000020000090                PORT0_PDO_ListSNK

 .bss.DPM_Ports
                0x0000000020000168       0x88 Application/User/usbpd_dpm_user.o
                0x0000000020000168                DPM_Ports
$ grep -r __USBPD_PWR_IF_C .
./Inc/usbpd_pdo_defs.h:#ifndef __USBPD_PWR_IF_C
./Src/usbpd_pwr_if.c:#define __USBPD_PWR_IF_C

$ grep -r USBPD_DPM_USER_C .
./Inc/usbpd_dpm_user.h:#if !defined(USBPD_DPM_USER_C)
./Inc/usbpd_dpm_user.h:#endif /* !USBPD_DPM_USER_C */
./Src/usbpd_dpm_user.c:#define USBPD_DPM_USER_C

STM32 Crystal Oscillator (8MHz or 25MHz?)

High-speed external (HSE) clock

  • 25MHz: A 25Mhz crystal is an advantage for designs that use the MII MAC ethernet interface because it’s possible to chain the clock out from STM32 and into the PHY (an MII PHY requires a 25Mhz clock input).
  • 8 MHZ: These may come in slightly larger packages than the 25 MHz crystals.

AN5096 – Getting started with STM32G0 Series hardware development
The 4 to 48 MHz external oscillator has the advantage of producing a very accurate rate on the main clock.

What is the difference between using a 8MHz and a 25 MHz quartz ?

Crystal Oscillator Choices (STM32F4)