Hello,
I'm submitting a couple patches to get more features out of the G0.
First is to fix CRC defines (they all have CRC)
Second is to add a weak IRQ handler definition for USB-C PD.
For the second patch, the implementation is minimal (we don't have UCPD in stm32_registry.h) but it should work ...
Search found 484 matches
- Mon Oct 06, 2025 8:42 am
- Forum: Bug Reports
- Topic: STM32G0xx patches
- Replies: 3
- Views: 7287
- Mon Sep 27, 2021 6:24 pm
- Forum: Bug Reports
- Topic: e200 broken in 21.6.x
- Replies: 15
- Views: 14333
Re: e200 broken in 21.6.x
yes, a stub void __eabi() {}; does the job as well
I've updated the script to use newer versions where possible, so far so good but I have no hardware to test it.
I've updated the script to use newer versions where possible, so far so good but I have no hardware to test it.
- Mon Sep 27, 2021 5:50 pm
- Forum: Bug Reports
- Topic: e200 broken in 21.6.x
- Replies: 15
- Views: 14333
Re: e200 broken in 21.6.x
okay, so copying these 2 eabivle-c*.S files and compiling them with the demo works.
They are also compiled with GCC and placed in lib/gcc/powerpc-eabivle/4.9.4/ecrt*.o
I'm trying to figure out why they are ignored...
One option would be to add them to libgcc.a
Another would be to explicitly link ...
They are also compiled with GCC and placed in lib/gcc/powerpc-eabivle/4.9.4/ecrt*.o
I'm trying to figure out why they are ignored...
One option would be to add them to libgcc.a
Another would be to explicitly link ...
- Sun Sep 26, 2021 10:22 pm
- Forum: Bug Reports
- Topic: e200 broken in 21.6.x
- Replies: 15
- Views: 14333
Re: e200 broken in 21.6.x
it seems like creating an __eabi() or __init() stub works
Giving this a try...
--- extracted/gcc-4.9.4/libgcc/config/rs6000/t-e200.bkp 2021-09-26 23:45:07.848720330 +0200
+++ extracted/gcc-4.9.4/libgcc/config/rs6000/t-e200 2021-09-26 23:45:17.532808552 ...
Giving this a try...
--- extracted/gcc-4.9.4/libgcc/config/rs6000/t-e200.bkp 2021-09-26 23:45:07.848720330 +0200
+++ extracted/gcc-4.9.4/libgcc/config/rs6000/t-e200 2021-09-26 23:45:17.532808552 ...
- Sun Sep 26, 2021 7:43 pm
- Forum: Bug Reports
- Topic: e200 broken in 21.6.x
- Replies: 15
- Views: 14333
Re: e200 broken in 21.6.x
here is an example linker + startup file from S32DS but I don't see this __init function
/* Entry Point */
ENTRY(_start)
/* define heap and stack size */
__HEAP_SIZE = 0 ;
__STACK_SIZE = 4096 ;
SRAM_SIZE = 128K;
/* Define SRAM Base Address */
SRAM_BASE_ADDR = 0x40000000;
MEMORY
{
flash ...
/* Entry Point */
ENTRY(_start)
/* define heap and stack size */
__HEAP_SIZE = 0 ;
__STACK_SIZE = 4096 ;
SRAM_SIZE = 128K;
/* Define SRAM Base Address */
SRAM_BASE_ADDR = 0x40000000;
MEMORY
{
flash ...
- Sun Sep 26, 2021 7:30 pm
- Forum: Bug Reports
- Topic: e200 broken in 21.6.x
- Replies: 15
- Views: 14333
Re: e200 broken in 21.6.x
I've just updated the script with GDB
I'm having the same linker issue, it's caused by one of the vle patches I think:
https://github.com/fpoussin/gcc-powerpc ... tch#L10769
https://github.com/fpoussin/gcc-powerpc ... tch#L10858
I suspect S32DS to have these aliases defined somewhere
I'm having the same linker issue, it's caused by one of the vle patches I think:
https://github.com/fpoussin/gcc-powerpc ... tch#L10769
https://github.com/fpoussin/gcc-powerpc ... tch#L10858
I suspect S32DS to have these aliases defined somewhere
- Sat Sep 25, 2021 11:54 pm
- Forum: Bug Reports
- Topic: e200 broken in 21.6.x
- Replies: 15
- Views: 14333
Re: e200 broken in 21.6.x
I've made a script to build the toolchain with their patches
https://github.com/fpoussin/gcc-powerpc-eabivle
https://github.com/fpoussin/gcc-powerpc-eabivle
- Wed Sep 22, 2021 10:06 am
- Forum: Bug Reports
- Topic: e200 broken in 21.6.x
- Replies: 15
- Views: 14333
Re: e200 broken in 21.6.x
yes, it's bundled with S32DS Linux
- Tue Sep 21, 2021 10:41 pm
- Forum: Bug Reports
- Topic: e200 broken in 21.6.x
- Replies: 15
- Views: 14333
e200 broken in 21.6.x
It seems like the latest release broke compatibility.
I'm using freescale's ppc vle gcc (4.9.4)
../../../os/rt/src/chinstances.c: In function 'chInstanceObjectInit':
../../../os/rt/src/chinstances.c:109:3: error: too ...
I'm using freescale's ppc vle gcc (4.9.4)
../../../os/rt/src/chinstances.c: In function 'chInstanceObjectInit':
../../../os/rt/src/chinstances.c:109:3: error: too ...
- Mon Sep 20, 2021 9:19 am
- Forum: Development and Feedback
- Topic: [DEV] STM32MP1xx support
- Replies: 3
- Views: 5412