File tree Expand file tree Collapse file tree 4 files changed +18
-9
lines changed Expand file tree Collapse file tree 4 files changed +18
-9
lines changed Original file line number Diff line number Diff line change @@ -10,13 +10,17 @@ jobs:
10
10
11
11
steps :
12
12
- uses : actions/checkout@v4
13
+ -
uses :
carlosperate/[email protected]
14
+ with :
15
+ release : ' 9-2020-q2' # The arm-none-eabi-gcc release to use.
16
+
13
17
- uses : actions/setup-python@v5
14
18
with :
15
19
python-version : ' 3.10'
16
20
17
21
- name : Install Dependencies
18
22
run : |
19
- brew install --force ninja armmbed/formulae/arm-none-eabi-gcc
23
+ brew install --force ninja
20
24
21
25
- name : Cached Deps
22
26
id : cache-deps
Original file line number Diff line number Diff line change @@ -13,12 +13,17 @@ jobs:
13
13
14
14
steps :
15
15
- uses : actions/checkout@v4
16
+
17
+ -
uses :
carlosperate/[email protected]
18
+ with :
19
+ release : ' 9-2020-q2' # The arm-none-eabi-gcc release to use.
20
+
16
21
- uses : actions/setup-python@v5
17
22
with :
18
23
python-version : ' 3.10'
19
24
20
25
- name : Install Deps
21
- run : sudo apt-get update && sudo apt-get install --assume-yes --allow-downgrades --allow-remove-essential --allow-change-held-packages build-essential pkg-config cmake ninja-build libffi-dev gnome-desktop-testing libasound2-dev libpulse-dev libaudio-dev libjack-dev libsndio-dev libx11-dev libxext-dev libxrandr-dev libxcursor-dev libxfixes-dev libxi-dev libxss-dev libxkbcommon-dev libdrm-dev libgbm-dev libgl1-mesa-dev libgles2-mesa-dev libegl1-mesa-dev libdbus-1-dev libibus-1.0-dev libudev-dev fcitx-libs-dev libpipewire-0.3-dev libwayland-dev libdecor-0-dev ccache gcc-arm-none-eabi libnewlib-arm-none-eabi
26
+ run : sudo apt-get update && sudo apt-get install --assume-yes --allow-downgrades --allow-remove-essential --allow-change-held-packages build-essential pkg-config cmake ninja-build libffi-dev gnome-desktop-testing libasound2-dev libpulse-dev libaudio-dev libjack-dev libsndio-dev libx11-dev libxext-dev libxrandr-dev libxcursor-dev libxfixes-dev libxi-dev libxss-dev libxkbcommon-dev libdrm-dev libgbm-dev libgl1-mesa-dev libgles2-mesa-dev libegl1-mesa-dev libdbus-1-dev libibus-1.0-dev libudev-dev fcitx-libs-dev libpipewire-0.3-dev libwayland-dev libdecor-0-dev ccache
22
27
23
28
- name : Cached Deps
24
29
id : cache-deps
Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ Compiling for RP2
135
135
Compiling for STM32:
136
136
* Ubuntu (Linux): you can install all of these using ` apt-get install `
137
137
* gcc-arm-none-eabi
138
- * libnewlib-arm-none-eabi
138
+ * libnewlib-arm-none-eabi: maybe??
139
139
* build-essential
140
140
* ninja-build
141
141
* python
Original file line number Diff line number Diff line change @@ -128,16 +128,16 @@ typedef struct _machine_hw_spi_obj_t {
128
128
static machine_hw_spi_bus_obj_t machine_spi_bus_obj [] = {
129
129
{
130
130
0 ,
131
- mp_obj_new_int_from_uint (MICROPY_HW_SPI0_SCK ),
132
- mp_obj_new_int_from_uint (MICROPY_HW_SPI0_MOSI ),
133
- mp_obj_new_int_from_uint (MICROPY_HW_SPI0_MISO ),
131
+ ( const mp_obj_t ) mp_obj_new_int_from_uint (MICROPY_HW_SPI0_SCK ),
132
+ ( const mp_obj_t ) mp_obj_new_int_from_uint (MICROPY_HW_SPI0_MOSI ),
133
+ ( const mp_obj_t ) mp_obj_new_int_from_uint (MICROPY_HW_SPI0_MISO ),
134
134
0 , 0 , (const void * )spi0
135
135
},
136
136
{
137
137
1 ,
138
- mp_obj_new_int_from_uint (MICROPY_HW_SPI1_SCK ),
139
- mp_obj_new_int_from_uint (MICROPY_HW_SPI1_MOSI ),
140
- mp_obj_new_int_from_uint (MICROPY_HW_SPI1_MISO ),
138
+ ( const mp_obj_t ) mp_obj_new_int_from_uint (MICROPY_HW_SPI1_SCK ),
139
+ ( const mp_obj_t ) mp_obj_new_int_from_uint (MICROPY_HW_SPI1_MOSI ),
140
+ ( const mp_obj_t ) mp_obj_new_int_from_uint (MICROPY_HW_SPI1_MISO ),
141
141
0 , 0 , (const void * )spi1
142
142
},
143
143
};
You can’t perform that action at this time.
0 commit comments