Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-pico
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
arduino-pico
Commits
2464d604
Unverified
Commit
2464d604
authored
Mar 27, 2021
by
Earle F. Philhower, III
Committed by
GitHub
Mar 27, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #36 from earlephilhower/libp1
Remove stdio hacks from libpico.a
parents
a28d6dad
90ba9424
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
47 additions
and
47 deletions
+47
-47
lib/libpico.a
lib/libpico.a
+0
-0
pico-sdk-lib/CMakeLists.txt
pico-sdk-lib/CMakeLists.txt
+47
-47
No files found.
lib/libpico.a
View file @
2464d604
No preview for this file type
pico-sdk-lib/CMakeLists.txt
View file @
2464d604
...
...
@@ -13,55 +13,56 @@ pico_sdk_init()
add_library
(
pico STATIC
)
target_compile_definitions
(
pico PUBLIC
PICO_PRINTF_ALWAYS_INCLUDED=1
)
PICO_PRINTF_ALWAYS_INCLUDED=1
)
target_link_libraries
(
pico
boot_stage2
hardware_adc
hardware_base
hardware_claim
hardware_clocks
hardware_divider
hardware_dma
hardware_flash
hardware_gpio
hardware_i2c
hardware_interp
hardware_irq
hardware_pio
hardware_pll
hardware_pwm
hardware_resets
hardware_rtc
hardware_spi
hardware_sync
hardware_timer
hardware_uart
hardware_vreg
hardware_watchdog
hardware_xosc
pico_bit_ops
pico_bootrom
pico_bootsel_via_double_reset
pico_cxx_options
pico_divider
pico_double
pico_fix
pico_float
pico_int64_ops
pico_malloc
pico_mem_ops
pico_multicore
pico_platform
pico_runtime
pico_standard_link
pico_stdio
pico_stdio_usb
pico_stdlib
pico_unique_id
tinyusb
hardware_adc
hardware_base
hardware_claim
hardware_clocks
hardware_divider
hardware_dma
hardware_flash
hardware_gpio
hardware_i2c
hardware_interp
hardware_irq
hardware_pio
hardware_pll
hardware_pwm
hardware_resets
hardware_rtc
hardware_spi
hardware_sync
hardware_timer
hardware_uart
hardware_vreg
hardware_watchdog
hardware_xosc
pico_bit_ops
pico_bootrom
pico_bootsel_via_double_reset
pico_cxx_options
pico_divider
pico_double
pico_fix
pico_float
pico_int64_ops
pico_malloc
pico_mem_ops
pico_multicore
pico_platform
pico_runtime
pico_standard_link
pico_stdio_usb
pico_stdlib
pico_unique_id
tinyusb
)
add_custom_command
(
TARGET pico PRE_BUILD
COMMAND ../../system/arm-none-eabi/bin/arm-none-eabi-gcc -g -c ../../assembly/crt0.S -I ../../pico-sdk/src/rp2040/hardware_regs/include -I ../../pico-sdk/src/common/pico_binary_info/include/
)
...
...
@@ -69,6 +70,5 @@ add_custom_command(TARGET pico PRE_BUILD
add_custom_command
(
TARGET pico POST_BUILD
COMMAND ar d libpico.a crt0.S.obj
COMMAND ar r libpico.a crt0.o
)
# COMMAND ar dv libpico.a stdio_uart.c.obj stdio.c.obj printf.c.obj
COMMAND ar d libpico.a stdio.c.obj stdio_usb.c.obj stdio_usb_descriptors.c.obj
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment