Martino Facchin
480b3ce531
GENERIC_STM32H747_M4: fix VTOR if relocated to SDRAM
2024-01-19 13:11:38 +01:00
Martino Facchin
a42316d653
stm32h7_m4: create a generic variant
...
This allows having all the generic code in a single place, including the needed clock configuration override
2023-10-26 16:59:32 +02:00
Martino Facchin
c0e5c5d068
STM32H747: enable M4 on all supported boards
...
TODO:
* check if RTC deinitialization impacts the M7 side
* check if analogRead is strongly affetced by different HSE
2023-03-01 09:19:18 +01:00
Martino Facchin
de1baabed8
mbed-os-to-arduino: don't include lwip folders
...
Due to include conflicts in case insentitive filesystems
2023-03-01 09:19:17 +01:00
Alexander Entinger
b9f5214552
Document -g flag in mbed-os-to-arduino script.
2023-02-10 07:39:49 +01:00
Martino Facchin
0a8cba6de7
mbed-os-to-arduino: fix 7aff1a998 for different shells
2022-12-12 17:52:32 +01:00
Martino Facchin
7aff1a998b
mbed-os-to-arduino: add DTCM section only for M7 targets
2022-11-28 10:48:54 +01:00
Martino Facchin
f85b638901
Fix mbed-os-to-arduino for PortentaH7
...
dtcm section added too; can be used with
int testdtcm __attribute__((section (".dtcm"))) = 42;
/* copy *dtcm from flash to DTCM */
extern uintptr_t _dtcm_lma;
extern uintptr_t _sdtcm;
extern uintptr_t _edtcm;
volatile uint8_t *dst = (volatile uint8_t *)&_sdtcm;
volatile uint8_t *src = (volatile uint8_t *)&_dtcm_lma;
while ((uintptr_t)dst < (uintptr_t)&_edtcm) {
*dst++ = *src++;
}
Serial.println(testdtcm); // will print 42
Serial.println((uintptr_t)&testdtcm, HEX); // will print somethin in rang 0x20000000
2022-09-01 11:08:04 +02:00
Martino Facchin
163b825289
mbed-os-to-arduino: add -g flag to restore gdb debug info
2022-06-08 14:57:32 +02:00
giulcioffi
883c1e9db2
Add core version defines split as major.minor.patch
2022-03-22 17:17:03 +01:00
pennam
96bee67447
BUILD SCRIPT: Edit custom mbedtls config include path inside mbed_config.h to allow sketch build
2022-03-07 12:03:57 +01:00
Martino Facchin
b4b95647c7
Fix mbed-os-to-arduino in case of pedantic tags
2022-02-07 16:53:47 +01:00
Martino Facchin
e93d792853
Portenta: split flash via menus
...
* Relocate SDRAM at 0x60000000 to make it executable without touching the MPU
* Patch mbed-os-to-arduino to automatically patch the linker scripts
2021-09-21 16:11:47 +02:00
Martino Facchin
1cb8f77593
Initial: add SFU for rp2040
2021-05-17 10:49:44 +02:00
Martino Facchin
5a326106bf
mbed-os-to-arduino: don't reverse include order
2021-03-17 17:08:56 +01:00
Martino Facchin
a19e6cc4ed
Fix patches (were applied in random order)
2021-03-17 15:53:20 +01:00
Martino Facchin
4193625652
TEST: port PDM buffer patch to build script
...
https://github.com/arduino/mbed-os/pull/13
2021-03-17 15:53:19 +01:00
Martino Facchin
1796a8258e
mbed-os-to-arduino: set include depth to 2
...
RP2040 sdk includes are often on a second level
2021-03-16 16:12:40 +01:00
Martino Facchin
c6a26c7ee7
Portenta: add openamp section if missing
2021-03-16 16:12:27 +01:00
giulcioffi
11bbbf97ff
Fix include for SPIFBlockDevice
2021-03-16 16:12:27 +01:00
Martino Facchin
0c0f105071
Fix mbed-os-to-arduino to match new folder structure
2021-03-16 16:12:27 +01:00
umbynos
acb7dc6deb
fix -fno-exceptions flags being forgoten during porting
2020-07-10 09:22:28 +02:00
Martino Facchin
ca7e18b68d
Allow comiling with mbed default profiles
...
Just run "export PROFILE=release" before triggering the build
2020-06-08 20:07:55 +02:00
Martino Facchin
a8df6597a4
Partially revert f3d32e7f85
...
The wrap_ method was suboptimal, changing to a safer local include should fix many issues
2020-04-24 15:00:14 +02:00
Martino Facchin
a1b86feb1d
Automatically rename mbed.h to mbed_wrap.h
2020-04-01 12:34:02 +02:00
Martino Facchin
ef1e86b42f
Correctly copy all *target* related headers
2020-03-12 13:00:22 +01:00
Alexander Entinger
9d22ddf16d
Fix: Create a symlink to mbed-os regardless how the checked out mbed repository is named
2020-02-10 10:08:51 +01:00
Martino Facchin
f23a04437d
Remove dsp from mbed lib build
...
To keep in sync with https://github.com/ARMmbed/mbed-os/pull/12055
2020-01-13 14:47:06 +01:00
Martino Facchin
66e349cf3a
Defaul rtos main thread stack to 32k
2019-11-25 17:13:10 +01:00
Martino Facchin
38ed97a162
Add custom profile support to build script
2019-11-15 10:03:52 -08:00
Martino Facchin
c1b7f9dd54
Apply revamped mbed-os-to-arduino after merge conflict
2019-11-15 09:38:42 -08:00
Martino Facchin
40dd4749e2
Fix mbed-os-to-arduino if no profile is specified
2019-10-21 16:24:15 +02:00
Martino Facchin
9cb5195a75
TEST: introduce build profiles override
2019-10-18 15:44:42 +02:00
Martino Facchin
83362f9c37
Correctly copy .mbedignore in buld script
2019-10-17 15:22:35 +02:00
Martino Facchin
f5e55edc1c
Fix build script
2019-09-26 18:06:24 +02:00
Martino Facchin
af018290c8
[nrf52] Force 8 IRQ capable pins
...
See https://github.com/ARMmbed/mbed-os/issues/10949
Fixes https://github.com/arduino/ArduinoCore-nRF528x-mbedos/issues/7
2019-09-10 15:16:34 +02:00
Martino Facchin
ad450371d3
TEST: add Murata ABZ module
2019-08-02 13:59:12 +02:00
Martino Facchin
d760e89ac2
Add dsp library in mbed.a build
2019-07-24 15:24:27 +02:00
Martino Facchin
4be3c8ebdd
Update mbed-os-to-arduino for new mbed cpp includes
2019-07-23 17:21:47 +02:00
Martino Facchin
8159facef4
Improve scripts
2019-07-19 16:28:08 +02:00
Martino Facchin
c316e4cb1d
Increase main stack size to 32k
2019-07-19 15:38:48 +02:00
Martino Facchin
ff56108390
Use 0x10000 as base flash for NANO33BLE
2019-07-09 12:28:54 +02:00
Martino Facchin
98f7cb0f03
Start adding TODO not to forget how to restore functionalities
2019-07-05 11:10:09 +02:00
Martino Facchin
581328fb46
Have proper (relocated) Nano33BLE board
2019-07-02 17:40:11 +02:00
Martino Facchin
c2cb344071
Make script more reproducible
2019-07-02 09:53:39 +02:00
Martino Facchin
ec9316b0f6
Adapt to default-no-SD target for nRF52
2019-06-27 12:56:45 +02:00
Martino Facchin
f4b6b302de
Update mbed-to-arduino script with nRF52 NO_SD target
2019-06-27 12:35:46 +02:00
Martino Facchin
1d2754422a
Fix BLE in Cordio target
...
These lines must be added to a project mbed_app.json to add Cordiao for nRF52
{
"target_overrides": {
"NRF52840_DK": {
"target.features_add": ["BLE"],
"target.extra_labels_add": ["CORDIO", "CORDIO_LL", "SOFTDEVICE_NONE", "NORDIC_CORDIO"],
"target.extra_labels_remove": ["SOFTDEVICE_COMMON", "SOFTDEVICE_S140_FULL", "NORDIC_SOFTDEVICE"]
}
}
}
2019-06-19 10:45:18 +02:00
Martino Facchin
de63463ec5
Update script to do more things automatically
2019-06-10 15:48:16 +02:00
Martino Facchin
73a9459865
Use prefix for include paths
2019-06-04 15:24:11 +02:00