mirror of
https://github.com/hathach/tinyusb.git
synced 2025-02-18 21:41:12 +00:00
fix msp430 gcc 9.2.0 warning in #465
This commit is contained in:
parent
6035572036
commit
6976e64217
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@ -41,10 +41,12 @@ jobs:
|
||||
uses: actions/cache@v1
|
||||
with:
|
||||
path: /tmp/dl/
|
||||
# Increment serial number at end when updating downloads
|
||||
key: msp430-${{ runner.os }}-0
|
||||
# Increment gcc version number at end when updating downloads
|
||||
key: msp430-${{ runner.os }}-9.2.0.50
|
||||
|
||||
- name: Install Toolchains
|
||||
env:
|
||||
MSP430GCC_URL: http://software-dl.ti.com/msp430/msp430_public_sw/mcu/msp430/MSPGCC/9_2_0_0/export/msp430-gcc-9.2.0.50_linux64.tar.bz2
|
||||
run: |
|
||||
# ARM & RISC-V GCC from xpack
|
||||
npm install --global xpm
|
||||
@ -55,7 +57,7 @@ jobs:
|
||||
|
||||
# TI MSP430 GCC
|
||||
mkdir -p /tmp/dl/
|
||||
[ -f "/tmp/dl/msp430-gcc.tar.bz2" ] || wget --progress=dot:mega http://software-dl.ti.com/msp430/msp430_public_sw/mcu/msp430/MSPGCC/8_3_0_0/exports/msp430-gcc-8.3.0.16_linux64.tar.bz2 -O /tmp/dl/msp430-gcc.tar.bz2
|
||||
[ -f "/tmp/dl/msp430-gcc.tar.bz2" ] || wget --progress=dot:mega $MSP430GCC_URL -O /tmp/dl/msp430-gcc.tar.bz2
|
||||
tar -C $HOME -xaf /tmp/dl/msp430-gcc.tar.bz2
|
||||
echo "::add-path::`echo $HOME/msp430-gcc-*_linux64/bin`"
|
||||
|
||||
|
@ -70,8 +70,7 @@ typedef enum
|
||||
SIZXY = 7
|
||||
} ep_regs_index_t;
|
||||
|
||||
#define EP_REGS(epnum, dir) &USBOEPCNF_1 + 64*dir + 8*(epnum - 1)
|
||||
|
||||
#define EP_REGS(epnum, dir) ((ep_regs_t) ((uintptr_t)&USBOEPCNF_1 + 64*dir + 8*(epnum - 1)))
|
||||
|
||||
static void bus_reset(void)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user