Commit Graph

54 Commits

Author SHA1 Message Date
Deadman 0a2444e100 sparkfun_samd21_mini_usb board support 2024-03-09 03:21:52 +01:00
hathach a01d6d8b31
tested other ports with featherwing max3421, change cs, intr pin to D10, D9 2023-12-26 21:13:43 +07:00
hathach 1a3f5f7a09
update FreeRTOSConfig.h
- remove configAssert()
- configCHECK_HANDLER_INSTALLATION=0 (to prevent unused-parameter error with configAssert(x)=nil
2023-12-18 20:33:43 +07:00
hathach 19d7d62e80
try to add samd51 to hil pool using doublereset (rpi gpio) and bossac 2023-12-13 18:54:00 +07:00
hathach 7213b8abb1
move tools/cmake to examples/build_system 2023-11-23 20:06:22 +07:00
hathach 82880eecbd
make nanolib linking explicitly by each family/board 2023-11-23 12:43:13 +07:00
hathach 86f6588c3f
update example to work with featherwing max3421, set max3421 GPIO0 for vbus
tested with feather nrf52840, m0, m4
2023-11-20 22:09:38 +07:00
hathach fbf64b122d
switch freertos to static allocation only (dynamic = 0), since it is possible now with latest freertos cmake 2023-11-16 22:12:38 +07:00
hathach 67e34267a6 change tuh_max3421_spi_xfer_api() signature
tested working with sam d21 and d51, not tested with nrf52, seem not
working with esp32
2023-10-04 18:00:32 +07:00
hathach 76c43a5bdc
Merge branch 'master' into add-max3421-esp32 2023-09-27 17:52:18 +07:00
hathach 3b0ffd0f48
change hcd_int_handler(rhport, in_isr) signature: add in_isr
change tuh_int_handler() to take in_isr as optional parameter (default =
true)
2023-09-27 15:51:03 +07:00
hathach f6ca86c3dd
tested cdc_msc_hid_freertos with samd51
add -Wno-error=format for espressif
wrap up cdc_msc_hid_freertos
2023-09-26 19:09:36 +07:00
hathach 81cd995108
add default CFG_TUH_MAX3421 = 0, default spi speed for samd21/samd51 to 12Mhz 2023-09-18 22:15:31 +07:00
hathach ab9585401b
wrap up build cmake & make support for max3421, to enable the Host driver, 'MAX3421_HOST=1' must be added as part of make/cmake command 2023-09-11 11:35:51 +07:00
hathach e32c1e08bd
both samd21/d51 works perfectly with max3421e 2023-09-09 16:50:16 +07:00
hathach d3c08ecc3a more ci fix 2023-09-07 17:20:07 +07:00
hathach e8558458c4 fix ci 2023-09-07 17:09:25 +07:00
hathach 2dea4ce6a2 add cmake support for samd21.
update ci cmake
2023-09-07 16:58:40 +07:00
Ha Thach de4ad2c775
Merge pull request #2204 from hathach/enhance-bsp
Enhance bsp
2023-08-04 11:41:44 +07:00
hathach a5768f52b4
more board_api.h rename 2023-08-03 15:50:52 +07:00
mndza 14d69e46be
Update support for Cynthion boards
- Rename LUNA to Cynthion
- Add support for newer revisions (>=0.6)
- Bootloader (saturn-v) default size is now 2K
2023-06-30 11:30:33 +02:00
hathach eb7fcf1b74
add CPU_CORE for all family 2023-06-24 18:38:41 +07:00
hathach 322f58ea85
add CFLAGS_SKIP to improve sam compile time 2023-03-19 12:47:05 +07:00
hathach 3623ba1884
fix trailing space and new line
temporarily disable codespell
2023-03-17 16:12:49 +07:00
hathach ffdffc7e06
rename FREERTOS_PORT to FREERTOS_PORTABLE_SRC
also fix trailing spaces
2023-03-16 23:11:11 +07:00
hathach 05e0205ad0
Merge branch 'master' into renesas-ra 2023-03-08 21:05:06 +07:00
hathach 4f6e770eda
add more warning option, also fix -Wconversion with rp2040
-Wuninitialized, -Wunused,  -Wredundant-decls
2022-06-24 19:46:19 +07:00
Rafael Silva 2a17a7e8f8 rework make freertos port handling
this allows ports to specify a freertos port outside the FreeRTOS-Kernel lib directory, which would otherwise not be possible

Signed-off-by: Rafael Silva <rafaelsilva@ajtec.pt>
2022-06-02 09:35:30 +01:00
Scott Shawcroft 7b27b8f498
Unify skip and only logic for build scripts
And switch to a single file that can include mcu, family or board.
2022-01-05 15:44:23 -08:00
Matt Johnston 9b2e78c915 samd21: make uart_init() static
Avoids a linker conflict if programs are using the same function name.
2021-12-20 15:43:16 +08:00
Jean Gressmann 5fb16a8f2c samd21: enable SysTick only if running w/o OS 2021-11-01 18:01:18 +01:00
Jean Gressmann ba34f420db Adds support for Adafruit Trinket M0 2021-10-31 12:34:53 +01:00
Matt Johnston 19a26729b0 Add Adafruit QT Py board
Straight copy of itsybitsy_m0/ with MCU changed to
ATSAMD21E18

LED and button are disabled.
LED is a neopixel so could be added later.
2021-10-29 18:00:23 +08:00
Matt Johnston 8e95b807f7 samd21: Make LED_PIN and BUTTON_PIN optional
Some boards don't have them, just ignore
2021-10-29 13:49:15 +08:00
hathach a5f516893b more with -Wcast-qual 2021-10-17 16:36:53 +07:00
kkitayam b6d09ca761 Add compile option to allocate video data into flash in video_capture example 2021-10-09 23:02:18 +09:00
hathach 76345ea3a1
clear stall and reset data toggle when open edpt
required to pass one of msc test.
2021-08-31 16:41:45 +07:00
hathach a05ea0d83b add CFG_EXAMPLE_MSC_READONLY for curiosity
allow family/board to exclude specific example. exclude
net_lwip_webserver from curiosity.
2021-08-29 22:53:16 +07:00
mainr b169db3fd6 Add PYOCD_OPTION
Added PYOCD_OPTION to pass board-specific options to build
2021-08-29 22:51:46 +07:00
mainr 90af8562b1 Added support for Microchip Curiosity Nano SAMD21 board (DM320119)
Added support for Microchip Curiosity Nano SAMD21 board (DM320119) under hw/bsp/samd21/boards/curiosity_nano
The nEDBG on this board requires dap_protocol be specified as SWD (changed in examples/rules.mk)

NOTE: requires entry (03eb:2175) for VID:PID of nEDBG be added to /etc/udev/rules for pyocd
2021-08-29 22:51:46 +07:00
Dima Barsky 62a0d5b42d Changed LED_PIN to 17, LED_STATE_ON to 0 2021-04-15 16:12:19 +01:00
hathach 253430a765 add example specific DEPS_SUBMODULES 2021-03-18 16:28:44 +07:00
hathach ed8f117dd1 explicitly add dcd source file without vendor/family 2021-03-17 16:52:07 +07:00
hathach 590d8d4d5c rename FAMILY_SUBMODULES to DEPS_SUBMODULES 2021-03-04 22:53:02 +07:00
hathach 26d9897551 update microchip_driver 2021-03-01 21:24:11 +07:00
hathach 9bc921b342 update family submodule
temporarily disable other orphaned and esp32s2 build
2021-03-01 20:48:30 +07:00
Katherine Temkin 2997e78da3 bsp: rename SAMD21 LUNA variant to luna_d21
We now have SAMD21 and SAMD11 variants of LUNA; so we'll rename the
existing LUNA BSP to be more specific / reflect its version.
2021-02-03 13:35:07 -07:00
hathach e230d683ca add copy-artifact target, and add uf2 for all family board 2021-01-26 21:19:14 +07:00
hathach 4a0f5cbd63 change output filename to BOARD-Directory 2021-01-26 12:46:24 +07:00
hathach 4f41501fc7 move luna into samd21 group 2021-01-13 16:59:55 +07:00